Disk error occurred during write operation

I just installed on Win10 via Install-Module and tried to open an XLS file via Import-Excel, and I get a plethora of errors, first one being:

New-Object : Exception calling ".ctor" with "1" argument(s): "A disk error occurred during a write
operation. (Exception from HRESULT: 0x8003001D (STG_E_WRITEFAULT))"
At C:\Users\jtaylor\Documents\WindowsPowerShell\Modules\ImportExcel\2.2.8\ImportExcel.psm1:57 char:15

...       $xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -Argument ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCo
mmand

It then follows with a bunch of 'cannot index into a null array' errors. Any idea what may be going wrong?

I just realized, if I save it as an XLSX it loads it, it can't seem to do XLS, unless I am missing something.

That's right.

That's most unfortunate.

Yes, only the newer format is supported.


AL3 ships nvidia-container-toolkit 1.15.0, latest is 1.16.2 which addresses CVE-2024-0132

AL3 ships n-c-t 1.15.0, but 1.16.2 is upstream latest, addressing CVE-2024-0132, which affects "all versions up to and including v1.16.1". AL3 should consider shipping 1.16.2.

PR to address the issue:

https://github.com/microsoft/azurelinux/pull/10636

Thanks, @mfrw! Question, since I don't know how fasttrack/3.0 works: does Azure Linux plan to create an OVAL entry to ACK the fix? This would help vulnerability scanners flag nvidia-container-toolkit as needing an update in Azure Linux-based systems.
Also, does Azure Linux plan to backport this to Azure Linux 2.0, which ships 1.13.5? Thanks.


test: Add CRI benchmarks for container operations

Add CRI API benchmarks to cri-containerd.test.exe, and update helper functions in cri-containerd to accept tb testing.TB instead of t *testing.T.
Switched cri-containerd to test\internal\flag so that test\internal\require can be used to check if features are present since that implementation already mirrors what cri-containerd does, but accepts a testing.TB, and deleted old
test/internal/stringsetflag.go file.
Renamed scripts/Test-Functionl.ps1 to scripts/Run-Tests.ps1, and updated it to run both functional and CRI tests and benchmarks.
Signed-off-by: Hamza El-Saawy<EMAIL_ADDRESS>

rebase to get CI fixes for failing integration testing


detect instance variables in constructor

The current approach detects class variables (which is how dataclass works). But non-dataclass classes should be handled as well.

To detect instance variables, we should instantiate the class first.
Create the class with it's parameters as mock.
Initial parameters can be detected from init using #3.

To detect instance variables, we should instantiate the class first.
Create the class with it's parameters as mock.
Initial parameters can be detected from init using #3.

yes it is an approach that can be followed. The one I am following in my current work is to process the AST of the constructor and detect self.x = x assignment.

Sry but I don't understand what you mean. If I have a class
class Test:
  string_1: str = "String 1"
  string_2: str = "String 2"

  def __init__(self):
    pass

How can I create the correct UML?

in this case, the class test has 2 class attributes and no instance attribute. The value of string_1 and string_2 are shared for all instances of the Test class.
If you want instance attributes, the code should be:
class Test:
  def __init__(self, string_1: str, string_2: str):
    self.string_1 = string_1
    self.string_2 = string_2

And if you want instance attributes with default values:
class Test:
  def __init__(self, string_1: str = 'String 1', string_2: str = 'String 2'):
    self.string_1 = string_1
    self.string_2 = string_2

When I started this library, it was mainly to create a class diagram of dataclasses. The @dataclass decorator actually use the definition of class attributes to generate a constructor with instance attributes (among other things). This issue aims at handling instance attributes defined in the constructor of a class which is not a dataclass.

Okay, I understand. But I think this could be a really great tool.

Followings are the code that gets instance variables from the class definition code.
This may be helpful for this issue.
class Address(object):
    street: str
    zipcode: str
    city: str

class Worker:
    name: str
    # forward refs are skipped for now
    colleagues: List['Worker']

    def __init__(self):
        self.addr: Address
        self.address: Address = Address()
        self.old_addr = Address()
        self.cons = []
        self.cons[0] = 0
        self.age = self.max_age = 0
        flag = 0
        self.age += 1
        addr = Address()

    def func(self, age):
        self.your_age = age
        return self.age
"""

import ast
import pprint
p=ast.parse(code)
for cls in p.body:
    if isinstance(cls, ast.ClassDef):
        print(cls.name)
        for m in cls.body:
            if isinstance(m, ast.FunctionDef):
                print(m.name)
                for a in m.body:
                    if isinstance(a, ast.AnnAssign):
                        if isinstance(a.target, ast.Attribute):
                            if a.target.value.id == 'self':
                                print(f'{a.target.value.id}.{a.target.attr}: {a.annotation.id}')
                    elif isinstance(a, ast.AugAssign):
                        pass
                    elif isinstance(a, ast.Assign):
                        for t in a.targets:
                            if isinstance(t, ast.Attribute):
                                if t.value.id == 'self':
                                    print(f'{t.value.id}.{t.attr}')

This will generate output:
Address
Worker
__init__
self.addr: Address
self.address: Address
self.old_addr
self.cons
self.age
self.max_age
func
self.your_age

hi @doyou89 :smiley:
Thank you for your suggestion. I am coming up with some similar code, but following the visitor pattern so that:

the underlying code does not rely on the code structure: the self.x = ... assignments could be within several layers of if conditions
it can handle different assignment spellings (self.x = x, self.x, self.y = x, y, etc.)

Thank you for pointing out some cases like self.cons[0] = 0.


Can't see all players in Team Widget

Hi, I'm having an error using the team widget, it doesn't show all players, specifically it doesn't ever show the second player's damage (I thought this may be due to using SOS and having your Palico replaced by the first player who joins, but even if I join as the second player it won't show my damage.)
The weird thing is that while their damage and % bar won't be shown, the overlay is clearly taking that figure into account, for example if playing with two people, you will see that your % of damage dealt is not 100%, so it is calculating how much damage the second player did.
Again, no issues with player 3 or 4, the overlay works as normal.

I had the same issue tonight except always for the first player. Whoever hosted the mission would be missing from the team widget despite still being accounted for in percentages.

Issue is still active, however I have found restarting the overlay a number of times while in a mission will eventually find the host. After that for the rest of the season it will work.


Internal Server Error

Hi Bro,
I am using RHEL 5, php is 5.5
2015-05-28T10:08:07.666911+08:00 test httpd: PHP Fatal error:  Call to undefined function Illuminate\Cache\apc_fetch() in /home/wira/Cachet/Cachet-master/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php on line 30
And when I run " php artisan migrate"
It shows the error (attached)

You need to have the APCU extension installed.


admin role is always added regardless if allowedRoles is specified

Describe the bug
We are logging in with linkedin using the following code:
function signInWithProvider(provider: string, redirectTo?: string) {
    let options: any = {
      allowedRoles: ['user', 'me'],
    };
    if (redirectTo && redirectTo !== '') {
      options.redirectTo = redirectTo;
    }

    return client.nhost.auth.signIn({
      provider: (provider as any) ?? 'linkedin',
      options,
    });
  }

The idea is that all users should log in with linkedin but selected users will be promoted to admin manually via the nhost dashboard.
The roles we have right now are:

user
me
admin

However, whenever we call the said function, it either crashes the server, or creates a new user with 'admin' role checked. here are some logs that could be useful:
2023-01-09 14:06:59 | hasura-auth | ELIFECYCLE  Command failed with exit code 1.
-- | -- | --
2023-01-09 14:06:59 | hasura-auth | at async /app/dist/routes/oauth/index.js:241:31
2023-01-09 14:06:59 | hasura-auth | at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-01-09 14:06:59 | hasura-auth | at transformOauthProfile (/app/dist/routes/oauth/utils.js:40:141)
2023-01-09 14:06:59 | hasura-auth | TypeError: ((intermediate value)(intermediate value)(intermediate value) \|\| utils_1.ENV.AUTH_USER_DEFAULT_ALLOWED_ROLES).map is not a function
2023-01-09 14:06:59 | hasura-auth |
2023-01-09 14:06:59 | hasura-auth | ^
2023-01-09 14:06:59 | hasura-auth | data: ((options === null \|\| options === void 0 ? void 0 : options.allowedRoles) \|\| utils_1.ENV.AUTH_USER_DEFAULT_ALLOWED_ROLES).map((role) => ({
2023-01-09 14:06:59 | hasura-auth | /app/dist/routes/oauth/utils.js:40

To Reproduce
Steps to reproduce the behavior:

Create a new project on app.nhost.io
Set up linkedin login
login with linkedin (vue app) using the code above

A workaround for this is to:

Remove the admin role in nhost UI
Manually add an admin role in the auth.roles table
Manually add the admin role with the associated user id in auth.user_roles

It fulfills the requirements for now but it would be nice if we could do this with the UI

I don't quite follow, how come does the admin role gets added regardless if it's not present in the code? Also adding a role in the "Allowed Roles" section of Nhost cloud should create both of the roles you mention in those columns -- though not in the Hasura metadata.
Could you give me a subdomain link so I can take a look?

Will try to reproduce when I get the chance

@szilarddoro @guicurcio I opened up a PR that would fix the error shared above.
https://github.com/nhost/hasura-auth/pull/391

I just want to clear some things out.
It all starts when you add someRole in the Allowed Roles.

From what I understand this sets values to the AUTH_USER_DEFAULT_ALLOWED_ROLES env variable.
Then if you try to sign up with a provider (tested with linkedin) using this code,
    return $nhost.auth.signIn({
      provider: (provider as any) ?? 'linkedin',
      options: {
        allowedRoles: ['user', 'me']
      },
    });

you get this issue:
2023-01-09 14:06:59 | hasura-auth | ELIFECYCLE  Command failed with exit code 1.
-- | -- | --
2023-01-09 14:06:59 | hasura-auth | at async /app/dist/routes/oauth/index.js:241:31
2023-01-09 14:06:59 | hasura-auth | at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-01-09 14:06:59 | hasura-auth | at transformOauthProfile (/app/dist/routes/oauth/utils.js:40:141)
2023-01-09 14:06:59 | hasura-auth | TypeError: ((intermediate value)(intermediate value)(intermediate value) \|\| utils_1.ENV.AUTH_USER_DEFAULT_ALLOWED_ROLES).map is not a function
2023-01-09 14:06:59 | hasura-auth |
2023-01-09 14:06:59 | hasura-auth | ^
2023-01-09 14:06:59 | hasura-auth | data: ((options === null \|\| options === void 0 ? void 0 : options.allowedRoles) \|\| utils_1.ENV.AUTH_USER_DEFAULT_ALLOWED_ROLES).map((role) => ({
2023-01-09 14:06:59 | hasura-auth | /app/dist/routes/oauth/utils.js:40

I inspected the code related to this and it looks like the options.allowedRoles getting passed come from the query parameter during oauth and it is not transformed into the expected string[] type but is instead a string. The pull request I mentioned (https://github.com/nhost/hasura-auth/pull/391) should fix this

Hey @iangabrielsanchez! Sorry for not getting back to you regarding this. I will find some time early next week to review your PR.


Development and Technical Support Service Proposal from Itering for 2025 Q1

I'm thinking:
For convenience, can we split this proposal into two parts: Substrate Dev and Support and EVM Dev and Support? The first part would be led by Xavier etc. from Subscan, while the second part would be led by Echo etc. from Helixbox. （Although these two teams have not yet been spun off from Itering, their teams are separate, and there may be related plans in the future.）


Make sure our bindings support copy and deepcopy

Need to check whether our projects support copy and/or deepcopy.
https://pybind11.readthedocs.io/en/stable/advanced/classes.html#deepcopy-support

@MaxBetzDLR This could be something you could look at :)

The way I imagine this would be something similar to how we add pickle serializer to classes in the python bindings. A function that creates the class binding, adds some common properties (operators or other double-underscore special functions), then returns the class binding.
template<class T>
auto bind_class(string name, module m)
{
    auto c = py::class_<T>(m, name);
    //add special functions if applicable
    return c;
}

This needs to have some automatic decisions involved, e.g., add deepcopy if class has a copy constructor, add pickle serializer if class is serializable, etc. So this would involve some templated functions that use e.g. enable_if with is_copy_constructible.
It may have to be configurable. Some copy constructible classes don't have value semantics, i.e. copy constructor is not the same as deepcopy. I'm not sure of the top of my head if this is the case in our code base. It may be safer to only add copy/deepcopy if explicitly requested?


Can't rename property

OrientDB Version, operating system, or hardware.

v2.2.13

Operating System

[x] Linux
[x] MacOSX

Expected behavior and actual behavior
I'm trying to rename sellCampaign property to leadCampaign. In the console the operation confirms that the property has been renamed, but in reality it didn't. See sample code below:
Steps to reproduce the problem
orientdb {db=Customers}> info class LeadMetaInternal

CLASS 'LeadMetaInternal'

Records..............: 0
Default cluster......: leadmetainternal (id=145)
Supported clusters...: leadmetainternal(145), leadmetainternal_1(146), leadmetainternal_2(147), leadmetainternal_3(148)
Cluster selection....: round-robin
Oversize.............: 0.0

PROPERTIES
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|#   |NAME        |TYPE  |LINKED-TYPE/CLASS   |MANDATORY|READONLY|NOT-NULL|MIN |MAX |COLLATE|DEFAULT   |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|0   |owner       |LINK  |Account             |true     |false   |true    |    |    |default|          |
|1   |dataState   |STRING|                    |false    |false   |false   |    |    |default|CLASSIFIED|
|2   |sellCampaign|LINK  |                    |true     |false   |true    |    |    |default|          |
|3   |category    |LINK  |SettingsLeadCategory|true     |false   |true    |    |    |default|          |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
orientdb {db=Customers}> alter property LeadMetaInternal.sellCampaign name leadCampaign
Property updated successfully.

orientdb {db=Customers}> info class LeadMetaInternal

CLASS 'LeadMetaInternal'

Records..............: 0
Default cluster......: leadmetainternal (id=145)
Supported clusters...: leadmetainternal(145), leadmetainternal_1(146), leadmetainternal_2(147), leadmetainternal_3(148)
Cluster selection....: round-robin
Oversize.............: 0.0

PROPERTIES
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|#   |NAME        |TYPE  |LINKED-TYPE/CLASS   |MANDATORY|READONLY|NOT-NULL|MIN |MAX |COLLATE|DEFAULT   |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|0   |owner       |LINK  |Account             |true     |false   |true    |    |    |default|          |
|1   |dataState   |STRING|                    |false    |false   |false   |    |    |default|CLASSIFIED|
|2   |sellCampaign|LINK  |                    |true     |false   |true    |    |    |default|          |
|3   |category    |LINK  |SettingsLeadCategory|true     |false   |true    |    |    |default|          |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
orientdb {db=Customers}>

Also, I noticed that if I try to update the linked class, which was mysteriously lost during the renaming of that class earlier, the CLI also confirms that the operation is successful but in the actuality the class is not linked. Check this snippet:
orientdb {db=Customers}> info class LeadMetaInternal

CLASS 'LeadMetaInternal'
Records..............: 0
Default cluster......: leadmetainternal (id=145)
Supported clusters...: leadmetainternal(145), leadmetainternal_1(146), leadmetainternal_2(147), leadmetainternal_3(148)
Cluster selection....: round-robin
Oversize.............: 0.0

PROPERTIES
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|#   |NAME        |TYPE  |LINKED-TYPE/CLASS   |MANDATORY|READONLY|NOT-NULL|MIN |MAX |COLLATE|DEFAULT   |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|0   |owner       |LINK  |Account             |true     |false   |true    |    |    |default|          |
|1   |dataState   |STRING|                    |false    |false   |false   |    |    |default|CLASSIFIED|
|2   |sellCampaign|LINK  |                    |true     |false   |true    |    |    |default|          |
|3   |category    |LINK  |SettingsLeadCategory|true     |false   |true    |    |    |default|          |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
orientdb {db=Customers}> alter property LeadMetaInternal.sellCampaign LinkedClass LeadCampaign

Property updated successfully.

orientdb {db=Customers}> info class LeadMetaInternal

CLASS 'LeadMetaInternal'
Records..............: 0
Default cluster......: leadmetainternal (id=145)
Supported clusters...: leadmetainternal(145), leadmetainternal_1(146), leadmetainternal_2(147), leadmetainternal_3(148)
Cluster selection....: round-robin
Oversize.............: 0.0

PROPERTIES
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|#   |NAME        |TYPE  |LINKED-TYPE/CLASS   |MANDATORY|READONLY|NOT-NULL|MIN |MAX |COLLATE|DEFAULT   |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
|0   |owner       |LINK  |Account             |true     |false   |true    |    |    |default|          |
|1   |dataState   |STRING|                    |false    |false   |false   |    |    |default|CLASSIFIED|
|2   |sellCampaign|LINK  |                    |true     |false   |true    |    |    |default|          |
|3   |category    |LINK  |SettingsLeadCategory|true     |false   |true    |    |    |default|          |
+----+------------+------+--------------------+---------+--------+--------+----+----+-------+----------+
orientdb {db=Customers}>

I tried to reload schema, restart cli, restart db, but nothing helps.

hi @borov333,
This is due to some refresh issue in the console, you can do a database reload to workaround this problem, this will be fixed in 3.0
Regards

Ok. I'll check it again in 3.0

Actually, I just renamed a property and completely restarted the database. The property still remains with the old name. How do I do the "database reload" properly as a work around?

hi @borov333,
That will be fixed in 3.0, does not mean is already fixed, we have the design that should resolve this problem, but the implementation is not yet done.
Regards


Apply last gir

https://github.com/gtk-rs/gir/pull/319
https://github.com/gtk-rs/gir/pull/317 (only changed commented functions)

Thanks!


[Bug]:   Failed to install or update Checkov using python pip etc

Python Version
Python 3.10
Checkov Installation Method
pip
CheckovPrismaless Version
1.0.107
VSCode Version
1.89.1
Operating System
Windows 10
Description of the Bug
Hi XargsUK,
I don't now if it's related to the recent updates after issue I open weeks ago #2
but I started to have this error output whilefailing the update through pip python python 3 etc .
[info]: Starting Checkov Extension. {"extensionVersion":"unknown","vscodeVersion":"1.89.1"}
[info]: Trying to install Checkov using Docker.
[debug]: Testing docker installation with command: docker pull bridgecrew/checkov:latest
[error]: Failed to install or update Checkov using Docker. Error:  {"error":{"code":1,"killed":false,"signal":null,"cmd":"docker pull bridgecrew/checkov:latest","message":"Command failed: docker pull bridgecrew/checkov:latest\n'docker' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n","stack":"Error: Command failed: docker pull bridgecrew/checkov:latest\n'docker' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:517:28)\n\tat maybeClose (node:internal/child_process:1098:16)\n\tat Socket.<anonymous> (node:internal/child_process:450:11)\n\tat Socket.emit (node:events:517:28)\n\tat Pipe.<anonymous> (node:net:350:12)"}}
[info]: Trying to install Checkov using pip3.
[debug]: Getting python version with command: python3 --version
[debug]: python3 executable not found on Windows, falling back to python
[debug]: Getting python version with command: python --version
[error]: Failed to install or update Checkov using pip3. Error: {"error":{"code":9009,"killed":false,"signal":null,"cmd":"python --version","message":"Command failed: python --version\nPython was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.\r\n","stack":"Error: Command failed: python --version\nPython was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.\r\n\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:517:28)\n\tat maybeClose (node:internal/child_process:1098:16)\n\tat Socket.<anonymous> (node:internal/child_process:450:11)\n\tat Socket.emit (node:events:517:28)\n\tat Pipe.<anonymous> (node:net:350:12)"}}
[info]: Retrying using `python` and `pip`
[debug]: Getting python version with command: python --version
[error]: Failed to install or update Checkov using pip. Error: {"error":{"code":9009,"killed":false,"signal":null,"cmd":"python --version","message":"Command failed: python --version\nPython was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.\r\n","stack":"Error: Command failed: python --version\nPython was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.\r\n\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:517:28)\n\tat maybeClose (node:internal/child_process:1098:16)\n\tat Socket.<anonymous> (node:internal/child_process:450:11)\n\tat Socket.emit (node:events:517:28)\n\tat Pipe.<anonymous> (node:net:350:12)"}}
[info]: Trying to install Checkov using pipenv.
[debug]: Installation dir: c:\Users\kosse\AppData\Roaming\Code\User\globalStorage\xargsuk.checkov-prismaless\checkov-installation
[debug]: Getting python version with command: pipenv run python --version
[error]: Failed to install or update Checkov using pipenv. Error: {"error":{"code":1,"killed":false,"signal":null,"cmd":"pipenv run python --version","message":"Command failed: pipenv run python --version\n'pipenv' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n","stack":"Error: Command failed: pipenv run python --version\n'pipenv' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\n\tat ChildProcess.exithandler (node:child_process:423:12)\n\tat ChildProcess.emit (node:events:517:28)\n\tat maybeClose (node:internal/child_process:1098:16)\n\tat Socket.<anonymous> (node:internal/child_process:450:11)\n\tat Socket.emit (node:events:517:28)\n\tat Pipe.<anonymous> (node:net:350:12)"}}
[warn]: All installation / update methods failed; attempting to fall back to a global checkov installation
[error]: Could not find a global `checkov` executable either
[error]: Error occurred while preparing Checkov. Verify your settings, or try to reload vscode. {"error":{"message":"Could not install Checkov.","stack":"Error: Could not install Checkov.\n\tat c:\\Users\\kosse\\.vscode\\extensions\\xargsuk.checkov-prismaless-1.0.107\\out\\checkov\\checkovInstaller.js:169:11\n\tat Generator.next (<anonymous>)\n\tat fulfilled (c:\\Users\\kosse\\.vscode\\extensions\\xargsuk.checkov-prismaless-1.0.107\\out\\checkov\\checkovInstaller.js:28:58)"}}

maybe It's on my side or because I updated VSCode today . but I wanted to share that anyway.
Thank you
Steps to Reproduce
Update VSCODE

Might try this
Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"
from this StackOverflow post
and see how it goes

reinstalled python and still having the same issue
>python --version
Python 3.10.0
> where python
C:\Program Files\python\Python310\python.exe
C:\Users\User\AppData\Local\Microsoft\WindowsApps\python.exe

ok now it's working .  I went back to "Manage App Execution Aliases" and enabled the alias for everything python ,

[debug]: Getting python version with command: python3 --version
[debug]: Raw output:
[debug]: Python 3.10.11

[debug]: Python version: 3.10.11

[debug]: Testing pip[3] installation with command: pip3 install --user -U -i https://pypi.org/simple/ checkov
[debug]: Location: c:\users\kosse\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages
[info]: Checkov installed successfully using pip3. {"checkovPath":"c:\\users\\user\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\\localcache\\local-packages\\python310\\Scripts\\checkov"}
[info]: Checkov installation:  {"checkovInstallationMethod":"pip3","checkovPath":"c:\\users\\user\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\\localcache\\local-packages\\python310\\Scripts\\checkov"}
[debug]: Version command: c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\Scripts\checkov -v
[debug]: Response from version command: 3.2.90

[info]: Previously installed checkov version does not match the newly installed one. Clearing results cache.
[debug]: Clearing results cache

you can close it I guess , but I still don't know why it happened.


Education model

I created the education model based on the education tab in the Data Model/Education spreadsheet. https://docs.google.com/spreadsheets/d/1Ji0sxIqFI49EZb7Mz4F0nkSBn1JSNMXiKjFAzJC2Jso/edit?usp=sharing

the fields look good to me

If there are any .DS_Store files in those files where I added/modified the .gitignore file, they will still be there. They would have to be removed. The .gitignore only prevents them from being added again.

Ah okay, makes sense. Merging now!


THREAD WARNING: ['DatePicker'] Plugin should use a background thread

Hello, I have a problem...this plugin works very well on Android but when I run it on Apple I have a problem...In my console obtain this:
THREAD WARNING: ['datepicker'] took '....' ms. Plugin should use a background thread.
So when I click on input type="text" the device opens the datepicker and on the datepicker opens the keyboard...How can I do? Thanks!

Same problem....


(feature) add iojs support

Issue:
travis-yaml supports numeric versions for node.js, but not the iojs versions as specified in the javascript with node-js documentation and the build environment update history.

This PR:
Addresses #54 by adding iojs support within travis-yaml/lib/travis/yaml/nodes/root.rb and an updated specification.
I welcome a code review for both the regular expression and the assertions made against it. Thanks in advance!

Thank you. <#

You're welcome @rkh !


Removed hard-coded paths and '../' paths from tests in favor of Pathlib.

I tried to run tests and had many of them fail since I was in the top level directory instead of in tests/.
Since pytest will parse directories to discover tests, it seemed like a good idea to fix this.
Some tests looked for scripts in "../examples", and these were replaced by checking the path of __file__ to determine how to get to the examples folder, agnostic to the current working directory.
In doing so, I replaced a few uses of os.path with pathlib.Path since I'm more familiar with the latter, but if there's a strong preference for sticking with os.path, I'm not opposed to adding a commit to revert that.

@canismarko Thanks!  Yeah, pytest can also fail on files it finds in its search for "tests" that aren't really meant to be tests....  But this is great, and I definitely need to work on more complete and better tests.  A lot of functionality is just not tested, which is pretty bad!


Loading in of large BAM files

Hello,
I have an issue opened that seems to be related to BioBear handling of large .bam files. The stackframe points to the use of polars-u64-idx as a potential solution.
Last line stack frame pyo3_runtime.PanicException: polars' maximum length reached. Consider installing 'polars-u64-idx'.: TryFromIntError(())
Issue opened by a user on my github: https://github.com/TRISTAN-ORF/RiboTIE/issues/8
Link to code line using biobear: https://github.com/TRISTAN-ORF/transcript_transformer/blob/235fde98f0719ed86f244a0853d3b9c8f4e9edce/transcript_transformer/data.py#L132
Furthermore, today I had transcript-transformer hang also on the loading step of the .bam file for a medium sized file (4GB). Could be related.

Thanks for sharing this! I'll have a look and follow up.

I was able to repro what I think is the issue causing upstream in Exon. Once fixed, I was able to run a query on a 16G file from 1000 genomes.
The Exon release is matriculating, but once I've had a chance to check biobear, I'll do a release here.
I think I also see an area for improvement performance wise I hope to release, but not sure how impactful it is yet. Generally w/ Polars, if I also made it possible to return a LazyFrame, would that be of use to you?

ok great, I'll have a look at that in the coming week or so.
For this, this PR should resolve the issue (or at least did on my side). I'll follow up on this issue when it's on pypi. https://github.com/wheretrue/biobear/pull/135

@jdcla, I think this should be fixed in 0.20.2 (https://pypi.org/project/biobear/0.20.2/), but please let me know if the problem persists and I'll reopen.


Terminal opening up blank

Opening up the terminal with :term, command pallete :terminal, and any method opens a blank panel that can't be interacted with.
Recloned and built from source, still running into the same issue.
MacOS Catalina 10.15.3

Possibly related: #1461, #1494, #1531

Possibly related: #1461, #1494, #1531

@glennsl  saw #1461, reported this because in #1461 the terminal at least detected to use the fish shell. In this bug, no shell gets detected at all.

Yeah I'm not suggesting it's a duplicate. Those issues should be fixed as well, so this seems like something different.

Added debug output to running it, seems like it can't find my shell?

Hi @quuu - it sounds like you built from source.
Did you install the node dependencies - via the node install-node-deps.js command? That's needed to bring in all of our node dependencies (required for the extension host / terminal). If those aren't present - the terminal won't load.
Once that has run - we should see a vscode-exthost folder in oni2/node/node_modules

@bryphe  Thanks! It worked, I missed that step in building thinking it was to be ran if npm install failed or something


how to set up email?

when I enable register feature and use email to validate.
But when I register a new a account, it's failed. Because bookstack can send out email.

This is my docker-compose file:
version: '2'
services:
  mysql:
    image: mysql:5.7.21
    environment:
    - MYSQL_ROOT_PASSWORD=secret
    - MYSQL_DATABASE=bookstack
    - MYSQL_USER=bookstack
    - MYSQL_PASSWORD=secret
    volumes:
    - /srv/bookstack/mysql-data:/var/lib/mysql

  bookstack:
    image: solidnerd/bookstack:0.21.0
    depends_on:
    - mysql
    environment:
    - DB_HOST=mysql:3306
    - DB_DATABASE=bookstack
    - DB_USERNAME=bookstack
    - DB_PASSWORD=secret
    - MAIL_HOST=smtp.exmail.qq.com
    -<EMAIL_ADDRESS>    - MAIL_PASSWORD=xxxxx
    - MAIL_PORT=465
    -<EMAIL_ADDRESS>    - MAIL_FROM_NAME=book-haha
    volumes:
    - /srv/bookstack/uploads:/var/www/bookstack/public/uploads
    - /srv/bookstack/storage-uploads:/var/www/bookstack/public/storage
    ports:
    - "8080:80"

@NickZengXL I am having the same problem. Did you manage to make any progress on this?

@NickZengXL this now seems to have been solved (at least for me) as can be seen in #22


Cannot assign object to compatible map type

https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAodAXAngBwKZgDyAdngCq4EC8YA3mANoDWeWAXAM4YBOAlsQHMAumzBc+ggD7EArgFsARnm6SS5SmAC+AbkwayCOBXxgatVGEsYAFvwGjZi5QBoLlgIYBjDLzjFR4nauOuieflxgAB5gogZGGmZgNnaiAIzOYF4+fqIARNbuvLlaumHEEVgxRKTG1FHaQA
We would expect this to work, since the "map" type can easily contain data in the shape of the other type.  What's going on?

Flow assumes invariance for object types by default because of mutability. Consider:
const sneaky = (thing: OneThing) => {
  thing.thing = 'a string',
  thing.action = 9000,
};

const x : TwoType = { thing: 1, action: 'hai' };
const y : OneType = x;
sneaky(y);
// y is now {thing: 'a string', action: 9000} and Flow is wrong

To solve this, declare OneType covariant, which means "A type T is a subtype of OneType if all its keys are subtypes of string|number|OneType" (flow link)
type OneType = { +[key:string]: string|number|OneType };

type TwoType = {
   thing: number,
   action: string,
};

const x : TwoType = { thing: 1, action: 'hai' };
const y : OneType = x;


Tailnet policy file keys not preserving case when generated using an Acl resource

What happened?
When managing a Tailscale policy file using a Pulumi Tailscale Acl resource, keys submitted as part of the Acl resource configuration gets transformed to lower case. For example:
const policy = new tailscale.Acl("policy", {acl: JSON.stringify({
    autoApprovers: {},
})});

The preview will indeed preserve case:
... \\\"autoApprovers\\\":{} ...

However, inspecting the generated policy file in the Tailscale UI will show autoapprovers: {}.
Expected Behavior
Case should be preserved when generating and updating the Tailscale policy file.
Steps to reproduce
Create any Acl resource containing a "camelCase" formatted key such as autoApprovers.
const policy = new tailscale.Acl("policy", {acl: JSON.stringify({
    autoApprovers: {},
})});

Review generated policy file using the Tailscale UI and check case for that key.
Output of pulumi about
CLI
Version      3.62.0
Go Version   go1.20.2
Go Compiler  gc
Host
OS       darwin
Version  13.0.1
Arch     arm64
Backend
Name           pulumi.com
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thank you for reporting this! This has been added to our project board


nixos/systemd: fix enableStrictShellChecks description

Before it was Whether to enable running shellcheck on the generated scripts for systemd units.. which reads not that great.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

LGTM, but could you remove the trailing dot as well? We currently have a double dot on search.nixos. org.

We are overwriting the entire description now which also fixes the trailing dot.

Hmm, that's a bit clunky. I don't think the previous message was that bad. I was mostly annoyed by the double dot.


add DELE command for delete file.

Add command DELE (rfc 959 https://tools.ietf.org/html/rfc959).

Thanks for the addition!


semantic-pr-title.yml uses<EMAIL_ADDRESS>which uses node12 which is deprecated

semantic-pr-title.yml uses<EMAIL_ADDRESS>which uses node12 which is deprecated.


Prom2: SIGHUP for config reload causes artifacts in TSDB storage

What did you do?
Run P2 from dev-2.0 branch side by side our P1 stack with the same config reloading and scraped targets.
What did you expect to see?
A stable retention similarly to P1.
What did you see instead? Under which circumstances?
A periodic, every 1h weird whole in our data, which massively crops up in rates.

This coincides with our config syncing job that sends a SIGHUP to prometheus at least every hour. The data loss corelates exactly with the SIHGUP log statement and with the prometheus_config_last_reload_success_timestamp

@fabxc tracked down the issue

Thanks for figuring out the correlation. However, this puzzles me a fair bit as the storage is purely configured through flags and a reload does not touch it in any way. That only really leaves either the retrieval our the rule evaluation layer doing something different than 1.x.
Given that this is not a recording rule metric, it can only be retrieval. But still cannot think of anything that changed that could cause this.

Interestingly a side by side P1 is happy during these so it's definitely a
change in dev 2.
On Mon, 22 May 2017, 20:17 Fabian Reinartz<EMAIL_ADDRESS>wrote:

Thanks for figuring out the correlation. However, this puzzles me a fair
bit as the storage is purely configured through flags and a reload does not
touch it in any way. That only really leaves either the retrieval our the
rule evaluation layer doing something different than 1.x.
Given that this is not a recording rule metric, it can only be retrieval.
But still cannot think of anything that changed that could cause this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/2756#issuecomment-303194095,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJNWo1YS7IYIcl1zKLRGmrdX8nzVaRUMks5r8d8vgaJpZM4Nibz8
.

Can you provide a dump of the JSON response. Once of the raw metric and
once with rate() applied?
Ideally at the most coarse interval that still shows the problem and
annotation of the time that show it in the graph.

Interestingly a side by side P1 is happy during these so it's definitely a
change in dev 2.
On Mon, 22 May 2017, 20:17 Fabian Reinartz<EMAIL_ADDRESS>wrote:

Thanks for figuring out the correlation. However, this puzzles me a fair
bit as the storage is purely configured through flags and a reload does
not
touch it in any way. That only really leaves either the retrieval our the
rule evaluation layer doing something different than 1.x.
Given that this is not a recording rule metric, it can only be retrieval.
But still cannot think of anything that changed that could cause this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/prometheus/prometheus/issues/2756#issuecomment-303194095
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AJNWo1YS7IYIcl1zKLRGmrdX8nzVaRUMks5r8d8vgaJpZM4Nibz8
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/2756#issuecomment-303196274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuA8rTmodEH7BH7xFfayWbc6FrNACEuks5r8eFfgaJpZM4Nibz8
.

The JSON responses for both the rate and unrated data (as seen in the graph) is included below.
dropped_hup_bad_data.tar.gz

Having a bit of trouble here. The unaggregated window in the image is a bit to narrow.
Does the unaggregated data also have artifacts or not? Which window does the raw data cover? Around the artifact or just right until it occurs?

Sorry I gave the wrong time range for above. Here's a screenshot and data for another instance with the graphs alined the bad rate. You can see a little dent in the raw data as well above.
dropped_hup_bad_data2.tar.gz.tar.gz

Thanks, basically shows what one expects but no hints as to what's going wrong.
The good news is, that I can reproduce it locally to some degree. The bad news, that I see it equally for Prometheus 1 and 2.

Is there any chance that this just happens in phase with Prometheus reloads in your 2.0 for some reason and 1.x is lucky enough to avoid it.

Not sure what you mean here. Both P1 stack and P2 stacks use exactly the same SIGHUP mechanism, reloading exactly the same configs. I can't find a single P1 hiccup, and P2 has it on every single SIGHUP.
At the same time, neither P2 or P1 reload.

@fabxc Is there anything else I can help with to repro? We just shipped the latest dev-2.0 and will let it bake to see if it fixes the problem, but unlikely.

Current dev-2.0 head does not have #2774 merged, so expect potential trouble. Not sure what else can help reproducing this =/

@mwitkow @Bplotka do you still encounter this with 2.0?

We will test the new 2.0's SIGHUP case soon and will let you know (:

@mwitkow @Bplotka Any updates?

Should be fixed by: https://github.com/prometheus/prometheus/pull/2830

Hello, I spent some time today to verify it and I can still reproduce this. I was testing against Prometheus 2.0 built from release-2.0 branch (revision b3ddaf5ae9113a31be7f364c3dfee2e412e72df3).
Every time I send SIGHUP signal we seem to drop some samples (scraping restarted?). Thanks of our new Thanos project I was able to spawn Prometheus in 2-replica HA and reloaded config on just first one. Below screen shows a rate over some counter that has artifacts, but only for one replica that was signaled. Thanks to the Thanos' global querier, we can see it on same the graph:

Red line: Prometheus replica 1, after some ~9 SIGHUP-s
Green line: Prometheus replica 2, no SIGHUP-s
Below some graphs from the Prometheus UI on replica 1 (one that was signaled a lot) and its prometheus_config_last_reload_success_timestamp_seconds metric:

Beside the Prometheus version this setup is similar to what we are using heavily with Prometheus 1.8 and we did not see that issue.
So https://github.com/prometheus/prometheus/pull/2830 will certainly help for some use cases, but when you certainly have config changes when you signal Prometheus here. We are doing SIGHUP only when we want

From the other hand I think we are not longer blocked on this, having HA Prometheus (using Thanos) our roll out  procedure (especially in terms of configuration) can be simplified.

@fabxc asked me to show table view of grpc_client_handled_total{grpc_code="OK", grpc_method="Series"}[5m] OFFSET X when some SIGHUP occur. The result:
15595957 @1513851364.047
15597461 @1513851379.047
15598993 @1513851394.047
15600499 @1513851409.047
15602000 @1513851424.047
15603511 @1513851439.047
15605036 @1513851454.047
15606539 @1513851469.047
15608057 @1513851484.047
15609580 @1513851499.047
15611093 @1513851514.047
15612625 @1513851529.047
15614131 @1513851544.047
15615631 @1513851559.047
15617145 @1513851574.047
15618647 @1513851589.047
15620155 @1513851604.047
15620792 @1513851611.467
15622307 @1513851626.468
15623804 @1513851641.468
15625272 @1513851656.468

We can see the switch (scrape loop restart?) between:
15620155 @1513851604.047
15620792 @1513851611.467

My scrape interval is 15s but here we scraped something quicker: after only 7s

@Bplotka the discovery/scraping is completely refactored so now the scrape pool is never restarted.Just few commits after the ones you tried.
Scrape loops are added for  new targets and stopped for the removed ones. Loops for existing targets remain unchanged.
Can you try this build(linux,amd64) and ping me on IRC if you find any other bugs.
https://github.com/krasi-georgiev/prometheus/releases/download/v2.0.0-beta.draft/prometheus
(this one includes PR for  another bug I found just before it was merged https://github.com/prometheus/prometheus/pull/3605)


I want to add my parallax effect portfolio

https://rishikakant.github.io/Rishika-Kant/
This is the link to my portfolio website, works best in desktop view.
Please add this.

cool portfolio :)

Thank you


Raise minimum supported Rust version to 1.36.0

Signed-off-by: Otavio Salvador<EMAIL_ADDRESS>

@asomers I rebased this on top of current master; please take a look.

Please note in the commit message the reason for raising the msrv.  Otherwise, it looks good.

It is, on the long description.

Ahh, my apologies.  I didn't see it on my tiny cell phone screen.  I'll take a look at the musl failure.


Could not load a Sketch preview "images/853732577995ec08625706620b0235b0184b90e8.png"

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Sketch (please complete the following information):

version: [e.g. 52]

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser: [e.g. stock browser, safari]
Version: [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @coopdesis thank you for reporting this issue. Could you add the information to reproduce the bug? Would be nice if you could add the sketch file if possible.
Thanks

Hi @coopdesis thanks for opening this issue.
could you please fill in the rest of the info in order to help us better understand your issue. Cheers.


ext_authz CheckRequest not including request body on HTTP2 requests with with_request_body enabled

Description:
I have ext_authz configured with with_request_body and the body is passed over in the CheckRequest call for HTTP/1.1 requests, but not when the request is HTTP/2. This seems to be the case with the following envoy containers (e.g., since this feature was introduced):

envoyproxy/envoy:latest
envoyproxy/envoy:v1.11.0
envoyproxy/envoy:v1.10.0

Repro steps:
CheckRequest with HTTP/1.1 (curl -d test -http11 https://test.example.com:8800):
attributes:
  source:
    address:
      socket_address:
        address: "<IP_ADDRESS>"
        port_value: 55522
  destination:
    address:
      socket_address:
        address: "<IP_ADDRESS>"
        port_value: 8800
    principal: "CN=*.example.com,OU=PositiveSSL Wildcard,OU=Domain Control Validated"
  request:
    http:
      id: "144129472221377462"
      method: "POST"
      headers:
        - key: ":authority"
          value: "test.example.com:8800"
        - key: ":method"
          value: "POST"
        - key: ":path"
          value: "/"
        - key: "accept"
          value: "*/*"
        - key: "content-length"
          value: "4"
        - key: "content-type"
          value: "application/x-www-form-urlencoded"
        - key: "user-agent"
          value: "curl/7.64.1"
        - key: "x-forwarded-proto"
          value: "https"
        - key: "x-request-id"
          value: "033f7b53-df7d-4bcf-88b0-fc55e64d331a"
      path: "/"
      host: "test.example.com:8800"
      size: 4
      protocol: "HTTP/1.1"
      body: "test"

CheckRequest with HTTP/2 (curl -d test --http2-prior-knowledge https://test.example.com:8800/):
attributes:
  source:
    address:
      socket_address:
        address: "<IP_ADDRESS>"
        port_value: 43370
  destination:
    address:
      socket_address:
        address: "<IP_ADDRESS>"
        port_value: 8800
    principal: "CN=*.example.com,OU=PositiveSSL Wildcard,OU=Domain Control Validated"
  request:
    http:
      id: "10625449567139415222"
      method: "POST"
      headers:
        - key: ":authority"
          value: "test.example.com:8800"
        - key: ":method"
          value: "POST"
        - key: ":path"
          value: "/"
        - key: ":scheme"
          value: "https"
        - key: "accept"
          value: "*/*"
        - key: "content-length"
          value: "4"
        - key: "content-type"
          value: "application/x-www-form-urlencoded"
        - key: "user-agent"
          value: "curl/7.64.1"
        - key: "x-forwarded-proto"
          value: "https"
        - key: "x-request-id"
          value: "f99842a4-85fe-48d6-b363-d7693422490d"
      path: "/"
      host: "test.example.com:8800"
      scheme: "https"
      size: 4
      protocol: "HTTP/2"

Diff of HTTP/1.1 -> HTTP/2:
# curl -d test -http11 https://test.example.com:8800
# curl -d test --http2-prior-knowledge https://test.example.com:8800/
--- checkRequest_http11.yaml	2019-11-22 11:30:50.000000000 -0500
+++ checkRequest_http2.yaml	2019-11-22 11:28:12.000000000 -0500
@@ -3,7 +3,7 @@
     address:
       socket_address:
         address: "<IP_ADDRESS>"
-        port_value: 55522
+        port_value: 43370
   destination:
     address:
       socket_address:
@@ -12,7 +12,7 @@
     principal: "CN=*.example.com,OU=PositiveSSL Wildcard,OU=Domain Control Validated"
   request:
     http:
-      id: "144129472221377462"
+      id: "10625449567139415222"
       method: "POST"
       headers:
         - key: ":authority"
@@ -21,6 +21,8 @@
           value: "POST"
         - key: ":path"
           value: "/"
+        - key: ":scheme"
+          value: "https"
         - key: "accept"
           value: "*/*"
         - key: "content-length"
@@ -32,9 +34,9 @@
         - key: "x-forwarded-proto"
           value: "https"
         - key: "x-request-id"
-          value: "033f7b53-df7d-4bcf-88b0-fc55e64d331a"
+          value: "f99842a4-85fe-48d6-b363-d7693422490d"
       path: "/"
       host: "test.example.com:8800"
-      size: 4
-      protocol: "HTTP/1.1"
-      body: "test"
+      scheme: "https"
+      size: 4
+      protocol: "HTTP/2"

Config:
Simple Config I am using:
static_resources:
  listeners:
  - address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 8800
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          codec_type: auto
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains: ["*"]
              routes:
              - match:
                  prefix: "/"
                route:
                  cluster: test-app
          access_log:
          http_filters:
          - name: envoy.ext_authz
            config:
              grpc_service:
                envoy_grpc:
                  cluster_name: test-agent-grpc
                timeout: 0.2s
              failure_mode_allow: true
              with_request_body:
                max_request_bytes: 8192
                allow_partial_message: true
          - name: envoy.router
            config: {}
      tls_context:
        common_tls_context:
          tls_certificates:
            - certificate_chain:
                filename: "/local/example.com.crt.pem"
              private_key:
                filename: "/local/example.com.key.pem"
  clusters:
  - name: test-app
    connect_timeout: 0.2s
    type: strict_dns
    lb_policy: round_robin
    load_assignment:
      cluster_name: test-app
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 8080
  - name: test-agent-grpc
    connect_timeout: 0.25s
    type: strict_dns
    http2_protocol_options: {}
    load_assignment:
      cluster_name: test-agent-grpc
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 9999
admin:
  access_log_path: "/dev/null"
  address:
    socket_address:
      address: <IP_ADDRESS>
      port_value: 8001

Logs:
The ext_authz filter seems to be buffering in either HTTP/1.1 or HTTP/2 cases as I see this in the logs:
[2019-11-22 17:08:58.734][31][debug][http] [source/common/http/conn_manager_impl.cc:246] [C0] new stream
[2019-11-22 17:08:58.735][31][debug][http] [source/common/http/conn_manager_impl.cc:600] [C0][S4397996624313074540] request headers complete (end_stream=false):
':method', 'POST'
':path', '/'
':scheme', 'https'
':authority', 'test.example.com:8800'
'user-agent', 'curl/7.64.1'
'accept', '*/*'
'content-length', '4'
'content-type', 'application/x-www-form-urlencoded'

[2019-11-22 17:08:58.735][31][debug][filter] [source/extensions/filters/http/ext_authz/ext_authz.cc:87] [C0][S4397996624313074540] ext_authz filter is buffering the request
[2019-11-22 17:08:58.735][31][trace][http] [source/common/http/conn_manager_impl.cc:857] [C0][S4397996624313074540] decode headers called: filter=0x244fc20 status=1
[2019-11-22 17:08:58.735][31][debug][http] [source/common/http/conn_manager_impl.cc:1092] [C0][S4397996624313074540] request end stream
[2019-11-22 17:08:58.735][31][debug][filter] [source/extensions/filters/http/ext_authz/ext_authz.cc:105] [C0][S4397996624313074540] ext_authz filter finished buffering the request since stream is ended
[2019-11-22 17:08:58.735][31][trace][filter] [source/extensions/filters/http/ext_authz/ext_authz.cc:72] [C0][S4397996624313074540] ext_authz filter calling authorization server
[2019-11-22 17:08:58.736][31][trace][http] [source/common/http/conn_manager_impl.cc:982] [C0][S4397996624313074540] decode data called: filter=0x244fc20 status=2
[2019-11-22 17:08:58.739][31][debug][http] [source/common/http/async_client_impl.cc:91] async http request response headers (end_stream=false):
':status', '200'
'content-type', 'application/grpc'
'x-envoy-upstream-service-time', '2'

[2019-11-22 17:08:58.739][31][trace][http] [source/common/http/async_client_impl.cc:99] async http request response data (length=66 end_stream=false)
[2019-11-22 17:08:58.739][31][debug][http] [source/common/http/async_client_impl.cc:106] async http request response trailers:
'grpc-status', '0'
'grpc-message', ''

cc @gsagula (continuing a slack chat on this)

@brectanus-sigsci seems like this is similar to https://github.com/envoyproxy/envoy/issues/8666. Recently I added a patch and an integration test to validate this https://github.com/envoyproxy/envoy/pull/8877/files.

I think you can try, to use e.g. envoyproxy/envoy-dev:40970bd6edb9969a59cd4ed17d7c66b2c0dcb8ba.

@dio Awesome! #8877 does fix this. I completely missed #8666 in my search as it was already closed.


Copy all mapped files from [SD:725290]

commit 8cec8f150da7583b7af5efbe2853efee0179750c
PR Summary

PR Checklist
Note: Please mark anything not applicable to this PR NA.

[ ] PR has a meaningful title

[ ] Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] User facing Documentation needed

[ ] Issue filed - Issue link:

[ ] Change is not breaking
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affectes feature tests

[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Rufelo sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@Rufelo The source-depot branch is not supposed to be merged into master.
Please don't submit PR for changes that are not made by you. Thanks.


Run prettier formatter on all markdown files

@algomaster99 thanks!

@algomaster99 I know this has been merged but see the comments above. That's another problem we currently have with prettier...

@algomaster99 I know this has been merged but see the comments above. That's another problem we currently have with prettier... Can you please undo those changes in a new PR? I already have a PR open and its under review.
Then let's address the bug separately? Created #532 for you 😬

Actually never mind, I just opened PR #533 from a new hotfix branch so let's just go straight to trying to fix the bug (#532) please.


add tests for SVGShape

small refactoring

Hi @XhmikosR Can you please check this? I know it adds more than just tests but I need this for the future tests

@XhmikosR should I split it into 4 different PRs? Or is it OK to have such big one?

@Kreeg your call, ideally these should be at least separate commits and not squashed when merging.

@XhmikosR I split this PR into different commits. Can you check, please?


SW-2988 Upload submitted reports to Google Drive

When a report is submitted, export it to Google Drive along with its supporting
files. The report itself is created as a Google Docs document. A CSV file with
the aggregated report data is also created, and all photos and files are copied.
This requires some configuration:

The GOOGLE_APPLICATION_CREDENTIALS environment variable must be set to the
path of a Google client credentials configuration file. The file can be
generated using the gcloud tool from the Google Cloud SDK.
terraware.report.export-enabled must be true.
terraware.report.google-drive-id must be set to the ID of a shared drive.
terraware.report.google-folder-id may optionally be set to the ID of a folder
within the shared drive; reports will be placed inside that folder.
terraware.report.google-email may optionally be set to the email address of
a user in our Google domain. If set, the server will impersonate that user when
making API requests. This is needed for access to non-public shared drives.

If enabled, export happens automatically when a report is submitted. It can also
be triggered manually from the admin UI, where an "Export to Google Drive" button
will appear for each report on the organization details page.

Current dependencies on/for this PR:

main

PR #1010

PR #1011

PR #1013   👈

This comment was auto-generated by Graphite.

This will be a no-op when it's deployed since export is turned off by default. I'll have another PR up shortly with the configuration changes.
Also, see the "Google Drive integration" page in Confluence for more about the Google account setup side of this.


I think I might have found a bug.

Hello! Excuse me.
I think this kernel method quadratic have error.
This is my test code.
import warnings
warnings.filterwarnings('ignore')
import numpy as np
import random

# load yourself model
from SVM import SVM

from sklearn.svm import SVC
from sklearn.metrics import accuracy_score
from sklearn.datasets.samples_generator import make_blobs
from sklearn.model_selection import train_test_split

def test_SVM():
    i = 1
    np.random.seed(12345)
    while True:
        # generate dataset
        X, Y = make_blobs(
            n_samples=np.random.randint(2, 100),
            n_features=np.random.randint(2, 100),
            centers=2, random_state=i,
        )
        X, X_test, Y, Y_test = train_test_split(X, Y, test_size=0.3, random_state=i)
        # ignore split error(train/test data only 1 class)
        if 0 not in Y or 1 not in Y:
            continue
        # generate param
        C = random.uniform(0.1, 0.9)
        max_iter = random.uniform(50, 500)
        kernel = "quadratic"
        tol = random.uniform(0.000001, 0.1)
        # fit and predict
        clf = SVM(C=C, max_iter=max_iter, kernel=kernel, tol=tol)
        clf.fit(X, Y)
        pred = clf.predict(X_test)

        print(accuracy_score(Y_test, pred))

if __name__ == "__main__":
    test_SVM()

Public service announcement: @daidai21 just tried to pass your code off as their own in my repo (https://github.com/ddbourgin/numpy-ml/issues/31).

Thank you very much for letting me know @ddbourgin and for the reference in your repo.
@daidai21 feel free to use my code, but please don't refer to it as your own. Thank you for posting the issue. I will look into it.


[13.4-stable] vTPM communication and error handling refactoring

Backport of https://github.com/lf-edge/eve/pull/4400.

This should be fine, but let me run some tests to be sure.

@shjala rebase on the latest 13.4-stable and I'll run tests (Eden is still broken by edk2 I believe)


[BUG]: Errors with Anapnoe UX

Issue:
It's not working properly with Anapnoe UX - https://github.com/anapnoe/stable-diffusion-webui-ux
While it does work, all menus are presenting error... And no "menu related" setting works.
Images at the end....
Edit:
Removed all extensions, and was putting them back one by one, until the error popped up.
Them I proceeded and removed all other, same error still.
Env:

Commit
4331bdccda003b5bdcfe6f156561631873da3a72

Console Log error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/gradio/routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 1018, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 947, in postprocess_data
    prediction_value = postprocess_update_dict(
  File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 371, in postprocess_update_dict
    update_dict = block.get_specific_update(update_dict)
  File "/usr/local/lib/python3.9/dist-packages/gradio/blocks.py", line 257, in get_specific_update
    specific_update = cls.update(**generic_update)
TypeError: update() got an unexpected keyword argument 'multiline'

Images

I am having [what looks like] a pretty much identical error in the Automatic1111 interface, even seeing that "multiline" thing in the automatic1111 log.  I disabled all extensions and one by one enabled them all and figured out that autocomplete was responsible for the error.
Notably, I am not using the latest Automatic1111 commit, due to other current errors.  But the one which is by now probably 2-3 weeks old had stopped working with Autocompleted enabled.

Sorry for the inconvenience, the multiline argument was wrongly included in the fallback for gradio 3.16.
Due to Gradios poor changelog documentation, I wasn't aware that this argument is also only available in the more recent versions.

Thanks for the quick resolution.  Love your extension, been so helpful for a lot of stuff!


V0.1 natty implementation

Ready for merge

Coverage decreased (-1.7%) to 89.745% when pulling f1f4a2092383fc7bb7ee3bf8611c72781438f2f0 on V0.1-james-natty into a597414246720d364fdf062ba39ab370dbfde0e2 on V0.1.


Fix kustomization directory path

The kustomization file used in the hotrod example specifies a wrong directory path.
This commit fixes the path.
Signed-off-by: banban9999<EMAIL_ADDRESS>
Which problem is this PR solving?

This PR solves the misconfiguration of the kustomization file used in the hotrod example.

Short description of the changes

Fix kustomization  file used in the hotrod example.

DCO check is failed.  It says "Commit sha: 32fce6c, Author: “banban9999”, Committer: “banban9999”<EMAIL_ADDRESS>is not a valid email address." So, the gmail address is not recognized as a valid e-mail address. I can not figure out why DCO is giving this error message.

If I recall correctly it has something to do with which name and email you use on GitHub and in your git settings, they have to match exactly. Alternatively, since it's a one line change, you can do it directly via GitHub edit and DCO should be correct.

I suppose I had a valid DCO from previous forays in other projects, so managed to get this merged in #4234

One commit is signed with Signed-off-by: “banban9999”<EMAIL_ADDRESS>and GitHub bot doesn't like the quotes in the email. But I am not a bot, so I see it it OK.

@banban9999 can you resolve the merge conflict?

looks like this has been fixed already


Enable deploy sahara by default on jenkins jobs

 (8) P4: Create Barclamp for Sahara

typo in the git commit message. personally I think the default in mkcloud and in jenkins should match.. can we update mkcloud instead?

@dirkmueller Its done this way so if people launch the proposal step locally it does not install sahara by default to avoid delays into getting their cloud ready, but we always run the tests on jenkins in case something breaks them.
The same should be done with the other components that are actually disabled by default IMO, tests should always be run for them.

@Itxaka IMHO then either we should add want_sahara=1 to the -gating job or add a -job-sahara that enables it but leaves it disabled by default. I think its not really nice to have different defaults between local and remote runs.

@dirkmueller Updated to set sahara deployed by default.


SCN object shaky

The plane and the cube are fairly stable, however when I add an SCN object, it is very unstable i.e. it moves around with the camera. Could you look into this?
P.S. great project overall!

Hi, @smahurkar
Would this issue be  that a moving object become unstable?
Can you give me sample code or snippets, if you can possible.

Looks like duplicate #8
I believe was solved in PR #41

@wlads thanks.
Once, I close this issue.


"ESBuildPlugin is no longer required for usage" deprecation warning

It seems like the latest versions of esbuild-loader no longer require ESBuildPlugin, and it shows a deprecation warning:
[esbuild-loader] ESBuildPlugin is no longer required for usage and will be removed in the next major release. Please refer to the docs and release notes for more info.

I'll be happy to submit a PR if you'd like.

Since we specify esbuild-loader as a regular dependency, we can safely remove the plugin once we upgrade the loader to ^v2.10.0.

187274d4c02924e1530573b5f92b1ae268fd4b26

Please could you publish 1.0.0-beta.1 which has this change to npm?

@ackl

Please could you publish 1.0.0-beta.1 which has this change to npm?

It's already there but with a beta install tag. 💨
https://www.npmjs.com/package/storybook-addon-turbo-build/v/1.0.0-beta.1


Move Greensboro Rising email

This looks like it was from Site Leaf, might need a once-over to check that the escaped chars render okay.

Ah I caught this and also moved it (too lazy to find the PR hah), so I'll close this out.


main package at $PROJECT/src is ignored

Consider this layout
$PROJECT
    src/
        main.go

main.go will be ignored. Similar to #45, this is a bug, but probably not helpful to the user as the command would be installed as $PROJECT/bin/src

As part of discussing #48 it was decided that source code at the root of $PROJECT/src was a mistake and the small convenience would only confuse when someone went to consume that package.
To close this issue, gb should be taught to reject source at the top level of $PROJECT/src/
cc @wkennedy

So, what this is saying is any code in $PROJECT/src will be ignored? I have main.go there as I would in a typical go project and its not compiled. My other packages are compiled. Do I need main in a different directory?

Any package at $PROJECT/src is ignored because it would have an invalid package import path.

On 18 Oct. 2016, at 18:35, Anfernee<EMAIL_ADDRESS>wrote:
So, what this is saying is any code in $PROJECT/src will be ignored? I have main.go there as I would in a typical go project and its not compiled. My other packages are compiled. Do I need main in a different directory?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

https://getgb.io/faq/#cannot-build-src-root


Thk 8 updates

Is there a reason for splitting updateLive()?

@alexjhawk Yes, update live was doing two main tasks, fetching which parameters should be read realtime, and doing the realtime update for a list of tags.  This functionality could be useful on its own.  The function was also getting a bit lengthy and hard to read.  I have since updated the commit body to add a little more detail.


CAS Management Logs went away with v4.2.1

After updating to the v4.2.1 and setting -Dlog4j.configurationFile for the CAS server to pick up our logging config, CAS Management App logs stopped being written out.  The app is deployed to same tomcat instance as a CAS Server instance, but management log entries do not show in cas.log either.  I have tried setting -Dlog4j.config.location for the management app since that was the property in cas-management.properties, but that did not work either.

I found that adding this to cas-management-webapp-support/build.gradle
runtime group: 'com.lmax', name: 'disruptor', version: disruptorVersion
Now is writing logs based on configuration that is set in -Dlog4j.configurationFile.  Is there plans to use separate config file for management app?

It should work the same way that CAS itself does. So in that sense, this is a bug but you could if you wanted to point to a different log file which does not use async loggers and that would make the problem go away. This needs to be fixed though.


Remove HttpLoggingInterceptor dep from production.

It's only used in DebugApiModule.

CI is probably borked with the license hash change...

Rebase please.


Login to the host app from web-component

We need the functionality to trigger login and signup via the host application from the web component (i.e. in the new downloads sidebar panel).
Initial thinking:

fire off login or signup custom events from the web component
pick these events up by the host
trigger the hosts typical login/signup flow

[ ] Users can log in or sign up to the projects site using these buttons~ (https://github.com/RaspberryPiFoundation/editor-ui/issues/745)

[ ] They are then also logged into to Editor
[ ] When logged in, their progress within the Project and their accompanying Editor code is saved, so that they can return to it

Ticket #740 offers further context on the log in, sign up and download functionality


where to get spotify accounts?

and how do i use this??

SpotifyChecker is a Penetration Testing Tool which allows you to Input raw combos(email@example.com:password) and Filter out hits with Requisite Details.
If you want a Spotify Account, Go Buy it. I am Not Responsible for any Malpractice. But i can tell you how to use the Program ;). Join me on THIS telegram Group and Ask how to use it. Anyone will let you know ;)


Improve resilience of Gradle wrapper download

from travis log, +./bin/flutter update-packages failed with
Downloading Gradle Wrapper...
Download failed.
URL: https://android.googlesource.com/platform/tools/base/+archive/0b5c1398d1d04ac245a310de98825cb7b3278e2a/templates/gradle/wrapper.tgz
Error: 429 Too Many Requests

Is there a Retry-After header we can check?

See also https://github.com/flutter/flutter/issues/19235

Can we close this? It looks like we now have retries for it, and I can't recall seeing this error for some time. Retries appear to have been added in https://github.com/flutter/flutter/pull/64512 - @jonahwilliams

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


cmd/cue: add "false" task as part of pkg/tool stdlib

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20241122172925-7d64696b0129

go version go1.23.2
      -buildmode exe
       -compiler gc
  DefaultGODEBUG asynctimerchan=1,gotypesalias=0,httpservecontentkeepheaders=1,tls3des=1,tlskyber=0,x509keypairleaf=0,x509negativeserial=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS linux
         GOARM64 v8.0
             vcs git
    vcs.revision 7d64696b01294c6dfae5b2d4ed1ba9a6d533fde8
        vcs.time 2024-11-22T17:29:25Z
    vcs.modified false
cue.lang.version v0.12.0

Is your feature request related to a problem? Please describe.
Writing a command that should fail in a given scenario is currently a bit clumsy and not cross-platform. Consider the following attempt:
exec cue cmd -t name=Paul hello
cmp stdout good.golden

! exec cue cmd -t name=Dave hello
cmp stderr bad.golden

-- foo_tool.cue --
package foo

import (
	"tool/cli"
	"tool/exec"
)

command: hello: {
	name: string @tag(name)

	if name != "Paul" {
		msg: cli.Print & {
			text: "You supplied a bad name: \(name)"
		}
		error: exec.Run & {
			$after: msg
			cmd:    "false"
		}
	}
	if name == "Paul" {
		msg: cli.Print & {
			text: "Welcome, Paul!"
		}
	}
}
-- good.golden --
Welcome, Paul!
-- bad.golden --
task failed: command ["false"] failed: exit status 1

Describe the solution you'd like
A pkg/tool stdlib task that behaves like false, with the option of also  printing an error message to stderr.
Describe alternatives you've considered
Continuing with the above, which is not cross-platform.
Additional context
Noting that this would potentially be a short-lived solution in the context of https://github.com/cue-lang/cue/issues/1325

That's exactly the kind of thing I had in mind. I think the word Fatal is also consistent with usage elsewhere in the Go stdlib, which continues to be a useful model for this kind of thing.
One slight tweak, I would define Fatal as follows:
Fatal: {
	// text is the text to be printed.
	text?: string
}

That way the text field aligns with cli.Print.


Add openapi doc

This adds a guide for using OpenAPI to the doc set.
The changes also add a card for the OpenAPI guide on the "Guides" overview page.
You can look at a rendered version of the guide by navigating to the .adoc file in my fork here: https://github.com/tjquinno/helidon/blob/add-openapi-doc/docs/src/main/docs/guides/07_openapi.adoc
It won't be identical to how it'd look on the web site but it's easier than reading the source.

In light of Joe's comment and a similar discussion in slack, I'm revising the write-ups into separate SE and MP documents. More pushes are in the works.

This recent push removes the draft single guide for SE and MP both and adds:

a new top-level nav item OpenAPI
a new SE-only page under that new nav item, and
a new MP-only page for OpenAPI under MicroProfile.

For ease of reading:
SE page: https://github.com/tjquinno/helidon/blob/add-openapi-doc/docs/src/main/docs/openapi/01_openapi.adoc
MP page: https://github.com/tjquinno/helidon/blob/add-openapi-doc/docs/src/main/docs/microprofile/08_openapi.adoc

Looks great. I'll modify my demos to include this and the division of mp and and se is definitely good. Super small items: MP: Can you remove "(1)" and "(2)" from the pom.xml snippets (make them separate blocks if you want to represent they are separate dependency types)and use the fully qualified names for OASFilter. Same for OASModelReader in SE.

Hey, @paulparkinson. I've changed to use fully-qualified names for the OAS interfaces. Good point.
On your other suggestion -- My intent in using the callouts was to just explain why we add each of the two dependencies. That they have different scopes is related but incidental.
Did you find the callouts distracting? Just plain not helpful? I'm trying to understand and address your underlying concern while still conveying in some way what I wanted to about the deps.

I'm just a big fan of copy paste as-is , that's all. :) The callouts are helpful - could you just put them outside the gray/ blocks?

Oh oh oh, I get what you mean now.
That is a bug (I think) in GitHub's AsciiDoc rendering. The callout symbols are in XML comments in the .adoc source but when displayed on the GitHub pages the comment chars are gone, leaving the (1) and (2) out there unguarded.
Note that in the Java example the callout symbols are still behind the // comment introducer.
When I build the docs and run them locally, our rendered pages exclude the callout tags entirely from the copied text.
I'll see if there's an open issue about this against GitHub's .adoc rendering.

I did not find an existing issue against GitHub's .adoc rendering, so I've created this one:
https://github.com/github/markup/issues/1276

Dan thought the GitHub/markup issue was better posted against Asciidoctor, so I closed the earlier issue and opened https://github.com/asciidoctor/asciidoctor/issues/3319


interact city is blocking while chat hide

chat windows is still blocking a button in budget windows and on bottom left where u cant interact city in hiding mode

Thanks for letting me know, I'll fix it today.

I too have noticed this issue, it seems that the chat box visually closes but not physically.


[DOC]: dfp-models in training-tuning-scripts does not have an environment.yml or requirements.txt

How would you describe the priority of this documentation request
High
Describe the future/missing documentation
https://github.com/nv-morpheus/Morpheus/tree/branch-23.11/models/training-tuning-scripts/dfp-models
The other folders like fraud-detection-models does have one as do the other folders
And I look at the first cell:
import os
import glob

import dill
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn.metrics import confusion_matrix
from sklearn.metrics import f1_score
import torch

from morpheus.models.dfencoder import AutoEncoder
from morpheus.utils.seed import manual_seed

I have the dev container launched in VSCode and tried to run that first cell with the default morpheus environnment that is activated but of course I frist get module dill not found.  Then doing conda list I don't see torch nor sklearn.
Then looking down further in that hammah-20211017.ipynb , I see a cell
# uncomment to train on other "role-g" instead of "user123"

# TRAINING_DATA_PATH = "../datasets/training-data/hammah-role-g-training-data.csv"
# VAL_DATA_PATH = "../datasets/validation-data/hammah-role-g-validation-data.csv"
# OUTPUT_MODEL_NAME = "hammah-role-g-20211017.pkl

I've run the script that downloads all the models and examples but don't see any role-g files at all so please advise.
Where have you looked?
See above.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I have searched the open documentation issues and have found no duplicates for this bug report

Hi @nyck33!
Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can!
In the mean time, feel free to add any relevant information to this issue.


refactor(console): add console library

Add console library with progress bar
Checklist
All items have to be completed before a PR is merged

[x] Adhere to Contribution Guidelines
[x] Updates to Decision Records considered?
[x] Updates to documentation at DX@Scale Guide considered?
[x] Tested changes?
[x] Unit Tests new and existing passing locally?

Codecov Report

Merging #1116 (d2582d1) into develop (40cd67b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1116   +/-   ##
========================================
  Coverage    52.38%   52.38%
========================================
  Files           74       74
  Lines         3287     3287
  Branches       716      716
========================================
  Hits          1722     1722
  Misses        1447     1447
  Partials       118      118

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[nixos-22.11] pulseaudio bluetooth broken: Could not create aptX capsfilter element

Describe the bug
I can't use my bluetooth headsets with  pulseaudio in nixos-22.11 -- there's no audio.
Normally, like on nixos-22.05, the OS auto-selects bluetooth audio devices for sound output and it mostly just works. But on nixos-22.11 it tries to connect, but then fails and I see this in the log:
Dec 01 13:45:34 bf-laptop pulseaudio[4156]: Could not create aptX capsfilter element
Dec 01 13:45:34 bf-laptop pulseaudio[4156]: aptX initialisation failed
Dec 01 13:45:34 bf-laptop wireplumber[4690]: Properties changed in unknown transport /org/bluez/hci0/dev_<REDACTED_BT_MAC_ADDR>/sep3/fd0
Dec 01 13:45:34 bf-laptop wireplumber[4690]: Properties changed in unknown transport /org/bluez/hci0/dev_<REDACTED_BT_MAC_ADDR>/sep3/fd0

(I included the wireplumber output too, because I figured it could be relevant -- is NixOS 22.11 using a mix of pipewire and pulseaudio stack?)
In pavucontrol, I can go to "Configuration" and try to select a profile for the headset.  If I select the A2DP one it quickly goes back to Off, and another Could not create aptX capsfilter element is shown in the log. Selecting the HFP profile works (poor sound quality).
Steps To Reproduce
Steps to reproduce the behavior:

Have working bluetooth headsets in NixOS 22.05
Upgrade to NixOS 22.11
Try to use headsets -- no audio and Could not create aptX capsfilter element in the log.

Expected behavior
I expect pulseaudio to keep working, as the NixOS module for the GNOME desktop pulls it in by default.
Additional context
Possible workarounds:

Use the HFP profile instead (poor audio quality).
Switch to pipewire.

Notify maintainers
@NixOS/gnome @lovek323

Looks like this error is caused by my own config, see https://github.com/NixOS/nixpkgs/pull/198617#issuecomment-1333760627.

Note to self: it looks like some state can be left in /var/lib/bluetooth that prevents an otherwise working setup from using a2dp profile (pacmd list | grep a2dp lists the profile as unavailable). Workaround sudo systemctl stop bluetooth && sudo mv /var/lib/bluetooth{,.bak} && reboot. Followed by re-pairing device(s).


Remove link to closed PR

The related https://github.com/laravel/telescope/issues/354 has been closed
(not verified it fixed the Enso issue as I don't have a test case that I'm sure doesn't work)

when it will be tagged and upgraded in enso I will remove this myself.


Collect and add recent Theta papers to list of publications (Help wanted: add yours!)

If you have or know about any (also BSc/Msc theses), please add them.
I'll add the recent SV-COMP tool papers.

Just to make it easier, see readme here


built-in halmos support

https://github.com/a16z/halmos/blob/main/.github/workflows/test-external.yml#L53-L72
Like this


[tool_crash] OSError: OS Error: Can't assign requested address, errno = 49

Command
flutter attach

Steps to Reproduce

...
...
...

Logs
OSError: OS Error: Can't assign requested address, errno = 49
#0      _NativeSocket.nativeSetRawOption (dart:io-patch/socket_patch.dart:1699:74)
#1      _NativeSocket.setRawOption (dart:io-patch/socket_patch.dart:1595:5)
#2      _RawDatagramSocket.setRawOption (dart:io-patch/socket_patch.dart:2527:56)
#3      MDnsClient.start (package:multicast_dns/multicast_dns.dart:141:16)
<asynchronous suspension>
#4      MDnsObservatoryDiscovery.query (package:flutter_tools/src/mdns_discovery.dart:63:7)
<asynchronous suspension>
#5      MDnsObservatoryDiscovery.getObservatoryUri (package:flutter_tools/src/mdns_discovery.dart:153:52)
<asynchronous suspension>
#6      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:277:11)
<asynchronous suspension>
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#8      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:224:5)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.10.5, on macOS 13.1 22C65 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.10.5 at /Users/wangzhiming26/flutter_2.10.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (11 个月前), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
    • Android SDK at /Users/wangzhiming26/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc2
    • ANDROID_HOME = /Users/wangzhiming26/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home/Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home/bin/java
    ✗ Cannot execute /Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home/Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home/bin/java to determine the version

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[!] Android Studio (version 2022.1)
    • 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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (2 available)
    • iPhone 14 Pro Max (mobile) • 9C287E14-5926-418A-92DF-50E43138D2EA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 92.0.4515.131

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

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.jd.massmail_flutter
iOS bundle identifier: com.jd.massmailFlutter
Creation channel: unknown
Creation framework version: 8af6b2f038c1172e61d418869363a28dffec3cb4
Plugins
connectivity-3.0.6
connectivity_for_web-0.4.0+1
connectivity_macos-0.2.1+2
device_info_plus-4.0.0
device_info_plus_linu

Closing this as a duplicate of https://github.com/flutter/flutter/issues/97489.
Kindly subscribe to the issue linked above for updates.
Thank you


Allow to enable/disable verbose mode

Having a big project with Wintersmith makes the terminal flooded by the project structure in each build.
 env.logger.info "rendering tree:\n#{ ContentTree.inspect(contents, 1) }\n"

https://github.com/jnordberg/wintersmith/blob/master/src/core/renderer.coffee#L40
My suggestion is to make logging optional via config.js in this way will be available in the CLI and custom builds.

Just to clarify things, i know there is a wintersmith build -q option to only show critical errors.
What i mean is an implementation that also supports quite mode on custom builds via:
    var env = wintersmith(config);
    env.build(function(error) {
		if (error) throw error;
	});

If you construct the environment you can pass your own logger.
var env = new wintersmith.Environment(config, workDir, logger)

Got it working reimplementing those methods:
var logger = {
	error: function(error) {
		console.log("error", error);
	},

	warn: function(warn) {
	},

	verbose: function(verbose) {
	},

	silly: function(silly) {
	}
}

but i had to add "ignore": [], rule at my config.json, otherwise i got a JS error:
node_modules/wintersmith/lib/core/content.js:275
      if (env.config.ignore.length > 0) {
                           ^

TypeError: Cannot read property 'length' of undefined
    at filterIgnored (/Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/lib/core/content.js:275:28)
    at fn (/Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:746:34)
    at /Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:1213:16
    at /Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:166:37
    at /Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:706:43
    at /Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:167:37
    at Immediate._onImmediate (/Library/WebServer/Documents/comprea/frontend/node_modules/wintersmith/node_modules/async/lib/async.js:1206:34)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)


MOD: add authority of grpc & add a new demo case

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Wechaty Contributors Nomination
Link to https://github.com/wechaty/PMC/issues/16


PhantomJS doesn't let go of memory

I've got a phantomjs/casperjs spider (basically something like this: http://planzero.org/blog/2013/03/07/spidering_the_web_with_casperjs) and when I run it and then open another terminal and run top to look at memory usage, the script just keeps using more and more memory until it eventually crashes. Is there a better way to run this so it doesn't do this?
Edit: I think it has to do with the page maybe staying open while it goes to other pages? How can I properly close a page in the context of this scraper?

Related to https://github.com/ariya/phantomjs/issues/13923?

Let's track this in https://github.com/ariya/phantomjs/issues/11390


Update CI to use actions from eProsima-CI

Codecov Report
Attention: Patch coverage is 60.06711% with 238 lines in your changes are missing coverage. Please review.

Project coverage is 50.21%. Comparing base (775f9c5) to head (4343371).

Files
Patch %
Lines

...cpp/src/cpp/types/impl/TemplatesDataTypeCdrAux.ipp
59.09%
9 Missing and 45 partials :warning:

...es/multiservice/impl/MsReferenceDataTypeCdrAux.ipp
39.02%
16 Missing and 9 partials :warning:

...src/cpp/types/status/impl/StatusDataTypeCdrAux.ipp
39.02%
16 Missing and 9 partials :warning:

...p_cpp/src/cpp/types/impl/GenericDataTypeCdrAux.ipp
51.11%
5 Missing and 17 partials :warning:

...ypes/multiservice/impl/MsRequestDataTypeCdrAux.ipp
37.14%
14 Missing and 8 partials :warning:

amlip_cpp/src/cpp/types/impl/TemplatesDataType.ipp
81.73%
0 Missing and 21 partials :warning:

...p/src/cpp/types/impl/AmlipGenericTopicDataType.ipp
36.00%
7 Missing and 9 partials :warning:

...types/model/impl/ModelStatisticsDataTypeCdrAux.ipp
65.95%
2 Missing and 14 partials :warning:

...pp/src/cpp/types/id/impl/AmlipIdDataTypeCdrAux.ipp
65.78%
1 Missing and 12 partials :warning:

tools/agent_tool/src/cpp/main.cpp
0.00%
9 Missing :warning:

... and 5 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
- Coverage   50.32%   50.21%   -0.11%
==========================================
  Files          63       64       +1
  Lines        2633     2993     +360
  Branches      968     1100     +132
==========================================
+ Hits         1325     1503     +178
- Misses        603      665      +62
- Partials      705      825     +120

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Using Device Twin Tags Deploys Incorrectly Named Edge Modules

Describe the bug
When deploying 2.6 IIoT Stack, we add the following tags to our device twin to ensure the correct edge modules are deployed to our gateway device:
"tags": {
    "__type__": "iiotedge",
    "os": "Linux"
}

However, when trying to hit the rest endpoints like activate an endpoint, we have this error:
ErrorCode:ModuleNotFound;Device <device-name> Module opctwin at IotHub <iothub-name> not registered.

Because of this error, I noticed the automatically deployed edge modules were named twin and publisher but my error message seemed to signal that these edge modules need to be named opctwin and opcpublisher. Once changing the names, activating endpoint works but then after a few minutes, the edge modules get named back to twin and publisher. I am assuming this is because the tags are checking that the edge modules are named twin and publisher.
Expected behavior
Using tags in device twin will deploy correctly named modules to the gateway.

Can you give us some details on how are you trying to activate the endpoint? are using the cli, or swagger or the Engineering tool?

We are using Postman. Following the Postman tutorial you have in your docs.
On Thu, Mar 5, 2020 at 11:52 PM Cristian Pogacean<EMAIL_ADDRESS>wrote:

Can you give us some details on how are you trying to activate the
endpoint? are using the cli, or swagger or the Engineering tool?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/Industrial-IoT/issues/296?email_source=notifications&email_token=ADT56UI6WPMKX5AI3KEHHMTRGCTUJA5CNFSM4LCQ34L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOANPTI#issuecomment-595646413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADT56UIWVILQTADMHDJ53HLRGCTUJANCNFSM4LCQ34LQ
.

This looks like an issue in our docs regarding name of the module identity.

Closing as no repro.


State machine code refactor

A small code refactor of the state machine after the redis integration.
Mainly I renamed some Error enums and removed / simplified log messages.
Furthermore I changed the sum/update/sum2_count types from usize to u64.
I tried to split the changes into several commits to make the review easier.

@little-dude
I added the word outdated to the log message
https://github.com/xaynetwork/xaynet/pull/559/commits/adc693754a3c2bb265fb7c43530af9bedff2a608#diff-666c5681e0a742be1a2444a4a28595b428b67ad1db8c9495e3bb2f71e2649fb8R236


fix yahoo crypto links

Fix http://finance.yahoo.com/crypto . It will automatically redirect to http://finance.yahoo.com/markets/crypto/all with browser but not for curl.

Thank you very much @zanhsieh!


Change PluginEditor to Editor

solved by @jpuri here: https://github.com/nikgraf/react-unicorn-editor/commit/feb1c53ba407bbe20bda581d56987ae24b07dbdb


Rename SKIN_TONE label to Skin Tone

Right now the label (which is user facing) is named the same as the variable. This names it more like an option, which is consistent with the label for the keyword.

@vitorgalvao hi! i forgot about it, v1.8.2 should have your change!


TripleEquals not working

I'm trying to reproduce the type-safe should === example from the docs on Scalatest 3.0.0:
scala> import org.scalactic.TypeCheckedTripleEquals._
import org.scalactic.TypeCheckedTripleEquals._

scala> import org.scalatest.Matchers._
import org.scalatest.Matchers._

scala> Some(2) should === (2)
org.scalatest.exceptions.TestFailedException: Some(2) did not equal 2
  at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
  at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6798)
  ... 42 elided

The code compiles and fails at runtime, instead of at compile-time like it's supposed to.
Am I doing something wrong or is ==='s type-safety-checking broken?

Matchers has a default anything goes equality policy that is overriding the one you imported above it. You need to either import Matchers first, or just mix in TypeCheckedTripleEquals after Matchers.
scala> import org.scalatest.Matchers._
import org.scalatest.Matchers._

scala> import org.scalactic.TypeCheckedTripleEquals._
import org.scalactic.TypeCheckedTripleEquals._

scala>  Some(2) should === (2)
<console>:27: error: types Some[Int] and Int do not adhere to the type constraint selected for the === and !== operators; the missing implicit parameter is of type org.scalactic.CanEqual[Some[Int],Int]
        Some(2) should === (2)
                ^

Ah, I see, I'd mixed up the order vs. the example in the docs, thanks!

Is there any way to make this less error-prone? It is so easy to get it wrong, because both ways compile.
Perhaps a new matcher, like shouldBeEq that enforces both sides to have the same type without relying on the user to get the implicits right?

@rethab I think that for Scala 3 we will try to hook into multiversal equality by default.

That sounds great, thanks @bvenners