beforeEach hook in describe behaves as a global hook

For the following code:
var describe = require("mocha").describe;
var it = require("mocha").it;

describe("describe1", function() {
  beforeEach(function(done) {
    console.log("hello before1");
    done();
  });

  it("should do stuff1", function(done) {
    done();
  });
});

describe("describe2", function() {
  beforeEach(function(done) {
    console.log("Hello before2");
    done();
  });

  afterEach(function(done) {
    console.log("Hello after2");
    done();
  });

  it("should do stuff2", function(done) {
    done();
  });

  it("should do more stuff2", function(done) {
    done();
  });
});

Should the output be the following?
hello before1
Hello before2
    ✓ should do stuff1
Hello after2

  describe2
hello before1
Hello before2
    ✓ should do stuff2
Hello after2
hello before1
Hello before2
    ✓ should do more stuff2
Hello after2

  3 passing (11ms)

I believe beforeEach should run on the context of the describe? Thank you.

Expected output:
  describe1
hello before1
    ✓ should do stuff1

  describe2
Hello before2
    ✓ should do stuff2
Hello after2
Hello before2
    ✓ should do more stuff2
Hello after2

  3 passing (11ms)

The issue seems to be with the two require, that are not necessary. By removing them the tests run as expected.


ValueError: 15 is not a valid PROCESSOR_LEVEL

Hi mate,
Thank you for your hard work. Pypykatz is really awesome. I experience a little problem here when parsing a minidump on a fresh installed Windows.
Here how to reproduce:

OS Name: Microsoft Windows Server 2019 Standard Evaluation
OS Version: 10.0.17763 N/A Build 17763
ProcDump64 Version: v9.0 (latest)
Pypykatz Version: v0.1.1 (judging from setup.py)

Here is my ProcDump:
procdump64.exe -accepteula -ma lsass.exe lsass.dmp

ProcDump v9.0 - Sysinternals process dump utility
Copyright (C) 2009-2017 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com

[08:11:06] Dump 1 initiated: C:\lsass.dmp
[08:11:06] Dump 1 writing: Estimated dump file size is 45 MB.
[08:11:06] Dump 1 complete: 45 MB written in 0.3 seconds
[08:11:07] Dump count reached.

When I try to parse it, it fails with ValueError: 15 is not a valid PROCESSOR_LEVEL.
INFO:root:Parsing file lsass.dmp
DEBUG:root:Found ThreadListStream @684 Size: 388
DEBUG:root:Found ThreadInfoListStream @808 Size: 524
DEBUG:root:== ThreadInfoList ==
ThreadId | DumpFlags | DumpError | ExitStatus | CreateTime         | ExitTime | KernelTime | UserTime | StartAddress   | Affinity
---------------------------------------------------------------------------------------------------------------------------------
0x234    | None      | 0         | 0x103      |<PHONE_NUMBER>54477257 | 0        | 0          | 156250   | 0x7ff67c284080 | 1
0x248    | None      | 0         | 0x103      |<PHONE_NUMBER>57657209 | 0        | 0          | 0        | 0x7ff8312e3820 | 1
0x24c    | None      | 0         | 0x103      |<PHONE_NUMBER>57906553 | 0        | 0          | 0        | 0x7ff83566ff80 | 1
0x914    | None      | 0         | 0x103      |<PHONE_NUMBER>19064206 | 0        | 0          | 0        | 0x7ff82522a2b0 | 1
0xbfc    | None      | 0         | 0x103      |<PHONE_NUMBER>56810042 | 0        | 5468750    | 4843750  | 0x7ff83566ff80 | 1
0x404    | None      | 0         | 0x103      |<PHONE_NUMBER>06547693 | 0        | 4375000    | 5312500  | 0x7ff83566ff80 | 1
0xc14    | None      | 0         | 0x103      |<PHONE_NUMBER>06871525 | 0        | 0          | 156250   | 0x7ff83566ff80 | 1
0xd50    | None      | 0         | 0x103      |<PHONE_NUMBER>69704025 | 0        | 0          | 0        | 0x7ff8311651d0 | 1

DEBUG:root:Found ModuleListStream @a14 Size: 8968
DEBUG:root:Found UnloadedModuleListStream @2d1c Size: 36
DEBUG:root:Found TokenStream @2d40 Size: 704
DEBUG:root:TokenStream parsing is not implemented (Missing documentation)
DEBUG:root:Found Memory64ListStream @26be3 Size: 8192
DEBUG:root:Found MemoryInfoListStream @1e6e3 Size: 34048
DEBUG:root:Found SystemInfoStream @f8 Size: 56
ERROR:root:Error while parsing file lsass.dmp
ValueError: 15 is not a valid PROCESSOR_LEVEL

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pypykatz/lsadecryptor/cmdhelper.py", line 169, in run
    mimi = pypykatz.parse_minidump_file(args.memoryfile)
  File "/usr/local/lib/python3.7/dist-packages/pypykatz/pypykatz.py", line 52, in parse_minidump_file
    minidump = MinidumpFile.parse(filename)
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 187, in parse
    mf._parse()
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 195, in _parse
    self.__parse_directories()
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 238, in __parse_directories
    self.sysinfo = MinidumpSystemInfo.parse(dir, self.file_handle)
  File "/usr/local/lib/python3.7/dist-packages/minidump/streams/SystemInfoStream.py", line 175, in parse
    si = MINIDUMP_SYSTEM_INFO.parse(chunk)
  File "/usr/local/lib/python3.7/dist-packages/minidump/streams/SystemInfoStream.py", line 92, in parse
    msi.ProcessorLevel = PROCESSOR_LEVEL(int.from_bytes(buff.read(2), byteorder = 'little', signed = False))
  File "/usr/lib/python3.7/enum.py", line 310, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.7/enum.py", line 564, in __new__
    raise exc
  File "/usr/lib/python3.7/enum.py", line 548, in __new__
    result = cls._missing_(value)
  File "/usr/lib/python3.7/enum.py", line 577, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 15 is not a valid PROCESSOR_LEVEL
ValueError: 15 is not a valid PROCESSOR_LEVEL

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pypykatz/lsadecryptor/cmdhelper.py", line 169, in run
    mimi = pypykatz.parse_minidump_file(args.memoryfile)
  File "/usr/local/lib/python3.7/dist-packages/pypykatz/pypykatz.py", line 52, in parse_minidump_file
    minidump = MinidumpFile.parse(filename)
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 187, in parse
    mf._parse()
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 195, in _parse
    self.__parse_directories()
  File "/usr/local/lib/python3.7/dist-packages/minidump/minidumpfile.py", line 238, in __parse_directories
    self.sysinfo = MinidumpSystemInfo.parse(dir, self.file_handle)
  File "/usr/local/lib/python3.7/dist-packages/minidump/streams/SystemInfoStream.py", line 175, in parse
    si = MINIDUMP_SYSTEM_INFO.parse(chunk)
  File "/usr/local/lib/python3.7/dist-packages/minidump/streams/SystemInfoStream.py", line 92, in parse
    msi.ProcessorLevel = PROCESSOR_LEVEL(int.from_bytes(buff.read(2), byteorder = 'little', signed = False))
  File "/usr/lib/python3.7/enum.py", line 310, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.7/enum.py", line 564, in __new__
    raise exc
  File "/usr/lib/python3.7/enum.py", line 548, in __new__
    result = cls._missing_(value)
  File "/usr/lib/python3.7/enum.py", line 577, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 15 is not a valid PROCESSOR_LEVEL

I have to mention that it works perfectly with Mimikatz. Here the problematic dump.
lsass.zip

Thx for reporting the issue!
This is actually a problem in a different library of mine (minidump).
You may thank Microsoft for the "awesome" documentation which contradicts itself. https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_system_info
https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
I'll modify the parser code to give a simple integer for processorlevel instead of enum.

Fixed. You'll need to check out the latest minidump library from git.
Please verify and close if it works on your end as well.

It seems to be fixed. Thank you for your reactivity. Please continue your hard work.

Hi mate,
When do you think the minidump library fix will be available for pip3 ? Because today, Pypykatz installed by following README instructions fails to parse every dumps.

I published a new version for minidump and pypykatz a few minutes ago. hope this solves the issues.

It is all good again. Thank you ;-).


Testing PR CI Build

test this please

test this please

test this please

test this please

test this please

test this please

test this please


Git Fatal Error "Unable to update URL base from redirection"

Issue Type: Bug

Create a repo in Azure DevOps Repos (not on GitHub)
Clone repo locally
Make a change to the content
Commit changes, and push to origin (through the VS Code UI)

NOTE: This Git error ONLY occurs in the VS Code Insider Preview version. I am able to complete the steps without error/issue in the "normal" VS Code, and also from the command-line.
Full Error:

git -c http.userAgent="git/2.29.2.windows.1 (Windows 10 Pro 10.0.19042; win32 x64) vscode/1.53.0-insider (Visual Studio Code - Insiders)" push origin main:main
fatal: unable to update url base from redirection:
asked for: https://AdinErmie@dev.azure.com/AdinErmie/MPWebDemo/_git/MPWebDemo/info/refs?service=git-receive-pack
redirect: https://spsprodcus1.vssps.visualstudio.com/_signin?realm=dev.azure.com&reply_to=https%3A%2F%2Fdev.azure.com%2FAdinErmie%2FMPWebDemo%2F_git%2FMPWebDemo%2Finfo%2Frefs%3Fservice%3Dgit-receive-pack&redirect=1&hid=710ea30d-343b-4aaa-a1ff-af55d5009515&context=eyJodCI6MiwiaGlkIjoiYTg0YTQ4ZjEtMDhkZS00ZmMyLTkxYTctOGMxNGI4ZGZlNjY0IiwicXMiOnt9LCJyciI6IiIsInZoIjoiIiwiY3YiOiIiLCJjcyI6IiJ90#ctx=eyJTaWduSW5Db29raWVEb21haW5zIjpbImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSIsImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSJdfQ2

VS Code version: Code - Insiders 1.53.0-insider (96b426ef1da0f0a51ce9ef1931cd1fd2322547e4, 2020-12-14T05:59:27.649Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.92GB (18.42GB free)

Process Argv
C:\Users\adine\Documents\GitHub\MPWebDemo --crash-reporter-id b048bb0b-cf6e-46af-8204-d3c18332d536

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

vscode-bicep
Azu
0.1.1-alpha.g427d5e7abe

azurepolicyextension
Azu
0.1.1

vscode-markdownlint
Dav
0.38.0

sentinel
has
0.0.3

terraform
has
2.3.0

git-graph
mhu
1.28.0

azure-pipelines
ms-
1.177.0

vscode-azureterraform
ms-
0.3.2

vscode-bicep
ms-
0.2.59

vscode-docker
ms-
1.8.1

csharp
ms-
1.23.7

vscode-dotnet-runtime
ms-
1.0.0

remote-containers
ms-
0.154.0

remote-wsl
ms-
0.52.0

azure-account
ms-
0.9.4

powershell
ms-
2020.6.0

powershell-preview
ms-
2020.9.0

azurerm-vscode-tools
msa
0.14.0

vscode-xml
red
0.14.0

vscode-yaml
red
0.13.0

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
openlogontheside:30221882
python763:30178808
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
python504:30227505
vswsl492cf:30208930
wsl2promptcf:30219163
vstry914:30230485
pythonvsdeb440:30224570
unusedprompt:30219164
folderexplorercf:30219167
openfilemenucf:30219169
pythonvsded773:30223139
core-portspanelcf:30233468

First, it doesn't look like the url that is being requested is a valid repository url (especially the info/refs part). But if this works fine in the stable version/command line that is very odd.
I've pushed a change to how we are setting the userAgent, and maybe that will have an effect -- so can you try it out in tomorrow's insiders?
Also in the meantime, if you run that exact command from the command line do you see the same failure?

git -c http.userAgent="git/2.29.2.windows.1 (Windows 10 Pro 10.0.19042; win32 x64) vscode/1.53.0-insider (Visual Studio Code - Insiders)" push origin main:main

First, it doesn't look like the url that is being requested is a valid repository url (especially the info/refs part). But if this works fine in the stable version/command line that is very odd.
I've pushed a change to how we are setting the userAgent, and maybe that will have an effect -- so can you try it out in tomorrow's insiders?
Also in the meantime, if you run that exact command from the command line do you see the same failure?

git -c http.userAgent="git/2.29.2.windows.1 (Windows 10 Pro 10.0.19042; win32 x64) vscode/1.53.0-insider (Visual Studio Code - Insiders)" push origin main:main


Load balanced servers

What is the correct way to set up the configs/monitors here for load balanced servers? So say i want to create a single metric that uses the max from multiple monitors, is that possible?
If i have say 4 servers, 1 goes down, the uptime isn't effected so it would be false to show this monitor's stats.
Hope i made my point clear!

Currently is not supported, but feel free to work on this feature, send a PR and we can integrate it.


Changes to rebase other branches on

This contains some changes I want to have on the main branch that we will rebase other branches on.

For future reference, I think the relay market might be failing because there is one common gas limit that is set very high, we may need a separate limit for the invalid events test and use the old one for others, but that is for another time to figure out


C++ SDK cross-platform build

This changeset removes the old Makefile-based build and replaces it by a CMake build that works across Windows, Linux and macOS.

CLA signed, please review.

Closing this, as we now have #464 , and new changes are happening on that PR.


Code running problem

Dear Lisphilar,
i was trying to run  ind_scenario.estimate(cs.SIRF) but it has been running since more than half an hour but I am not able to get the
output..,5 phases got finished within 5 minutes but the 1st phase has got stuck..,initially there was no any such problem but now it has occurred.....
Main scenario: perform parameter estimation>
Running optimization with 4 CPUs...
6th phase with SIR-F model finished 53 trials in 2 min 21 sec.
2nd phase with SIR-F model finished 41 trials in 1 min 35 sec.
4th phase with SIR-F model finished 33 trials in 1 min 38 sec.
3rd phase with SIR-F model finished 32 trials in 1 min 59 sec.
5th phase with SIR-F model finished 44 trials in 1 min 26 sec.
Please help me out if possible.
With regards,
Rakesh

Dear Rakesh,
Sorry for your inconvenience and this is a fatal error.

Please share the result of ind_scenario.summary() with me to reproduce the error in my environment.

Please try ind_scenario.estimate(cs.SIRF, timeout=30, reset_n_max=1)
This will limit the running time more tightly. (Default: timeout=60, reset_n_max=3)

Dear Lisphilar,
No need to be sorry dear,it's okey...,please find the result of the mentioned below:-
Type	Start	End	Population

1st	Past	17Feb2020	20Mar2020<PHONE_NUMBER>
2nd	Past	21Mar2020	10Apr2020<PHONE_NUMBER>
3rd	Past	11Apr2020	01May2020<PHONE_NUMBER>
4th	Past	02May2020	17May2020<PHONE_NUMBER>
5th	Past	18May2020	31May2020<PHONE_NUMBER>
6th	Past	01Jun2020	20Jul2020<PHONE_NUMBER>
I tried ind_scenario.estimate(cs.SIRF, timeout=30, reset_n_max=1)..,but now new error is coming:-

Running optimization with 4 CPUs...
	6th phase with SIR-F model finished 28 trials in 1 min 9 sec.
	4th phase with SIR-F model finished 14 trials in 0 min 58 sec.
	2nd phase with SIR-F model finished 14 trials in 1 min 7 sec.
	3rd phase with SIR-F model finished 13 trials in 1 min 10 sec.
	5th phase with SIR-F model finished 17 trials in 0 min 48 sec.
ZeroDivisionError: float division by zero

Dear @lisphilar ,
Now it's working..,i made some adjustment in phases..,sorry for troubling you too much...
With regards,
Rakesh

Dear Rakesh,
Great!
How did you find the way to adjust phase information?
This will be helpful to automate the process with this package.

Dear @lisphilar/covid19-sir
<EMAIL_ADDRESS>,
Thanks..,,actually whenever i was  taking 6 phases in case of India then
the first phase was getting stuck every time..,so reduced it to 5 phase and
minimise the gaps between the start date and end date of consecutive
phases..,then it ran but still I think that it's not the proper way...what
do you think...??
With regards,
Rakesh
On Wed, Jul 22, 2020 at 7:10 PM Lisphilar<EMAIL_ADDRESS>wrote:

Dear Rakesh,
Great!
How did you find the way to adjust phase information?
This will be helpful to automate the process with this package.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/lisphilar/covid19-sir/issues/128#issuecomment-662459549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP6Y4PGDQ5QOXJGKOMQCT53R43T5LANCNFSM4PDPXH4A
.

Dear Rakesh,
Thank you for your discussion.
This needs further investigation with the latest version.

Dear Lisphilar,
You are welcome.


Cleanup Random HTML Problems and Landscape Health Checks

This just cleans up a lot of random things. On the UI side, it adds padding between cells in the html, makes our forms have a bounded size so they don't go off the page, and renders users'/servers' keys in a textarea so they fit properly within a card. On the code side, it adds an insane amount of docstrings so that our tests are now covered and disables the check for calling a protected method in the tests where we intentionally call protected methods.
Functionally, this doesn't really change anything, but it should bring us to a nice level of overall repo health before we leave for vacation. My hope is that fixing this now will pay dividends later since no one will likely touch the code for half a month.

   Thanks for doing this!  Details like this are incredibly important for high code quality.  Just one nit.

Review status: 0 of 18 files reviewed at latest revision, 1 unresolved discussion.

admin.py, line 52 [r1] (raw file):
nit: I think I like it better with "Is" in the method naming... just seems easier to read, like a book.  :)  If there really is a 30 character limit, then how about making "ApplicationAdmin" into "AppAdmin"?  That would also make it more consistent how we call it elsewhere.
AbortIfUserIsNotAppAdmin(self)
Taking a step back, I don't know if the 30-character limit in naming is something that we absolutely need.  It's not critical now, let's see how often more we will bump into this kind of issue.

Comments from the review on Reviewable.io

Reviewed 15 of 18 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

admin.py, line 52 [r1] (raw file):
Yeah I'm kind of the same. I keep bumping into it in odd places. It seems to be the standard, so I don't want to blatantly go against it just to name things a little more clearly, but it seems like an arbitrary number. We can revisit if it continues to be a problem, but for now we're good. Done.

Comments from the review on Reviewable.io


Improvement in Render State in the User Interface module

Describe the Issue
Currently, the instructions in the Render State in the User Interface module happen to be as follows:

In the code editor, MyComponent is already stateful. Define an h1 tag in the component's render method which renders the value of name from the component's state.

Since the user is supposed to add the h1 tag within the return statement of the component's render method, so keeping that in mind, I believe the above instruction should be reworded as follows for better clarity and to avoid any sort of ambiguity:

In the code editor, MyComponent is already stateful. Define an h1 tag within the return statement of the component's render method which renders the value of name from the component's state.

Affected Page
https://www.freecodecamp.org/learn/front-end-development-libraries/react/render-state-in-the-user-interface
Expected behavior
Since the user is supposed to add the h1 tag within the return statement of the component's render method, so keeping that in mind, I believe the instructions in the Render State in the User Interface module should be reworded as follows for better clarity and to avoid any sort of ambiguity:

In the code editor, MyComponent is already stateful. Define an h1 tag within the return statement of the component's render method which renders the value of name from the component's state.

Screenshots

System

Device: Laptop
OS: macOS 13.0.1
Browser: Chrome
Version: 107.0.5304.110

I don't think this change is necessary, see comment

I agree. There's plenty of hints about where to place the code and this isn't the first time we've shown a learner how to use render.
Thanks for raising the concern, @AnonSar, but this doesn't seem in need of fixing.


Localized article not having localized phone number

The article is available in several localized languages, but the numbers under phone support still only show United States, Australia, Canada and United Kingdom, which doesn't really make sense in localized versions

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

ID: c9fe16db-f502-6d93-8e0a-d4b892064416
Version Independent ID: 1ecf27fd-ed6c-f387-b56a-80673117e480
Content: Get support
Content Source: microsoft-365/business-video/get-help-support.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@PascalStil We don't have a way to put the locale-specific support numbers in the localized pages. Please use the drop-down list that's included in the article to find support numbers for your locale or region.


[FR] Allow patches exports to pull labels from Detection attributes/fields

Proposal Summary
After using FiftyOne and CVAT to organize my datasets, I've encountered a relatively common pattern of exporting patches into different classification datasets for secondary analysis. For instance, if my object detector was training on detecting apples, I may assign an attribute in CVAT to describe the color of a selected apple.  To ease the requirements on my object detector, I would implement a second classifier to perform the attribute classification downstream.  Right now, exporting patches seems to be limited to exporting images with labels assigned to Detections, not attributes stored in fields or the attributes dictionary of said label classes.
I think the export method should define an interface to make this type of exporting possible.
Motivation

What is the use case for this feature?

Users can now export image classification datasets from attributes rather than the original object detection labels, adding support for a two-step detect then classify pipeline.

Why is this use case valuable to support for FiftyOne users in general?

It seems to be a common pattern for designers who wish to constrain the complexity of their object detector's labeling schema and instead pass it along to a second stage classifier.

Why is this use case valuable to support for your project(s) or
organization?

Several of my projects utilize this pattern and I don't see that changing too soon.

Why is it currently difficult to achieve this use case? (please be as
specific as possible about why related FiftyOne features and components are
insufficient)

Custom scripting isn't necessarily hard to write for this case, but allowing annotations to carry attributes meant for image classification applications seems to suggest this feature be in place.
What areas of FiftyOne does this feature affect?

[ ] App: FiftyOne application
[x] Core: Core fiftyone Python library
[ ] Server: FiftyOne server

Details
It seems like the best options would be to add additional configuration to the ImagePatchesExtractor via the export method.  Maybe something like label_schema for CVAT annotations that allows users to specify an attribute or multiple attributes to assign to each extracted patch?
There may be good reasons to also implement a custom transforms argument for ImagePatchesExtractor that would allow for greater control over the final look of extracted patches than the original alpha and force_square.  This could be argued to be irrelevant as at training time users can apply whatever transforms they wish to properly format images to a model's input.
Willingness to contribute
The FiftyOne Community encourages new feature contributions. Would you or
another member of your organization be willing to contribute an implementation
of this feature?

[ ] Yes. I can contribute this feature independently.
[x] Yes. I would be willing to contribute this feature with guidance from
the FiftyOne community.
[ ] No. I cannot contribute this feature at this time.

I'll add that I think both image classification  and multi-label classification should be supported here.

Hey @geoffrp! LMK if #1993 covers this issue 😄

@brimoor Late to the approve here - yes, thank you!  Much appreciated.


Multiple worker types

Feature Request
Feature
There are some situations in which the complete cluster has no sense with the same instance types, as different services requires different specs.
It would be awesome to be able to define different "worker pools" (as GKE defines them) with different instance types.
Tradeoffs
The pros are the ability to create workers with different specifications, so a better usage of the machines can be made.
The cons, probably the difficulty to match the specs when refreshing state of the cloud infrastructure and, probable, that it is a feature not everyone is going to use. But it would be nice to have that.
(And thanks to all contributors for this awesome project ❤  )

The google-cloud module was broken into controllers and workers early on, in anticipation of matching GKE's worker pool functionality in future. Its plausible you could use it already. There is no documentation or testing of this ability since it hasn't formally been made a feature.

Worker pools should be possible in the next release, with #148

hey there!
Thanks for the update!
I was thinking originally in a more general solution (i'm currently using DigitalOcean as provider). Something like being able that you want 3 workers of 4Gb and 4 of high CPU), maybe using tags or something 🤔
However, thanks a lot for the update and the continuous effort on this!

You'll can effectively do that with the worker pools feature. However, I'd only like to add it on AWS and Google Cloud since they have a notion of managed instance groups (and ASGs on AWS) that are a good fit for thinking about groups of homogeneous nodes.
Perhaps after AWS and GCP worker pools are mature. But for a while, I think you'd want to carry a few patches that change the DO workers to be what you want.

I don't know how you're envisioning tags being used to enable this.

Well, to be honest, I don't know too much about Terraform internals as to do this by my own (but I'll try, for sure)
My point about the tags is that the most difficult thing (from my point of view, there are possibly plenty of other things harder in this) is to know which instances are from each group (if there isn't a provider-solution like worker pools on GCP).
So my idea is that maybe using a pool name and adding it as a tag to the instance, we can know how many instances are there of each pool and update them as needed.
Again, I'm not keen on Terraform internals and how Typhoon are made, that was my main point of asking here if that would be possible.
Regards!

The next release will support "worker pools" on AWS and GCP for attaching groups of workers with different properties to an existing cluster. AWS and GCP have a way to represent a homogeneous group of machines. https://typhoon.psdn.io/advanced/worker-pools/

For Digital Ocean, we could define groups of workers entirely in a Typhoon module, but its extra work to support and a little messy (remote_exec's). I'd rather just wait for Digital Ocean to provide the equivalent group management feature, bearing in mind "no is temporary, yes is forever". There are pros/cons to each provider, and Digital Ocean missing some of the niceties of larger providers is a tradeoff.
For bare-metal, machines are assumed to be heterogeneous already so this is already supported.

I've put Digital Ocean worker pools further down on the roadmap as a "maybe" to re-evaluate. https://github.com/poseidon/typhoon/wiki/Roadmap


Create static S3 bucket site for OS Hub "maintenance mode"

Create an index.html

Based on the index.html from the app, without dynamic content
Header log
Some "down" language from the OS Hub team

Create an S3 "website" bucket to server the index.html
Test on OS Hub staging

Manually adding a CloudFront origin pointing to the bucket site
Manually changing the default behavior of the distribution to point to the bucket

Hey team! Please add your planning poker estimate with Zenhub @TaiWilkin @nanotubing

Removed CAN because OAR approved shared copy

I added "The second origin should be added to the existing distribution" to the issue description to clarify.


[ListItem] Add isKeyboardFocused prop

This allows the user to manually opt for the ListItem to use the
keyboard focused styling.  This is very useful for in rich text editors,
where you often want to give the appearance that something is keyboard
focused when the focus is kept in the rich text editor.
This prop allows for that to be achieved.

[ ] PR has tests / docs demo, and is linted.  - not sure if this warrants a test case.   If you feel it does, just tell me.
[X] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[X] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Oh, @muibot, I've fixed the issue with the build :)

Awesome, just pushed a pr with a test @oliviertassinari.


Fix joining single line Ruby methods without arguments

Joining single-line Ruby method without arguments into an endless method definition was not working as the regexp pattern expected the def always to accept parenthesized arguments.
Example:
def foo()
  bar
end

Would be joined to:
def foo() = bar

However, the following, which is the idiomatic way to write Ruby methods without arguments, would not:
def foo
  bar
end

I think at the time when I was experimenting, I tried def foo= bar, which doesn't work, since foo= can be a method name itself. I don't remember if ruby itself didn't work without the brackets back then or if I missed checking def foo = bar, but either way, this seems to work fine 👍. Thanks for putting in the work, especially the tests.


Remove version: CrystalDewWorld.CrystalDiskInfo.KureiKeiEdition version 8.10.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate;


Revert "tests: Bump container count for devicemonitor"

This reverts commit 213671ff3af059ce46a1272460ff1b55b391debf.

#1514 was not necessary after all. Sorry, I got confused :weary:

Reverting my (not reviewed) PR #1514. So for the same reason this one doesn't need review.


add metric be used cpu 2. add metric node used memory

Ⅰ. Describe what this PR does
metric of newly added BE resource usage.
It has the following functions：

It is used to sense the proportion of BE resources used
By comparing with be_suppress_cpu_cores, judge how satisfied the BE Pod is.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/assign @zwzhang0107

@saintube Please review again


Tags are meant to be immutable

I believe the tag changed from v2.0.0 -> 2.0.0
Tags are meant to be immutable so everyone using v2.0.0 would be broken. If you mistakenly created a tag, the best thing would be to checkout it out and create a new tag based on that and push that one.

@Phil-Friderici

Yes I changed it to 2.0.0 to stay in the same style like before. Sorry I didn't wanted to hit you. Will keep an extra eye on that in the future.

Wasn't a big impact, just wanted to draw your attention to it :>


ignore offset for scale and ignore stuff options for normalize in bqm

Codecov Report

Merging #339 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #339      +/-   ##
==========================================
+ Coverage   92.27%   92.28%   +<.01%
==========================================
  Files          40       40
  Lines        2331     2332       +1
==========================================
+ Hits         2151     2152       +1
  Misses        180      180

Impacted Files
Coverage Δ

dimod/binary_quadratic_model.py
96.16% <100%> (ø)
:arrow_up:

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 c6088ab...722b0f7. Read the comment docs.

Just a tiny doc fix, otherwise looks good!


[912]  SchemaMigrator/SchemaValidator support for MS SQL Server

https://github.com/hibernate/hibernate-reactive/issues/912
Requires https://github.com/hibernate/hibernate-orm/pull/4177.

This is not ready for review yet. I created this draft PR so that the exception mentioned here can be reproduced.
The ORM PR (https://github.com/hibernate/hibernate-orm/pull/4177) is required to reproduce.
All SchemaUpdateSqlServerTestBase$GroupedSchemaUpdateSqlServerTestBase tests fail due to:
java.util.concurrent.CompletionException: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: index: 8, length: 4088 (expected: range(0, 53))

This is out-of-date.


IndexError when moving files around

Description
What steps will reproduce the problem?

I opened some code I wanted to modify,
did Save Copy As,
made some  modifications (and didn't save them),
moved the code files to another folder in Windows Explorer,
came back to Spyder,
opted to keep the code being edited open despite no longer existing where it was opened from,
clicked Save As and tried to put it where the new location was,
but it failed to save the modified code there.
Traceback
  File "C:\ProgramData\Anaconda3\envs\py36\lib\site-packages\spyder\plugins\editor.py", line 2018, in save_as
    if editorstack.save_as():
  File "C:\ProgramData\Anaconda3\envs\py36\lib\site-packages\spyder\widgets\editor.py", line 1734, in save_as
    ok = self.save(index=new_index, force=True)
  File "C:\ProgramData\Anaconda3\envs\py36\lib\site-packages\spyder\widgets\editor.py", line 1577, in save
    finfo = self.data[index]
IndexError: list index out of range

Versions

Spyder version: 3.3.3
Python version: 3.6.5
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies
pyflakes >=0.6.0  :  2.1.0 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
sphinx >=0.6.6    :  1.8.4 (OK)
rope >=0.9.4      :  0.11.0 (OK)
jedi >=0.9.0      :  0.13.2 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
pandas >=0.13.1   :  None (NOK)
numpy >=1.7       :  None (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.4.3 (OK)
IPython >=4.0     :  7.2.0 (OK)
matplotlib >=2.0.0:  None (NOK)
pylint >=0.25     :  2.2.2 (OK)

Thanks for reporting. We'll take a look at this in a future release.


Amplify config and Amplify init Error !

@Muazzamkhan95 This is super weird. I've seen this issue before in one of the threads and the user re-installed the CLI using yarn - yarn global add @aws-amplify/cli and got rid of this error. We'll deep dive into this but in the meanwhile you can try yarn and let me know if this worked.

have a look at yarn errors

@Muazzamkhan95
Ignore the npm installation errors for now, and try to run the amplify configure and amplify init commands, see if they succeed.
If not, try to run amplify plugin list -> active plugins and see if it contains awscloudformaiton

@UnleashedMind there is nothing like  awscloudformation

Thanks.
Could you do the following:

go to C:\Users\muazz\AppData\Local\Yarn\Data\global\node_modules@aws-amplify\cli\node_modules
See if you can find the plugins: packages that start with amplify-', and see if you have amplify-provider-awscloudformaiton`

then do a amplify plugin scan, and see if it resolves your issue.
BTW, this is not a typical issue, but we've seen this happen on Windows.

Yes i have amplify-provider-awscloudformaiton

great!

do a 'amplify plugin scan`,
run 'amplify plugin list -> 'active plugins -> scroll down and see if there's a awscloudformation
if yes, you are good to go
if not, run amplify plugin add and paste the full path C:\Users\muazz\AppData\Local\Yarn\Data\global\node_modules@aws-amplify\cli\node_modules\amplify-provider-awscloudformation, see if you get an error.

after running scan there is no fix..

How about amplify configure? it is also still failing?

Successfuly added Plugin.

It Worked ! @UnleashedMind

great!
but that's only step one.
We need to figure about the frontend plugin issues. Please check the same for the amplify-frontend-javascript plugin

oohk... let me do it really quick

i have amplify-frontend-javascript in me directory..

great! add it manually like before, and run amplify init again.

I am really thankful Dear @UnleashedMind
it worked..
i was tackling with this error for more then 6 hours :)
Thanks alot

No problem.
Please let us know the Operating System, we need to investigate more on this.

Thanks

@UnleashedMind can you please tell me which plugin i needed for this.

try this:

amplify plugin configure -> scannable plugin directories -> add -> and paste this: C:\Users\muazz\AppData\Local\Yarn\Data\global\node_modules@aws-amplify\cli\node_modules\

try this:

amplify plugin configure -> scannable plugin directories -> add -> and paste this: C:\Users\muazz\AppData\Local\Yarn\Data\global\node_modules\@aws-amplify\cli\node_modules\

@UnleashedMind Not worked.

these are all plugins configured.... but getting error while running amplify auth add

because the auth plugin is not found.
Could you do a amplify plugin list and try to local auth?

did't understand.

its fixed .... thanks @UnleashedMind  for you help..
the issue was that..
on window there is some rules or something which is preventing to scan plugins so you have to add plugins manualy ...
amplify plugin configure -> scannable plugin directories -> add -> and paste this: C:\Users\muazz\AppData\Local\Yarn\Data\global\node_modules\
by using this,,


Fix usage of map_blocks in AreaWeighted and elsewhere

🚀 Pull Request
Addresses a bug raised by @hdyson  in AreaWeighted which caused weights to be retained in memory even after all relevent python objects had been removed. This appears to be due to passing weights to dask.array.map_blocks as part of a partial function. It seems that while dask will remove arrays from memory after use it will not do the same for python functions. Passing weights as arguments to map_blocks ought to fix this.

While I doubt it actually helps here, it's interesting to note that this problem may have similarities to https://github.com/SciTools/iris/issues/5753
What's similar is the way the operations are presented to Dask as a combination of tasks :
In this case, the operation uses a partial function which fixes a temporary numpy array argument.
In the netcdf-save case, a Dask.delayed is created which references a delayed store and an array calculation on the same data.  But the delayed function has obvious similarities to a partial function operation.
However, in that case, it seems more like dask is unnecessarily assembling a complete array in memory when both operations are entirely chunk-able with the same chunks.
What makes me think that the save problem is not quite the same problem as here, is that in that case the memory use is recovered at the end of the operation.
Which I think is not the case here @stephenworsley ?

@pp-mo Yes, that sounds like a slightly different issue. In the case of regridding, it doesn't seem like there is any problem with the data that is being realised by dask, the problem is with the data that lives in the partial function already realised and which isn't being thrown away when we would expect it to.

[no problem with] data that is being realised by dask, the problem is with the data that lives in the partial function already realised

Yes, that's a telling way of looking at it.  Those really are quite different things.
I'd say that broadly Dask is responsible for both, but in this case it actually feels like some kind of bug, whereas the other feels like a problem with its scheduling strategies.

@bouweandela suggests a possible future implementation that could be more efficient: making the weights array always a Dask array, then compute() only when needed, to avoid any memory footprint and make it easy to share information between processes/nodes/etcetera.


Two variants in providerMetadata's orgId/shortName

🐛 Summary
There are two variants in  providerMetadata's orgId/shortName fields.
For example, CVE-2024-5785.json
https://github.com/cisagov/vulnrichment/blob/3cf14565867b7e666f3dfba3fff7811e32e71cfb/2024/5xxx/CVE-2024-5785.json#L47-L51 has

"shortName": "CISA-ADP",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",

on the other hand, CVE-2024-3109.json
https://github.com/cisagov/vulnrichment/blob/3cf14565867b7e666f3dfba3fff7811e32e71cfb/2024/3xxx/CVE-2024-3109.json#L133-L137 has

"shortName": "CISAADP",
"orgId": "8c464350-323a-4346-a867-fc54517fa145",

The commit hash is 2024-06-11's develop HEAD.
To reproduce
Just open the URLs above.
Expected behavior
For CISA's ADP, unique value is expected, I guess.

Once the preferred values are specified, I can create pull request to fix this.
Thanks for the great project!

The correct values are
"shortName": "CISA-ADP",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",

These errors are related to a bulk upload, we can check for other errors in the upstream data, but welcome a PR also.
To test, I fixed https://cveawg.mitre.org/api/cve/CVE-2024-5785

Thank you for your reply and information!!
I created the PR https://github.com/cisagov/vulnrichment/pull/66 .

@shino thanks for the report. As mentioned in the PR, the data had been fixed upstream but not all of it had made it here yet. The last set just finished updating, so all of these are fixed.


Minor layout bug

On smaller screens we're getting this layour issue where the image is overlayed with the text. Would be nice to have a fix 🙏

hello can i work on this issue
OS : Ubuntu
current behaviour :
file:///home/vboxuser/Pictures/Screenshots/Screenshot%20from%202023-09-22%2014-17-59.png
After :  file:///home/vboxuser/Pictures/Screenshots/Screenshot%20from%202023-09-22%2014-14-38.png
width: 30% ;

[img](file:///home/vboxuser/Pictures/Screenshots/Screenshot%20from%202023-09-22%2014-17-59.png)

On smaller screens we're getting this layour issue where the image is overlayed with the text. Would be nice to have a fix 🙏

hello can i work on this issue
OS : Ubuntu
current behaviour :
Screenshot from 2023-09-22 14-17-59
width: 35% ;
After :
Screenshot from 2023-09-22 14-14-38
width: 30% ;
@error-4u


Question for customize world file for training

Hi,
Thanks for sharing this great project.
I have a question of the customize world file. What I did is to change the TD3.world in empty_world.launch to my world file. However when I run the trianing it can't load it.
Can anyone give me some instruction thank you.

Hi,
make sure that your world file is located in the right directory. Your world file needs to be located in the DRL-robot-navigation/catkin_ws/src/multi_robot_scenario/launch/  directory


Loaded 0 Cached Accessories - Help

Receiving the following:
[5/22/2022, 4:48:17 PM] [TuyaWebPlatform] Launched child bridge with PID 4972
[5/22/2022, 4:48:17 PM] Registering platform<EMAIL_ADDRESS>[5/22/2022, 4:48:17 PM] [TuyaWebPlatform] Loaded @milo526/homebridge-tuya-web v1.1.2 child bridge successfully
[5/22/2022, 4:48:17 PM] Loaded 0 cached accessories from cachedAccessories.0ED8E33CF889.
[5/22/2022, 4:48:17 PM] Homebridge v1.4.1 (HAP v0.10.2) (TuyaWebPlatform) is running on port 49931.
Login is correct and all settings correct. Email has no . before the @.
There are two devices in my Smart Life app.
Something being overlooked by me? Help appreciated!

Describe the bug
[5/22/2022, 4:48:17 PM] [TuyaWebPlatform] Launched child bridge with PID 4972
[5/22/2022, 4:48:17 PM] Registering platform<EMAIL_ADDRESS>[5/22/2022, 4:48:17 PM] [TuyaWebPlatform] Loaded @milo526/homebridge-tuya-web v1.1.2 child bridge successfully
[5/22/2022, 4:48:17 PM] Loaded 0 cached accessories from cachedAccessories.0ED8E33CF889.
[5/22/2022, 4:48:17 PM] Homebridge v1.4.1 (HAP v0.10.2) (TuyaWebPlatform) is running on port 49931.

Steps To Reproduce

Plugin Version

Homebridge Config

Device Config

Additional Context

Please post the result of the steps under "How to check whether the api this library uses can control your device".
Without this it is hard for me to help you with regards to this specific issue.

Getting credentials
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/nix/store/p21fdyxqb3yqflpim7g8s1mymgpnqiv7-python3-3.8.12/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fde0d989bb0>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='px1.tuyaau.com', port=443): Max retries exceeded with url: /homeassistant/auth.do (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fde0d989bb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Getting credentials
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/nix/store/p21fdyxqb3yqflpim7g8s1mymgpnqiv7-python3-3.8.12/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-pack
Getting credentials
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/nix/store/p21fdyxqb3yqflpim7g8s1mymgpnqiv7-python3-3.8.12/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91999e8bb0>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='px1.tuyaau.com', port=443): Max retries exceeded with url: /homeassistant/auth.do (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91999e8bb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 20, in
auth_response = requests.post(
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/home/runner/TurquoiseImpressiveCharacterencoding/venv/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='px1.tuyaau.com', port=443): Max retries exceeded with url: /homeassistant/auth.do (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91999e8bb0>: Failed to establish a new connection: [Errno -2] Name or service not known'))


While this might be the output of the script at the given time, it's an error and thus not very useful in getting me the data.
Could you try again and get the data output instead of this error 😄

Hey Milo... still new to this.
This what you are after?
Getting credentials
Got credentials
{   'access_token': 'EUheu1653199044910EWEKjNPNQKv7eqo',
'expires_in': 864000,
'refresh_token': 'EUheu1653199044910EWEKj0pYFKbHmSQ',
'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
'payload': {'devices': [], 'scenes': []}}
!!!

Yeah that looks good.
In the latter part we see:
{
   "header":{
      "code":"SUCCESS",
      "payloadVersion":1
   },
   "payload":{
      "devices":[],
      "scenes":[]
   }
}

The empty devices array in the payload tells us that Tuya does not expose any devices to the API that this plugin is using.
Sadly not all of their devices are supported in this API and you seem to have a few of them which aren't.
Since I do not work for Tuya, there is nothing I can do to help you here.
You might have better luck with the plugin that tuya themselves develops.
You can find their plugin at https://github.com/tuya/tuya-homebridge


why this requires flash attention and its not in dependencies ?

File "G:\comfy-\ComfyUI\custom_nodes\ComfyUI-Trellis\trellis\models\sparse_structure_flow.py", line 7, in
from ..modules.transformer import AbsolutePositionEmbedder, ModulatedTransformerCrossBlock
File "G:\comfy-\ComfyUI\custom_nodes\ComfyUI-Trellis\trellis\modules\transformer_init_.py", line 1, in
from .blocks import *
File "G:\comfy-\ComfyUI\custom_nodes\ComfyUI-Trellis\trellis\modules\transformer\blocks.py", line 4, in
from ..attention import MultiHeadAttention
File "G:\comfy-\ComfyUI\custom_nodes\ComfyUI-Trellis\trellis\modules\attention_init_.py", line 35, in
from .full_attn import *
File "G:\comfy-\ComfyUI\custom_nodes\ComfyUI-Trellis\trellis\modules\attention\full_attn.py", line 9, in
import flash_attn
ModuleNotFoundError: No module named 'flash_attn'

compiling flash attention will take like 2 hours

Because the repo assumes you follow the guide that install flash attention on the first step of the guide. I removed most of the things that should be installed manually from the requirements.txt file

sooo, this is not 1 click, its 2 damn hours installation

lol is one click to produce the mesh basically add the image click with default seetings once the noide is installed.
I lterally spend half the video talking about what is needed to setup this thing

watching the video now and didn't realise it was from the creator. Thanks a lot for all your work

Also I am going to try to see if I can make flash attention be optional it is  possible but right now I don't have time to add it but surly this week I will add it


Including manga ocr in android app?

How feasible would it be to use manga ocr to power a manga reading app?
Would a typical smartphone be able to run ocr on a line of text in a reasonable amount of time?
How big would the installation be?
And would it even be technically possible to include it in the app code?

I got manga-ocr running on Android via termux and it took about 3-4 seconds per image on a Snapdragon 8+ Gen 1. That's a significant delay but not unuseably slow.
Shipping PyTorch in an app is very impractical though, realistically you would port to ONNX and run the model on NPU via NNAPI to speed up inference and reduce battery consumption. Also the model itself is 444 MB so quantizing to int8/int4 would be a must to keep storage requirements down.

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1726, in _slow_forward     result = self.forward(*input, **kwargs)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\models\bert\modeling_bert.py", line 1357, in forward     outputs = self.bert(               ^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl     return self._call_impl(*args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl     return forward_call(*args, **kwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1726, in _slow_forward     result = self.forward(*input, **kwargs)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python311\Lib\site-packages\transformers\models\bert\modeling_bert.py", line 1062, in forward     raise ValueError("You have to specify either input_ids or inputs_embeds") ValueError: You have to specify either input_ids or inputs_embeds
@Mar2ck can you help?

can you help?

You should make a seperate issue for this. In the issue put how you're getting to this error: installing from pip or cloning the repo, the command you're running, etc.


Better error for insufficient permissions

Some people are hitting this if you don't have sufficient permissions. Pretty obscure looking error, so ideally we spit out a description of the problem and point to the IAM policy in the docs.
Error: deploying: deploying: iam: fetching role: InvalidClientTokenId: The security token included in the request is invalid.

[ ] reproduce
[ ] add nicer error

hey @tj i just hit this error..
i have no idea why

@maticrivo the error message seems really vague and confusing but from Stackoverflow I'm seeing that maybe it's the wrong credentials? Worth double checking ~/.aws/credentials or maybe generate a new pair in the console.
Let me know if that helps at all!


Improve error message when S3 bucket name is taken

Was struggling for a while with running concourse-up deploy <projectname>. And got stuck with this error message.
Forbidden: Forbidden
	status code: 403, request id:<PHONE_NUMBER>123456

After alot of headscratching we found out this was because the S3 bucket name was already taken. It looks like the bucket name is constructed like this.
concourse-up-<projectname>-<region>-blobstore
concourse-up-<projectname>-<region>-config

Probably a lot of people will try to use "ci" or something similar as project name and get the same error as I did. A better error message would've saved me some time on debugging.
Cheers,
Marius

Hi. I agree that kind of error is completely unhelpful, and that it'd be better if we presented something a bit more informative when there are AWS errors.
I've added a story to our Icebox, which will be considered by the PM in due course.

I'm also getting a 403 but must be a different reason, as I don't have any s3 buckets yet. How can I debug this further?
Forbidden: Forbidden
	status code: 403, request id: 0716BC31FDCF4F05, host id: ciP7058tk3s8XYKGSor69G8Olv8W8XGUGGkqeTB+dX4Io0TCRnxrT5ROtIxkefMGobp876n6mJI=


Transfer repo ownership to sheepdoge organization

Issue
Currently the sheepdoge organization owns majority of the pups. I think it also makes sense for it to own the sheepdoge project repo. However, I am unsure how transferring ownership will impact packaging for pip.
Impl
Update all urls in setup.py and transfer ownership. Ensure pip install sheepdoge still works.

We don't want the sheepdoge org to own the testing repos for now, because its confusing if they are real or not.


drivers: serial: uart_psoc6: Convert to new dt macros

Convert the driver to use the new dt macros.  As part of this change we
remove a bunch of defines that happened in dts_fixup.h that didn't
belong there.  Some of these should be converted to devicetree
properties at some point.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

I have a board here, but it isn't quite the same board. I've pinged someone to see if I should expect this to work.


Product details doesn't show price/variant/add to cart

What I'm trying to achieve
Product details doesn't show price/variant/add to cart
Steps to reproduce the problem
I've followed the docs install instructions
Screenshots

System information
Operating system: ubuntu 18.04
Browser: both firefox & chromium

npm run build-assets --development
made it work

I am getting the same error and doing the npm run build-assets --development is not working .

I have the same problem, have you fixed it yet?

No it's not yet solved
On Sun 18 Nov, 2018, 11:59 AM Võ Đình Nghĩa<EMAIL_ADDRESS>wrote:

I have the same problem, have you fixed it yet?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mirumee/saleor/issues/3274#issuecomment-439671172,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD5z_kihKDWdpP7q9UT3IghaJDsXjgQoks5uwP5fgaJpZM4YYwCl
.

have you tried to run
npm start
Either this or the other command solved the issue for me

Doing the above steps also not fixed the issue .Please see the error in console [.](url

)

also ,Doing repeatedly .npm -i
Getting these warning as well.
npm i
npm WARN<EMAIL_ADDRESS>requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

@maarcingebala any  help or suggestion ?

@patrys Its chrome .I just clone and followed the installation instruction .Only the console i am getting error .Is the babel-loader installation is having some issues ?

I've the same problem. Only way to fix it so that the product detail page can load the variant options is to add a variant with Options ="---" to the variant.  Then it will display all the variant options in the product detail page. I think it is a bug.

Does this issue still occur?

Yes it does .  I think it is a bug.
On Dec 11, 2018, at 11:57 AM, Marcin Gębala <notifications<EMAIL_ADDRESS>wrote:
Does this issue still occur?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/mirumee/saleor/issues/3274#issuecomment-446277715, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArZYDHcbQ4eGjTox9ylWeNoBwgKw6LNQks5u3-P7gaJpZM4YYwCl.

Can you check again with latest master? Also I'd recommend removing node_modules, reinstalling all frontend dependencies and rebuilding static assets.  I'm not able to reproduce it on my machine.

Hi Marcin
thank you for your help.
I've a question regarding the images for Variant.
Is it possible for the product page to show the Variant Picture after it is selected instead of rotating images randomly?
How about more than one Variant selected per product?
ie)   A same style of shirt can have different size, different color and different pictures on the shirt.
Can this be done?
If no, do you mind to point me to which file I can modify to make this functions?
thanks
Sunny

From: Marcin Gębala<EMAIL_ADDRESS>Sent: December 11, 2018 11:59 AM
To: mirumee/saleor
Cc: sw80386; Comment
Subject: Re: [mirumee/saleor] Product details doesn't show price/variant/add to cart (#3274)
Can you check again with latest master? Also I'd recommend removing node_modules, reinstalling all frontend dependencies and rebuilding static assets.  I'm not able to reproduce it on my machine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/mirumee/saleor/issues/3274#issuecomment-446278603, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArZYDLe3bXwVHyaAv4rJ7JXd-3TPf1UEks5u3-SOgaJpZM4YYwCl.

Hi Marcin
Also after I enabled Braintree using sandbox for testing.  I always get this error “unable to process transaction. Please try again in a moment all_” as shown in attached picture.
This is a clean install I am working on and the clean install fixed the variant selection in the product page.  However, I am still getting the same error in Braintree payment checkout.
Any fix for this?
[image1.jpeg]
Thanks again
Sunny
On Dec 11, 2018, at 12:00 PM, Marcin Gębala <notifications<EMAIL_ADDRESS>wrote:
Can you check again with latest master? Also I'd recommend removing node_modules, reinstalling all frontend dependencies and rebuilding static assets.  I'm not able to reproduce it on my machine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/mirumee/saleor/issues/3274#issuecomment-446278603, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArZYDLe3bXwVHyaAv4rJ7JXd-3TPf1UEks5u3-SOgaJpZM4YYwCl.

Looks like it is solved. Closing for now unless it occurs again.


search: related entity

Currently this field is used to filter the queryset using generate_search_filter
This does not search on related entities, but rather within the queryset.
The expected behaviour is to filter the queryset and select only those entities that have a related entity (subject or object in TempTriple) that contain the searched string in any or some specific fields.

we fix the filter to actually search through related entities

and we add a attribute (maybe a "private" or in the Metaclass) to the models that allow to set the fields searched by filters generated by generate_search_filter


i get this

https://pastebin.com/GgKGVByF

Stop opening new tickets.  You have 1 ticket already.  You don't need 3.

y closed all 3 of them

#2869 is the only ticket you need to post in.


[JsonPatch]: Replace exceptions with ModelState errors

There are a lot of places in ObjectAdapter class where we are throwing an exception when something goes wrong. Change that to add a ModelState error.

Fix checked in - 3962c597f3619d24c04822dd7e492ca9253ba5a3


Add project logger.

Closes #16

Hmm, not sure if we should actually add logger to the library, I think it might pollute other people loggers. Let's stick to prints for now actually


希望能有批量禁用扩展的功能

希望能够一次选择,在当前目录或是当前项目中可以禁用的扩展.
因为我安装了很多扩展,比喻vue,react,php,python等等,
如果我在使用vue开发项目时,在提示功能会有很多不属于vue的提示.
我在开发react的时候,会有很多其它的扩展增加了提示,导致我输入代码时无法正确选择我要的结果.经常会干扰了我的意图.所以希望能加一个选项,或是能够根据当前目录的结构或框架,自动检测或是提示建议我可以在本工作空间中禁用的扩展,防止各种提示功能都出来了.

It's saying listing extensions activated for current file and then users can easily disable some of them in batch.

May I know why user wants the list of active extensions on current file?

It's saying listing extensions activated for current file and then users can easily disable some of them in batch.

You're partly right.
JS can exist in react, vue, or typescript

This is an improvement request and the description follows in English:
"
I want to be able to select extensions that can be disabled in the current directory or in the current project at one time.
Because I installed a lot of extensions, like VUE, reaction, PHP, Python, etc.
If I am using VUE to develop a project, there will be many prompts that are not part of VUE in the prompt function.
When I was developing the reaction, there were a lot of other extensions that added hints that caused me to incorrectly select the results I wanted when I entered the code. It often interferes with my intentions. So I hope to add an option or be able to automatically detect or suggest extensions that I can disable in this workspace based on the structure or framework of the current directory, preventing various prompts from coming out.
"

@lifetin You can go to extensions viewlet and disable the extensions you want. Is not it enough?

@lifetin您可以转到扩展视图并禁用所需的扩展名。还不够吗？

不够的, 我需要一次禁用多个,一个个的禁用,太费时间了.
如果我安装了30-40个扩展,适用不同开发语言的扩展,有java,python,js,html,css,flutter,php,mysql等等
我把当前项目中不需要的扩展禁用,我要花不少时间,vscode本身就是为了提高工作效率的.如果不禁用当前项目不用的扩展,会慢很多,所以这是个非常重要的功能.
最好是能增加禁用的选项.
我创建一个设置的选项,名称为vue ,然后我就选择关于vue中的扩展在这个项目中用,
我再创建一个java的选择,然后我把关于java的扩展选择.,
,这样自动禁用了暂时用不到的扩展.
然后每个项目可以根据一键选择我要开启的扩展.
这是个很棒的功能.望支持

Not enough. I need to disable more than one at a time. It's too time consuming.
If I install 30-40 extensions for different development languages, such as java, python, js, html, css, flutter, php, mysql, etc.
I disable unnecessary extensions in the current project. It takes me a lot of time. vscode itself is to improve work efficiency. If you do not disable unnecessary extensions in the current project, it will be much slower, so this is a very important function.
It's best to add disabled options.
I create a setting option named vue, and then I choose to use the extension in Vue in this project.
I'll create a choice for java, and then I'll make an extension choice for java.
This automatically disables temporarily unused extensions.
Then each project can choose the extension I want to open according to one key.
It's a great feature. Look for support.

今天我现在是用flutter 开发 app, 但是下面的这些扩展我暂时用不到了,我要一个个的手动来禁用它.

明天我要用vue开发项目,我又要把不是vue的扩展一个个来禁用.

后天我要用php开发,然后我又要把不用php的扩展一个个来禁止,
这样的体非常糟糕

en:
Today I'm using flutter to develop apps, but I don't need the following extensions for the time being. I need to disable them manually one by one.
Tomorrow I'm going to develop projects with vue, and I'm going to disable extensions that aren't Vue one by one.
The day after tomorrow I'm going to develop with php, and then I'm going to ban php-free extensions one by one.

So you want to create a extension profiles and apply these profiles to the workspace?

So you want to create a extension profiles and apply these profiles to the workspace?

如果能全局一键设置最好. 选择当前项目的环境,然后可以自由配置它的扩展.工作区的扩展,和这个可能没有什么关系
If you can set the global one key best. Select the environment of the current project, then you can freely configure its extension. The extension of the workspace, and this may have nothing to do with

Duplicate of https://github.com/Microsoft/vscode/issues/57548

我觉得会多种开发语言的人，绝对会出现这样的问题。扩展安装多了，假如有100个，我换一个环境就要禁用多余的80个，这工作量太大了。
I think people who can develop many languages will definitely have such problems. Extension installed more, if there are 100, I will change the environment to disable the excess 80, which is too much work.