Vuln reported on the patched/fixed older versions

Is this a BUG REPORT or a FEATURE REQUEST? BUG REPORT
Version of Anchore Engine and Anchore CLI if applicable:
Anchore engine version: v0.10.0
What happened:
We scanned a docker image using the Anchore APIs and it reported CVE-2020-25637 vulnerability in three libvrt packages. The json snippet from the results is:
    "vulnerabilities": [
        {
            "feed": "vulnerabilities",
            "feed_group": "alpine:3.15",
            "fix": "6.8.0-r0",
            "nvd_data": [
                {
                    "cvss_v2": {
                        "base_score": 7.2,
                        "exploitability_score": 3.9,
                        "impact_score": 10.0
                    },
                    "cvss_v3": {
                        "base_score": 6.7,
                        "exploitability_score": 0.8,
                        "impact_score": 5.9
                    },
                    "id": "CVE-2020-25637"
                }
            ],
            "package": "libvirt-client-6.6.0-r4",
            "package_cpe": "None",
            "package_cpe23": "None",
            "package_name": "libvirt-client",
            "package_path": "pkgdb",
            "package_type": "APKG",
            "package_version": "6.6.0-r4",
            "severity": "Medium",
            "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25637",
            "vendor_data": [],
            "vuln": "CVE-2020-25637"
        },
       {
            "feed": "vulnerabilities",
            "feed_group": "alpine:3.15",
            "fix": "6.8.0-r0",
            "nvd_data": [
                {
                    "cvss_v2": {
                        "base_score": 7.2,
                        "exploitability_score": 3.9,
                        "impact_score": 10.0
                    },
                    "cvss_v3": {
                        "base_score": 6.7,
                        "exploitability_score": 0.8,
                        "impact_score": 5.9
                    },
                    "id": "CVE-2020-25637"
                }
            ],
            "package": "libvirt-6.6.0-r4",
            "package_cpe": "None",
            "package_cpe23": "None",
            "package_name": "libvirt",
            "package_path": "pkgdb",
            "package_type": "APKG",
            "package_version": "6.6.0-r4",
            "severity": "Medium",
            "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25637",
            "vendor_data": [],
            "vuln": "CVE-2020-25637"
        },
       {
            "feed": "vulnerabilities",
            "feed_group": "alpine:3.15",
            "fix": "6.8.0-r0",
            "nvd_data": [
                {
                    "cvss_v2": {
                        "base_score": 7.2,
                        "exploitability_score": 3.9,
                        "impact_score": 10.0
                    },
                    "cvss_v3": {
                        "base_score": 6.7,
                        "exploitability_score": 0.8,
                        "impact_score": 5.9
                    },
                    "id": "CVE-2020-25637"
                }
            ],
            "package": "libvirt-libs-6.6.0-r4",
            "package_cpe": "None",
            "package_cpe23": "None",
            "package_name": "libvirt-libs",
            "package_path": "pkgdb",
            "package_type": "APKG",
            "package_version": "6.6.0-r4",
            "severity": "Medium",
            "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25637",
            "vendor_data": [],
            "vuln": "CVE-2020-25637"
        },
.....

More evidence on the libvrt versions inside our image:
$ docker run -it --rm --entrypoint bash stunnel-sidecar:0a0d82ec9f135fd38056dadbaddef1afee41dc34-amd64
bash-5.1$ apk -v info | grep libvirt
libvirt-libs-6.6.0-r4
libvirt-6.6.0-r4
libvirt-client-6.6.0-r4
bash-5.1$

What did you expect to happen:
According to Alpine (see https://security.alpinelinux.org/vuln/CVE-2020-25637), version 6.6.0-r4 was patched and Anchore should not report a vulnerability but it does. Anchore needs to recognize that upgrading to a later version with the fix is not the only solution when the fix has also been backported to older versions.

I think this is the same as anchore/grype#601.


navbar-text floating to right in top fixed fluid container navbar issue in 3.3.2

I found a problem when trying to add .navbar-text .navbar-right in top-fixed-navbar with fluid container using 3.3.2. The text doesn't have negative right margin so that it too close to screen border. It work just fine if using nav list. Here example of the problem. It has negative right margin when using 3.1.1.

@cvrebert I think I can put together a fix for this pretty easily but what does the ~ do here:
https://github.com/twbs/bootstrap/blob/master/less/navbar.less#L385
Wasn't able to find it clearly in the LESS documentation so want to ask about it and understand it better before putting together a fix

@kkirsche https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_selectors

@kkirsche i solved this by adding the old 3.1.1 css style in navbar, but i'm not sure if this is the right approach.
.navbar-text.navbar-right:last-child{
    margin-right: 0px;
}

Thanks, @cvrebert / @ronypur.
Fix:
.container-fluid > .navbar-text.navbar-right:last-child{
    margin-right: 0px;
}

http://jsfiddle.net/1L3oub0o/ (moved to JSFiddle just to reduce the amount of code displayed in the CSS window). This spacing issue doesn't seem to occur within .container but rather only on .container-fluid.

@kkirsche The fix does not work in your own example because the .navbar-text is not a child of .container-fluid. It's a child of .navbar-collapse. The example is ineligible because you're using .container instead of .container-fluid.
I propose either using (without ">"): http://jsfiddle.net/uzgf29w4/
.container-fluid .navbar-text.navbar-right:last-child{
    margin-right: 0px;
}

or http://jsfiddle.net/gbh5uu6m/
.container-fluid > .navbar-text.navbar-right:last-child,
.container-fluid > .navbar-collapse > .navbar-text.navbar-right:last-child{
    margin-right: 0px;
}

I still have this issue in 3.3.4.

Punting discussion to the pull request, closing this as a dupe.

Hi,
Any news about this, using 3.3.5 i have the same issue :(
For now i resolve adding to the  a padding-right:15px;

@michaelsogos 3.3.6 is the latest version...
Regarding v3 navbar problems, see https://github.com/twbs/bootstrap/issues/18355#issuecomment-160499892
Sorry. We hope to do better with Bootstrap v4's navbar.


[feat/admin api] enable CORS support

Implementing CORS support in the Admin API #298.
This is the simplest way to do it, as I see no way to do it once Lapis has started processing the request.
Thoughts @ajayk @thefosk ?

Looks good as a first implementation.


24.06.83204 - delegate hf

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: 24.06.83204 - delegate hf
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://667483923bf94caeac4ac9fd--harness-developer.netlify.app


fix nouislider, random walk example, pydocstyle

Codecov Report

Merging #120 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   68.55%   68.55%
=======================================
  Files          14       14
  Lines         795      795
=======================================
  Hits          545      545
  Misses        250      250

Impacted Files
Coverage Δ

bowtie/control.py
62.82% <ø> (ø)
:arrow_up:

bowtie/visual.py
57.69% <ø> (ø)
:arrow_up:

bowtie/_layout.py
79.62% <ø> (ø)
:arrow_up:

bowtie/__init__.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Only propagate OPENJ9_BRANCH to tests when buiding openj9

What are you trying to do?
Build Dragonwell from a SCM_REF and run tests
Expected behaviour:
The pipeline runs successfully.
Observed behaviour:
Failed due to unfound reference in openj9.
http://ci.dragonwell-jdk.io/job/Test_openjdk11_dragonwell_extended.openjdk_x86-64_linux/1/console

Any other comments:

In 96e2c91efe756ae6121b06e593f21b905a081303
Set OPENJ9_BRANCH and JDK_BRANCH to release_tag in test pipeline (#2166)
We passed SCM_REF to OPENJ9_BRANCH  no matter what, I think maybe we only need to do this when building openj9.


Fix PRIMARY KEY with AUTOINCREMENT problem (Northwind test database)

CREATE TABLE [Categories]
(      [CategoryID] INTEGER PRIMARY KEY AUTOINCREMENT,
       [CategoryName] TEXT,
       [Description] TEXT
);

INSERT INTO Categories VALUES(null,'Beverages','Soft drinks, coffees, teas, beers, and ales');
INSERT INTO Categories VALUES(null,'Condiments','Sweet and savory sauces, relishes, spreads, and seasonings');

gives:
    Error: Cannot insert record, because it already exists in primary key

See test284.js

The same in w3.sql:
CREATE TABLE Categories (
    CategoryID INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
    CategoryName NVARCHAR(255),
    Description NVARCHAR(255)
);
INSERT INTO Categories (CategoryName,Description)
    VALUES ("Beverages","Soft drinks, coffees, teas, beers, and ales");
INSERT INTO Categories (CategoryName,Description)
    VALUES ("Condiments","Sweet and savory sauces, relishes, spreads, and seasonings");

Fixed. WIll be included in 0.1.5

Hi I use @module alasql
@version 0.4.5-develop-1576
But I guess this issue is still exist. Or it's my mistake. The code and console logs are like this;
insert: function(values) {
        var me = this;
        var vals = null;
        return {
            into: function(tablePath){
                if(values.constructor.name === "Array"){
                    vals = values;
                } else {
                    vals = [values];
                }
                alasql('INSERT INTO '+tablePath+' VALUES ?', vals);
            }
        };
}

goc.aladb.createStructureFromEntities()
DB Created : USERS
{id: "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT", name: "NVARCHAR(20)", surname: "NVARCHAR(20)", age: "NUMBER"}
    age: "NUMBER"
    id: "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT"
    name: "NVARCHAR(20)"
    surname: "NVARCHAR(20)"__proto__: Object
{id: "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT", name: "NVARCHAR(20)", surname: "NVARCHAR(20)", message: "STRING"}
    id:"INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT"
    message:"STRING"
    name:"NVARCHAR(20)"
    surname:"NVARCHAR(20)"
goc.aladb.insert(new USER()).into("USERS.USER");
goc.aladb.select("* from USERS.USER")
[{…}]
0:
   age: 0
   id: undefined
   name: ""
   surname: ""
   __proto__:
       Objectlength: 1__proto__: Array(0)

Thanks for your help.

http://jsfiddle.net/80smosgp/3/
alasql v.0.3.9 worked as expected
the result is:
goc.aladb.createStructureFromEntities()
DB Created : USERS

TABLE Created: USER ->
{
    id: "INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT",
    name: "NVARCHAR(20)",
    surname: "NVARCHAR(20)",
    age: "NUMBER"
}

TABLE Created: MESSAGES ->
{
    id: "INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT",
    name: "NVARCHAR(20)",
    surname: "NVARCHAR(20)",
    message: "STRING"
}

goc.aladb.insert(new USER()).into("USERS.USER");
goc.aladb.insert(new USER()).into("USERS.USER");

goc.aladb.select("* from USERS.USER")
[{…}]
   0: {
        id: 1,
        name: "",
        surname: "",
        age: 0
   }
   1: {
        id: 2,
        name: "",
        surname: "",
        age: 0
   }

As this task is closed I have extrated your inputs into #986


Feature Request - Delete Forever

It would be nice to have the 'Delete Forever' button, to permanently delete an email just like gmail has.

merging into #599


Bug for supporting sample rate  more than 16000hz.

In fact  this project's implement only support  8khz, 16khz sample
In the official implement, in order to support 32khz and 48khz, the input signal should be processed by a splitting filter and generate two bands or three bands signal, then applying noise suppression and synthesis back to one bank signal. I have review the codes and cannot find the related functions.
It‘’s a bug that this project don't contain these processing. In #1 , modfiy WebRtcNs_InitCore function is useless .

In fact this project's implement only support 8khz, 16khz sample
In the official implement, in order to support 32khz and 48khz, the input signal should be processed by a splitting filter and generate two bands or three bands signal, then applying noise suppression and synthesis back to one bank signal. I have review the codes and cannot find the related functions.
It‘’s a bug that this project don't contain these processing. In #1 , modfiy WebRtcNs_InitCore function is useless .

非常好，这个问题当时确实没细看，有心了。
近期一直很忙，没什么时间维护了。
回头再重新梳理一下。

感谢您的分享。
大致读了一下您的代码，想请教您一下，原始的WebRTC中的语音估计器中，利用的就是prior SNR- based Wiener Filter 吗？还是您改进后的结果？

@Windstudent 原始就是如此,没有修改.

In fact this project's implement only support 8khz, 16khz sample
In the official implement, in order to support 32khz and 48khz, the input signal should be processed by a splitting filter and generate two bands or three bands signal, then applying noise suppression and synthesis back to one bank signal. I have review the codes and cannot find the related functions.
It‘’s a bug that this project don't contain these processing. In #1 , modfiy WebRtcNs_InitCore function is useless .

You can modify the Line 765 like below in the noise_suppression.c
if (fs == 8000 || fs == 16000 || fs == 32000 || fs == 48000)
Then it can support 32kHz and 48kHz and can do noise suprression.
Please see https://github.com/HackWebRTC/webrtc/blob/hack_webrtc/modules/audio_processing/legacy_ns/ns_core.c (WebRtcNs_InitCore())

NS采样率不阉割版本 ，可移步至仓库:
WebRTC_NS_CPP


lib/internal: fix vet errors, and error handling

This introduces go vet, and fixes error handling in backend/file.
Fixes #194

sorry for the noise, github was drunk, closing this one.


Error messages are not shown - fails invisibly

Spotted while testing out https://github.com/datasette/datasette-sqlite-authorizer

When the server returned an error the update UI didn't reflect that error.
Steps to reproduce:
datasette --version # Should be 1.0a12
datasette install datsaette-write-ui
datasette install datasette-sqlite-authorizer
wget https://datasette.io/content.db
datasette content.db --root --secret 1 \
  -s plugins.datasette-sqlite-authorizer.read_only_tables '[{"table": "news"}]'

Then try to edit an item in the news table.

Not a big deal, because when we use datasette-sqlite-authorizer we can pair it up with a permission check that denies insert-row and update-row.

Delete row has the same problem - it fails silently.


Redesign facility grid layer

Overview
Incorporate design feedback into a revised facility grid layer that uses a hexagonal grid and circular symbology rather than a square grid.
Connects #768
Demo

Notes
We implemented the first grid layer to aggregate facilities at low zoom levels in #755. The general consensus was that the grid was revealing interesting patters in the data, but had some problems.

The sparseness of the grid made the layer look broken, as if it was not finished loading.
It was not obvious that the grid squares were interactive.
Distortion of the squares at very low zoom levels.

Some potential modifications were discussed.

Show empty grid cells with a faint border. Clip them to land masses.
Use circles instead of squares.
Use different color ramps.
Use a hex grid instead of a square grid.

I added the empty grid cells with a faint border since it was quick to do, but did not go to the trouble of loading land mass boundaries and modifying the query to clip the data. It looked very busy just over land and did not address the other shortcomings of the grid approach.
Implementing circular symbology was also relatively straightforward and produced much more pleasing results.

In order to remove as much of the gap between the circles as possible I researched generating a hex grid rather than a square grid and found an easy-to-use postgres function to build it. Using a function also eliminates an inefficiency in our grid approach, where we generated and sent a large SQL string to construct the grid for each tile. The tradeoff for using the hex grid was the need to calculate the bounds of each feature rather than use a ZXY triple, but the benefits far outweighed the cost.
Testing Instructions

Run ./scripts/update to ensure the required migration is run
Run ./scripts/manage dbshell and verify the current version number.

openapparelregistry=# SELECT version FROM api_version;
 version
---------
       8

Run ./scripts/manage incrementtileversion to ensure the cache is invalidate.
Run ./scripts/manage dbshell and verify the current version number has been incremented.

openapparelregistry=# SELECT version FROM api_version;
 version
---------
       9

Browse the and verify that grid circles display a color and size relative to the number of points they represent.
Verify that clicking a circle zooms to the extent.
Verify that the grid is filtered properly when searching.

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Just as a placeholder we may want another card to redesign the legend.

Good idea. I created #798 to cover a redesign and hiding the legend when the grid layer is not visible.


The "severity:security" label

The "severity:security" label sounds like a very severe thing. The strong, deep blue color suggests the same.
I would prefer if we don't use this as a label for issues, questions or changes that aren't severe security issues.
For example, if we try to improve performance, portability, code quality or add a feature to base\Security, the scary blue "severity:security" label seems misleading.

OK :)


How to add role assignments?

I am currently trying to run the microservice protege using the docker compose file. I finally got everything set up after fixing some issues with keycloak, etc. I even managed to create a user in key cloak and successfully log in.
However, it seems that the user is not equipped with any (built-in) roles and I struggle to give him any. I debugged my way into the mongo DB and the role assignments collection and was trying to give my "test" user the project creator role.
webprotege> db.RoleAssignments.insert({"username": "test", "assignedRoles":["ProjectCreator"], "roleClosure": [], "actionClosure": []})

But that does not seem to work, I can still not see the "create project" button.
Am I on the right direction? It would be fantastic if the docker compose example would have already an existing user :(

At the moment, a way around this, is to sign into keycloak at http://webprotege-local.edu/auth/ and add the "ProjectCreator" client role (Users > {userName} > Role Mappings > Client Roles (select webprotege) and then add ProjectCreator

At the moment, a way around this, is to sign into keycloak at http://webprotege-local.edu/auth/ and add the "ProjectCreator" client role (Users > {userName} > Role Mappings > Client Roles (select webprotege) and then add ProjectCreator

aaah! that worked :) I was looking for roles but did not have a look at the client roles.


Support lazy loading attribute

It would be nice to either mark all gist scripts as loading="lazy" or have an option to do so per tag. See https://web.dev/native-lazy-loading/

I submitted a quick PR for the former case, feel free to close if that's not desired behavior.


Create pure go crypto impl

This is WIP.

This PR relies on https://github.com/hyperledger-labs/private-data-objects/pull/323 ✅
Attestation conversion needs to be tested with HW mode and IAS

Changes:

updates PDO to the latest version, including RSA key size bump to 3072bit and flexible elliptic curve parameters
Introduces a crypto provider service (csp) which comes with a pdo-based
crypto implementation and a pure go implementation.
Existing crypto test suite is extended with test cases using both csp
implmentations
CSP impl compatibility test ensures both implementation are working
smoothly together
FPC client sdk uses go-based CSP by default

Signed-off-by: Marcus Brandenburger<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #601
Special notes for your reviewer:
Does this PR introduce a user-facing changes and/or breaks backward compatability?:

Build breaks due to missing PDO crypto patch.

Note when testing manually make sure that common/crypto/pdo HEAD is at latest commit  7546768. Otherwise testing may fail with unsupported eliptic curve ...


Calling the SendTransaction function won't pull up the wallet?

I'm having a strange problem: the first time I link tg wallet within the app, it automatically pulls up the wallet, if I close the wallet at that point and perform an action to initiate a transaction: SendTransaction, the wallet doesn't automatically pull up and I have to manually open the wallet to see the confirmation options for the transaction? What is the problem?

Hello I am having the same issue with telegram wallet or tonkeeper, did not try with other wallets.
This feature is quite important for my project, would be nice to have.


Knights movement

If the knight is either blocked or can strike he does not check other options
See Tests for Blocked
Seems like there is some other problem with routine, as the knight-moves works.

In Moves the "PossibleMoves" seems correct, so the problem must be somewhere else!

Ok, maybe:
The Join/Concat in "routine" could be wrong, as for knight moves and king moves (and pawns?) i have a different approach than for diagonal movers. Maybe check this out.

Ok, I checked it with a separate method "validKnightMoves" - same result.


(Subtask) Stress test S3 integration

As a dotscientist, I want Dotmesh's ability to pull from S3 into dots to work reliably, so that I can use them in my dotscience tasks.
Estimate for this issue is 2d, but is already included in epic's total.
ACs

[x] An S3 stress test is written. It needn't be run by default in S3, but it should at least exist as a manual task.
[ ] It should pull from an S3 bucket containing a mix of hundreds of thousands of small and large (multi-gigabyte) files, with hundreds of versions.
[x] It should confirm that everything gets pulled into Dotmesh correctly.
[ ] It should confirm that no unnecessary disk storage is used.
[ ] It should confirm that pulling from S3 happens in a reasonable timeframe.

Stress test bucket is now created as per the script; tests need elaborating to check more stuff (including local disk space usage and time).


fix: use default text for dialog options if text is untranslated

At this moment default text is not being using in esc_dialog_option.gd, this PR fixes that.
I included some minor fixes also:

fix: delete .translation files (.translation is in .gitignore but I think they were commited before)
fix: delete unused translated texts (ROOM6_dialog_1 and ROOM6_dialog_2)
fix: typo in one translated text (missing tilde in ROOM1_look_wall_item_4 spanish translation)

I forgot to mention that I added a default text in the room6 dialog with the worker so the issue can be tested.

Looks good to me. Waiting for other approvals. Thank you very much!

I think it best to keep the updated method name close to the original intent of the referenced variable. Past that it looks ok to me.

Done!


Is DepthWiseConv2dImplicitGEMM absolutely necessary?

Hello DingXiao
Can we just use the Conv2D in torch?
Are there other effects besides computational efficiency?
BR

Of course you can use nn.Conv2d. Our implementation is just faster.

OK.
Thanks for your reply!


change end point to new FCM platform.

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn more. If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future.

@appleboy Its a new gem since fcm also adds some other features which will not be in gcm. Check here: https://github.com/spacialdb/fcm

@kashif It is ok. I don't know you already create another repo. Thanks.


Update on GamesWindow.xaml

Just some text shortening.

Hi there @SoulRepo, i'll check the project this weekend (05/10/19) and update the build version. Please leave the official builds to the main mantainer!


Parser changes for readonly to final object field changes

Description:
Need to do the following:

allow final fields in object constructors and class definitions, and remove readonly fields
remove readonly field from object type descriptors (i.e., object-field-descriptor)

See https://github.com/ballerina-platform/ballerina-spec/issues/580

@SupunS in the error handler there was no path with readonly in object-field. Is it intentional? Shall I implement it now for final?

Changes by @lochana-chathura that fixed this were merged with https://github.com/ballerina-platform/ballerina-lang/pull/25784.


:bulb: :memo: Update documentation to use ember-freestyle

Use ember-freestyle to make the tests/dummy/app/template/application.hbs into a better documentation page.
Did you confirm this fix/feature is something that is needed? Yes, #10
Did you write automated tests? No, it is just docs
Did you add documentation for the changes you made? Uh, yeah 😜
In lieu of a style guide, did you match your code style to the rest of the project? It is just docs


Unexpected end of file 'tensorflow.scn'

This issue belong to https://github.com/godot-extended-libraries/godot-tensorflow-demo
Guess we need the *.tscn version?
I checked with https://docs.godotengine.org/en/3.1/development/file_formats/tscn.html to learn *.scn are compiled files.

I tried earlier version as 54bb8f09a57c490c69e9484f783dce2b528a0847 removed the *.tscn
Hope you can fix this as you did awesome work with it.
I wanted to (maybe) use this for the https://globalgamejam.org/

Please update.

Same error but now on the tensorflow.tscn
File look find as in cat tensorflow.tscn | cut -c 1-120 shows something human readable.
Godot Engine v3.2.beta.custom_build (c) 2007-2019 Juan Linietsky, Ariel Manzur & Godot Contributors.
--- GDScript language server started ---
Switch Scene Tab
 Cannot get class 'TensorflowModel'.
 scene/resources/resource_format_text.cpp:499 - res://tensorflow.tscn:5 - Parse Error: Can't create sub resource of type: TensorflowModel
 Failed to load resource 'res://tensorflow.tscn'.
 Failed loading resource: res://tensorflow.tscn.
 editor/editor_data.cpp:563 - Index p_idx=1 out of size (edited_scene.size()=1)
Switch Scene Tab
 Cannot get class 'TensorflowModel'.
 scene/resources/resource_format_text.cpp:499 - res://tensorflow.tscn:5 - Parse Error: Can't create sub resource of type: TensorflowModel
 Failed to load resource 'res://tensorflow.tscn'.
 Failed loading resource: res://tensorflow.tscn.
 editor/editor_data.cpp:563 - Index p_idx=1 out of size (edited_scene.size()=1)

cat tensorflow.tscn | cut -c 1-120
gives
[gd_scene load_steps=3 format=2]

[ext_resource path="res://grace_hopper.png" type="Texture" id=1]

[sub_resource type="TensorflowModel" id=1]
data = PoolByteArray( 24, 0, 0, 0, 84, 70, 76, 51, 0, 0, 14, 0, 24, 0, 4, 0, 8, 0, 12, 0, 16, 0, 20, 0, 14, 0, 0, 0, 3,
path = "res://mobilenet_v1_1.0_224.tflite"

[node name="Spatial" type="Spatial"]

[node name="TensorflowAiInstance" type="TensorflowAiInstance" parent="."]
label_path = "res://labels.txt"
texture = ExtResource( 1 )
tensorflow_model = SubResource( 1 )

Manual editing the tensorflow.tscn by removing subresource TensorflowModel made the scene loadable but how to re-add it I dunno. res://mobilenet_v1_1.0_224.tflite is not in my resource list.
I learned GDScript and can build a small game but not sure what I can do next :(

Are you on discord? Can do a call?

Are you using the specific version of the godot engine in https://github.com/godot-extended-libraries/godot-tensorflow-godot?

After compiled again using --jobs=8 for better performance the error remains
./src/godot/bin/godot.osx.tools.64 --path ./godot-tensorflow-demo/
arguments
0: ./src/godot/bin/godot.osx.tools.64
1: --path
2: ./godot-tensorflow-demo/
Current path: /Users/clemens/Sites/Godot/godot-tensorflow-workspace
Godot Engine v3.2.beta.custom_build.18386bcaf - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon R9 M370X OpenGL Engine

Registered camera FaceTime HD Camera (Display) with id 1 position 0 at index 0
Registered camera FaceTime HD Camera with id 2 position 0 at index 1
ERROR: instance: Cannot get class 'TensorflowModel'.
   At: core/class_db.cpp:538.
ERROR: poll: res://tensorflow.tscn:5 - Parse Error: Can't create sub resource of type: TensorflowModel
   At: scene/resources/resource_format_text.cpp:499.
ERROR: load: Failed to load resource 'res://tensorflow.tscn'.
   At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: res://tensorflow.tscn.
   At: core/io/resource_loader.cpp:278.
ERROR: start: Failed loading scene: res://tensorflow.tscn
   At: main/main.cpp:1864.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:2076.
ERROR: clear: Resources Still in use at Exit!
   At: core/resource.cpp:476.

I should have done first -e but that errors too
./src/godot/bin/godot.osx.tools.64 --path ./godot-tensorflow-demo/ -e
arguments
0: ./src/godot/bin/godot.osx.tools.64
1: --path
2: ./godot-tensorflow-demo/
3: -e
Current path: /Users/clemens/Sites/Godot/godot-tensorflow-workspace
Godot Engine v3.2.beta.custom_build.18386bcaf - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon R9 M370X OpenGL Engine

Registered camera FaceTime HD Camera (Display) with id 1 position 0 at index 0
Registered camera FaceTime HD Camera with id 2 position 0 at index 1
ERROR: instance: Cannot get class 'TensorflowModel'.
   At: core/class_db.cpp:538.
ERROR: poll: res://tensorflow.tscn:5 - Parse Error: Can't create sub resource of type: TensorflowModel
   At: scene/resources/resource_format_text.cpp:499.
ERROR: load: Failed to load resource 'res://tensorflow.tscn'.
   At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: res://tensorflow.tscn.
   At: core/io/resource_loader.cpp:278.
ERROR: remove_scene: Index p_idx=1 out of size (edited_scene.size()=1)
   At: editor/editor_data.cpp:563.

So we assume the empty tensorflow directories as the cause :(
git clone --recursive git@github.com:godot-extended-libraries/godot-tensorflow-workspace.git again gives
Submodule path 'src/godot/modules/tensorflow': checked out 'aab52b044dcf954a5474e59825c4c561e695d8b1'
error: unable to create symlink tensorflow/lite/tools/make/downloads/flatbuffers/docs/source/CONTRIBUTING.md: File name too long
Unable to checkout '0ebd265baa4b140aabfef389b764fc07a6578843' in submodule path 'src/godot/thirdparty/tensorflow'
Failed to recurse into submodule path 'src/godot'

This neither works on FAT32
Submodule path 'src/godot/modules/tensorflow': checked out 'aab52b044dcf954a5474e59825c4c561e695d8b1'

error: unable to create symlink tensorflow/lite/tools/make/downloads/flatbuffers/docs/source/CONTRIBUTING.md: File name too long
Unable to checkout '0ebd265baa4b140aabfef389b764fc07a6578843' in submodule path 'src/godot/thirdparty/tensorflow'
Failed to recurse into submodule path 'src/godot'

This is probably cause by missing the tensorflow module and git repo.
Guess we can close this and continue with #3


[auth] moved auth API to experimental

Current dependencies on/for this PR:

main

PR #75   👈

This comment was auto-generated by Graphite.


chore: update the flowschema api version from v1beta3 to v1

Fixes #N/A
Description
FlowControl API moved to v1 since v1.29, and will be removed till v1.32.
To remediate the issue comes from upgrade insights report
Migrate manifests and API clients to use the flowcontrol.apiserver.k8s.io/v1 API version, available since v1.29

How was this change tested?
Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.022%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
5733

Relevant Lines:
8817

💛  - Coveralls


Gas load charts on the network should be rendered on a per week basis like the heat load chart

The gas load chart "Load on the gas network" should be rendered the same as the Heat load chart.
The Yearly gas load chart should not render unless explicitly desired by the user.

I think some context to this issue would help:
Currently, the yearly gas load chart causes a server time-out for large LESses (https://github.com/quintel/etmoses/issues/1050 and others). This renders the whole gas-load chart useless for such LESses.
Possible ways to improve the situation:

Show gas load in a weekly-only chart (like the one for heat)
Move the yearly chart to another place where it is only rendered if the user explicitly requests a full yearly calculation

@antw @dennisschoenmakers what do you think?

I think this relates to #1083, which is that any action involving a calculation should go through a dedicated CalculationController, and accept parameters such as range_start, range_end, and resolution. This way, network load, gas load, and heat load would all have an identical API (and hopefully be able to use Poller on the front-end to wait for a calculation to complete).
In the short-term, we can probably make the gas load chart work like the heat chart, by removing the option to display the full annual load, and instead showing only one week at-a-time. That would avoid the need to do all the CalculationController stuff, which might depend on first completing the caching improvements (which I haven't properly documented yet, and aren't even scheduled for this sprint).

In the short-term, we can probably make the gas load chart work like the heat chart, by removing the option to display the full annual load, and instead showing only one week at-a-time.

Let's do that first indeed. 👍

The yearly gas load chart is now behind a load button and a warning:

After you click on the render button:

As discussed with @ChaelKruip

Closing as this has been done.


SelfTerminating a process should destroy reference of dependency

A dependency can terminate itself when the work is done and notify its dependent.
Dependent receives a "Dependency Stopped" event but does not destroy the reference unless it explicitly called for its dependency to stop. The use case that needs to be covered is:

Dependent launches a dependency dynamically
Dependency does its work and self-terminates (stop state)
Dependent receives stopped notification and needs to destroy the reference

Added to 1.1.14 release


crash when entering level with crystal client

Geode Issue

[X] I confirm that this crash is directly related to Geode Loader.

Platform
Windows
Geode Version
1.3.4
Mods Installed
ninxout.crystalclient.v4.0.1
Steps to Reproduce
enter a level
Crash Report
Geode 29 Sep 21.59.28.log
Additional Information
No response

mod specific issue


gracefully handle greeting toggle

fixes #32

Thanks for the PR @arctic-penguin
Please let me know if you'd like to implement the requested changes. I could also push them and then merge your PR if that's of any help!

@tobealive I'm not sure what you mean. All the required changes are in my PR, and could be merged as-is. Am I missing something?

@tobealive I'm not sure what you mean. All the required changes are in my PR, and could be merged as-is. Am I missing something?

I think the review got stuck. It should be visible now.

Looks good. Thank you!


Add RKE2 vSphere case to E2E suite

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

@Danil-Grigorev I replied to your comment privately.


Getting the correct image of Windows 10 using the new licence scheme

"A specific version of Windows 10 is required, and this version is only available to volume licensing customers. You can get a copy from the Volume Licensing Service Center."
How is this affected by the move toward licensing Windows Enterprise as a 356 licence? I have an Windows Enterprise E3 licence that I purchased for this system but I'm not sure how I can apply it in this scenario.

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

ID: 6f8b204f-9650-d268-8566-7a75ba0a1b6a
Version Independent ID: 9a963e63-6716-7522-8abe-c8a407d3a46d
Content: Configure a Microsoft Teams Rooms console
Content Source: Teams/room-systems/console.md
Product: skype-for-business-itpro
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@sohailta, please address this question.

@officedocsbot assign @scanum

@sohailta any updates? Thanks!

@DavidBovine A message from @sohailta - Some NUC miniPC supports CEC and provides a BIOS setting to enable it. Unfortunately they cannot be controlled by application SW, therefore is not very useful. You may want to consider some external pass through device like the one below, if you intend to use CEC for your system.
https://www.extron.com/article/hdctl100ad

@DavidBovine Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Compiling with --noResolve elides needed imports

car.ts:
export class Car {
	public beep(): void {}
}

truck.ts:
import Car = require("./car");
class Truck extends Car.Car {}
new Truck().beep();

I expected ./car to be defined in both of these scenarios but it's elided in the first:
'tsc --target es5 --module amd --noResolve truck.ts' => 'define(["require", "exports"]'
'tsc --target es5 --module amd truck.ts' => 'define(["require", "exports", "./car"]'

This is exactly what --noResolve is for. From the docs in our wiki:
Do not add triple-slash references or module import targets to the list of compiled files.
What were you trying to do with it?

In a larger project we are extending a class just like in this simplified test case. I understand that TS will omit imports if the imported file only includes type info required at compile time but in this case the imported file is required at runtime.
I get the expected output even with --noResolve if I add an  tag or use the import in a value position like:
import Car = require("./car");
Car;
class Truck extends Car.Car {}
new Truck().beep();

but this seems odd. Ideally there would be a command line option to tell the compiler to always force imports.

@danquirk I could be reading it wrong but I think the wiki seems to refer to not compiling those triple-slash references or module imports, which is what happens and what I expect. I don't understand why it would assume that the "extends" is only being used for type information, when in this case it's a subclass operation.

amd-dependency is for explicitly specifying what gets emitted into the require list, regardless of other logic (specifically to override things like the omitting logic for type only imports, or non-javascript require targets that TS doesn't support). That directive is one way to 'force imports' although it isn't as convenient as some global option. But it's not clear why you actually need to force imports here since it's doing the correct thing by default (without --noResolve).
The compiler isn't omitting the import for car because it thinks it's only used in type position. As you see in your original example it gets emitted correctly when you do not use --noResolve. When you use --noResolve you've explicitly told the compiler not to emit the import for car because it was an import target (of any kind). If I use Car in a value position like you did then there is a compilation error if I also use ---noResolve.
I still don't understand why you actually need --noResolve here. It is doing exactly what it's supposed to do though.

Yes there is a compiler error in the output messages but the js output is fine.
I'm using --noResolve for incremental compilation in Visual Studio Code.
Without --noResolve compiler takes ~12 seconds to recompile all dependencies even though only the current file has changed. Adding --noResolve drops it to under 2 seconds.
I'm not sure if there is a better way to compile only the changed file.

On May 11, 2015, at 6:27 PM, Dan Quirk<EMAIL_ADDRESS>wrote:
amd-dependency is for explicitly specifying what gets emitted into the require list, regardless of other logic (specifically to override things like the omitting logic for type only imports, or non-javascript require targets that TS doesn't support). That directive is one way to 'force imports' although it isn't as convenient as some global option. But it's not clear why you actually need to force imports here since it's doing the correct thing by default (without --noResolve).
The compiler isn't omitting the import for car because it thinks it's only used in type position. As you see in your original example it gets emitted correctly when you do not use --noResolve. When you use --noResolve you've explicitly told the compiler not to emit the import for car because it was an import target (of any kind). If I use Car in a value position like you did then there is a compilation error if I also use ---noResolve.
I still don't understand why you actually need --noResolve here. It is doing exactly what it's supposed to do though.
—
Reply to this email directly or view it on GitHub.

The compiler makes a best effort to emit in the presence of a variety of errors. But there are still errors for a reason. Sometimes the emit is still usable, sometimes it is not, it depends on the particular error(s).

Sorry, seems the rest of my response got cutoff.
I'm using --noResolve for incremental compilation in Visual Studio Code.
Without --noResolve compiler takes ~12 seconds to recompile all dependencies even though only the current file has changed. Adding --noResolve drops it to under 2 seconds.
I'm not sure if there is a better way to compile only the changed file.

Ah, sorry, missed the expando button in your last reply. Yeah --noResolve is not really what you want to be doing here to get compile on save behavior. It's really for a very different set of scenarios.
Until VS Code has proper compile on save built in you should just use the tsc -watch (--w) option on the command line. Just run tsc -w from the folder where your tsconfig.json is and the compiler will automatically recompile files in your project as they are changed.

Much simpler! Thanks @danquirk

:( @danquirk even with watch tsc is recompiling all dependent files.

Can you elaborate? Does tsc compile dependencies on the first run, or is it only on recompilations?

It compiles all dependencies both on the first run and everytime a single file changes that requires that dependency.
I have a folder with the 2 files above ("car.ts" and "truck.ts"). Truck.ts imports car. When I modify truck.ts both files are recompiled.
I'm running the command: "tsc --watch"
My tsconfig.json is:
{
    "compilerOptions": {
        "target": "es5",
        "module": "amd"
    }
}

Output messages seem to indicate that tsc is doing an incremental compile but yet the modified timestamp on all dependencies changes.
message TS6032: File change detected. Starting incremental compilation...
message TS6042: Compilation complete. Watching for file changes.

@breck7 can you open a new issue given that the original issue is slightly different?

@DanielRosenwasser Done. https://github.com/Microsoft/TypeScript/issues/3184 Thanks!

@breck7 VS allows the feature you are asking about (compile-on-save). Why you are not using compile-on-save?

@mhegazy Compile-on-save works, but it ends up recompiling all dependencies as well. We are seeing an order of magnitude slow down versus compiling only the edited file via --noResolve. (~12.5s vs ~1.3s for most files in our project).
--noResolve leads to a lot of noise in the output but for rapid prototyping allows you to do a code-compile-test loop a lot faster. The only problem we are running into is when we don't use an import in a value position and TS assumes that import is only being used at compile time, even when it is a class being extended.
There are definitely hacks we can use to workaround this, like simply using the import in a noop value position or using // <amd..> tags, but ideally there'd just be a way to force imports.

--noResolve is to tell the compiler to not include dependencies into the compilation that were not passed on the command line. i would use that only if i have a custom resolution setup, i.e. my modules exist in a different place than where the compiler would expect them to be. using them to limit the compilation in the manner you are trying is not something that is supported..
The real problem is that the language itself does not grantee that a single file transformation is sufficient. e.g. const enums and internal module property qualification. I believe what you need is a fast compile-on-save if you are using --separateCompilation. I have files #3204 for this.
For the MSBuild incremental build, incremental build is done on a project level, the whole project is built in one shot or not. The compilation will be triggered if the any file in the project has changed, and this would be the case regardless of what flags we pass, if that is something that you really need, i would recommend looking into other build systems like broccoli, grunt, or gulp.

Thanks @mhegazy! Seems like --separateCompilation flag might help. I'll look into optimizing for our situation using the TS service as well. It seems Atom compiles just the changed file so I'll see what they are doing.


Add kubernetes namespace to kubecontext section when present

Shows active kubectl namespace in addition to context rendered as $symbol $context.$namespace
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if appropriate):

How Has This Been Tested?

[ ] I have tested using MacOS
[x] I have tested using Linux

Checklist:

[x] I have checked that no other PR duplicates mine
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have updated the tests accordingly.

Hey owais!
Thank you for taking the time to open a PR. Unfortunately, this feature would break parity with spaceship-prompt, which this project is a port of.
I do think that would be value to having the kubectl namespace added to the prompt and would encourage you to first make an issue or PR over on the spaceship project. Once the issue is approved on spaceship-prompt and it looks like it is planned to be merged in, we can pick up this PR again.
Sorry about that. Hopefully we can get your PR merged in the near future. 😅

Ok. No worries.I'll use my fork till then :)


Clamping positive samples to +126

Hi!
Thanks for the excellent tool, works great so far! However, I wanted to note a small deficiency in the encoder: the value 0xff is a special value used by the Ricoh PCM chip as a loop marker. This means than +127 is NOT a legal input sample value for the audio.
More info here: https://segaxtreme.net/threads/sega-cd-pcm-format.13267/
Cheers.

Hello.
Your feedback is much appreciated.
Once time permits, I will verify this with /Eternal Blue/ and fix the encoder.
Which reminds me: what should happen if my decoder sees a 0xff?
Sources would be great.
Cheers.
sent with FairEmail
2024-02-15T11:39:51Z Victor @.***>:

Hi!
Thanks for the excellent tool, works great so far! However, I wanted to note a small deficiency in the encoder: the value 0xff is a special value used by the Ricoh PCM chip as a loop marker. This means than +127 is NOT a legal input sample value for the audio.
Cheers.
—
Reply to this email directly, view it on GitHub[https://github.com/ed7n/gapcm/issues/1], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADEKYST3Q7WWT4R4HYYMQH3YTXXYJAVCNFSM6AAAAABDKC5EWCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTMMZRGM3TQMY].
You are receiving this because you are subscribed to this thread.
[Tracking image][https://github.com/notifications/beacon/ADEKYST7K6VSYC3GC4GMDIDYTXXYJA5CNFSM6AAAAABDKC5EWCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH6VMPW4.gif]

Hello again.
I just checked the issue on GitHub and saw the link.
Edits to messages are not sent to my email inbox.
I think I skimmed through that forum thread before so I'll definitely review it once time permits.
Thanks very much.
sent with FairEmail
2024-02-15T14:06:24Z Brendon @.***>:

Hello.
Your feedback is much appreciated.
Once time permits, I will verify this with /Eternal Blue/ and fix the encoder.
Which reminds me: what should happen if my decoder sees a 0xff?
Sources would be great.
Cheers.
sent with FairEmail
2024-02-15T11:39:51Z Victor @.***>:

Hi!
Thanks for the excellent tool, works great so far! However, I wanted to note a small deficiency in the encoder: the value 0xff is a special value used by the Ricoh PCM chip as a loop marker. This means than +127 is NOT a legal input sample value for the audio.
Cheers.
—
Reply to this email directly, view it on GitHub[https://github.com/ed7n/gapcm/issues/1], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADEKYST3Q7WWT4R4HYYMQH3YTXXYJAVCNFSM6AAAAABDKC5EWCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTMMZRGM3TQMY].
You are receiving this because you are subscribed to this thread.
[Tracking image][https://github.com/notifications/beacon/ADEKYST7K6VSYC3GC4GMDIDYTXXYJA5CNFSM6AAAAABDKC5EWCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH6VMPW4.gif]

Please refer to page 14 of the official PCM hardware manual: https://segaretro.org/images/2/2d/MCDHardware_Manual_PCM_Sound_Source.pdf

Not sure why it mentions 253 as the maximum value, 254 should also work. Then again, Sega documentation is known to be of dubious quality.
I suppose the way you'd handle the 0xff in the sample data is up to you.. That special value should not be part of the raw sample data and is only used in the runtime. One strategy would be to simply clamp it to 254 or 253.

Hello.
Sorry it took a while.
I have corrected the issue and will upload it once I re-encode the sample game PCM files--likely tomorrow.
The maximum of 253 or 0xfd actually refers to the figure in page. Otherwise I think it makes no mention of any special use of 254 or 0xfe.

The maximum of 253 or 0xfd actually refers to the figure in page.

I think that the page is actually wrong about 0xfd. The proper maximum value is 254/0xfe.

Closing as fixed in Update 0 Revision 6.


Some Chinese billionaire believes that Goerli Ether will be used for Eth2 staking in the future. So now, there is an army of people trying to sell him Goerli Ether from wherever they can get them, and therefore all our faucets are being drained.

          Some Chinese billionaire believes that Goerli Ether will be used for Eth2 staking in the future. So now, there is an army of people trying to sell him Goerli Ether from wherever they can get them, and therefore all our faucets are being drained.

Post your address. I can help you out.
Originally posted by @q9f in https://github.com/eth-clients/goerli/issues/85#issuecomment-1044374692

          Some Chinese billionaire believes that Goerli Ether will be used for Eth2 staking in the future. So now, there is an army of people trying to sell him Goerli Ether from wherever they can get them, and therefore all our faucets are being drained.

Post your address. I can help you out.
Originally posted by @q9f in #85 (comment)


Action triggers while no sensors are low

https://github.com/tykeal/homeassistant-blueprints/blob/fc3393e90c24bbfa249c84b5170191b8beb71384/low-battery.yaml#L81
I think the sensors != '''' condition doesn't correctly catches lists with no entries, my action still triggers even when no devices are under a certain battery level.

@AllergicDuck did you get that by running the automation manually? I only get that if I go into the automation definition and press the 'Run Actions' option. I've played with it a few times and can only get it to trigger that condition when doing that.
If I set the battery condition to something really low and the run time to sometime close in the future for testing it doesn't give me that, and similarly if I set it the battery level to something that should cause it to trigger and also set it to a near future time it works as expected.

Hey @tykeal, thanks you for responding.
I did indeed test it out by using the 'Run Actions', didn't know know manually running it bypasses conditions, I guess I should read the documentation slightly better.
I guess I will give it another shot :)

Hey @tykeal, thank you for responding.
I did indeed run it by pressing the 'Run Actions' method. I didn't know that bypasses any condition checks, guess I should read the documentation better of automations.
I guess I will give it another try!


task canceled when client connection closed

Version
hyper 0.14.16
Platform
windows
Description
the task was canceled when the http connection closed
One way to structure the description:
[short summary of the bug]
task canceled when client connection closed.
I tried this code:
async fn hello_world(_req: Request<Body>) -> Result<Response<Body>, Infallible> {
    println!("start sleep!!!!!");
    tokio::time::sleep(tokio::time::Duration::from_secs(20)).await;
    println!("end sleep!!!!");
    Ok(Response::new("Hello, World".into()))
}

#[tokio::main]
async fn main() {
    // We'll bind to <IP_ADDRESS>:3000
    let addr = SocketAddr::from(([127, 0, 0, 1], 3000));

    // A `Service` is needed for every connection, so this
    // creates one from our `hello_world` function.
    let make_svc = make_service_fn(|_conn| async {
        // service_fn converts our function into a `Service`
        Ok::<_, Infallible>(service_fn(hello_world))
    });

    let server = Server::bind(&addr).serve(make_svc);

    // Run this server for... forever!
    if let Err(e) = server.await {
        eprintln!("server error: {}", e);
    }
}

[code sample that causes the bug]
i tried curl --location --request POST 'http://<IP_ADDRESS>:3030'.and then, abort request. the server side just print "start sleep!!!!!".not print "end sleep!!!!"
I expected to see this happen: [explanation]
i want to see print "end sleep!!!!"
Instead, this happened: [explanation]

This is expected behavior. When the connection closes, the relevant task is canceled.

well~~could you please tell me how can i let the task will not cancel

You can't make prevent that specific task from being canceled. But, depending on what you're actually trying to do, you have a few options:

If you just want to make sure something definitely happens, like cleaning up a resource or logging, you could create a custom type and impl Drop for it, and then let _guard = MyGuard;.
You could move the handler code into a task::spawn, which doesn't cancel normally, and have that spawned task return a Response. Something like:async fn hello(req: Request) -> Result {
    tokio::spawn(async move {
        do_stuff(req).await;
        Ok(resp)
    }).await
}

that's good.thank you very mutch


Android app Development real device error : Could not connect to development server

Hi,
I'm react native with android app but real device is testing a problem
Could not connect to development server
Image Show

Did you run the adb command like the error says?

Probably have to do adb reverse tcp:8080 tcp:8080

I have the same problem. I'm using MacOSX El Capitan and Android Devices.
Using adb reverse worked with my android 5.0+, but I can not run on devices 4.0, what can I do?

On older devices you should set the IP to the packager in the dev settings menu. See https://facebook.github.io/react-native/docs/running-on-device-android.html

Before I run adb reverse tcp:8081 tcp:8081. I get the red screen telling me http://localhostL8081/index.android.bundle?platform=android could not connect to server.
But after I run the adb command. The red screen still tell me could not connect to server.
But disappear the http://localhost section.
And my packager actuall get the request and print the log in the console.
But the red screen still.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/android-app-development-real-device-error-could-not-connect-to-development-server
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.


Implemented Search, made it compatible with layer limiting. Refactored some code.

Note that Search currently only displays the path to the first match of the query we find in org units. The goal of a future PR is to build a modal where the user can select which of the query matches they would like to display.

Main issue is the limit depth description being a bit strange. The text doesn't exactly match what happens.

Changed this section subtitle to "Limit Layers Displayed" to match what it currently does. In a future PR, I'll change the functionality to simply expand out how many ever layers the user requested and will probably rename to "Expand Layers" or something of that sort

The above commits resolve some local errors, add checks for undefined/null inputs, and clean up functions and variable names to be more readable and more easily testable.

Looks good, thanks for cleaning up the code

Awesome, thanks for the feedback, Jaehoon!


Refactor search_exchange_by_data_token to get the events in chunks

Fixes #531  .
Changes proposed in this PR:

add a tweak for search function and used get_event_logs;
fixed a typo in the FRE README.

Can we create in the fixed-rate-exchange-flow README a separate section where users can create an exchange and buy data tokens with different base tokens? Any thoughts @calina-c, @DMats, @alexcos20?

@DMats can you take a look at this? Does it still need changes?


automatically calculate duration

Signed-off-by: Yang Keao<EMAIL_ADDRESS>What problem does this PR solve?
Calculate time chaos offset automatically.
What is changed and how does it work?
Check List
Tests

Manual test

Code changes

Has Go code change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:
Should use new form of timeOffset field.

Codecov Report

Merging #375 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #375   +/-   ##
=======================================
  Coverage   56.93%   56.93%
=======================================
  Files          60       60
  Lines        3820     3820
=======================================
  Hits         2175     2175
  Misses       1471     1471
  Partials      174      174

Continue to review full report at Codecov.

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


add instructions to learning activity

The Learning activities page contains excellent context and background information for the proposed activity, which appears to take place during a live session of the workshop. However, if the intent is for this to also serve as a standalone Open Educational Resource, it would benefit from explicit instructions a participant could follow to perform the activity. As it stands, after reading the page and navigating to the Jekyll Images on Docker Hub, I'm not sure what to do next.

I'm a bit stuck on how to do this one properly- might even be best for me and the "guest speaker" who walked us through the activity (and my boss at my day job) to record a 5 minute video of the activity, as it can't really be written down in a traditional sense (we go line by line to explain the meaning of a basic Dockerfile). I'll touch base with Eka at our first Winter 1 WorkLearn meeting to see what she thinks, thanks for flagging!

After much reflection, and rolling out the prototype of my second workshop, I think the best way to meet the needs addressed here will be to record a short screencast (5-10 min) walking through a Dockerfile and the Docker Hub registry, bringing the viewer's attention to the most useful facets of available information there.
Of the activities we've trialed, this seems the most supportive of general learning, across platforms, for "what's going on" with Docker containerization :-) Going to focus on polishing the blockchain skills workshop enough to get it "live" first, but will address this before December!


[REQUEST] Parse out @mentions as comma separated list

It would be great if you could parse out all the @mentions in a tweet as a comma separated list (as you do for hashtags). Even better if you could remove the '@' symbol and lowercase them all too :)

Okay this has been added

Perfect, thanks!

Hi! Is there a command for this? If not, I don't see a list of extracted @ usernames in a column in an output csv file.


paper-listbox selected-item-changed is fired twice

This is my package.json
{
  "name": "test-case",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "@polymer/paper-item": "^3.0.0-pre.11",
    "@polymer/paper-listbox": "^3.0.0-pre.11",
    "@polymer/paper-menu-button": "^3.0.0-pre.11",
    "@webcomponents/webcomponentsjs": "^1.1.0",
    "web-animations-js": "^2.3.1"
  }
}

This is my example test case
<!doctype html>

        <paper-menu-button noAnimations="true">
        Click Here For Menu
        <paper-listbox slot="dropdown-content"  attr-for-selected="name" id="mylistbox" selected="alpha">
            <paper-item name="alpha">alpha</paper-item>
            <paper-item name="beta">beta</paper-item>
            <paper-item name="gamma">gamma</paper-item>
            <paper-item name="delta">delta</paper-item>
            <paper-item name="epsilon">epsilon</paper-item>
        </paper-listbox>
        </paper-menu-button>

Select an item from the listbox and "selected-item-changed" will be fired two times, while it should be fired once.

Runnable JSBin: http://jsbin.com/gozixulagi/edit?html,console,output Seems to be an issue in iron-selector.

This issue was moved to PolymerElements/iron-selector#170


Questions about using LSTM

Hi. I am a newbie on TensorFlow, just like most of the others here.
I was trying to use the LSTM modules, and some questions arose.

How can I cope with non-fixed length of sequences? For example, the length of longest sentence in each batch is different, but in RNN tutorial, it does like

for i in range(len(num_steps)):
# The value of state is updated after processing each batch of words.
output, state = lstm(words[:, i], state)
....
when this "num_steps" is not set, what kind of value or variable can I use?

How can I use mask in LSTM? within a batch, all the sentences have different length, so it is essential to mask the lstm results according to the length of each sentence. I don't think there is masking function inside TensorFlor LSTM module. What options do I have?

Sorry for bothering you, and thank you for making public this great project.
-Taeksoo

This is a good question.  Our current suggestion is to pad your inputs to a fixed length, then slice them into reasonable frame count chunks (e.g. 50); and use truncated BPTT.  The PTB tutorial has an example of truncated BPTT, but not of padding.  However this is easy enough to do in python for now.
We are considering other ways to work with dynamic length sequences, but nothing is in the release as of now.
A way of dealing with masking is to add a num_steps length list of [batch_size] weight vectors.  Then perform a distributed multiply this with the loss output, aggregate and make that the new loss.  Set weights past your sequence length for each minibatch entry to zero; these particular gradients won't be backpropagated.

Thanks for the question!  These types of questions should be posted to the groups list (github issues are for bugs / installation issues).  https://groups.google.com/a/tensorflow.org/forum/#!forum/discuss


Can't get result from sample code

I followed sample codes like following
////////////////
import httpx, json
deeplx_api = "http://<IP_ADDRESS>:1188/v1/translate"
data = {
"text": "Hello World",
"source_lang": "EN",
"target_lang": "ZH"
}
post_data = json.dumps(data)
r = httpx.post(url = deeplx_api, data = post_data).text
print(r)
///////////////////////
however, r is null
and I wrote my own
////////////////////
import requests, json
url = "http://<IP_ADDRESS>:1188/translate"
data = {
"text": "Hello world!",
"source_lang": "EN",
"target_lang": "ZH"
}
post_data = json.dumps(data)
response = requests.post(url, data=post_data)
dic = response.json()
print(dic['data'])
////////////////////
it worked fine,  don't why?

pls read docs carefully.


Recommended LiDAR for 3D mapping with Cartographer

I'm considering using cartographer_ros for my research into 3D mapping. I see that a lot of other people have asked about using their LiDAR unit for mapping. The Cartographer team has cautioned against some devices (e.g. Velodyne VLP-16 because of its small vertical FOV). So I wanted to ask:
What LiDAR device (or setup of devices) does the Cartographer team recommend for 3D mapping with Cartographer?
Thanks in advance for any suggestions or advice.

We have limited experience, since we only tested a few, so I would be hesitant to give buying advice here. That said, I feel there is no perfect SLAM laser available on the free market right now.
We used all Velodyne devices for mapping before and they work well in pairs (i.e. one horizontal and one vertical) to work around the small opening angle. The more-beams ones have a better opening angle so one could be enough.
Hokuyo lasers work really well for 2D mapping and they have a 3D offering now, but we never tested them ourselves.
Generally you want a point could that constraints the SLAM problem. A laser with a big opening angle will do this nicely, while one with a small one will only constraint you only in the plane of movement. But you can combine multiple sensors (i.e. add a depth camera) to constrain the dimension that your laser is not doing for you. This of course comes with a different set of challenges: extrinsic calibration and consistent timing between sensors.

Thanks for the advice!


[BUG] TypeError with inspect methods=True

The below code gives a TypeError on  a SQAlchemy engine with methods=True
import sqlalchemy as sa

engine = sa.create_engine('sqlite://')
rich.inspect(engine, methods=True)

Traceback (most recent call last):
  File "rich-test.py", line 18, in <module>
    rich.inspect(engine, methods=True)
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\__init__.py", line 113, in inspect
    _console.print(_inspect)
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\console.py", line 1202, in print
    renderables = self._collect_renderables(
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\console.py", line 1067, in _collect_renderables
    renderable = rich_cast()
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\_inspect.py", line 82, in __rich__
    RenderGroup(*self._render()),
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\_inspect.py", line 181, in _render
    _signature_text = self._get_signature(key, value)
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\site-packages\rich\_inspect.py", line 91, in _get_signature
    _signature = str(signature(obj)) + ":"
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\inspect.py", line 3130, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped)
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\inspect.py", line 2879, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\inspect.py", line 2421, in _signature_from_callable
    sig = _signature_from_callable(
  File "F:\scoop\apps\miniconda3\current\envs\main\lib\inspect.py", line 2254, in _signature_from_callable
    raise TypeError('{!r} is not a callable object'.format(obj))
TypeError: <member '__call__' of '_SchemaTranslateMap' objects> is not a callable object

Seems there was an attribute that was callable but failed to introspect the signature. Should be fixed in 9.8.1

Seems there was an attribute that was callable but failed to introspect the signature. Should be fixed in 9.8.1


Add support for cancellable Promise in await operator

Let's say I use the example:
let asyncFunc = async({ _ -> Int in
  let loggedUser = try await(loginUser(username,pass))
  let followersList = try await(getFollowers(loggedUser))
  let countUnfollowed = try await(unfollow(followersList))
  return countUnfollowed
}).then({ value in
  print("Unfollowed \(value) users")
})

How would I make that cancelable?

Thank you for your request; I've added it in 0.9.91.
Below a short example used in unit test.
	func test_invalidationTokenWithAsyncOperator() {
		let exp = expectation(description: "test_retry_condition")
		let invalidator: InvalidationToken = InvalidationToken()

		async(token: invalidator, { st -> String in
			Thread.sleep(forTimeInterval: 2.0)
			if st.isCancelled {
				print("Promise cancelled")
				exp.fulfill()
			} else {
				print("Promise resolved")
				XCTFail()
			}
			return ""
		}).then { _ in

		}
		invalidator.invalidate()
		waitForExpectations(timeout: expTimeout, handler: nil)
	}

@malcommac thanks for looking into this. TBH I don't fully grasp the usage and how to apply it to the above snipped though.


[Bug]: Building by some frameworks using esbuild internaly can be non-hermetic and broken

What happened?
I am trying to use the remix framework.
Referring to the example of Next.js, I was able to run the remix build but without success.
I have tried to analyze this problem in the sandbox using --sandbox_debug. As a result, I found that the problem is caused by a difference between the path returned by esbuild, which is used internally by the remix, and the path seen by the remix itself.

remix sees: /private/var/tmp/_bazel_pddg/319ec592a1cf9c9e7aab0272fcef4948/sandbox/darwin-sandbox/163/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/*
esbuild returns: /private/var/tmp/_bazel_pddg/319ec592a1cf9c9e7aab0272fcef4948/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/*

esbuild is written in Go, so it is not affected by patch_node_fs = True. On the other hand, remix cannot resolve symlinks since the patch prevent to it, so these paths that actually point to the same file will appear as if they are different files to the remix.
This is a problem that can occur not only with remix, but also with frameworks that use esbuild internally or compilers that run on runtimes other than nodejs.
Version
Development (host) and target OS/architectures:

macOS 13.1/arm64
Ubuntu 22.04/amd64

Output of bazel --version:
❯ bazel --version
bazel 6.0.0

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
rules_js v1.13.0
Language(s) and/or frameworks involved:

nodejs
esbuild 0.16.14
remix 1.9.0

How to reproduce
Minimum repro repository is here:
https://github.com/pddg/rules_js_repro/tree/esbuild_non_hermetic
An example of reproducing a failing remix build is here:
https://github.com/pddg/rules_js_repro/tree/remix_fails
Any other information?
I set patch_node_fs = False and applied a few small patches to make sure the remix build would succeed.
However, this is undesirable because it results in a non-hermetic build.
Fund our work

[ ] Sponsor our open source work by donating a bug bounty

Thanks for the report. This sounds like the same issue that's being tracked in the rules_esbuild repo
https://github.com/aspect-build/rules_esbuild/issues/58

Hi @pddg , I'm experiencing the sames issues
Could you share the patches that you apply please? That would be very helpful
Thanks!

@juanpmarin
I am building for cloudflare-pages, so builds for other targets may have different issues.
My patch is as follows. Even though the paths are different, they point to the same file, exploiting the fact that it's dev and inode are the same.
--- dist/compiler/assets.js 2022-12-10 10:45:45.551670539 +0900
+++ dist/compiler/assets.js 2022-12-10 15:11:02.721211338 +0900
@@ -12,6 +12,7 @@ Object.defineProperty(exports, '__esModule', { value:

 Object.defineProperty(exports, '__esModule', { value: true });

+var fs = require('fs');
 var path = require('path');
 var invariant = require('../invariant.js');
 var routeExports = require('./routeExports.js');
@@ -36,6 +37,7 @@ function _interopNamespace(e) {
   return Object.freeze(n);
 }

+var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
 var path__namespace = /*#__PURE__*/_interopNamespace(path);

 async function createAssetsManifest(config, metafile) {
@@ -46,6 +48,15 @@ async function createAssetsManifest(config, metafile)
     return imports.filter(im => im.kind === "import-statement").map(im => resolveUrl(im.path));
   }
   let entryClientFile = path__namespace.resolve(config.appDirectory, config.entryClientFile);
+  let entryClientFileStat = fs__namespace.statSync(entryClientFile);
+  function isEntryClientFile(path) {
+    try {
+      let givenStat = fs__namespace.statSync(path);
+      return entryClientFileStat.dev === givenStat.dev && entryClientFileStat.ino === givenStat.ino;
+    } catch(e) {
+      return false;
+    }
+  }
   let routesByFile = Object.keys(config.routes).reduce((map, key) => {
     let route = config.routes[key];
     map.set(route.file, map.has(route.file) ? [...map.get(route.file), route] : [route]);
@@ -56,7 +67,7 @@ async function createAssetsManifest(config, metafile)
   for (let key of Object.keys(metafile.outputs).sort()) {
     let output = metafile.outputs[key];
     if (!output.entryPoint) continue;
-    if (path__namespace.resolve(output.entryPoint) === entryClientFile) {
+    if (isEntryClientFile(output.entryPoint)) {
       entry = {
         module: resolveUrl(key),
         imports: resolveImports(output.imports)

This is patching transpiled javascript, which can be easily broken.
Save it as @remix-run_dev_1.11.1.patch and put it into patches directory, then apply the patch in npm_translate_lock.
npm_translate_lock(
    name = "npm",
    npmrc = "//:.npmrc",
    pnpm_lock = "//:pnpm-lock.yaml",
    verify_node_modules_ignored = "//:.bazelignore",
    bins = {
        "@remix-run/dev": {
            "remix": "dist/cli.js",
        },
    },
    patches = {
        "<EMAIL_ADDRESS><EMAIL_ADDRESS>    },
}

If there is a better way to do this, please let me know.

Awesome, thanks @pddg !

@pddg are you using pnpm workspaces for your usecase? I can only make this work if I install remix and it's dependencies in the root project, what about you?

@juanpmarin

install remix and it's dependencies in the root project

I have adopted this approach. I have not yet found a way to install and run it in individual workspaces :(

@juanpmarin
I have successfully made it work using pnpm workspace.
https://github.com/pddg/rules_js_repro/tree/remix_in_workspace
https://github.com/aspect-build/rules_js/pull/773 helped me.

@pddg thank you for letting me know!


Warnings about executable segment

Binutils 2.39 introduced a new warning about executable segments: warning: <file> has a LOAD segment with RWX permissions. This warning is emitted when a segment has both write and execute permissions.
There are two ways to fix this warning:

Just ignore it by --no-warn-rwx-segments. This warning is not an error, and it does not affect the generated binary.
Add essential gap between the .text and .data sections.

References: https://www.redhat.com/en/blog/linkers-warnings-about-executable-stacks-and-segments
Which should we do?

should we modify link script to remove W from the executable code?


FARMEXIM- All jobs locations are the same as on the company oficial website

Description : The company from production displayed all the jobs with the same locations as on the company's official website
Precondition: The website (https://peviitor.ro/#/rezultate) is up and running

Step 1: Open the URL in the browser (https://peviitor.ro/)
Expected result : you can see the homepage of the website and you can see the searching bar

Step 2: Type in the searching bar the name of the company ("Farmexim"). Then click enter
Expected result: you can write the name of the company inside the searching bar and be redirected to the company's jobs

Step 1: Open URL of the production (https://peviitor.ro/)
Expected result: You can see the homepage with the searching bar in the middle

Step 2: Type in the searching bar the name of the company ("Farmexim"). Then click enter
Expected result: you can write the name of the company inside the searching bar and be redirected to the company's jobs

Step 3: Verify if the jobs of the company are displayed.
Expected result: you can see the company's jobs, each job inside a box

Step 4: Verify the locations of the jobs.
Expected result: the locations appear for each job


Filter outer on blocks and parents

When using the outer scope of the selectContext method, we were only checking the blocks given by marawa's context scanner. Those blocks are strictly contained in the range given by the selectContext method. It can be an issue as we could want the parents of those blocks when filtering with an outer scope.
This PR uses the current blocks and their parents when filtering with an outer scope.
/!\ Needs to be merged after this PR is merged and bumped in the editor. /!\

closing this, since we haven't merged it after 13+ months


Multiple ticks in optgroup with data-max-options defined as "1"

Starting from v1.13.9, optgroup with data-max-options="1" doesn't work as expected.
In this example, with bootstrap v3.3.6 and bootstrap-select v1.13.9, when you click from top to bottom all the options in the popup menu, the ticks don't work as expected. It looks like a UI issue, as when the menu is closed and opened again then it shows the right selection.
The expected behavior can be seen in this example, with bootstrap v3.3.6 and bootstrap-select v1.13.8.
I've created also this example with bootstrap v4 and boostrap-select v1.13.10.
Unfortunately I wasn't able to check it in more depth, a quick guess is that the issue is related to the changes for issue #2126.
I've tested the examples above on both firefox and chromium in a linux distribution.

Same problem with Bootstrap v3.4.1 andd Bootstrap-select v1.13.10

Please fix this!
Bootstrap-select is such a good tool if there wasn't that issue

same problem with bootstrap v4.3.1 and bootstrap-select v1.13.8

glad to hear that

Released in v1.13.11!


Is it possible to control the times of running job?

In gearman command line tool, it allow to control the times of run before exiting.
	-c <count>    - Number of jobs for worker to run before exiting
The goal: one worker takes one job and stop by itself.
Try: I set the @worker_enabled to false, after taking the job. However, it doesn't stop after the job finished. And it stop after the queue is empty. Doesn't work like we expected

I think the reason is that end while type == :job_assign in the worker.rb

It could definitely be implemented; I'm curious what your use case is for this (aside from the obvious "take one job and stop" :))

Hi John, thanks for replying. I override the end while type == :job_assign to end while type == :job_assign && worker_enabled. Just would like to make sure worker_enabled can be applied immediately. It doesn't have to be taking only one job. The purpose is that we are able to control the gearman inside worker instead of killing the process.


matchbox_server re-written with matchbox_signaling

Re-write matchbox_server with the matchbox_signaling API.

Review dually requested from @garryod

Side note: anyone know what's up with the pipeline? This must be new. It's complaining about not finding futures_test::test. (I didn't touch this)

Ready for re-review/approval

The StateObjs everywhere was because of the orphan rule.
ie. I couldn't implement SignalingState for Arc<Mutex<ServerState>>.
I could've made a ServerStateInner or something but honestly seemed not any better


The data types time and datetimeoffset are incompatible in the less than operator.

Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v14.19.3

OS
debian-openssl-1.1.x

Prisma Client
3.15.0

Query Engine
query-engine b9297dc3a59307060c1c39d7e4f5765066f38372

Database
undefined

Logs
prisma:tryLoadEnv Environment variables loaded from /var/src/.env
prisma:tryLoadEnv Environment variables loaded from /var/src/.env
prisma:client dirname /var/src/node_modules/.prisma/client
prisma:client relativePath ../../../prisma
prisma:client cwd /var/src/prisma
prisma:client clientVersion: 3.15.0
prisma:client clientEngineType: binary
prisma:engine {"cwd":"/var/src/prisma"}
prisma:engine Search for Query Engine in /var/src/node_modules/.prisma/client
prisma:engine Search for Query Engine in /var/src/node_modules/.prisma/client
plusX Execution permissions of /var/src/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x are fine
plusX Execution permissions of /var/src/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x are fine
prisma:engine {"flags":["--enable-raw-queries","--enable-metrics","--port","37081"]}
prisma:engine stdout Starting a mssql pool with 9 connections.
prisma:engine stdout TLS encryption is not enabled. All traffic including the login credentials are not encrypted.
prisma:engine stdout Database change from 'germinare_adm_course' to 'master'
prisma:engine stdout Changed database context to 'germinare_adm_course'.
prisma:engine stdout SQL collation change from None to windows-1252/windows-1252
prisma:engine stdout Microsoft SQL Server�� version<PHONE_NUMBER>
prisma:engine stdout Packet size change from '4096' to '4096'
prisma:engine stdout Started query engine http server on http://<IP_ADDRESS>:37081
prisma:engine Search for Query Engine in /var/src/node_modules/.prisma/client
plusX Execution permissions of /var/src/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x are fine
prisma:engine Client Version: 3.15.0
prisma:engine Engine Version: query-engine b9297dc3a59307060c1c39d7e4f5765066f38372
prisma:engine Active provider: sqlserver
prisma:engine stdout The data types time and datetimeoffset are incompatible in the less than operator.
prisma:engine {"error":{"clientVersion":"3.15.0"}}
prisma:engine stdout The data types time and datetimeoffset are incompatible in the less than operator.
prisma:engine {"error":{"clientVersion":"3.15.0"}}
prisma:engine stdout The data types time and datetimeoffset are incompatible in the less than operator.
prisma:engine {"error":{"clientVersion":"3.15.0"}}

Client Snippet
// PLEASE FILL YOUR CODE SNIPPET HERE

Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

Prisma Engine Query
query {
  findManycal_calendars(
    where: {
      deactivation_date: null
      end_time: {
        lt: "X"
      }
    }
    skip: 5
    take: 5
    orderBy: [
      {
        pk_id: asc
      }
    ]
  ) {
    pk_id
    end_time
  }
}

@mikhael-abdallah could you provide your schema and if possible a reproduction of this crash. That would really help us.

Ping @mikhael-abdallah. We could really use the schema + client to diagnose.

Actual reproduction steps:

Add column with @db.Time native type
Do an lt query with Date as input

Logs:
prisma:info Starting a mssql pool with 33 connections.
prisma:info Performing a TLS handshake
prisma:warn Trusting the server certificate without validation.
prisma:info TLS handshake successful
prisma:warn Turning TLS off after a login. All traffic from here on is not encrypted.
prisma:info Database change from 'master' to 'master'
prisma:info Changed database context to 'master'.
prisma:info SQL collation change from None to windows-1252/windows-1252
prisma:info Microsoft SQL Server version<PHONE_NUMBER>
prisma:info Packet size change from '4096' to '4096'
prisma:info Begin transaction
prisma:query BEGIN TRAN
prisma:query DECLARE @generated_keys table([id] BIGINT) INSERT INTO [dbo].[A] ([date]) OUTPUT [Inserted].[id] INTO @generated_keys VALUES (@P1) SELECT [t].[id] FROM @generated_keys AS g INNER JOIN [dbo].[A] AS [t] ON [t].[id] = [g].[id] WHERE @@ROWCOUNT > 0 /* traceparent=00-00-00-00 */
prisma:query SELECT [dbo].[A].[id], [dbo].[A].[date] FROM [dbo].[A] WHERE [dbo].[A].[id] = @P1 ORDER BY 1 OFFSET @P2 ROWS FETCH NEXT @P3 ROWS ONLY /* traceparent=00-00-00-00 */
prisma:info Commit transaction
prisma:query COMMIT
prisma:error The data types time and datetimeoffset are incompatible in the less than operator.
prisma:query SELECT [dbo].[A].[id], [dbo].[A].[date] FROM [dbo].[A] WHERE [dbo].[A].[date] < @P1 /* traceparent=00-00-00-00 */
PrismaClientUnknownRequestError:
Invalid `prisma.a.findMany()` invocation in
/prisma-14483/script.ts:13:31

  10   },
  11 })
  12
→ 13 const data = await prisma.a.findMany(
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(TokenError { code: 402, state: 1, class: 16, message: "The data types time and datetimeoffset are incompatible in the less than operator.", server: "a34d42a6c4b6", procedure: "", line: 1 }) })
    at RequestHandler.handleRequestError (/prisma-14483/node_modules/@prisma/client/runtime/index.js:29913:13)
    at RequestHandler.request (/prisma-14483/node_modules/@prisma/client/runtime/index.js:29892:12)
    at async PrismaClient._request (/prisma-14483/node_modules/@prisma/client/runtime/index.js:30864:16)
    at async main (/prisma-14483/script.ts:13:16) {
  clientVersion: '4.3.1'


add compiles string for blade compiler

This trait use for string in blade.

A variation of this PR was already closed https://github.com/laravel/framework/pull/43264

Yes i change something

Thank you but I don't think we have any plans for this now.