Inconsistent data from getCaseData.py

Bug description
I'm using the getCaseData.py script to download and prepare the RKI data. When checking the results I found some inconsistencies between different levels of data granularity, e.g. all aggregated cases for a county vs. cases divided in gender for a county vs. cases divided in age classes for a county. This seems to happen on county level, state level, and national level.
Here are a few examples of mismatches:
county level
cases_all_county.json
date: 2020-04-24
ID_County: 1002
confirmed: 263
deaths: 10
recov.: 253
cases_all_county_gender.json for the same date and county matches the above values.
cases_all_county_age.json
date: 2020-04-24
ID_County: 1002
Age_RKI: 15-34
confirmed: 82
deaths: 0
recov.: 82
date: 2020-04-24
ID_County: 1002
Age_RKI: 60-79
confirmed: 66
deaths: 6
recov.: 60
state level
cases_all_state.json
date: 2020-04-24
ID_State: 1
confirmed: 2725
deaths: 139
recovered: 2586
cases_all_state_age.json
date: 2020-04-24
ID_State: 1
RKI_Age: 15-34
confirmed: 641
deaths: 0
recovered: 641
date: 2020-04-24
ID_State: 1
RKI_Age: 35-59
confirmed: 1122
deaths: 9
recovered: 1113
date: 2020-04-24
ID_State: 1
RKI_Age: 60-79
confirmed: 589
deaths: 52
recovered: 537
date: 2020-04-24
ID_State: 1
RKI_Age: 80+
confirmed: 305
deaths: 78
recovered: 227
cases_all_state_gender.json
date: 2020-04-24
ID_State: 1
gender: female
confirmed: 1478
deaths: 54
recovered: 1424
date: 2020-04-24
ID_State: 1
gender: male
confirmed: 1247
deaths: 85
recovered: 1162
national level
cases_all_germany.json
confirmed: 159200
deaths: 8270
recovered: 150983
cases_all_gender.json
gender: female
confirmed: 83266
deaths: 3626
recovered: 79640
gender: male
confirmed: 75806
deaths: 4588
recovered: 71217
and so on.
Version
Linux
To reproduce

for getCaseData.py change values of arg_dict (which are either taken from defaultDict.defaultDict or from the cli) to
{'start_date': date(2020, 4, 24), 'end_date': date(2020, 5, 5)} (changing impute_dates does not change the behaviour)
execute getCaseData.py
check outputs like cases_all_county.json vs. cases_all_county_age.json vs. cases_all_county_gender.json or cases_all_germany.json vs. cases_all_gender.json vs. cases_all_age.json etc.

Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist

[x] Attached labels, especially loc:: or model:: labels.
[x] Linked to project

Yes. Thanks @LSchueler. As promised, I will look at this tomorrow morning.

Hi @LSchueler,
the problem is much less critical than it seemed it it is in fact as I assumed yesterday (but I still had forgotten about one important point). I think we have to rewrite the script but it is also a conceptual question on how to rewrite it. Please look at the discussion at the end of my posting. First let me confirm the following:
county level
cases_all_county.json
date: 2020-04-24
ID_County: 1002
confirmed: 263 --> validated with data from 2021/2022 (vacc paper) and current initial data frame
deaths: 10 --> validated with data from 2021/2022 (vacc paper) and current initial data frame
recov.: 253 --> validated with data from 2021/2022 (vacc paper) and current initial data frame
cases_all_county_gender.json for the same date and county matches the above values.
cases_all_county_age.json
date: 2020-04-24
ID_County: 1002
Age_RKI: 15-34
confirmed: 82 -> validated with data from 2021/2022 (vacc paper) and current initial data frame
deaths: 0
recov.: 82  -> validated with data from 2021/2022 (vacc paper) and current initial data frame
date: 2020-04-24
ID_County: 1002
Age_RKI: 60-79
confirmed: 66 --> validated with data from 2021/2022 (vacc paper) and current initial data frame
deaths: 6
recov.: 60 --> validated with data from 2021/2022 (vacc paper) and current initial data frame

Missing confirmed cases:
0-4: 0
5-14: 2 <-- appear on 2020/04/14 in cases_all_county_age.json if start_date is 2020/01/01
35-59: 90 <-- appear on 2020/04/22 in cases_all_county_age.json if start_date is 2020/01/01
80+: 23 <-- appear on 2020/04/20 in cases_all_county_age.json if start_date is 2020/01/01

The problem is the following:

In line 335-339 , we compute the cumulative sum of the confirmed cases, deaths, recoveries. Until here, always the full data frame from January 1, 2020 is considered and no missing dates were imputed.
If there was a confirmation for a certain age group/gender and a certain date, we get an accumulated number for an age group/gender and that date. Otherwise not.
Then, we call impute_and_reduce_df() which first removes all entries before the start date and then imputes the last seen value for all combinations of age/gender and e.g., a particular county. However, the cumulative sum for entries which did not happen on the start date are removed and it starts with zero.

The difference in the total numbers for 2021-2023 is small if you start with start_date 2020/04/24 but there a still small errors.
The current workaround is to always start with start_date 2020/01/01.
There are two fundamentally different ways in 'correcting' this. The question is what start_date and end_date should mean:

Give me the accumulated numbers between start and end from the beginning of the pandemic
Give me the accumulated numbers only between start and end

Actually, we never really used start_date and end_date so far. It was just my idea to let users select a subframe which then never was used. And unfortunately it was not correctly implemented or incomplete. To my understanding, the second option above is the more reasonable to give if you provide start and end, don't you agree?

Hi @mknaranja ,
pheow, that's a relief! And thank you for the very quick response. I can confirm that the numbers now all add up, if I use 2020-01-01 for start_date.
I don't have a very strong opinion on which way this should be corrected. I could however imagine that it would be more confusing if the cumulative numbers depend on the start_date. And is there actually an application for the case that you want the cumulative numbers only from a certain date onward?
By the way, a third option would be to drop the start_date argument all together ;-)
Thanks again!

I think the "problem" is the cumulative sum. If we just provided reported daily cases, then one would not expect to have the data before start_date included.
I think it is possible that one is only interested in the data in the time frame end-start but that could also be recomputed from the cumulative sum by subtracting the start values from the end values.
I would not drop the start_date, if we use moving average or imputation, it is a computational reduction (time and disk space) to not include all dates.

I will discuss this together with @patricklnz. From my first look, i would second your opinion not to drop the start_date argument and prefer to recompute the the results before returning output.
Fortunately, the solution seems to be much easier than I thought at first :)
We will provide a solution early next week.

When using getVaccinationData.py to get the vaccination data we also get different results depending on start_date. I suspect this is a similar issue.


Universal resolution needs documentation

e.g in docs/resolution.md#multi-platform-resolution or in a new section after it.

I'll do a first draft, but I'd appreciate if you gave it an edit.

@zanieb -- Is this still needed? What's the right spot, if so?

I'm planning to write something up with the resolution changes i'm doing right now.


libdwarf: 20170709 -> 20180129

Semi-automatic update. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 20180129 in filename of file in /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘libdwarf-20180129’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/libdwarf/default.nix:17 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
Not building archive library libdwarf.a
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129
shrinking /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129/lib/libdwarf.so.1
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129/lib
patching script interpreter paths in /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129
checking for references to /tmp/nix-build-libdwarf-20180129.drv-0 in /nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129...
/nix/store/42rw668b8h1zk4dvwlbdrknaf7vadlk5-libdwarf-20180129

Success on aarch64-linux (full log)
Partial log (click to expand)
Not building archive library libdwarf.a
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129
shrinking /nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129/lib/libdwarf.so.1
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129/lib
patching script interpreter paths in /nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129
checking for references to /build in /nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129...
/nix/store/00ss5grps3sh9gkqnxkc4s30jj6a9y07-libdwarf-20180129

dwarfdump is built (separately, but same file) from these sources, and so should be checked please.

@GrahamcOfBorg build dwarfdump

Success on x86_64-linux (full log)
Partial log (click to expand)
gcc   -g -O2 -I. -I. -I../libdwarf -I./../libdwarf   -DCONFPREFIX=/nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129/lib  -o dwarfdump addrmap.o checkutil.o dwarfdump.o dwconf.o esb.o glflags.o helpertree.o macrocheck.o print_abbrevs.o print_aranges.o print_debugfission.o print_die.o print_dnames.o print_frames.o print_gdbindex.o print_lines.o print_locs.o print_macro.o print_macros.o print_pubnames.o print_ranges.o print_reloc.o print_sections.o print_section_groups.o print_static_funcs.o print_static_vars.o print_strings.o print_types.o print_weaknames.o sanitized.o section_bitmaps.o strstrnocase.o uri.o common.o makename.o naming.o dwgetopt.o dwarf_tsearchbal.o     -L../libdwarf -ldwarf -lelf
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129
shrinking /nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129/bin/dwarfdump
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129/bin
patching script interpreter paths in /nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129
checking for references to /tmp/nix-build-dwarfdump-20180129.drv-0 in /nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129...
/nix/store/rivl8f0x78zx7x825f6kf30rabrg9br5-dwarfdump-20180129

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: dwarfdump
No log is available.

Success on aarch64-linux (full log)
Attempted: dwarfdump
Partial log (click to expand)
gcc   -g -O2 -I. -I. -I../libdwarf -I./../libdwarf   -DCONFPREFIX=/nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129/lib  -o dwarfdump addrmap.o checkutil.o dwarfdump.o dwconf.o esb.o glflags.o helpertree.o macrocheck.o print_abbrevs.o print_aranges.o print_debugfission.o print_die.o print_dnames.o print_frames.o print_gdbindex.o print_lines.o print_locs.o print_macro.o print_macros.o print_pubnames.o print_ranges.o print_reloc.o print_sections.o print_section_groups.o print_static_funcs.o print_static_vars.o print_strings.o print_types.o print_weaknames.o sanitized.o section_bitmaps.o strstrnocase.o uri.o common.o makename.o naming.o dwgetopt.o dwarf_tsearchbal.o     -L../libdwarf -ldwarf -lelf
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129
shrinking /nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129/bin/dwarfdump
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129/bin
patching script interpreter paths in /nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129
checking for references to /build in /nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129...
/nix/store/n4j7pdgh962hw91n0pz911bj7a9j8d85-dwarfdump-20180129


Generate cue definition from openapi

Is your feature request related to a problem? Please describe.
I would like to check if two openapi types are compatible. I think one way to do that will be to generate cue definition for each one of them and check for subsume . Is this possible today? Is there any code example that shows how to do this in Golang? Thanks!
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I believe this is a duplicate of https://github.com/cue-lang/cue/issues/357.


fix(VTI): output Rasterimage colors as PointData

It looks like VTK wants the pixel colors as PointData to be used as Texture

:tada: This PR is included in version 5.25.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Filters don't work properly in v5

I believe the defaults for how filters work changed since v5
This only happens when you use a custom texture from a baseTexture (to lets say cut out a part of a texture for a sprite.
You can see the default behavior here in v4.8.5
https://www.pixiplayground.com/#/edit/NQfr8fq42KDSDJX2ITubw
and in v5.0.0-rc
https://www.pixiplayground.com/#/edit/kAH5ezneCrbQPsr6MVzt0

Default padding is now 0. Old one was 4.

Okay, we should let people know when switching to v5 that its different.
I propose a v4 to v5 gotcha guide.
Thanks @ivanpopelyshev


reload error on chrome extension open

Heidi sent the following on the clinvar-curator slack channel this past weekend.

Heidi
:spiral_calendar_pad:  9:00 AM
I was not able to use the ClinVar Curation chrome ext tool over the weekend. I tried refreshing the tab, opening a new instance of chrome, etc and still got this error message.

The issue was due to a recent UI change that ClinVar made. The chrome extension depends on the HTML layout, so a minor change was needed to find the new location of the submission date in the variation and at the SCV level.


_TZE200_yjjdcqsq: Use Var03 instead of Var04

Proposed change
When using Var04, my temp sensor cannot read any values. With Var03 the main values (temp, humidity and battery can be read).
Additional information
The raw signature of the device:
"signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": "0x0104",
          "device_type": "0x0051",
          "input_clusters": [
            "0x0000",
            "0x0004",
            "0x0005",
            "0xef00"
          ],
          "output_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      },
      "manufacturer": "_TZE200_yjjdcqsq",
      "model": "TS0601"
    },

Checklist

[x] The changes are tested and work correctly
[x] pre-commit checks pass / the code has been formatted using Black
[x] Tests have been added to verify that the new code works

@Jonas-Meyer97 Since you added the device in the first place, can you check and see if your devices still work with Variant 03?

@Maddimax Sorry, I wasn't able to try it earlier. With variant 03, my device no longer reports the battery status. I tested it with two different devices and waited 24 hours. It seems there are two different variants for _TZE200_yjjdcqsq. I have attached the signature for my device, which is the same for all my devices reporting as _TZE200_yjjdcqsq. Perhaps it is possible to filter on a different parameter between these two variants, such as device_type or the available input_clusters. Unfortunately, I'm a novice with Zigpy and can't contribute much, but I hope this information is helpful.
"signature": {
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
	"1": {
	  "profile_id": "0x0104",
	  "device_type": "0x0302",
	  "input_clusters": [
		"0x0000",
		"0x0001",
		"0x0004",
		"0x0005",
		"0x0402",
		"0x0405",
		"0xef00"
	  ],
	  "output_clusters": [
		"0x000a",
		"0x0019"
	  ]
	}
  },
  "manufacturer": "_TZE200_yjjdcqsq",
  "model": "TS0601"
}

Hmm, it's not ideal that there are apparently two almost identical versions of this sensor.
The only difference between the two different Tuya manufacturer clusters is indeed the battery: https://github.com/zigpy/zha-device-handlers/blob/915ff9b41e7393e1f2eaa449bd6a09267fa84277/zhaquirks/tuya/ts0601_sensor.py#L50-L95
We might be able to parse Tuya datapoints 3 and 4 and map them onto the same battery_percentage_remaining attribute.
I'll put this PR into draft for now.


Add ripple and dash

Hi
Is there a way to add Dash and Ripple please ?
Or give me advice on how to add them.
Thank you

For Ripple i did PR #18

@dpominov Thank you :) Will add Dash and make release tomorrow or so.

@dpominov Added Dash and released 0.1.4. Thanks!


Building OpenJDK fails when using non-standard store directory

Building OpenJDK fails if the store directory is different to /nix/store.
That is because the builder needs a bootstrap compiler (openjdk-bootstrap, currently http://tarballs.nixos.org/openjdk-bootstrap-x86_64-linux-2012-08-24.tar.xz), which is not relocatable to a different store directory. In particular, the binaries refer to the dynamic linker within /nix/store, and if the linker is not found there, the binaries are not executable, and the building of OpenJDK fails accordingly.
I suggest that building of nixpkgs should always be automatically tested with a non-standard store directory.

(triage) @atanasi Can you still reproduce that?

No response, so close @zimbatm.


Compilation error on macOSX v10.13.6

Describe the bug
There is a problem in vsg::ref_ptr< vsg::Object > AsciiInput::read() when compiling on macOS v10.13.6 using clang Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>):
/Users/.../dev/osg-vulkan/vsg/src/src/vsg/io/AsciiInput.cpp:132:30: error: call to unavailable member function 'value': introduced in macOS 10.14
        ObjectID id = result.value();
                      ~~~~~~~^~~~~
In file included from /Users/.../dev/osg-vulkan/vsg/src/src/vsg/io/AsciiInput.cpp:13:
In file included from /Users/.../dev/osg-vulkan/vsg/src/include/vsg/io/AsciiInput.h:21:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:942:27: note: candidate function has been explicitly made unavailable
    constexpr value_type& value() &
                          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:933:33: note: candidate function has been explicitly made unavailable
    constexpr value_type const& value() const&
                                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:951:28: note: candidate function not viable: no known conversion from 'optional<...>' to 'optional<...>' for object argument
    constexpr value_type&& value() &&
                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
    constexpr value_type const&& value() const&&
                                 ^
1 error generated.

The definition is:
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_AVAILABILITY_THROW_BAD_OPTIONAL_ACCESS
constexpr value_type const& value() const&
{
    if (!this->has_value())
        __throw_bad_optional_access();
    return this->__get();
}

Please see this Stackoverflow thread as well. It looks like that the corresponding method is only defined in standard library shipped with macOSX v10.14 and higher, at least using default clang compiler.
To Reproduce

Run CMake
Try to compile

Posible solution

Require macOSX v10.14 and higher in docs/CMake
Use std::optional::operator*

ObjectID id = *result;

which seems to work.

Thanks for the suggested fix, unobtrusive enough a workaround. now committed.
https://github.com/vsg-dev/VulkanSceneGraphPrototype/commit/2f4e117c016c3aaae9215bb451b653382241266c


Update the bootstrap script to install wget-ssl

Entware recently renamed its wget package to wget-ssl, and made wget a virtual package provided both by wget-ssl and wget-nossl (see https://github.com/openwrt/packages/pull/13613). The latter seems to be favored by the package manager, so doing opkg install wget will actually install the version of wget that does not support TLS.
This PR changes the bootstrap script to ensure that the TLS-enabled version of wget gets installed. To test it, run the new bootstrap script on a clean system and make sure that no message saying “TLS certificate validation not implemented” is ever printed out.

Looks like it doesn't like running when it's already installed. Probably pre-existing.

 branch="$(sed -E 's|^src/gz\s+toltec\s+https://toltec-dev.org/([[:alnum:]]*).*$|\1|;t;d' "$opkg_conf_path" | head -n1)"

Likely should be something like this:
 branch="$(sed -E 's|^src/gz\s+toltec-rmall\s+https://toltec-dev.org/([[:alnum:]]*).*$|\1|;t;d' "$opkg_conf_path" | head -n1)"

Bump

Since #356 was merged first, this is now a fairly lightweight PR. To test it, instead of re-running the bootstrap script over an existing install, it is now necessary to uninstall using toltecctl then reinstall with the new boostrap.

Thanks for your review. I merged #372 first and bumped this PR’s version. Also @Eeems it seems that we can’t merge this PR as long as you are requesting changes, even if Linus approves it.

@Eeems Turns out I can simply dismiss the review, sorry for the ping! (And thanks Linus for the tip.)


1.0.2 breaks back-compatibility

Following commit: https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/commit/f933a0b5ecba7c4f6c143979df5986ac7310a4d8
renamed scopes to defaultScopes.
defaultScopes is a wrong name as it is ignored by google servers.
As a result, scopes now need to be explicitly set in the client configuration (which was not the case in v1.0.1).

Solution: rename defaultScopes to scopes back

Let's continue the conversation here: https://github.com/googleapis/google-cloud-php/issues/3747

Let's continue the conversation here: https://github.com/googleapis/google-cloud-php/issues/3747


I18n fixes

This makes i18n workable.

@seanyesmunt fyi this will result in index.js accumulating translations while doing routing work/usage. Let me know if you take issue with that.


Improve the error message on contains method

When using AssertJ and in this specific case using extracting("name1", "name2").contains(val1, val2) or the functional one extracting(it -> it.getName1(), it -> it.getName()).contains(val1, val2). In case of a value not matching the error message is not as descriptive as one likes to be.
Currently it is :
Expecting:
  <[null, 2019-12-05T07:57:38.531, null]>
to contain exactly (and in same order):
  <[null, 2019-12-05T07:57:38.531, null]>
but some elements were not found:
  <[2019-12-05T07:57:38.531]>
and others were not expected:
  <[2019-12-05T07:57:38.531]>

And at first glance it isn't apparent what is wrong, as the values appear to match. However as it turned one one was a LocalDateTime and the other a java.util.Date.
When comparing a single property with isEqualTo the error message is more descriptive
java.lang.AssertionError:
Expecting:
 <"2019-12-05T07:59:56.439 (LocalDateTime@43f02ef2)">
to be equal to:
 <"2019-12-05T07:59:56.439 (Date@239a307b)">
but was not.

Now it is directly apparent what the error is as the type and hashcode is included in the error message.
It would be beneficial of the message from contains could also include the type and hashcode in the error message.

Indeed  when actual and expected have the same representation isEqualTo will replace their default representation with unambiguous ones (adding the type and the identity hash code).
Ideally we would do that for all assertions when representations are the same too but it is not straightforward (and sometimes not even possible) to decide which objects should be displayed  unambiguously (although in your example it could work as we are comparing pair of elements). The only solution then is to represent everything unambiguously all the time in the default representation even when the displayed objects have clearly different representations.
My first thoughts is that it might be a bit too much noise in the error messages if every single value is represented in its unambiguous form.
Maybe an intermediate solution would be to provide a UnambiguousStandardRepresentation which basically would use the standard representation and add the type + identify values. The code is 99% there since StandardRepresentation already has unambiguousToStringOf.
Since AssertJ allows to specify a representation globally, once you have written your own UnambiguousStandardRepresentation you can easily use it everywhere.
Thinking out loud, this could be something AssertJ out of the box in its Configuration, something like:
configuration.useUnambiguousStandardRepresentation();

BTW that's not the contains assertion I'm pretty sure it's containsExactly ;-)

Another option would be to just change the default representation of dates to be unambiguous, since these are classes could most likely have identical representations.

@mdeinum I'm think to go as per my previous comment, that is adding the class name after the object representation, ex: 2019-12-05T07:57:38.531 (java.time.LocalDateTime).
WDYT?

That would work, as one can then also see the type differences next to the string differences (which probably aren't there in those cases).

FYI I have added the class name to the representation of instances of the following classes:

LocalDate
LocalDateTime
OffsetDateTime
ZonedDateTime
Date
Calendar

Here's what it looks like now with the following failing test:
Date now = new Date();
Object localDateTime = LocalDateTime.ofInstant(now.toInstant(), ZoneId.systemDefault());

assertThat(List.of(localDateTime)).containsExactly(now);

error:
java.lang.AssertionError:
Expecting:
  <[2020-03-19T22:32:42.875 (java.time.LocalDateTime)]>
to contain exactly (and in same order):
  <[2020-03-19T22:32:42.875 (java.util.Date)]>
but some elements were not found:
  <[2020-03-19T22:32:42.875 (java.util.Date)]>
and others were not expected:
  <[2020-03-19T22:32:42.875 (java.time.LocalDateTime)]>


plugin not working on Quest when building from Windows

After building an android build of the plugin on macOS, and then building a Quest game on macOS that includes that plugin, a user reports that the plugin works on Quest, loaded either as a "custom filter," or as a plugin effect loaded on an AudioMixer. However, when building the Quest game from a Windows machine, the AudioMixer-loaded version of the plugin no longer works (the user reports that the filter version still works).
I can reproduce with slightly different variables -- if I build the plugin for android on Windows (using Ninja), the plugin builds successfully but I don't hear it working as a filter or mixer-loaded plugin on the Quest. The Windows version works fine in the Unity Editor, and other audio (non-RNBO) works fine on the Quest.

@jinpavg just to be sure, when you built the plugin on windows, did you supply this option -DANDROID_CPP_FEATURES=exceptions

Ah, I tried both with and without, with the same results so far.

I just built and ran successfully from my windows machine:
I'm using 'Ninja' to build.
cmake .. -G "Ninja" -DANDROID_PLATFORM=29 -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE="C:\Program Files\Unity\Hub\Editor\2021.3.23f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\build\cmake/android.toolchain.cmake" -DRNBO_EXPORT_DIR="C:\Users\xnor\Documents\export\simple-freq-param\" -DRNBO_CPP_DIR="C:\Users\xnor\Documents\export\simple-freq-param\rnbo" -DPLUGIN_NAME="SimpleFreqParam" -DANDROID_CPP_FEATURES=exceptions
cmake --build .

I'm using Unity Editor version 2021.3.23f1, I used the VR template and these instructions for setting it up further: https://www.circuitstream.com/blog/oculus-quest-2-setup
in powershell, in the unity plugin project directory
cd .\build\
cmake .. -G "Ninja" -DANDROID_PLATFORM=29 -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE="C:\Program Files\Unity\Hub\Editor\2021.3.23f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\build\cmake/android.toolchain.cmake" -DRNBO_EXPORT_DIR="C:\Users\xnor\Documents\export\simple-freq-param\" -DRNBO_CPP_DIR="C:\Users\xnor\Documents\export\simple-freq-param\rnbo" -DPLUGIN_NAME="SimpleFreqParam" -DANDROID_CPP_FEATURES=exceptions
cmake --build .
cd ..
mkdir build-windows
cd build-windows
cmake .. -G "Visual Studio 19" -DRNBO_EXPORT_DIR="C:\Users\xnor\Documents\export\simple-freq-param\" -DRNBO_CPP_DIR="C:\Users\xnor\Documents\export\simple-freq-param\rnbo" -DPLUGIN_NAME="SimpleFreqParam"
cmake --build .
Copy-Item -Path .\SimpleFreqParam\Assets\Plugins\Windows -Destination ..\build\SimpleFreqParam\Assets\Plugins\ -Recurse```

In my Unity project, I add the RNBOTypes package and also SimpleFreqParam by path (I didn't move them), I also edited the "Audio" project settings and setup the occulus spacializer, then I created a mixer and then found an object in the scene, added an audio source to it, selected an audio file (not sure if i needed to do that), then set the mixer for the source to the mixer I just created, finally I added my plugin to the top of the mixer I just created and deployed to my occulus via 'Build and Run'

I suspect the issue some people are seeing is with a mismatch of player and plugin architectures.. the plugin is being built for ARM64, make sure that your player is also targeting ARM64

closing this for now, i think this is working if folks set this up as described above


Dolphin Field Access Transformation Error

Mod loader
NeoForge
Minecraft version
1.20.4
Remorphed version
3.5
Woodwalkers version
4.1
CraftedCore version
3.2.3
Modloader version
49.0.39
The latest.log file
https://gist.github.com/DarkKinght98/d827ec853bbfcbfb554eb23a45ffbfde
Issue description
after i killed a dolphin as a tropical fish when i tried to morph to the dolphin the game crashed and whenever i try to join the same world the game keeps crashing.
Steps to reproduce

start game 2. join the same world that the problem happened in 3. the game crashes

Other
Remorphed and Woodwalkers are the mods that i think are causing the crash

Should be fixed as of 3d82a6ab6246326c7bb7a148e66cf7a6dfb74ae8. Feel free to reopen this issue, if the failure persists after Walkers 4.2


updated normal polygon and circle colour

Closes #78

i just realised this issue doesn't have the help wanted tag, can I still make this PR?

Of course!
But please use the same formula that's used in game, which I digged up below:
import { lab } from 'd3-color';
import { interpolateLab } from 'd3-interpolate';
import { utils } from 'pixi.js';

export const darkSlateGray = 0x121f1f;

lab(
	interpolateLab(
		utils.hex2string(color),
		utils.hex2string(darkSlateGray),
	)(0.7),
).formatHex()

Can you do it for all the blocks?

should i be using the exact same formula? from what i've seen, the color will turn out to be way darker than expected. for example, this:

versus this:

Otherwise, do you mean to use a similar method like this?
utils.string2hex(
	lab(
		utils.hex2string(color)
	).formatHex(),
)

Oh yeah, that's because in game the inside of the block is very dark, and the line around isn't.

Here is the formula for the line.
export function getLineColor(color) {
	return utils.string2hex(
		lab(utils.hex2string(color))
			.brighter(1.2)
			.formatHex(),
	);
}

You can try adding the line while keeping the dark fill.
If adding the line is too complicated, just play around with the interpolateLab parameter until you get something that looks decent, maybe with lower values like 0.1 or 0.2 instead of 0.7.

gotcha, thanks! I've made the updates to the PR.
Given that the same formula (originally getStrokeColor) is used now across multiple places, I thought that getFillColor is a more accurate name for the method.

thank you! 😄 I've updated just the syntax for now and will continue investigating the bug.
From what I've seen, it seems to be happening when I add the instance.lineStyle method in Polygon.ts . It's strange because it seems to only be happening for the second polygon added, regardless of type.

@getkey what are the steps you took to trigger the bug?
I have tried clearing my level and adding 2 polygons, then exporting them and importing them back in but that works ok for me. I've only been able to replicate the issue by loading in the file you have provided but was wondering what steps were taken to create that particular file.

This is a Pixi.js bug, which I've reported upstream: https://github.com/pixijs/pixijs/issues/8409. Let's wait until it is resolved in Pixi.js.

@enjiruuuu I upgraded to the latest Pixi.js, and surely enough the selection bug is gone. :slightly_smiling_face:
One remaining problem: the paints get block styles. Example:

I'd make a new BlockPolygon component that would be used for all blocks, and keep the old Polygon to be used for paints. (In the future there could be even more specialized Polygons like IcePolygon with the ice texture, but I think this is good enough for now :slightly_smiling_face: )

@getkey sweet, thanks for the update!
I've made the fix in the recent commit, do let me know if this is what you meant haha incase I misunderstood something 😬

Mhh I'm having second thoughts, because I realize now that BlockPolygon and Polygon are 90% copy-paste of each other.
You can make Polygon more generic. Make it purely about drawing, and move the logic of what to draw higher in the hierarchy. Let it accept:

the vertices
the fill color
the stroke color
the stroke width (can be 0)
the texture (can be null)
etc

Then you can make 2 React components: Paint.tsx and Block.tsx. They both rely on ModifiablePolygonand know what are the right styles for a paint or a block. I prefer that compared to adding addType to ModifiablePolygon, because in my experience you don't want to cram conditional config in a single component, that will turn in technical debt.
Note: ModifiablePolygon magically forwards the props to Polygon, but let me know if the type-checker gives you trouble.


No null check for caps on l2 and l3 sliver data parsing

In the oess_handler.py code, there are typical blocks like
            caps: Capacities = interface_sliver.get_capacities()
            ...
            endpoint['bandwidth'] = caps.bw

Codes like this should have applied null checking. we have seen NoneType exceptions in tests when no Capabilities are defined for endpoints. Matter of fact is that non-cloud ports do not accept bandwidth > 0. So users either input Capabilities(bw=0) no Capabilities at all. We should accommodate both cases.

The latest code  in the main branch has checking such as,
        if caps is not None and caps.bw is not None:
            endpoint['bandwidth'] = caps.bw * 1000      # specified in Mbps

If that is sufficient, this issue can be closed.


Calibration of the motor and the Easycontroller3

We have recently encountered a situation where the board's response to throttle input is unresponsive, with voltage readings remaining stagnant at an oscillation between 0 and 1 volts even when full throttle is applied. After thorough analysis, it has become apparent that there might be a slight discrepancy in the current scaling and voltage synchronization with our motor of choice or there might be an issue with the calibration of the board and motor. It would be helpful if you could suggest a few measures to overcome the issue.

Hey Krishna, that description is helpful, but not quite detailed enough for me to know what's going on. Are you talking about the current control loop?
You can try to manually set the duty cycle and that will always make the motor go.

The motor is not responding to any input from the throttle because of which it is static. We are not able to figure out what the issue is in the controller. Can you suggest a way to make it work?
What are all things I should consider in the motor controller and make relevant changes to it?
In the previous question I am talking about the output we are getting at all three phases in the motor depending upon the sequence. The range of the output is 0 -1 volts.

Is the controller correctly reading the throttle input from the ADC? You could try printing out the ADC value for the throttle pin.
You can also try attaching a video or photos to give a better sense of what's going on.

The controller is correctly reading the ADC value from the throttle pin, I have checked it .
Initially, all three phases show 9.8 volts as soon as I give the throttle two phases become zero and the third phase shows variation from 0 -1 volts depending upon the throttle input.

There is a chance the gate drivers are not working properly. I would look to see what duty cycle the controller is outputting, and verify with an oscilloscope if the microcontroller is correctly doing that, and if the gate drivers are correctly doing what they're told.
Sorry, I'm not sure that I can be more of a help without more info.

Can you please provide me with more detail about the duty cycle it should give, so that I can check that on oscilloscope?
I have created one more speed controller but I am facing issues with the duty cycle and frequency.
I have attached a copy of the simple code which I have written in Python to control the controller. If you could suggest any changes ?
Python_code.docx


Swiper container pointerdown event is blocking mousedown event

Swiper Version: "^6.4.11".
Platform/Target and Browser Versions: All platforms and browsers.

What You Did
I'm attaching a mousedown event to the body from Google Tag Manager using plain JavaScript.

When I click on the others DOM elements, it returns me the event but when I click on a element contained in the swiper, it does'nt.
I tried to use the solution exposed in this issue but it didn't work.
I removed the pointerdown event attached to the swiper-container and then the mousedown event started working but I can't do it from GTM, I need another solution..
Expected Behavior
When I click on a element contained in the swiper it should return me the mousedown event.
Actual Behavior
Currently, it no returns anything.

Because it does preventDefault in pointerdown event listener.

Listen for pointerdown event instead (what is the issue with it? it supported by all browsers)
Or set touchStartPreventDefault Swiper parameter to false

No, pointerdow isn't supported by all browsers, Safari and Safari OS don't support it (doc). Mousedown is supported by all browsers (doc).
How do I set touchStartPreventDefault to false, could you show me an example? Thanks.

Safari does support pointer events. Swiper uses touchstart on iOS
It is covered in docs how to configure Swiper and set parameters/props https://swiperjs.com/swiper-api


Opening HTML file causes editor to freeze

Steps to reproduce:

curl https://www.levycalculators.acc.co.nz/cpx.jsp > cpx.html
Open cpx.html in Atom 1.4

Symptoms after these steps:

The editor freezes after a few seconds: you can't change cursor position, etc. Eventually a dialog box will appear asking if you want to keep waiting or close the window
You can still use the menu to bring up the open file dialog
You can resize the window and it repaints correctly

If the file is renamed to have a .txt extension, everything works just fine.

Thanks for the report! :smile: This looks like a duplicate of #979 – feel free to subscribe there for updates.
Also, please take a look at the Contributing guide for a guide on reporting bugs, including searching for duplicates.


es6 imports translated to modules even when output set to es6

Hi
Up until latest update my es6 imports were left the way they was when transpilig to es6.
From the latest update now they are transpiled to the module representation.
For example:
import TabControl from "../../components/tabs/tab_control";

is transpiled to
var tab_control_1 = require("../../components/tabs/tab_control");

The worst part is, that it breaks the TSX transpilation as for example
  <TabControl tabs={this.state.tabs}>
            {
              this.props.validations.map((validation: BoardValidation, index: number) => {
                return <BoardValidationView key={index} />
              })
            }
</TabControl>

is transpiled to:
<tab_control_1.default tabs={this.state.tabs}>
            {this.props.validations.map((validation, index) => {
            return <BoardValidationView key={index} />;
        })}
          </TabControl>

Note how the closing tag is not transpiled.
I am sure that this is bug in Microsoft transpilation, but can the transpilation of import statements be disabled? Up until today all was working well ... now none of my TS project runs ;((
For completeness, here is my tsconfig
{
    "compilerOptions": {
        "target": "es6",
        "declaration": false,
        "noImplicitAny": true,
        "removeComments": false,
        "noLib": false,
        "preserveConstEnums": true,
        "noEmitHelpers": true,
        "suppressImplicitAnyIndexErrors": true,
        "watch": true,
        "outDir": "../dist",
        "jsx": "preserve"
    },
...
}

Thanks to the description you left in releases, I've found out that this happens from version 7.1.2 in which you have updated typescript to the latest version. I have also left a comment within their issues.

I can confirm this issue

Do now roll back to 7.1.1 which has a previous version of typescript. Seems like a TS issue.

TypeScript issue report : https://github.com/Microsoft/TypeScript/issues/5110

Reverted for now till https://github.com/Microsoft/TypeScript/issues/5110 is resolved : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.1.4 :rose:

Fixed : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.7.0 User action required :rose:

Tsconfig / TypeScript : for people using "target" : "es6" they should now also use "module": "es6" in tsconfig `compilerOptions


Upgrade single container within a service?

If you had a service with two containers A and B. A mounts a volume from B (or B is a sidekick of A). How do I upgrade A without affecting the data in the volume exposed by B?

With the upcoming feature of in=service upgrade, you will be able to do your exact scenario.
Upgrade service A without affecting service B.
https://github.com/rancher/rancher/issues/1874


move vci to separate repository.

once we're done adding stuff to it, it should be a standalone repository of general utility instead of being buried in GoGi.
Could say the same thing about filecat in GoPi, but it is not quite so general-purpose..

actually moved to GoPi -- don't want to have to deal with lots of separate repos -- Pi is home to all general file-level packages, including spell (moved that too), filecat.


Bump versions

$Subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7987824378

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7987824378
Status: success


Adding WinUI 3 Shell32 controls and helpers

This is a temporary PR.

@dahall: This is currently an old version. I'll add the current progress soon.
Could you then trigger an AppVoyer Run for an beta, to have it running inside the 🧃.
The current version has still WIP and Issues, but I would be nice to test them :⚒

See #493


write OffsetFile in kinesis consumer

previously the kinesis consumer never actually wrote to OffsetFile, it would only read from it. with this patch, the kinesis consumer will write to OffsetFile every time it updates offsets.

Another good find :+1:


Iota not actually sent?

Around 2pm (Eastern) Nov 16th I clicked the withdraw button. It looked like it worked (Hashes went to zero, it said I was in queue...) but it never actually sent the iota.
I checked the tangle and there hasn't been a transaction on the address in several days.
Can you please check what happened to it?
Address: X9XOYHSKTKPKXEVKHATVIMUGIQWZIUVCQMLPECADK9Z9YCVMLHPWUDCXJXJAN9LNNWBNMBSRVINWDUDDWFGUHTPBGC

Hi, hashes go zero only after transaction is confirmed. Now i see you have around 20Kiota unpaid. It is correct or you missing more? I need check logs, but I am not close to PC. Will be after 7 hours from now.

That's what normally happens, I agree.
No, the 20k iota isn't it. That's just a little bit of extra hashing i was doing while waiting/trying to find the missing payment
The amount was ~4.3 MIota to be paid.
I'm happy to wait, no problem :)
Thanks!

Hi,
I refound your missing hasing by value from log. I found your withdrawal request in log.
You can withdraw it again.
There was some interesting behavior when one of iota node returned transaction is confirmed. It is look as one node from field.deviota.com was on wrong chaing. I need found solution how prevend this again.
Thank you for your warning.

Awesome, thanks! I was able to withdraw and it worked this time.
Appreciate it :) Have a great day.


Key rotation operations

Please have a look. I think:

the public DID key rotation should hang off the ledger API - it's defensive design against an off-line agent trying to the rotate key pair for a DID that's public.  Ledgers need wallets but wallets don't need ledgers; the operation initializes at the wallet, updates the ledger, then returns to the wallet to apply the update, and it uses the same wallet operations as for local DID key pair rotation below.
the local DID key pair rotation should hang off the wallet because it only needs the wallet. There are two calls: start and apply; the routes.py calls one and then the other. The wallet needs to retain both calls to accommodate public DID key pair rotation as above.
the wallet master encryption key rotation is a provision operation. Could you look this over in particular? On some level I can't believe it's this simple.

I'm open to the idea of renaming stuff in routes.py for ledger, wallet. I was toying with the idea of 'nym' instead of 'public-did' for symmetry, but we've used public-did everywhere else to refer to public DIDs, and properly the keys belong to the DID not the NYM.

Codecov Report

Merging #525 into master will increase coverage by 0.04%.
The diff coverage is 98.37%.

@@            Coverage Diff             @@
##           master     #525      +/-   ##
==========================================
+ Coverage   96.45%   96.49%   +0.04%
==========================================
  Files         236      236
  Lines       12123    12237     +114
==========================================
+ Hits        11693    11808     +115
+ Misses        430      429       -1

The wallet rekey isn't working for me so far, here's what I'm trying:
docker run --rm -ti --entrypoint bash aries-cloudagent-run
aca-py provision --wallet-type indy --wallet-key ORIG_KEY --wallet-name test --seed<PHONE_NUMBER>000000000000000000Test

aca-py start --wallet-type indy --wallet-key ORIG_KEY --wallet-name test -it http <IP_ADDRESS> 8000 -ot http

aca-py provision --wallet-type indy --wallet-key ORIG_KEY --wallet-name test --wallet-rekey NEW_KEY

# fails
aca-py start --wallet-type indy --wallet-key NEW_KEY --wallet-name test -it http <IP_ADDRESS> 8000 -ot http

# succeeds
aca-py start --wallet-type indy --wallet-key ORIG_KEY --wallet-name test -it http <IP_ADDRESS> 8000 -ot http

I think there should be some output if it has performed a wallet rekey, but I'm not seeing anything.

Thanks - I'm working on it


New ownership confirmation

Hi there; I just wanted to confirm the context behind the repo/ownership transfer?
Are the accounts lemontree55 and sdaubert the same?

No, they are not.

👋 Also looking for some additional context behind the ownership transfer.

I transfered packetgen and rasn1 to @lemontree55  because i have no more time nor desire to work on them. Lemontree is a friend of mine, which created a brand new account to work on these projects.

I appreciate the additional context @sdaubert! Thank you for all the time and effort you put into those projects. You did an absolutely wonderful job, and I personally learned a lot from them.
@lemontree55 I look forward to your stewardship of these projects moving forward. Seems like you have some exciting ideas in mind for https://github.com/lemontree55/packetgen/pull/125 😄


Instructions for VS based CI Deployments

When developing functions locally using C# vs csx in VS 2017 the build produces a .dll file. Instructions are needed on C# - dll based deployments.
Related Links - (https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs)

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

ID: 5a34424e-6a23-5517-5755-c9282643876f
Version Independent ID: 1c375649-94d6-863a-203b-cb5ed5e4044e
Content: Continuous deployment for Azure Functions
Content Source: articles/azure-functions/functions-continuous-deployment.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the feedback! We are currently investigating and will update you shortly.

@kgeorge314 I have assigned this to the author to review and determine how we should update the docs

@kgeorge314 I assume that you are looking for a build and deploy process for your VS-based function app project using VSTS?

Hi @ggailey777 , Apologies on taking forever to reply.
Yes that is exactly what I am looking for, I have a VS-based function app and I am building & deploying it via VSTS. I managed to get it working by following the instructions from here and adjusting to my needs. Octopus Instructions
I have shared below the steps i used to get it working for my enviroment ( redacted where appropriate ).
steps:
- task: DotNetCoreCLI@2
  displayName: dotnet publish
  inputs:
    command: publish
    publishWebProjects: false
    projects: 'BlobTrigger/BlobTrigger.csproj'
    arguments: '--output bin\Release\PublishOutput --configuration Release '
    zipAfterPublish: false
    modifyOutputPath: false

- task: octopusdeploy.octopus-deploy-build-release-tasks.octopus-pack.OctopusPack@2
  displayName: Package Redacted_Redacted_Redacted.BlobTrigger.Connect
  inputs:
    PackageId: Redacted_Redacted_Redacted.BlobTrigger.Connect
    PackageFormat: Zip
    PackageVersion: '$(Build.BuildNumber)'
    SourcePath: '.\BlobTrigger\bin\Release\PublishOutput'
    OutputPath: '$(Build.ArtifactStagingDirectory)\BlobTrigger\OctopusPack'
    ListFiles: true

- task: octopusdeploy.octopus-deploy-build-release-tasks.octopus-push.OctopusPush@2
  displayName: Push Packages to Octopus
  inputs:
    OctoConnectedServiceName: 'Octopus NuGet Packages URL'
    Package: '$(Build.ArtifactStagingDirectory)\BlobTrigger\OctopusPack\Redacted_Redacted_Redacted.BlobTrigger.Connect.$(Build.BuildNumber).zip'
    Replace: true

@kgeorge314 I am in the process of documenting how to deploy from a VSTS build pipeline (versus the App Service-driven CI) by using the Azure App Service Web Deploy task. This task, in the v4 (preview), now supports both zip deployment and running from the package. That article is still "in development," and I will link to it from both articles after it is published in the VSTS docs.
In the meantime, we are tracking this work internally (1108351), so #please-close per SLA.


Evaluation of recent LLMs, like Llama 2

Hi there,
I am quite curious to see the performance of recent LLMs such as Llama 2 in terms of embedding quality. I haven't found anything on it on MTEB. The sentence_transformers seems to be a bit outdated and not include Llama 2.
Are there been work on the topic? Would be interested in contributing if you could provide some pointers

Hey! I think using the raw Llama would not perform very well, you will likely need to fine-tune it. You can check the SGPT paper for background on this: https://arxiv.org/abs/2202.08904
I am planning to fine-tune Llama-2 soon using the SGPT-BE recipe, just haven't had the time thus far.
Feel free to try it out!
Otherwise, you can ofc also try evaluating it without fine-tuning using e.g. the weighted mean pooling from sgpt, I doubt it will be competitive though.

Hello! From https://github.com/embeddings-benchmark/mteb/issues/129 it seems that @DJT777 is maybe trying it as well? 👀

@NouamaneTazi @Muennighoff @dhuynh95
Yes, I'm currently in the stages of doing some preliminary evaluations of the base  Llama models' embedding spaces, with the end goal of creating an embedding generator from Llama 2. I'm very interested in seeing if we can create an open source LLM based embedding generator.

Seems like this issue has gotten stale, will close it, but do feel free to reopen it if needed


Schedule 15 9

This is the last session to be scheduled from existing submissions.

LGTM, thanks @catsmith. We just need the registration url from @eileen-kuehn here, too

One of these has changed his mind about his availability, please could we keep this on hold until I figure out a solution.

phew, quick solution found. Moving to Monday of the same week at the same time.

great! thanks @eileen-kuehn! The test failure is related to something that has already been solved in master, so we'll merge this and I update the google calendar


Images oddly scaled and off-center after Cypress + plugin upgrade

Hello, and thanks for this plugin. We've been using it for over a year with no significant issues. I just upgraded the plugin and Cypress itself to v12 (latest), and now our snapshots appear to be much larger and the right sides of our pages are cut off. The only config option we have set is { capture: "fullPage" }. I tried adding { scale: true } and that seems to make no difference.
Has anyone else experienced this, or does anyone have ideas about what might be going on?

I'm now wondering whether this is the actual issue, in Cypress.

Have you managed to solve your issue, or at least, was it indeed related to cypress or not?

No, but I think the issue is with Cypress, so I'm going to close this issue.


Force checkout on Fabric-built environments

Description:
Since upgrading of NPM and introduction of package-lock.json everytime we execute npm install package-lock.json can change (it actually occurs few times already), so git checkout without force could not work.
Because we don't change files inside git repository on our Fabric-based environments there will be no issues if we will checkout them with -f flag.
New imports / dependencies:

N/A

Unit Tests:

N/A

Codecov Report

Merging #836 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #836   +/-   ##
=======================================
  Coverage   91.88%   91.88%
=======================================
  Files         102      102
  Lines        2945     2945
  Branches        6        6
=======================================
  Hits         2706     2706
  Misses        238      238
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07e993b...fba02c5. Read the comment docs.


Build error

Short description of the issue
Build is failing, see image
NPOKit Group
Swift Compiler Error Group
tvOS/TVgemist/Pods/NPOKit/Sources/NPOKit/NPOKit+Live.swift:19:34: Value of type '[LiveComponent]' has no member 'compactMap'
TVgemist/Pods/NPOKit/Sources/NPOKit/NPOKit+Subtitles.swift:81:36: Value of type '[SubtitleLine?]' (aka 'Array<Optional<(number: Int, from: Double, to: Double, text: String)>>') has no member 'compactMap'

Issue type
Compilation error
What is the expected behaviour?
Project cane be compiled
What is actually happening?
See image
Steps to reproduce
Open in code, try to build
Extra information
Version you are using: a0e60d15a2662b552ea4c1efd81fa20ccbe4004b
tvOS version: 0.0.3
Xcode version: 9.2

Yes, you need Xcode 9.3 / Swift 4.1 which are currently still in beta and -unfortunately- did not get released yesterday after Apple's education event...

ok thnx :-)

Xcode 9.3 was just released so I'll be tagging a new release shortly...


Added Build Rule

Add build rule, to only build on Linux platform, reason for adding this: This allows the usage of the logrus package within a Windows based project. Current logrus project fails to import due to the fact the syslog is missing on Windows.
Important Note:
The additional empty newline between the // +build and the package declaration is mandatory for GoLang to detect the build command.
Current change is tested on Windows, It allows an import of Logrus without errors

A+ thank you


Completion of pending plugin modules

Signed-off-by: Shaanjot Gill<EMAIL_ADDRESS>
Completion of deliverer, relay modules
Completion of redis_queue with sharding support
Completion of status_endpoint support for both deliverer and relay
Completion of int tests, docker-compose scripts and configuration
Relay + mediator demo

w00t!!  Done?


UTM seems to run slower than Parallels Desktop on Apple Silicon

if you compare e.g parallels speed with utm
parallels run with near native speed
utm are litle slower iven if you run with virtualization=on
why?
i think both uses mac os virtualization engine?

@mjonsson1986 It would be interesting to compare the speed with some tests. Are you able to test e. g. starting a Windows ARM guest in Parallels and UTM and measure the time it takes? Maybe a CPU benchmark?

i dont own parallels anymore

24 nov. 2021 kl. 21:17 skrev CONATH @.***>:
@mjonsson1986 https://github.com/mjonsson1986 It would be interesting to compare the speed with some tests. Are you able to test e. g. starting a Windows ARM guest in Parallels and UTM and measure the time it takes? Maybe a CPU benchmark?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/3330#issuecomment-978191524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEUP5IKLKRIAFCC2K5RAK3UNVB6PANCNFSM5IROGO5A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Both don't emulate the exact same configuration, so it is hard to know what exactly is different...

virtualization VS emulation .... real hardware multi core  vs soft-single-emulated-cpu ?

emulation? qemu dont emulate arm if you run a arm device

26 nov. 2021 kl. 15:09 skrev Si13ntV0ice @.***>:
virtualization VS emulation .... real hardware multi core vs soft-single-emulated-cpu ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/3330#issuecomment-980003517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEUP5JMRQSGVC3SAQZQ5C3UN6IJFANCNFSM5IROGO5A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

correct, but the hardware being virtualized/emulated is not the same between qemu and parallels, hence why there may be a performance difference, as well as methods used by them to use the hypervisor must be different as well for that difference to happen.

@conath I own Parallels Standard (4 vcore, 8GB RAM), what type of benchmarks do you want to see?

Any CPU and I/O related tests would be interesting. If possible, a few tests that can be also run natively on your Mac, too.
For example CineBench, CrystalDiskMark (not sure what a Mac equivalent would be).

@AwlsomeAlex May I ping?

Geekbench scores from both would be interesting.
Because it's different hardware configurations, drivers etc, I'd expect some things to be faster and others slower.

Parallels also has GPU acceleration…

@osy utm provides experimental hardware GPU acceleration by OpenGL.

Not on windows which is what I presume we are talking about

@osy Oh, you're right. Thanks. I've just read it's only for Linux.

Not on Windows? ORLY? So why I was able to run Grand Prix 4 on it (albeit with a slower performance) ?
DirectX setup shows I have some D3D support under Windows 11 Pro (ARM64) after installing SPICE Tools. Probably only for 2D games. Still quite impressive tho.

@brunocastello Windows would be falling back to Microsoft's basic WARP software renderer in that case, so basically you're running 3D in software. I would expect modern games would refuse to launch with a GPU unsupported error even though tools like dxdiag show 3D acceleration is available.

@brunocastello Windows would be falling back to Microsoft's basic WARP software renderer in that case, so basically you're running 3D in software. I would expect modern games would refuse to launch with a GPU unsupported error even though tools like dxdiag show 3D acceleration is available.

Luckily I don’t play modern games, only late 90s to early 2000s

Soaring Flight Simulator Condor2 runs very slow on UTM. On parallels, it is butter smooth.
The diff that I see  is only 1 CPU / 1 core for UTM. Can this be configured via settings?
I hear UTM not support DirectX yet.

@aisobe You can enable more cores in the VM’s System settings.

Also, ensure that the hypervisor is enabled. I had it unticked and this makes things slow.

Also, ensure that the hypervisor is enabled. I had it unticked and this makes things slow.

already on, but runs slow.

On your UTM test, are using a qcow2 or a raw volume?  Those writes make me suspect qcow2, which, while the default in UTM come with a noticeable performance impact.  If you don’t mind losing state saving and decreased image size, raw should result in improved disk I/O values.
-Em

On Mar 24, 2022, at 11:44 AM, Pedro León @.***> wrote:

Hi! I'm not an expert, but I run the benchmarks, I hope its useful, here are the specs: (for some reason crystaldiskmark shows strange scores on both UTM and Parallels, it could be a bug thought)
M1 Macbook Air 16 GB RAM 8 CPU Cores / 7 GPU Cores
Windows 11 8 GB RAM 4 CPU Cores on both UTM and Parallels
macOS 12.3 and Windows 11 with latest updates
UTM 3.1.5 with SPICE Guest Tools and drivers
Windows 11 Parallels
Benchmark	Scores
Geekbench 5	5037 multicore / 1534 singlecore
Geekbench 5 (Through Intel emulation)	2214 multicore / 640 singlecore
Cinebench r23 (Through Intel emulation)	1741 multicore / 543 singlecore
CrystaldiskMark	8487.83 MBs read 8731.60 MBs write / 68.75 MBs random read 56.19 MBs random write
unigine heaven basic dx11 (Through Intel emulation)	57.1 fps / 1437 score
Windows 11 UTM
Benchmark	Scores
Geekbench 5	4839 multicore / 1520 singlecore
Geekbench 5 (Through Intel emulation)	2146 multicore / 627 singlecore
Cinebench r23 (Through Intel emulation)	1620 multicore / 537 singlecore
CrystaldiskMark	7581.12 MBs read 1969.95 MBs write / 35.16 MBs random read 31.51 MBs random write
unigine heaven basic dx11 (Through Intel emulation)	It simply Crashes
macOS 12 Native
Benchmark	Scores
Geekbench 5	7728 multicore / 1755 singlecore
Cinebench r23	6737 multicore / 1491 singlecore
Amorphousdiskmark	3419.24 MBs read 2062.46 MBs write / 71.95 MBs random read 37.77 MBs random write
unigine heaven basic opengl	N/A
macOS 12 rossetta 2
Benchmark	Scores
Geekbench 5	5990 multicore / 1322 singlecore
Cinebench r23	4553 multicore / 982 singlecore
Amorphousdiskmark	3470.86 MBs read 2321.74 MBs write / 49.44 MBs random read 38.07 MBs random write
unigine heaven basic opengl	68.1 fps / 1716 score
Conclusion: I don't think it's slow, it's just that the lack of GPU acceleration makes it "feel" slow, parallels feels buttery smooth, and doesn't crash or freeze like UTM does.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

On your UTM test, are using a qcow2 or a raw volume? Those writes make me suspect qcow2, which, while the default in UTM come with a noticeable performance impact. If you don’t mind losing state saving and decreased image size, raw should result in improved disk I/O values.
…

Umm yeah, I think I'm using qcow2

How can i changed it to raw?

I managed to changed it to raw using the qemu-img command
I don't seem to see any change, It looks like I have the same speed.

Can someone tell me if the MacBook heats up while using apps like vscode and andriod studio as i am planning to shift on the m1 MacBook Air base model

If you have the money, get the Pro model. Vscode will be fine with the native mac version. I dont know about Android Studio but chances are you'll have the performance throttled down to mantain the temperature cool, since the Air does not have a cooling system.

If you have the money, get the Pro model, 16GB and 512GB minimum. Vscode will be fine with the native mac version. I dont know about Android Studio but chances are you'll have the performance throttled down to mantain the temperature cool, since the Air does not have a cooling system.

No bud i don't have the money for a 16 but will install a thermal pad in yhe air but only doubt bout the battery temps after thermal pad install

That thermal pad will not work in the long run and neither will improve the performance significantly. I saw the videos on youtube and I must say that apart of voiding the warranty, the gains from it are too small and will not be enough.
Android Studio is really, really, really demanding. A base model Air will not make the cut for it.

@Saheber How about rent a Macbook Air and  see what happens before buying the thing?

@Saheber How about rent a Macbook Air and see what happens before buying the thing?

https://www.youtube.com/watch?v=f_0M3BuIbJk

@Saheber How about rent a Macbook Air and see what happens before buying the thing?

https://www.youtube.com/watch?v=f_0M3BuIbJk
https://www.youtube.com/watch?v=-HOWvvOnhHQ
Both testers recommend 16GB minimum. These videos probably were recorded using Intel version of Android Studio through Rosetta 2, but AFAIK there is an Apple Silicon version of Android Studio somewhere.

Ok then I will loook bout it then and make sure i save more and buy a 16gigs thanks for the info though

@LeonSolisPedro about Cinebench scores, Parallels is more advanced than QEMU in terms of GPU virtualization/emulation and has DX11 support. They will always beat QEMU in that aspect unless you do some VFIO or pass through a real GPU to QEMU.
If you're not into AAA games, UTM will be just fine for you.

I don't know what params should I run windows 7 in UTM on my M1 Pro Max host, but reality is that the guest is incredibly slow. I had to buy Parallels Desktop because UTM is just getting on my nerves.

Well, I'm switching to Win 11 ARM, but still have to get files from the Win7. Man, I can't get shared folders to work on Win 7 in UTM.

Is there a plan for hardware graphic acceleration on Windows?

Is there a plan for hardware graphic acceleration on Windows?

I would transfer the value of my currently owned three licenses from Parallels and pledge support to whomever is working on GPU support in QEMU. I bet others would follow.
Not only that, but I used to pay for over 20 licenses for employees for years. More than happy to redirect respective funds to an Open-Source project, if this means we will start getting faster results.


Colours not shown even when contributions are present.

I guess GitHub has updated colour values and codes so colours are not shown.

@FahadYousafMahar I'll take a look at this to see if there's a quick fix, but the skin isn't really in a usable state due to the amount of resources that the C# scraping program requires.
Additionally, if you're able to find a solution feel free to submit a pull request.


[DUOS-2641][risk=no] Submitted Datasets Subtab

Addresses
https://broadworkbench.atlassian.net/browse/DUOS-2641
Summary

Remove the DS Console tab
Add a Submitted Datasets to the Researcher Console
Hide the sub nav if the user has not been granted Data Submitter role by a Signing Official
Disable the "Add Dataset" button if the user does not have a library card.

I suggest hiding white space - auto-formatting made a ton of unrelated changes to utils.js.
Example Screen:

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

Looks good. As a sanity check: looks like a ton of the changes are linting fixes right?

Yes, lots of auto-formatting changes, unfortunately.


Wrongly calculated surface_height when CollisionShape2D is far from FluidArea2D position

Hello, I discovered that the surface height gets wrongly calculated in FluidArea2D::_ready() whenever the CollisionShape2D is far from the FluidArea2D position. I would be happy to submit a pull request but firstly I am not sure what is the point of this code here. Why is the extent multiplied by the collision transform? To get the extent in global position? I don't quite get that.
https://github.com/ueshita/godot-floatable-body/blob/46afd85937b14ac42b99402525fb83656182ce35/addons/floatable_body/fluid_area_2d.gd#L19

Please let me check things.
I will fix it.


pub is unavailable on 2.17

Hi,
I'm using  dart:2.17 in https://github.com/the-benchmarker/web-frameworks/pull/5339
I have the following error
=> ERROR [4/7] RUN pub get --no-precompile

Should I change a PATH or anything ?
Regards,

pub as a standalone tool has been deprecated, and 2.17 is the release where it's not supported any more. You'll need to change your Dockerfile to use dart pub.


Layer list and viewer toolbar and actions

Currently some buttons that affect the viewer are placed on the layer list dockwidget.
Additionally the show console button is part of this dock as well, which means closing the layer list would effectively close viewer related actions plus the show/hide console button.

It seems that these buttons should live in a separate dock that related to "viewer" actions and not necessarily thge layer list dock.

Pinging @liaprins-czi

Also closely related to this heuristic issue:
https://github.com/napari/product-heuristics-2020/issues/19

Overview of design need

Is there an existing GitHub issue this design work pertains to?
Heuristics: Layer controls relationships #19

In a sentence or two, describe the problem to be solved for users
The actions shown per layer type, as well as the parameters are not consistently communicated in terms of their relationships and dependencies. Overhaul UI to better reflect relationship between actions, between parameters, and between actions and parameters.

What level of design is needed? (Choose all that apply)
This section may be updated by the designer / UX researcher working on this issue

[X] User experience research:  high-level recommendation/exploration of user needs, design heuristics, and / or best practices to inform a design experience
(Use this option when you feel there’s a challenge to be solved, but you’re curious about what the experience should be — may involve research studies to understand challenges/opportunities for design)
[X] information flow / conceptual: organizing and structuring of information flow and content, including layout on screen or across multiple steps
[X] Visual: creating mockups, icons, etc
(If choosing this level alone, it means that the content to be mocked up and its organization is already known and specified)

Is design a blocker?

[X] Yes: engineering cannot proceed without a design first
[ ] No: engineering can create a first version, and design can come in later to iterate and refine

If selecting Yes, how much design input is needed to unblock engineering? For example, is a full, final visual design needed, or just a recommendation of which conceptual direction to go?
Probably a full design plan with mockups of flows and different situations, but not necessarily detailed visual design updates.
T-shirt size

[ ] ●○○○○ XS: able to be done in a typical workday or two
[ ] ●●○○○ S: able to do within one sprint, if also working on other things in the sprint
[ ] ●●●○○ M: able to do within one sprint, if it is the sole focus
[ ] ●●●●○ L: will likely take more than one sprint to complete, but less than two
[X] ●●●●● XL: a very large experience to be determined or overhauled, will need to be broken down further


Entity Prediction

Hi, thanks for the code. It is really a good work.
I have one question with the following code:
In the code test.lua,
local _, argmax_idx = torch.max(pred, 1)
local winning_entiid = ent_wikiids[argmax_idx[1]]

it seems that it uses torch.max to select the entity with the max value as the predicted entity, what if there are several candidate entities with the same maximum prediction score? (I am not familiar with lua, please correct me, if there are any problems.)
I don't know whether this problem exists in the experiments. If it does, it would influence the results of these experiments.
Thank you.

If more than one candidate entity has the same score, then torch.max will select the first one. This could be a problem, but given that the predictions are real numbers produced by the neural network, it is very unlikely that two of them will have the exact same value.
TL;DR, theoretically this might be an issue, but practically I think it is very unlikely.

Thank you. The answer is reasonable. It's very unlikely that two or more entities have the same score if they have a different context.


Write unit tests for WatsonGateway

We should write unit tests for WatsonGateway:

[ ] A request using a valid token. -> Ensure the caller receives a successful response.
[ ] A request using an invalid token that is successfully refreshed. -> Ensure the caller receives a successful response.
[ ] A request using an invalid token that is unsuccessfully refreshed. -> Ensure the caller receives an error response. In particular, we want to ensure that WatsonGateway does not enter an infinite loop of refreshing the token.
[ ] An array of requests using a valid token. -> Ensure the caller receives successful responses.
[ ] An array of requests using an invalid token that is successfully refreshed -> Ensure the caller receives successful responses. In particular, we want to ensure that all requests are cached until the token is refreshed, and only restarted after a new token is available.
[ ] An array of requests using an invalid token that is unsuccessfully refreshed. -> Ensure the caller receives error responses. Ensure that all requests fail immediately after the token is proved invalid. In other words, each request should not prompt its own refresh attempt.

WatsonGateway has been removed in the rest-kit branch. We are preferring to rely on basic authentication and the feature set of Alamofire.


ERROR:visdom:[Errno 111] Connection refused

Hi, I'm getting the following error when running "python3 train.py PGAN -c config_cifar10.json --restart -n cifar10" over a cifar10 dataset. Any hints?
Exception in user code:
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1229, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4b79df198>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4b79df198>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/visdom/__init__.py", line 548, in _send
    data=json.dumps(msg),
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 581, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4b79df198>: Failed to establish a new connection: [Errno 111] Connection refused'))
ERROR:visdom:[Errno 111] Connection refused
Running PGAN
size 10
50000 images found
AC-GAN classes :
{'Main': {'order': 0, 'values': ['horse', 'ship', 'deer', 'bird', 'airplane', 'truck', 'dog', 'automobile', 'cat', 'frog']}}

nm, just run visdom on the right port.

run visdom server in background firstly, and then execute the model.
nohup python3 -m visdom.server &


Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')     at devtools-overlay.mjs:8:183129

i get this error, as soon as i type into the input field, it goes away on refresh but shows up again as soon as i type in the input.
version: "vite-plugin-vue-devtools": "^7.3.1",

Can you provide a mini repo? Thanks

I get the same error. I think it has to do with the autocomplete option. When I click and it fills out the form, that's when the error occurs.
<script setup lang="ts"></script>

<template>
  <input name="firstName" type="text" autocomplete="given-name" />
</template>

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

it was a clean vue.js project, i selected the devtool plugin while scaffolding the project.

I get the same error by clicking anywhere on the interface, but only on the first click. This happens in a Vue.js project that was created before adding the plugin. In a clean Vue.js project, I don't encounter the error.

it was a clean vue.js project, i selected the devtool plugin while scaffolding the project.

Can you share the repo to help us track it? Thanks.

I cannot reproduce it, so if someone can provide a mini repo, it would be helpful.

I cannot reproduce it, so if someone can provide a mini repo, it would be helpful.

Here is a reproduction: https://github.com/Deckluhm/vue-devtools-next
⚠ Important to note that it seems to only happen on Chromium-based browsers, not on Firefox

Also, I forgot to mention that, as @r4g309 said, it seems to only happen when using an autocomplete suggestion.

Fixed in #502 , It will work fine in the next patch release


Local build system

Unfortunately the automatic build system doesn't work without the .godot folder and we decided we can't keep it in git anymore as it's creating too many problems.
I'll make the build on my computer, using the export script I created for a client. This will create a build and a release, the same way the action was doing.

Done with https://github.com/MrEliptik/godot_twitch_games/commit/3e12d4cc361e3ff1d5d2f2b394f8916701e95e16


[SMALLFIX] Better error message when ufs fails to find a suitable factory.

Makes it more clear to the user that there may be something wrong with the path.

LGMT


Update urls.py for django 1.9 compatibility

Fix for #235

@TheRakken thanks for the PR. You didn't include urls in the testapp in tests. These should be updated as well, to ensure tests running in future versions.

ok. I'm on it

Done. Let me know if I missed anything else

Thanks @TheRakken
Released in 5.4.3


Apex_0905_v0.9.1.fix7.apk not allowing claim

So this is from a user that hasn't claimed yet...
And might it be from the OS? He's using a OS Lineage 15.1
Thanks once more

@miguelvilasboas  Hello, first of all, thank you for your feedback！We have extended the event to September 9, 2018，you can submit now. Finally, thank you for your support!


[Bug] Disable/Enable not working on edit mode (object, component like Figure), should hide Enable option of Transform component

Detail in comment

There's one more problem when I disabled the button but the label still display

Fixed in build#119


change eraser cursor

To reflect the eraser radius (right now it's around ~10px)

closing via #4922


Only class own's properties are available

When using $Class $Properties only the properties defined on the class are available, not all the properties in the hierarchy.

Hi @jaenyph,
You can access properties from bas classes by using $BaseClass e.g.
$Classes(...)[
    $Properties[...]
    $BaseClass[
        $Properties[...]
   ]
]

I used this piece of code to traverse the entire hierarchy:
`    IEnumerable GetPropertiesFromEntireInheritanceHierarchy(Class c)
{
var properties = new List();
    while (c != null)
    {
        properties.AddRange(c.Properties);
        c = c.BaseClass;
    }

    return properties;
}

interface $Name { $GetPropertiesFromEntireInheritanceHierarchy[...]
}]`

@patrykbuzowicz Where do I put the GetPropertiesFromEntireInheritanceHierarchy function?

I found no better way than to place it in the .tst file. I would love to reuse .tst code though across multiple projects

@k-vekos, see https://frhagn.github.io/Typewriter/pages/getting-started.html#custom-methods for info om how to use custom methods in your templates


Consider inject literals in Lissp

I'd use the |...| symbol syntax from Common Lisp. They'd basically act like symbols that don't munge. These would parse to a str object in the Hissp. You can already do this with .#"...", but it would have two fewer characters overhead, and you'd only need to escape the less common (in Python code) | character instead of ".
A number of macros need injected strings now and could use these instead. Does X#.#"0 == X & 1" or X#|0 == X & 1| look better? I prefer the latter. The other lambda readers would be similar.
I've also used injects in the case macro. Any fully-qualified function name can be used as a reader macro. If those need a string argument, you'd have to inject it. E.g., does fractions..Fraction#.#"1/2" or fractions..Fraction#|1/2| look better? Again, I prefer the latter.
This would be similar to Hebigo's bracketed expressions, and (of course) it's similarly easy in readerless mode. Injections are opaque to code-walking macros and shouldn't be overused.
Quoting a string literal results in something like "('foo')", even if it's nested in a tuple. This is surprising and annoying to users used to other Lisps who just wanted data. Python simply doesn't have a separate symbol type, and pervasively uses strings everywhere it needs to represent identifiers, so it's not like making a new type would help much even if I were willing to give up the standalone property, which I'm not. Strings have to be used for both. The |...| atoms would be an easy alternative that would still make sense to a Common Lisp user. They would also work as strings when quoted directly, like '|...|. Python users are used to having two different quotation types and will often pick the one that requires the fewest escapes.
The inject macro .# wouldn't simply go away, since it can be used on any data type. This would leave us with several kinds of strings to keep track of |...|, '|...|, .#"...", #"...", and "...". We can mostly ignore the .#"...", since |...| would almost always be used instead. But the #"..."/"..." distinction makes less sense now. I might make the '|...| form the raw string syntax (which seems pretty natural, except perhaps for \|), make "..." the one that processes Python escapes, and get rid of the #"..." atoms altogether.
I've designed Lissp to be compatible with editors for Common Lisp. If anything, compatibility would improve there as we'd be more careful with | characters. Emacs Lisp lacks this syntax, so there may be a loss there, but I don't know why anyone would edit Emacs Lisp in anything but Emacs, which already has lisp-mode, so maybe this isn't an issue.
There is one dealbreaker. Parinfer can't fully handle these yet. https://github.com/parinfer/parinfer.js/issues/209 https://github.com/oakmac/parinfer/issues/16 If that changes, I might just do it.

Something like X#|0 == X & 1| apparently isn't compatible with lisp-mode. It recognizes the #| as the start of a comment. This is surprising because sbcl parses the whole thing as a single symbol, which is what I would have expected. Adding a space between the # and | makes it parse like two symbols though. Come to think of it, I ran into this problem in my tests when using an alias qualifier for the || macro. These should have worked without the spaces. One of the main uses I see for inject literals is as arguments to reader macros, which means we'd need to add the space between them to work around a bug in lisp-mode. I wonder if I can get this fixed.

Parinfer is not ready for this, but should mostly behave when they don't contain terminating characters or they're at least escaped, which is allowed. Like Common Lisp's symbols using multiple escape characters (i.e., |), a \ can escape either a following \ or | and gets removed without doing anything elsewhere. These turn out to be trivial to implement. That means (at least until Parinfer catches up) the default style will be to eschew whitespace and escape any problem characters. I haven't enumerated which ones those are yet, but probably anything that would terminate a normal symbol in Clojure is a potential concern.
The multiple string types in the different stages is one of the hardest things about Hissp to document clearly, which means it's likely a point of confusion for users as well. Anything I can do to minimize this number is probably worth doing, and I should come up with different names I can use consistently for each case.
Having both #"" and "" strings is probably redundant given ||. '|| can be a raw string. |""| can be an escaped one, although \s would have to be double-escaped. Yeah, that's not going to work.
These would be a lot more useful if the \s were not magic and you only escaped | like ||, but Parinfer.
Can I at least switch the interpretation of #"" and ""? That would be more like Clojure. You'd almost always use "" and only occasionally use #"" for things like regex. I had it that way originally, but using a tag on a hash string looks bad. It would be even worse now with the multiary tags #245.

Is this still worth doing with Common Lisp–style escapes? Maybe. The result of '("a" "b" "c") might be surprising in Lissp. I'm currently recommending (en#tuple "a" "b" "c") or  `(,"a" ,"b" ,"c") instead, although '(.#"a" .#"b" .#"c") does work. '(|a| |b| |c|) looks better, and still makes sense if you're used to older Lisps.
<<# might be good enough for raw strings. Short regex would always require a newline though. Or lots of backslashes.


[Bug] Dart async function call no return

Describe the bug
I used flutter_rust_bridge framework to create two static libraries to use on IOS, but when I use Dart to asynchronously call the functions exported from the static libraries, one of the static libraries does not return after the call (the rust function can return normally, the Dart call does not return), the other static library is working normally, the initial judgment is that both static links have The preliminary judgment is that both static links have exported the public function, resulting in the use of dart only one of them. In addition, in the android platform is no problem, using the .so dynamic library
Codegen logs with RUST_LOG=debug environment variable
no

To Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
MacOS
Version of flutter_rust_bridge_codegen
1.49
Flutter info
[✓] Flutter (Channel beta, 3.4.0-34.1.pre, on macOS 12.6 21G115 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.4.0-34.1.pre on channel beta at /Users/saiksy/devspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 71520442d4 (4 周前), 2022-10-05 16:38:28 -0500
    • Engine revision db0cbb2145
    • Dart version 2.19.0 (build 2.19.0-255.2.beta)
    • DevTools version 2.18.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/saiksy/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = /Users/saiksy/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Version of clang++
No response
Version of ffigen
No response
Additional context
No response

The preliminary judgment is that both static links have exported the public function, resulting in the use of dart only one of them. In addition, in the android platform is no problem, using the .so dynamic library

Looks reasonable. Feel free to PR!

Or, just make one static lib?

另一个静态库是别的团队提供的，所以只能生成两个


Add generic PeftConfig constructor from kwargs

This PR introduces a new constructor PeftConfig.from_peft_typethat accepts a set of kwargs. The appropriate config class is determined by the peft_type argument. The logic for this was already buried within from_pretrained, so I've done a small refactor to pull that out into its own method.
Usage is as follows:
>>> from peft import PeftConfig
>>> peft_kwargs = {"peft_type": "LORA", "r": 8, "lora_alpha": 16}
>>> peft_config = PeftConfig.from_peft_type(**peft_kwargs)
>>> print(type(peft_config))
<class 'peft.tuners.lora.config.LoraConfig'>

I am new to contributing to this repo, so please let me know which PR steps I am missing (e.g., do I need to version bump in setup.py, or add any further documentation?)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks very much for the quick review @pacman100! Will you handle merging when ready?


2022-03 planning meeting

For our inaugural planning meeting, @jackh726 and I will prepare a document outlining possible topics for upcoming and other details of how traits group will run.

We did this! https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-traits/topic/meeting.202022-03-11


Unable to refresh token Get Version

./chkit version
Fatal error: unable to refresh token

After:

make dev

@ninedraft

It`s not documented right now: you need to run
export CONTAINERUM_API=https://api.containerum.io:8082

before doing

make dev