Tie binary description ETags/lastModified dates to the binaries they describe

Resolves: https://jira.duraspace.org/browse/FCREPO-1983
The current behavior advertises ETags/lastModified dates as if they are the same for binaries and binary descriptions. This PR makes this the behavior of Fedora by relying on the same lastModified property for both binaries and their descriptions.
If, on the other hand, binaries and their descriptions are to contain different ETag and lastModified dates, then a different implementation should be pursued. At the very least, though, this fixes the currently broken behavior.
With this impl, the ETag value for both a binary and binary description will be the same. Likewise, the last-modified date will be the same. The NonRdfSourceDescription simply proxies those calls to the FedoraBinary. If a property of the binary description is changed, then the ETag and last-modified date will change for both. If it is problematic to reuse the ETag value for both resources, there is an easy way around that.

I think that one ETag to rule them all makes sense here, because we have only one repository resource. It is what I would call a datastream, what others are calling a binary. It is a bitstream with properties and altering either the bits or the properties counts as a mutation. So one last-mod for both makes sense to me.

This change definitely improves the current behavior where property updates don't change the description's lastModified or ETag.  And it seems like a logical outcome of providing triples about only a single subject in the binary description.
Though I am worried this means that changing a property on a binary's description could force needlessly retrieving a (potentially very large) binary because its ETag changed even though the content did not.  It also seems like we're missing the opportunity to use the binary's SHA1 as a strong ETag.  l have opened a JIRA ticket to consider using a binary's SHA1 as its ETag, and whether that is workable, what other changes would be required, etc: https://jira.duraspace.org/browse/FCREPO-1996

I am thinking about this in the context of the Fedora specification. This current PR would suggest that we specify that binary resources and their descriptions share the same etag/last-mod. Do we want to require this of all Fedora implementations?
Although this addresses the UI issue of https://jira.duraspace.org/browse/FCREPO-1983, it creates a rift with the LDP spec which calls for two distinct resources:
When a binary resource is created, per the LDP spec, a Link: <some-description-url>; rel:describedby header is returned that points to a separate resource that describes the binary.
Ref: https://www.w3.org/TR/ldp/#ldpc-post-createbinlinkmetahdr

I don't see the incompatibility. Nothing in that section of the spec calls for independent ETags, that I can see.

To the other point, yes, I think this is a spec requirement. @escowles has a good point about the bitstream being retrieved needlessly, but I think we want to resolve that with something more subtle than ETag.

I am of two minds on this. On the one hand, the current behavior is clearly broken, and this PR fixes it. And it does so while preserving the non-broken portion of the current behavior as much as possible.
On the other, I see binary resources and their descriptions as two distinct resources (resources, though, whose lifecycles are inextricably bound together). I would expect the bitstream (fedora:Binary) portion to have a strong ETag derived from the content of that binary (as @escowles suggests: the SHA1). For the NonRdfSourceDescription, I would expect weak ETags that are based on the last-mod date AND the content-type. That way, a caching proxy could hold different representations, e.g. for JSON+LD and n-triples; otherwise, requests for the different types would return 304s regardless of the Accept header.
I would note that at present, all ETags produced by Fedora are strong ETags. We should discuss this further on a tech call.

Do you contemplate the possibility of multiple descriptions for a single bitstream, or multiple bistreams answering to a single description?

I had been operating under the assumption that there is a strict one-to-one correspondence between fedora:Binary and fedora:NonRdfSourceDescription resources.

If that is the case, Occam's razor suggests we consider such pairs to be one resource.

That's fine to consider them one resource, but the currency of ETags is representations (we've had this conversation before). And by presenting a single ETag for all representations of a resource and the various content-types of its description, we're doing a major disservice to caching proxies.

I agree with @acoburn about the resource/representation issue, and having a weak ETag for the description based on last modified, and a strong ETag for the content based on the SHA1 makes sense to me.  One question I have is whether changing the last-modified of the content without changing the ETag will result in it being invalidated in caches.  If it is, then we would want to have two separate last-modified dates.

Regarding whether we consider the NonRdfSource and its Description as one or two resources, the wording of the LDP spec, and the related fact that the NonRdfSource and its Description have distinct URI is a strong indication of two separate resources.
As a note, this Weak ETag ticket seems to have gone stagnant.
https://jira.duraspace.org/browse/FCREPO-1754

I'm fine with separate ETags-- as @acoburn says, ETags go to representations. What I do not want are separate las-mod dates. That would be inaccurate, in my view. To @awoods' point: I don't much care about LDP in this context. I'm not using the work resource to mean anything connected with that, but to mean something in the Fedora model. Put more shortly: a datastream.

I am thinking about this in the context of the Fedora specification. This current PR would suggest that we specify that binary resources and their descriptions share the same etag/last-mod. Do we want to require this of all Fedora implementations?

Absolutely not; they happen to be the same in the Fedora implementation, but we shouldn't encourage clients to expect that or require other implementations to do the same. I suggest its a quirk of our backend, not a feature.

I think we're having two different conversations. One is about ETags, and the other about last-mod. @cbeer's point seems to me to be about ETag. @escowles and I had a conversation at some point (can't dig it up now) during which we agred that last-mod != ETag. last-mod is one of the ingredients for ETag. ETag summarizes more information than just last-mod.

@ajs6f https://wiki.duraspace.org/display/FF/Design+-+Last-Modified+Property

@cbeer,

Absolutely not; they happen to be the same in the Fedora implementation, but we shouldn't encourage...
Actually, this is not the case with the current Fedora implementation. Consolidating the ETag and Last-modified date is the essence of this PR. I would suggest that the reference Fedora implementation follow whatever expectation we document in the specification.

No, the essence of this PR is fixing something that is currently broken. It does this without changing the design of how ETags are represented and acted on.
On the other hand, the essence of this discussion seems to be about changing the design of ETags (which I am fully supportive of).
I see this PR as a stop-gap measure: fix the bug now, fix the design later. Alternately, we can make the change (bug + design) in one fell swoop. I was trying to separate those into smaller pieces.
As a note: the bug portion of this is blocking progress on https://jira.duraspace.org/browse/FCREPO-1498 and https://jira.duraspace.org/browse/FCREPO-1742. Hence this PR.

See https://github.com/fcrepo4/fcrepo4/pull/1024 for an alternate resolution of this (https://github.com/fcrepo4/fcrepo4/pull/1024 is, in my opinion, a better fix).

closed in favor of #1024


Fix dependency declaration for Postgres and Devtools

Should be
<dependency>
	<groupId>org.postgresql</groupId>
	<artifactId>postgresql</artifactId>
	<scope>runtime</scope>
</dependency>

and
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
	<scope>runtime</scope>
	<optional>true</optional>
</dependency>

Thanks @biergit
I think you're right. Maybe we need to do the same for MariaDB, MySQL etc too

Ok, I'll try to adapt those as well.


Kongfig apply is not  creating Basic-auth users

This is my yml file
apis:

name: test
ensure: present
attributes:
upstream_url: "http://loacalhost:80/test"
request_path: /test
strip_request_path: true
plugins:
- name: acl
attributes:
config:
whitelist: test_grp
- name: rate-limiting
attributes:
config:
minute : 3600
- name: basic-auth
attributes:
config:
hide_credentials: false
consumers:
- username: testapi
ensure: present
acls:

group: test_grp
ensure: present
credentials:

name: "basic-auth"
attributes:
username: test1
password: JfhljBY9xspAfGZyQ6AKgmGx
name: "basic-auth"
attributes:
username: test2
password: 123
name: "basic-auth"
attributes:
username: test3
password: EG73k8lY3DJc5vAGhQpH6aWU
name: "basic-auth"
attributes:
username: test4
password: ttwwdzkebmkdkbzdpvjp
name: "basic-auth"
attributes:
username: test5
password: cmYneZlsOMWuf9BKHMVWItVg
name: "basic-auth"
attributes:
username: test6
password: Hx996mmnEjVPVVkNGJBAlkh9

It's not creating any of Test users in KONG
am I missing something?
Thank You
Sampada K.

Hi it seems that you have credentials under acls group, and notice the test2 user password that should be a string
apis:
   - name: test
     ensure: present
     attributes:
           upstream_url: "http://loacalhost:80/test"
           request_path: /test
           strip_request_path: true
     plugins:
            - name: acl
              attributes:
                config:
                  whitelist: test_grp
            - name: rate-limiting
              attributes:
                config:
                    minute : 3600
            - name: basic-auth
              attributes:
                config:
                  hide_credentials: false
consumers:
    - username: testapi
      ensure: present
      acls:
        - group: test_grp
          ensure: present
      credentials:
        - name: "basic-auth"
          attributes:
              username: test1
              password: JfhljBY9xspAfGZyQ6AKgmGx
        - name: "basic-auth"
          attributes:
              username: test2
              password: '123'
        - name: "basic-auth"
          attributes:
              username: test3
              password: EG73k8lY3DJc5vAGhQpH6aWU
        - name: "basic-auth"
          attributes:
              username: test4
              password: ttwwdzkebmkdkbzdpvjp
        - name: "basic-auth"
          attributes:
              username: test5
              password: cmYneZlsOMWuf9BKHMVWItVg
        - name: "basic-auth"
          attributes:
              username: test6
              password: Hx996mmnEjVPVVkNGJBAlkh9


Hyprland freezes after pressing e.g. Ctrl+Alt+F1 twice to switch to tty1

Hyprland Version
 System/Version info
OS: NixOS 23.11.20240225.5bf1cad (Tapir) x86_64
Kernel: 6.6.1-zen1
Hyprland version:  v0.32.3
Hyprland, built from branch  at commit v0.32.3  ().
Tag:

flags: (if any)
debug

GPU (/dev/dri/card0): 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c1)
GPU (/dev/dri/card1): 11:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c6)

Bug or Regression?
Bug
Description
Pressing Ctrl+Alt+F${N} twice freezes the screen (if Hyprland happens to run on tty${N})
How to reproduce
Suppose Hyprland runs on TTY1 (other TTY work too).

Press Ctrl+Alt+F1 (this can happen by accident when the intention is to switch to another Hyprland session, say on TTY2)
Screen freezes

Screen freezes
Sound still plays if it did before (using pipewire)
Mouse inputs are still recognized (I can stop a Youtube video by click)
Keyboard inputs work (I can stop a Youtube video by space bar)
Ctrl+Alt+F2 doesn't send me to TTY2

Note: Running sudo chvt 1 twice doesnt reproduce this behaviour.
Crash reports, logs, images, videos
====== At this moment I press Ctrl+Alt+F1 twice =====
[2024-02-26 23:16:56.322] [warning] [wireplumber]: '4294967295' is not a valid node ID. Ignoring node change.
[2024-02-26 23:16:56.322] [warning] [wireplumber]: '4294967295' is not a valid node ID. Ignoring node change.
[2024-02-26 23:17:02.503] [warning] [wireplumber]: (onMixerChanged) - Object with id 63 not found
[2024-02-26 23:17:02.514] [warning] [wireplumber]: (onMixerChanged) - Object with id 63 not found
[2024-02-26 23:17:02.514] [warning] [wireplumber]: '4294967295' is not a valid node ID. Ignoring node change.
[2024-02-26 23:17:02.514] [warning] [wireplumber]: '4294967295' is not a valid node ID. Ignoring node change.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
====== After switching back to TTY1 by executing `sudo chvt 1` via ssh =====

please use the search feature. Dupe of #4839

It's not the same behaviour

wdym its not the same

The steps to reproduce #4839  are:
Start Hyprland on tty2 then switch to say tty1 and back and it freezes.

This doesn't happen on my system. Instead Hyprland freezes if I switch from tty2 to tty2 itself (via ctrl+alt+f2).

ah


can not find module 'jscpd'.  version4.04

version 4.04
node version 16.20.0
I ran into this problem when I used jscpd's api.

version 3.38, it work well.

it is bug?

hm... interesting, will check

fixed at jscpd v4.0.5


Issue/7065 none type object is not iterable error on dryrun request call iso6

Description
iso6-specific PR for https://github.com/inmanta/inmanta-core/issues/7065
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
- [ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
- [ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches iso6 in 22d329558325d951873cc3995dcb425f4d56ae52


CORS_support_for_events

What:
This PR solves two changes:

Support for multiple methods (GET, POST, OPTIONS etc) for same URL.
Support for OPTIONS method for events endpoint, which is used by the browser as preflight query before sending actual GET request with Authorization token.

Why:

Blueflood plugin for Grafana is under-construction that will run in browser's engine and will directly contact blueflood.
These changes were required to support Cross Origin Resource Sharing with blueflood.

How:

Fixed RouteMatcher class.
Added options method in HttpMetricDataQueryServer class.

+1 after the repose question is answered


add http support for claim assertion

Implemented support for request assertion of domain control through HTTP.
Tested through command line as follows:
hvclient -claimsubmit=atlasqa.co.uk -config ./hvclient.conf
globalsign-domain-verification=2044275D87CE4115047E08E9B4076586,2022-04-21 13:54:08 +0000 UTC,887D348DCF861009C4EC5DFFEEF7A2A6
hvclient -claimretrieve=887D348DCF861009C4EC5DFFEEF7A2A6 -config ./hvclient.conf
887D348DCF861009C4EC5DFFEEF7A2A6,PENDING,atlasqa.co.uk.,2022-03-22 13:54:08 +0000 UTC,2022-04-21 13:54:08 +0000 UTC
hvclient -claimhttp=887D348DCF861009C4EC5DFFEEF7A2A6 -authdomain=atlasqa.co.uk -config ./hvclient.conf
CREATED
hvclient -claimretrieve=887D348DCF861009C4EC5DFFEEF7A2A6 -config ./hvclient.conf
887D348DCF861009C4EC5DFFEEF7A2A6,VERIFIED,atlasqa.co.uk.,2022-03-22 13:54:08 +0000 UTC,1970-01-01 00:00:00 +0000 UTC

need to make some adjustments so it can be used as a library


[FEATURE REQUEST] Update minimum Unity project version to latest 2019.4 LTS patch

Is your feature request related to a problem? Please describe.
I'd like for EntitasRedux to support an LTS version of Unity as the minimum version as it ensures it will be stable and receiving bug fixes on that Unity version for 2 years. After those 2 years have passed I would bump the minimum LTS version of Unity that EntitasRedux supports to the 2020 version.
Describe the solution you'd like
Open the Unity project on the latest 2019.4 LTS patch version, ensure there are not any compiler errors and that all unit tests pass, project builds. If this all looks good, check in updates, merge to develop, and update readme to reflect new minimum version.

Checked in to develop


Save plots to file, and better show-ing of DataFrames

bors r+

bors r+

bors r+

TeX Live 2019 was released on April 29, 2018. Currently, the various CTAN mirrors are out of sync. This is why the Travis tests are sometimes failing on Mac. I will wait a few days for all of the CTAN mirrors to sync, and then I will try again.

/remind me about this pull request in 3 days

We also need Homebrew to update mactex to 2019. Thus this PR is blocked by the following PR's:

https://github.com/Homebrew/homebrew-cask/pull/62605
https://github.com/Homebrew/homebrew-cask/pull/62606

bors r+


(K8s) Override apiserver's init container resource request and limits

Is your feature request related to a problem? Please describe.
As of now there are no way to override init container resources limits for the apiserver, this could be slightly tedious to deal with if a cluster have admission controller that requires all pod to specify resource limits.
Describe the solution you'd like
Being able to override or patch apiserver's initContainer resource limits declaratively by updating the existing helm chart
Something like this would be great values.yaml
apiserver:
   initContainer:
      resources:
          requests: {}
          limits: {}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Editing live manifest(tedious)

This feature request makes perfect sense, I also saw the PR and seems straight forward (Will add some comments shortly.)

Hi, did you had time to review my pr?


Fix make test for running integration tests locally

Resolves #344 resolves #564
This is a:

[X] testing update
[ ] documentation update
[ ] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
How to try it out

Clone this repo
Change branches to fix/344-564-make-test
Follow the instructions within integration_tests/README.md

Description & motivation
It should be possible to run integration tests locally by following a set of written instructions. There are instructions right now, but they don't work as written.
Implementation details

Re-write of the Makefile, which includes dropping the test-all target -- each adapter will need to be tested individually
Pulled Python venv creation out of *.sh scripts and into written instructions (similar to how dbt-core has it)
Dropped all Docker containers other than a Postgres database container
Renamed environment variables within integration_tests/.env/* to align with variable names in CircleCI
Checked that the written instructions for work for me :) -- now need to have others confirm/deny

Checklist

[X] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[X] BigQuery
[X] Postgres
[X] Redshift
[X] Snowflake

[X] ~I have updated the README.md (if applicable)~
[X] ~I have added tests & descriptions to my models (and macros if applicable)~
[X] ~I have added an entry to CHANGELOG.md~

Just trying out the examples in the README.md and still running into the issues.
Looks like this test is failing after running through the examples in the PR. I'm thinking it is because the database source name  is not getting correctly set.
make test target=postgres models=sql.test_star seeds=sql.data_star

/Users/me/.pyenv/shims/dbt
Core:
  - installed: 1.1.1-rc1
  - latest:    1.1.0     - Ahead of latest version!

Plugins:
  - postgres: 1.1.1rc1 - Ahead of latest version!
15:47:18  Running with dbt=1.1.1-rc1
dbt version: 1.1.1-rc1
python version: 3.9.11
python path: /Users/me/.pyenv/versions/3.9.11/envs/dbt-utils/bin/python3.9
os info: macOS-12.3.1-arm64-arm-64bit
Using profiles.yml file at /Users/me/development/sql/dbt-utils/integration_tests/profiles.yml
Using dbt_project.yml file at /Users/me/development/sql/dbt-utils/integration_tests/dbt_project.yml

Configuration:
  profiles.yml file [OK found and valid]
  dbt_project.yml file [OK found and valid]

Required dependencies:
 - git [OK found]

Connection:
  host: localhost
  port: 5432
  user: root
  database: circle_test
  schema: dbt_utils_integration_tests_postgres
  search_path: None
  keepalives_idle: 0
  sslmode: None
  Connection test: [OK connection ok]

All checks passed!
15:47:19  Running with dbt=1.1.1-rc1
15:47:19  Installing ../
15:47:19    Installed from <local @ ../>
15:47:20  Running with dbt=1.1.1-rc1
15:47:20  Partial parse save file not found. Starting full parse.
15:47:21
Warning: the `surrogate_key` macro now takes a single list argument instead of multiple string arguments. Support for multiple string arguments will be deprecated in a future release of dbt-utils. The dbt_utils_integration_tests.test_surrogate_key model triggered this warning.
15:47:21
Warning: the `surrogate_key` macro now takes a single list argument instead of multiple string arguments. Support for multiple string arguments will be deprecated in a future release of dbt-utils. The dbt_utils_integration_tests.test_surrogate_key model triggered this warning.
15:47:21
            Warning: the `unpivot` macro no longer accepts a `table` parameter.             This parameter will be deprecated in a future release of dbt-utils. Use the `relation` parameter instead.             The dbt_utils_integration_tests.test_unpivot_original_api model triggered this warning.
15:47:21
    Warning: `dbt_utils.unique_where` is no longer supported.
    Starting in dbt v0.20.0, the built-in `unique` test supports a `where` config.

15:47:21
    Warning: `dbt_utils.not_null_where` is no longer supported.
    Starting in dbt v0.20.0, the built-in `not_null` test supports a `where` config.

15:47:22  Found 52 models, 91 tests, 0 snapshots, 0 analyses, 389 macros, 0 operations, 80 seed files, 0 sources, 0 exposures, 0 metrics
15:47:22
15:47:22  Concurrency: 5 threads (target='postgres')
15:47:22
15:47:22  1 of 1 START seed file dbt_utils_integration_tests_postgres.data_star .......... [RUN]
15:47:22  1 of 1 OK loaded seed file dbt_utils_integration_tests_postgres.data_star ...... [CREATE 3 in 0.10s]
15:47:22
15:47:22  Finished running 1 seed in 0.50s.
15:47:22
15:47:22  Completed successfully
15:47:22
15:47:22  Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1
15:47:23  Running with dbt=1.1.1-rc1
15:47:24  Found 52 models, 91 tests, 0 snapshots, 0 analyses, 389 macros, 0 operations, 80 seed files, 0 sources, 0 exposures, 0 metrics
15:47:24
15:47:24  Concurrency: 5 threads (target='postgres')
15:47:24
15:47:24  1 of 1 START view model dbt_utils_integration_tests_postgres.test_star ......... [RUN]
15:47:24  1 of 1 OK created view model dbt_utils_integration_tests_postgres.test_star .... [CREATE VIEW in 0.19s]
15:47:24
15:47:24  Finished running 1 view model in 0.53s.
15:47:24
15:47:24  Completed successfully
15:47:24
15:47:24  Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1
15:47:25  Running with dbt=1.1.1-rc1
15:47:25  Found 52 models, 91 tests, 0 snapshots, 0 analyses, 389 macros, 0 operations, 80 seed files, 0 sources, 0 exposures, 0 metrics
15:47:25
15:47:26  Concurrency: 5 threads (target='postgres')
15:47:26
15:47:26  1 of 1 START test dbt_utils_equality_test_star_ref_data_star_expected_ ......... [RUN]
15:47:26  1 of 1 ERROR dbt_utils_equality_test_star_ref_data_star_expected_ .............. [ERROR in 0.14s]
15:47:26  CANCEL query test.dbt_utils_integration_tests.dbt_utils_equality_test_star_ref_data_star_expected_.b45cbb2e87  [CANCEL]
15:47:26  CANCEL query list_circle_test_dbt_utils_integration_tests_postgres_events ...... [CANCEL]
15:47:26
15:47:26  Database Error in test dbt_utils_equality_test_star_ref_data_star_expected_ (models/sql/schema.yml)
15:47:26    relation "dbt_utils_integration_tests_postgres.data_star_expected" does not exist
15:47:26    LINE 36:     select * from "circle_test"."dbt_utils_integration_tests...
15:47:26                               ^
15:47:26    compiled SQL at target/run/dbt_utils_integration_tests/models/sql/schema.yml/dbt_utils_equality_test_star_ref_data_star_expected_.sql
15:47:26  Encountered an error:
FailFast Error in test dbt_utils_equality_test_star_ref_data_star_expected_ (models/sql/schema.yml)
  Failing early due to test failure or runtime error
make: *** [test] Error 1

Yes, thanks for pointing that out, @robertdefilippi !
Doing it in this order worked for me, so I'm updating the instructions accordingly:

Run all tests:

make test target=postgres

Run tests for a single model:

make test target=postgres models=sql.test_star seeds=sql.data_star

Ah makes sense! Thank you 🙂


Delete .github/workflows/qodana.yml

:white_check_mark: Build pagarme-sdk-dotnet 1.0.292 completed (commit https://github.com/guibranco/pagarme-sdk-dotnet/commit/e26e440c51 by @guibranco)


Document permissions/requirements for creating EKS clusters in Rancher 2.5

These questions come from Bill's feedback on this PR about the new EKS provisioning docs https://github.com/rancher/docs/pull/2674 and this issue about documenting the EKS changes. https://github.com/rancher/docs/issues/2639

What network requirements are needed for Rancher to access the EKS cluster with private access?
How do you use eksctl to add the Rancher cloud credential to the aws-auth configmap as a cluster admin, and how do you bind the user to system:masters group?
What's the kubectl command to launch the Rancher agent on an EKS cluster? (we've only previously documented the Docker command)
What is the minimum IAM permissions policy for the Rancher service role?
Does the IAM policy need permission to see the KMS key if you want to encrypt secrets?
Does the IAM policy need permission to send logs to Amazon CloudWatch? or is that included in the Rancher default policy?

@cloudnautique I also had a ticket open for those permissions: https://github.com/rancherlabs/eio/issues/257
Ended up using the minimum requirements listed in our docs (https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/eks/), but had to add a couple more; ec2:ModifySubnetAttribute and kms:ListKeys.
This is the full list I have now:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "EC2Permisssions",
            "Effect": "Allow",
            "Action": [
                "ec2:AuthorizeSecurityGroupIngress",
                "ec2:DeleteSubnet",
                "ec2:CreateKeyPair",
                "ec2:AttachInternetGateway",
                "ec2:ReplaceRoute",
                "ec2:DeleteRouteTable",
                "ec2:AssociateRouteTable",
                "ec2:DescribeInternetGateways",
                "ec2:CreateRoute",
                "ec2:CreateInternetGateway",
                "ec2:RevokeSecurityGroupEgress",
                "ec2:DescribeAccountAttributes",
                "ec2:DeleteInternetGateway",
                "ec2:DescribeKeyPairs",
                "ec2:CreateTags",
                "ec2:CreateRouteTable",
                "ec2:DescribeRouteTables",
                "ec2:DetachInternetGateway",
                "ec2:DisassociateRouteTable",
                "ec2:RevokeSecurityGroupIngress",
                "ec2:DeleteVpc",
                "ec2:CreateSubnet",
                "ec2:DescribeSubnets",
                "ec2:DeleteKeyPair",
                "ec2:DeleteTags",
                "ec2:CreateVpc",
                "ec2:DescribeAvailabilityZones",
                "ec2:CreateSecurityGroup",
                "ec2:ModifyVpcAttribute",
                "ec2:AuthorizeSecurityGroupEgress",
                "ec2:DescribeTags",
                "ec2:DeleteRoute",
                "ec2:DescribeSecurityGroups",
                "ec2:DescribeImages",
                "ec2:DescribeVpcs",
                "ec2:DeleteSecurityGroup",
                "ec2:ModifySubnetAttribute"
            ],
            "Resource": "*"
        },
        {
            "Sid": "EKSPermissions",
            "Effect": "Allow",
            "Action": [
                "eks:DeleteFargateProfile",
                "eks:DescribeFargateProfile",
                "eks:ListTagsForResource",
                "eks:UpdateClusterConfig",
                "eks:DescribeNodegroup",
                "eks:ListNodegroups",
                "eks:DeleteCluster",
                "eks:CreateFargateProfile",
                "eks:DeleteNodegroup",
                "eks:UpdateNodegroupConfig",
                "eks:DescribeCluster",
                "eks:ListClusters",
                "eks:UpdateClusterVersion",
                "eks:UpdateNodegroupVersion",
                "eks:ListUpdates",
                "eks:CreateCluster",
                "eks:UntagResource",
                "eks:CreateNodegroup",
                "eks:ListFargateProfiles",
                "eks:DescribeUpdate",
                "eks:TagResource"
            ],
            "Resource": "*"
        },
        {
            "Sid": "IAMPermissions",
            "Effect": "Allow",
            "Action": [
                "iam:ListRoleTags",
                "iam:RemoveRoleFromInstanceProfile",
                "iam:CreateRole",
                "iam:AttachRolePolicy",
                "iam:AddRoleToInstanceProfile",
                "iam:DetachRolePolicy",
                "iam:GetRole",
                "iam:DeleteRole",
                "iam:CreateInstanceProfile",
                "iam:ListInstanceProfilesForRole",
                "iam:PassRole",
                "iam:GetInstanceProfile",
                "iam:ListRoles",
                "iam:ListInstanceProfiles",
                "iam:DeleteInstanceProfile"
            ],
            "Resource": "*"
        },
        {
            "Sid": "CloudFormationPermisssions",
            "Effect": "Allow",
            "Action": [
                "cloudformation:DescribeStackResource",
                "cloudformation:ListStackResources",
                "cloudformation:DescribeStackResources",
                "cloudformation:DescribeStacks",
                "cloudformation:ListStacks",
                "cloudformation:CreateStack",
                "cloudformation:DeleteStack"
            ],
            "Resource": "*"
        },
        {
            "Sid": "AutoScalingPermissions",
            "Effect": "Allow",
            "Action": [
                "autoscaling:DescribeAutoScalingGroups",
                "autoscaling:UpdateAutoScalingGroup",
                "autoscaling:TerminateInstanceInAutoScalingGroup",
                "autoscaling:CreateOrUpdateTags",
                "autoscaling:DeleteAutoScalingGroup",
                "autoscaling:CreateAutoScalingGroup",
                "autoscaling:DescribeAutoScalingInstances",
                "autoscaling:DescribeLaunchConfigurations",
                "autoscaling:DescribeScalingActivities",
                "autoscaling:CreateLaunchConfiguration",
                "autoscaling:DeleteLaunchConfiguration"
            ],
            "Resource": "*"
        },
        {
            "Sid": "KMSPermissions",
            "Effect": "Allow",
            "Action": "kms:ListKeys",
            "Resource": "*"
        }
    ]
}

I believe these are necessary for Rancher to be able to create EKS clusters in 2.5.x. I have not removed anything from the existing minimum permissions list from the docs. Do I need to try to trim that down as well, for ABSA? It's a very trial and error based process, so if anyone has any tips on how to test this in an easier way, please let me know.

What network requirements are needed for Rancher to access the EKS cluster with private access?
https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html#private-access

Connected network: https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/introduction.html
Amazon EC2 bastion host
AWS Cloud9 IDE

Does the IAM policy need permission to see the KMS key if you want to encrypt secrets?
Yes, the "kms:ListKeys" policy needs to be added, or else you will get an error while filling in the template whilst creating the cluster. At the option "Secrets Encryption", there is no issue as long as "None" is selected, but when choosing "KMS Key: Select or Enter KMS Key that will be used to encrypt secrets", you will see the following warning:

Does the IAM policy need permission to send logs to Amazon CloudWatch? or is that included in the Rancher default policy?
No extra permissions needed, this is included in the minimum policies listed above. I was able to enable the options listed below without any issues and validated that the logs were available in Cloudwatch.

We need this broken down a bit more. If the user were to provision the VPC/Subnets and IAM policies ahead of time what would the required permissions be in the EKS policy?
Ideally, is there a policy where the IAM ACLs are limited to list/attach/detach capabilities, and could that be tied to specific ARNs? Most organizations are not going to want to give create/delete/attach role capabilities.

@cloudnautique I'm trying to make sense of what still needs to be done to close this issue. Does anything else still need to be documented?

Taken care of by eio.


Distance filter always set to best?

You define
var distanceFilter: CLLocationDistance? = kCLDistanceFilterNone
And later check:
// the current value, we want to store it. Lower value is the setting.
if distanceFilter != nil && request.minimumDistance! < distanceFilter! {
    distanceFilter = request.minimumDistance!
}

This will always take the minimum distance of kCLDistanceFilterNone, regardless of what the user inputs, say 25 meters. Because it's initially set to none (-1) it will always be -1. Or do I misunderstand the function here?
When defining:
var distanceFilter: CLLocationDistance? = 1000 it will accept my 25 meters

Thank you for your contribution.
A new rewritten version is available both on master and CocoaPods (marked as 3.0.0-beta). It requires iOS9 and Swift 4.
If you encounter any other problem feel free to open an issue; I'll close because with the new version its now invalid.


fix: broken tests on master

The type of this PR is: Bugfix

This PR resolves the broken tests due to https://github.com/artsy/eigen/pull/5527
Description

I broke the tests with my previous PR #5527 and I was impatient and merged the PR before it passed all the tests. (of course this didn't go well).

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

#nochangelog
Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against 815830397fe6f475e42ea373eb31b754b5f77f74


all: Update artwork

Summary
Updates the logo and makes it more recognizable, especially on small screens.
Comparison:

Checklist

[x] cargo fmt
[x] cargo clippy
[x] cargo test
[x] updated CHANGES.md

Looks great!


Unknown function and method estado()

There's an unknown function and method used in the main index file, because of this all the transactions fail at:
https://github.com/stevenstc/TRX-Swap-Simple/blob/main/src/components/CrowdFunding/index.js
this.estado = this.estado.bind(this);
async estado()
Looks like this code was used on a previous smart contract or React code

That function is there to update the application that to use the USDT you have to approve the balances to the contract to be able to make exchanges, if you are looking for a simple swap there is this other more complete project
https://github.com/DaLlrium/Brutustoken


Use mount-point for reading/writing configuration files

Q
A

Fixed tickets

License
MIT

Use the mount-points for reading and writting configuration. No more need to creazy hacks.

already embedded


Add tutorial for cloud cover competition on pulling in extra bands

Supplementary tutorial for cloud cover competition with code for pulling in additional bands of data.
Linting checks all passed locally

Thanks for this. I'll merge it now, but I have a couple of concerns:

It's a lot of code. I don't think we'll really be able to maintain it after the competition ends. I'd feel better if this were in a library somewhere and tested. I think that providing STAC items for the training data would help with this (you could store the source sentinel scene id in the STAC metadata, bypassing the need to use the /search endpoint).
It uses a workflow that we're trying to discourage, namely downloading assets to a local disk (https://medium.com/pangeo/intake-stac-nasa-4cd78d6246b7).

So if / when we have issues in the future, expect pings from me :)


Adjacent Bit Counts

Problem Name: Adjacent Bit Counts
Statement:-
For a string of n bits x1, x2, x3 ... Xn the adjacent bit count of the string (AdjBC(x)) is given by
X1X2 + X2X3 + X3*X4 + ... + Xn-1 * Xn
which counts the number of times a 1 bit is adjacent to another 1 bit. For example:
AdjBC(011101101) = 3
AdjBC(111101101) = 4
AdjBC(010101010) = 0
Write a program which takes as input integers n and k and returns the number of bit strings x of n bits (out of 2ⁿ) that satisfy AdjBC(x) = k. For example, for 5 bit strings, there are 6 ways of getting AdjBC(x) = 2:
11100, 01110, 00111, 10111, 11101, 11011
Input
The first line of input contains a single integer P, (1 ≤ P ≤ 1000), which is the number of data sets that follow. Each data set is a single line that contains the data set number, followed by a space, followed by a decimal integer giving the number (n) of bits in the bit strings, followed by a single space, followed by a decimal integer (k) giving the desired adjacent bit count. The number of bits (n) will not be greater than 100 and the parameters n and k will be chosen so that the result will fit in a signed 32-bit integer.
Output
For each data set there is one line of output. It contains the data set number followed by a single space, followed by the number of n-bit strings with adjacent bit count equal to k.
Example
Input:
10
1 5 2
2 20 8
3 30 17
4 40 24
5 50 37
6 60 52
7 70 59
8 80 73
9 90 84
10 100 90
Output:
1 6
2 63426
3 1861225
4 168212501
5 44874764
6 160916
7 22937308
8 99167
9 15476
10 23076518
Probelm Link: https://www.spoj.com/problems/GNYR09F/
@Saloni6111  Please review it.

@Saloni6111  Please Assign to me:)

@Saloni6111 Please Assign to me:)

@harshbhar0629 assigned


remove console.log output from tests

These happen because the mocked electron process uses the same stdout as the test process. It should be given a mock that would filter these out.

Fixed


[FEATURE] improve accuracy of the data models (Optional etc)

Problem Statement
I see a lot of models defined like this:
@dataclass
class ExecuteStatementResponse:
    manifest: Optional['ResultManifest'] = None
    result: Optional['ResultData'] = None
    statement_id: Optional[str] = None
    status: Optional['StatementStatus'] = None

Using this with a linter enabled is a big headache, because you need to do something like below, to validate every property is in fact not None:
response.status and response.status.state and response.status.state == StatementState...

For properties that are nullable/Optional this is very useful, but it seems like too many properties are optional now.
Proposed Solution
Follow the specs from the API to determine which property is actually Optional/Nullable and implement accordingly.
Additional Context
Add any other context, references or screenshots about the feature request here.

Can you just compare to ExecuteStatementResponse()? For dataclasses, __eq__ should be defined to compare fields.

Sorry, I completely misunderstood your request. Thanks for reporting this issue. We will consider this for the backlog. Fixing this for the full Databricks API will take some time, so we likely won't be able to take this on in the near-term. Is it possible to disable the linter for these lines for now?

No worries, I assumed it was misunderstood 🙂   Thanks for getting back on this.
In order to build high quality solutions (with or without a linter) on top of the sdk one would need to manually go through the rest API spec and determine which fields are truly optional and then program accordingly. That is still a sort of workaround I can do now, with or without the SDK, but I will not migrate away from my hand rolled existing models that are accurately defined originating from before the sdk existed.
This is not a 100% blocker preventing me from using the sdk now, but it would increase quality of the solutions built on top of the sdk, as well as reducing the time and effort required to build with it.


Maintenance: address top papercuts

Need to add proper ContextManager typing via typing.ContrxtManager in several places.
Currently overriding single_metric (-> ContextManager[SingleMetric]) and noticed several other areas where this needs done as well.
Also be nice if there was a proper DummySubSegment type returned for tracing provider.in_subsegment to avoid including types from aws modules to cast.
Expected Behavior
Have rich type annotations along for the ride when using context managers.
Current Behavior
Need to self annotate.
Possible Solution
Add in proper type annotation to some or all of the context manager decorated functions.

Thanks a lot for raising this @whardier ! I was about to create a list of papercuts we'd like to address, these being two of them.
The SubSegment typing is the most elaborate one, I need one full day to create and refactor a few things, including having an easy way to unit test your application with a Fake Tracer Provider.

When you have a moment, could you help us by enumerating some of them like the SingleMetric ctx manager?
I'm gonna rename this to top papercuts so we can tackle them accordingly as many as possible

Top papercuts we'd like to address:

[ ] Docs: API Gateway sample layout
[ ] Parser: Typing on model subclassing
[ ] Parser: Typing when using envelope
[ ] Event Handler: BaseProxyEvent missing overload to match Proxy Type Request Context
[x] Tracer: Typing provider when none is passed
[ ] Tracer: Typing SubSegment and Context Manager
[ ] Metrics: Typing SingleMetric context manager

A thought: it took me a few moments and tries to get unit testing working for some features (e.g. https://github.com/awslabs/aws-lambda-powertools-python/issues/706). One suggestion might be a dedicated area of the docs for unit testing, instead of hunting down the solutions for each feature.

Another one :)

[ ] https://github.com/awslabs/aws-lambda-powertools-python/pull/862

Docs PR:

[ ] https://github.com/awslabs/aws-lambda-powertools-python/pull/864

single_metric PR:

[ ] #865

Need to create an issue for it

Another one: Idempotency doesn't support serialization of data classes - both input (idempotency key) and return... it could be easily solved by inspecting if it's a dataclass, then using asdict(). asdict() is infamous for having a performance hit on deeply nested dataclasses, so we'll need to mention in the docs.

[ ] Internal papercut: Improve maintainability of batch processing functional tests (it should be easier to create tests)

We could already fixes, but definitely fits into this theme:

[x] https://github.com/awslabs/aws-lambda-powertools-python/pull/869

Another one: Idempotency doesn't support serialization of data classes - both input (idempotency key) and return... it could be easily solved by inspecting if it's a dataclass, then using asdict(). asdict() is infamous for having a performance hit on deeply nested dataclasses, so we'll need to mention in the docs.

@heitorlessa see https://github.com/awslabs/aws-lambda-powertools-python/pull/908

@heitorlessa - these 2 are ready to be reviewed and merged

https://github.com/awslabs/aws-lambda-powertools-python/pull/910
https://github.com/awslabs/aws-lambda-powertools-python/pull/908

Sorry @heitorlessa  a papercut fix caused another paper cut :P

[ ] - https://github.com/awslabs/aws-lambda-powertools-python/pull/926

Some typos and code clean up for data classes:

[ ] - https://github.com/awslabs/aws-lambda-powertools-python/pull/937

I'm locking this issue and will split them up into individual issues. We've accidentally got sidetracked in not tackling the actual top papercuts and started addressing new ones.


Update README to correct backend link

The link that you have added that's a private repository and we have some sensitive data over there so cant expose it publically.


Please Add support for DoAppIntAfterRestart

Currently I have to run a separate PS script to make sure this is set on all of our PROD websites, but it would be nice to be able to set this in xWebsite and xWebApplication:

Set-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location 'Default Web Site' -filter "system.webServer/applicationInitialization" -name "doAppInitAfterRestart" -value "True"

This can be set with xWebConfigProperty, so this is now resolved by PR #330.  Please re-open if you feel this needs to be further addressed.


[Question] How to grey out icons when button is disabled?

Using your demo and by disable buttons it grey out the icons as expected.

However, I can't get same behavior on my application:

After analyzing your demo app, I can't find any associate style to make this happen... What I'm missing?
The difference is my application use Bindings for IsEnable while your is using style, but I don't know if that makes the difference.

I tried to reproduce your bug.
I updated the Demo project to use a basic view model. Some buttons are disabled by style others by binding. Unfortunately. I can't reproduce the bug.
The icon color uses the Foreground brush of it's parent. Maybe your buttons do not change their Foreground brush when disbled?

The icon color uses the Foreground brush of it's parent. Maybe your buttons do not change their Foreground brush when disbled?

They do, I'm using the FluentTheme. See the middle button which have the letter "D", it's disabled and got greyed instead of active black

In my whole app I can't get it to work like that, no matter if is a  or
NOTE: I tried to switch to the normal theme and that now shows as expected! The "problem" is when using fluent theme...

I tried to reproduce it with the demo app. It is already using the Fluent Theme. I checked again and can't reproduce the bug. I checked with the Simple Theme as well.
Can you send me a minimal app to reproduce the bug?
Did you try to use Avalonia 11 already?

Did you try to use Avalonia 11 already?

Yes, same problem...
I temporary fix it with ``Icon:disabled -> Opacity=0.3

Can you send me a minimal app to reproduce the bug?

Will try to do that. Also you can try my app repo (But that is still on v0.10)

I found the actual problem (my fault), it was a leftover on my theme style which was forcing Foreground color:
    <Style Selector="i|Icon">
        <Setter Property="Foreground" Value="#1E1E1E" />
    </Style>

Removing such fixed the problem and now it fades correctly based on stock themes.
Thanks for looking. Make sure to take a peak at PathIcon

I'm glad you figured it out.
Thanks for the tip using PathIcon. I will check it out.


Is there a simple way to get inference results on video files that are not part of the considered data sets?

Any hint would be welcome, including, if necessary, how to patch the code for that.
Thanks for sharing this excellent work.
Best regards,
Georges.

I made a standalone utility to do this - it can run inference on any of their three pre-trained models given an input sequence of image files. You can find my utility called rawrun.py in my forked copy - and I'd be happy to contribute this back if it is useful.
For example, if you have the kinetics dataset already prepared you can try running inference on some of the training data by running something like:
python rawrun.py \
  --depth 50 \
  --input-glob data/kinetics_videos/jpg/yoga/0wHOYxjRmlw_000041_000051/image_000{41,42,43,44,45,46,47,48,49,50,41,42,43,44,45,46}.jpg

And it will run these 16 input images against the resnet50 model and report back a json with the top-3 results:
[{'label': 'yoga', 'score': 0.9823519587516785},
 {'label': 'head stand', 'score': 0.0077535356394946575},
 {'label': 'bending back', 'score': 0.0018582858610898256}]

For reference, here's what those particular 16 input files look like in order:

Note that this particular input-glob matches exactly the training data (incidentally I found it bizarre that all of the training data had these "skips" in them instead of being temporally contiguous) so we would expect a good score. This rawrun utility can also take fewer than 16 inputs files and will pad them appropriately - so you can get identical results as above providing just the 10 marked frames:
python rawrun.py \
  --depth 50 \
  --input-glob 'data/kinetics_videos/jpg/yoga/0wHOYxjRmlw_000041_000051/image_000{41,42,43,44,45,46,47,48,49,50}.jpg'

[{'label': 'yoga', 'score': 0.9823519587516785},
 {'label': 'head stand', 'score': 0.0077535356394946575},
{'label': 'bending back', 'score': 0.0018582858610898256}]

Or you can even test individual files to see how well the model does with only spatial cues and without access to any temporal differences:
python rawrun.py \
  --depth 50 \
  --input-glob 'data/kinetics_videos/jpg/yoga/0wHOYxjRmlw_000041_000051/image_00041.jpg'

[{'label': 'yoga', 'score': 0.7186599969863892},
 {'label': 'head stand', 'score': 0.14070658385753632},
 {'label': 'bending back', 'score': 0.02092701569199562}]

Hope this is useful for other and note a huge part of getting this utility to work was getting access to the labels in the correct training order for their pre-trained models, and so I want to thank @Jimmy880 for getting these recently in #211

See if this helps


PHP 8 support

Can't currently use this package in PHP 8 projects. Change 'php' requirement from only ^7.0 to ^7.0 or ^8.0.

No longer need to see if this package can help. Discovered environment variables that achieve the same...


Fix invalid JSON in CNI portmap config

The portmap CNI config JSON rendered by cni-install.sh has an extra , making it invalid:
Error loading CNI config list file /etc/cni/net.d/05-cilium.conflist: error parsing configuration list: invalid character '}' looking for beginning of object key string

[x] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin.
[x] Provide a title or release-note blurb suitable for the release notes.
[ ] Thanks for contributing!

Signed-off-by: Steven Normore<EMAIL_ADDRESS>

This change is

Coverage increased (+0.004%) to 44.499% when pulling 53594b7554c6947f80690cf47c42c185fafe5b32 on snormore:fix-cni-portmap-json into f55b313486a46b4a7636070ea64cf0c1c6541230 on cilium:master.


Open Sign in link in full window

What platform is your feature request related to? (Delete other platforms).
MsTeams
Is your feature request related to a problem? Please describe.
our service oauth page is large and needs more space to display than the default size of browser pop-up where sign in link is displayed.
Describe the solution you'd like
Open the sign-in link in a full windows browser instead of a smaller pop up
Describe alternatives you've considered
N/A
Is it possible to make this pop-up full screen?

This is how we are sending the card to launch sign-in
{
  "type": "AdaptiveCard",
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.2",
  "body": [
    {
      "type": "TextBlock",
      "text": "Sign in card",
      "height": "stretch",
      "size": "ExtraLarge",
      "weight": "Bolder",
      "color": "Dark"
    }
  ],
  "actions": [
    {
      "type": "Action.Submit",
      "title": "Click me for signin",
      "data": {
        "msteams": {
          "type": "signin",
          "value": "Sing In URL"
        }
      }
    }
  ]
}

closing because opened https://github.com/microsoft/AdaptiveCards/issues/4662


Issue with querying tags with emojis

I'm using the following query:
task from #task/✔-Done

Rendering the query returns the following error:
Dataview: Error:
-- PARSING FAILED --------------------------------------------------

> 1 | task from #task/<img draggable="false" class="emoji" alt="✔" src="https://twemoji.maxcdn.com/v/13.0.1/72x72/2714.png">-Done
    |                 ^
  2 |

Expected one of the following:

'and' or 'or', /FLATTEN/i, /FROM/i, /GROUP BY/i, /LIMIT/i, /SORT/i, /WHERE/i, EOF

Seems like the same issue a lot of people are suffering from when using Dataview with the Twitter Emoji plugin. The plugin replaces emoji with images, which corrupt the query before dataview reads it. Will try to fix by bumping up dataview's priority in next release.

Seems like the same issue a lot of people are suffering from when using Dataview with the Twitter Emoji plugin. The plugin replaces emoji with images, which corrupt the query before dataview reads it. Will try to fix by bumping up dataview's priority in next release.

Just reminding you, this still happens for me!

Just piling on here - this is happening to me as well. Would be great to be able to use emojis in dataview!


Default composer runtime should use SetTestOptionsMiddleware

A convenient way to generate a test is to generate a transcript using the emulator and then turn that transcript into a test script. The issue is that randomness in bots makes it impossible to replay a transcript. In order to fix this, the SDK has:
Defined SetTestOptionsMiddleware in Adaptive.Testing to pick up a SetTestOptions custom event and copy the payload into conversation.testOptions. We made the payload open ended.
Defined randomSeed to seed a random number generator or randomValue to return a constant value from all calls to random and adjusted all users of random to make use of that.
Defined a bf plugin that converts a transcript into a test script that supports the history and mocking.
Samples should include SetTestOptionsMiddleware so that when a transcript is recorded with a bot you can control randomness.

For other middleware such as the typing indicator, we have provided a configuration option to toggle it on and off. This should probably apply for this middleware as well.

@garypretty leaving this out of R12 until you have a chance to understand the middleware better with Chris Mc

@garypretty leaving this out of R12 until you have a chance to understand the middleware better with Chris Mc


Make sure licence check plugin is working

Either configure the licence check with licence set, or disable the plugin completely.
Currently just disabled it from the GH workflow.

Hello,
I also have the problem that our tests with coverage no longer run when the Camunda license is stored.
Greetings
Dennis

Could you have a look on that, @rohwerj ?

JUnit-BPM-Coverage.zip
Hello Jan,
here is an example project.
The tests are green. If you put a camunda-licence.txt in the classpath (e.g. src/main/resources), there is an error when initializing the test coverage lib.
Thank you and greetings
Dennis

Hello @DennisRieg.
This is very strange. I ran your project locally first without and then with a camunda license on the classpath.
For me it works in both cases.
I'm also sure that it picked up the license as the following line was in the output:
21:06:49.716 [main] INFO  o.c.b.s.b.s.c.i.c.EnterLicenseKeyConfiguration - Found provided license file: camunda-license.txt
Is there something else in your setup?
Could you share the stacktrace or the output when the library fails to load?

Hi @rohwerj,
I've attached the full output of maven clean install. The test fails for me with Java 11, 17 and 19 on a Mac M1.
Greetings
Dennis
output.txt

Hi @DennisRieg.
This is really very strange. The error is an indicator, that the test execution listener is not correctly called at the setup of the tests.
I still cannot reproduce this problem locally. Tried with different Java versions and also tried to align the maven plugin versions with those from you log.
Still the tests succeed whether I have a valid camunda license in the classpath or not.
I'm currently out of ideas, but will continue to try to reproduce the error locally.
Is your license only a Camunda BPM license? Or a combined license for Optimize or Cawemo also?
Could you share the first line of the license key.
In my case it's --------------- BEGIN CAMUNDA BPM LICENSE KEY --------------- so nothing secret in there.

Hi,
our licence starts with
--------------- BEGIN CAMUNDA BPM LICENSE KEY ---------------
hm, that is very strange.
I will try to run the example on a windows machine....
Greetings
Dennis

Hm,
I can't reproduce it with the same example on a windows machine... Maybe this error has nothing todo with this great lib, but with camunda on Mac M1...
Greetings
Dennis


Is RTX 4070 and not RTX 4070ti supported - ambigous documentation

What is the issue?
Hello,
my prompts to ollama model codellama:34b-code-q6_K is taking very long to process.
And in the CPU Monitor many CPUs get envolved when calculating an answer.
What am I doing wrong? Is it a bug or do I have to bear with it?
I expect answers within a second delay.
The documentation at NVIDIA (https://www.nvidia.com/de-de/geforce/graphics-cards/40-series/rtx-4070-family/) says that it is CUDA-Enabled, but on https://github.com/ollama/ollama/blob/main/docs/gpu.md it is not listed for capability 8.9.
I'm using a linux system with the latest CUDA Libraries enabled.
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
ollama version is 0.1.24

I am using a 3080 Ti and this is not in the list too, but CUDA works with ollama for me. I think the ollama's GPU documentation is just outdated. So not a Ollama issue most likely.
Did you install cuDNN on your system? Which versions are you using?

Nvidia graphics drivers
CUDA
cuDNN

Try to update to the newest Nvidia graphics driver, CUDA, cuDNN, I just did that yesterday and works perfectly fine for me.

Both are supported. I've updated the docs w/ #5036 . @thinkrapido the problem is you're loading a model which is too big for your GPU. You can use ollama ps to see what percentage of the model is being loaded onto CPU vs GPU.


Ability to receive messages >4MB when subscribing to pubsub

Summary
I have a scenario where a Python app subscribes to Dapr pubsub using dapr.ext.grpc's App. When receiving messages >4MB I see the following error in the Dapr sidecar:
error: code = ResourceExhausted desc = Received message larger than max (20000158 vs. 4194304)

I found that the ability to specify max messages size was added to DaprClient in #371.  Is there a way to increase the max message size to be able to receive messages >4MB with App subscriptions?

This question belongs in the dapr/dapr (the runtime repo), or better yet our Discord.
Take a look at the CLI flag or equivalent Kubernetes annotation got HTTP request size. https://docs.dapr.io/reference/cli/dapr-run/
"--dapr-http-max-request-size" default is 4, for 4MB

Thanks @berndverst for your reply. I may be missing something, so here some more context:

the mentioned HTTP request size setting didn't make a difference (tried it before opening the issue); I thought that's expected as the setting seems to be about HTTP configuration whereas the described issue is about gRPC?
the reason I raised this in the Python SDK is that there was a similar issue mentioned in python-sdk for DaprClient (#371), so I assumed that also in dapr.ext.grpc's App exposing the ability to configure the max message size would be required?

Ah got it. You are right, let me see how the GRPC server (which the sidecar calls into) in dapr.ext.grpc can be configured in a similar way.
In the Dapr runtime those HTTP flags are the way you control message and header size even for GRPC. Probably because GRPC uses HTTP2.

@alecor191 this will be in the next version of the SDK due for release in just a couple of weeks.
You may already be able to use this functionality in prior SDK releases via the **kwargs of the constructor.
from dapr.ext.grpc import App

SIXTEENMEGABYTES = 16 * 1024 * 1024

app = App(options=(('grpc.max_send_message_length', SIXTEENMEGABYTES),('grpc.max_receive_message_length', SIXTEENMEGABYTES),))

Going forward of course there is a convenient named parameter in the constructor, max_grpc_message_length which provides the required options as seen above.

Awesome! Thanks a lot @berndverst!

This problem still happens when using workflows. Since workflows are communicating with the sidecar directly over gRPC omitting the API layer, and there doesn't seem to be a way currently to pass max_grpc_message_length to the workflow runtime
durabletask-worker WARNING: Unexpected error: <_MultiThreadedRendezvous of RPC that terminated with:
 status = StatusCode.RESOURCE_EXHAUSTED
 details = "Received message larger than max (7887519 vs. 4194304)"
debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"Received message larger than max (7887519 vs. 4194304)", grpc_status:8, created_time:


Worked on Lollipop, doesn't work anymore

Hi, I have a vegetahd with 5.0 and this module doesn't work well anymore... Back on 4.4.2 everything worked fine all the time, now I get a lot of issues.  Sometimes it plays the song from the beginning on background, the buttons on the notification never work, and if I go back to the app the video breaks and I have to restart it. Anything I can send to help? (some logs or Info)

Reason: Not small changes in YT app. Not sure if possible to fix.

I have the same problem, do not work, no notification no background :(
Lollipop 5.1
Youtube 10.34.57
Thanks for your work developing this.
Grettings

Sorry doble post, i downgraded Youtube to 10.33.xx and now it works :D


Manifest release is releasing the entire repo

Hello,
I am following the documentation for manifest release, but when downloading the generated assets for a release, the entire repo is being included in the assets
This is the layout of the repo
.
├── helm-charts
│   ├── airflow-workload-id
│   │   ├── CHANGELOG.md
│   │   ├── Chart.yaml
│   │   ├── README.md
│   │   ├── README.md.gotmpl
│   │   ├── Taskfile.yaml
│   │   ├── templates
│   │   └── values.yaml
│   ├── codesearch
│   │   ├── Chart.yaml
│   │   ├── README.md
│   │   ├── README.md.gotmpl
│   │   ├── Taskfile.yaml
│   │   ├── templates
│   │   └── values.yaml
│   └── gcs-web-server
│       ├── CHANGELOG.md
│       ├── Chart.yaml
│       ├── README.md
│       ├── README.md.gotmpl
│       ├── Taskfile.yaml
│       ├── templates
│       └── values.yaml
└── release-please-config.json

8 directories, 18 files

And the below config files
# .release-please-manifest.json`
{
  "helm-charts/airflow-workload-id": "1.1.0",
  "helm-charts/gcs-web-server": "1.0.0",
  "helm-charts/codesearch": "1.0.0",
}

and
# release-please-config.json
{
  "bootstrap-sha": "d50c1d3d59ab955ab8b0330131c22790d8acbf1b",
  "packages": {
    "helm-charts/airflow-workload-id": {
      "changelog-path": "CHANGELOG.md",
      "release-type": "helm",
      "bump-minor-pre-major": false,
      "bump-patch-for-minor-pre-major": false,
      "draft": false,
      "prerelease": false
    },
    "helm-charts/codesearch": {
      "changelog-path": "CHANGELOG.md",
      "release-type": "helm",
      "bump-minor-pre-major": false,
      "bump-patch-for-minor-pre-major": false,
      "draft": false,
      "prerelease": false
    },
    "helm-charts/gcs-web-server": {
      "changelog-path": "CHANGELOG.md",
      "release-type": "helm",
      "bump-minor-pre-major": false,
      "bump-patch-for-minor-pre-major": false,
      "draft": false,
      "prerelease": false
    }
  },
  "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

And below is the GitHub action I am using
on:
  push:
    branches:
      - main
name: release-please
jobs:
  release-please:
    permissions:
      pull-requests: write
      contents: write
    runs-on: ubuntu-latest
    steps:
      - uses: GoogleCloudPlatform/release-please-action@v4
        id: release
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          config-file: release-please-config.json
          manifest-file: .release-please-manifest.json

I am trying to get something like https://github.com/Financial-Times/origami where each package is released as it's own thing, and the assets associated with that release are only in that folder
I'm not sure where I've gone wrong, or if this is the expected behaviour?
Docs followed: https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md

same . The bootstrap sha is not being read

I remembered encountered the same issue and the way I resolve it is to not use v4 but v3.
It looks like there are some behaviour difference between v3 and v4 especially in the manifest and when I looked at the source code, not all parameter migrated to the v4. (e.g pr as draft)


Update for new CDS API

@bgruening Sorry, but I've got another pull request. Yesterday, ECMWF released the new version of the API https://confluence.ecmwf.int/display/CKB/Please+read%3A+CDS+and+ADS+migrating+to+new+infrastructure%3A+Common+Data+Store+(CDS)+Engine so older versions of the CDS API call don't work.
I've updated the tool to comply with the new API, primarily up versioning the Python libraries, but also a slight change in how the data is called. I've updated the documentation.
The current test doesn't actually test if data is downloaded, just that the API call text is as expected. So, I'm not sure if this needs an improvement.

@pixalytics Thanks a lot for fixing this tool!
it was written a while ago and does not follow the recommended practices for EDAM annotations. I think that you need to move them for instance after the description of the tool.

@pixalytics sorry I still can not push to your branch. Can you maybe provide commit access to your fork. I can then handle the lining issues. They are not your fault, our listing just got stricter since the tool was last modified and I would take the opportunity to fix the linting.

Thanks a lot. This version will be installed over the weekend. If you need it earlier, please let me know.


util/packer: Update Ubuntu URL

Ok, I think I got it right this time
Signed-off-by: Josh Cox<EMAIL_ADDRESS>

Indeed! (for future reference you can force push to update a PR)
LGTM.


Generate CCMap layer

script outputs ccmap format to stdout
currently BadLinks are not included

[x] write presentation template; suggestions welcome (colors, sizes, shapes/icons, etc.)
[ ] handle BadLinks; e.g. special line color

This is really helpful. I expected to do this myself, and was procrastinating it.

handle BadLinks; e.g. special line color
Although it's named that way, BadLinks aren't really a punishment or something bad. It just means that it doesn't use the CanonicalDestination for a station for some reason. Often it's because it's a noncompliant switch, but some compliant switches use BadLinks.


Ident cannot contain number. Is that intentional?

https://github.com/dtolnay/thiserror/blob/f1bf89d286a7d0d700db449d7cdf13af3d0ed67f/impl/src/fmt.rs#L66
This will cut off indentifier at the first occurrance of number if I get it right.
The identifier like "{a1b}" would be cut as "a” and “{1b}” which will just not work.
Is that intentional?

Thanks, not intentional. I released 1.0.3 with a fix.


feat: check duplicated parameters in BAOAB also

check key duplication in read_BAOAB_langevin_integrator also
use toml::value::contains to check if a key exists.
some style changes

Thank you for your PR.
I'll unify the style of reading env part in read_underdamped_langevin function to using contains style.


Nagivgates back to another pane if the same file opened there too.

Navigates back to another pane if the same file opened there too, though more expected that it should navigate back to the same tab.

VSCode Version: 1.42.0-insider
OS Version: windows 10

Steps to Reproduce:

Open file in the left pane
Open the same file in the right pane
From the right pane code go to some other file (for example open type definition of some code element)
Press Alt+left to navigate back to the previous location.

It jumps to the left pane (as there opened the file that it should be navigated to). But to me seems more expected that it would return the previous file in the right pane. As it would do if in the left pane there was opened another file.

@bpasero what issue is it duplicate of?

@bpasero, None of the issues listed there is the same as this issue. While at it, #67335, which was linked to from here, is not a duplicate of anything either.

Check out https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3Aworkbench-history+, e.g. there is one that asks for a per-editor group history, which would help here.
On top of that, https://code.visualstudio.com/updates/v1_42#_navigate-most-recently-used-editors would probably help if you only want to navigate between editors.

From that list, this looks like a duplicate of #9526 and #45233. When marking something as a duplicate, it would be helpful to link to the issue it's a duplicate of, rather than just a bunch of unrelated issues.


refactor: delete unused column and rename the nonce constants

Description
This pr will:

delete an unused column L2BlockHeight in table mempool_tx
rename the constants used for nonces and other fields

/update-integration-keyfile
Changes
Notable changes:

delete column L2BlockHeight in table mempool_tx
rename constants

/update-integration-keyfile

/update-integration-keyfile

/update-integration-keyfile


Update dsd-for-pcie-root-ports.md

Added _DSD for D3 Cold Aux Power Support

Thanks for the PR, @AaDake!


Merge augur-node to monorepo

V2 branch in augur-node repo merge to augur monorepo

We only need augur-node to respond to requests. They do not need to be right. Will hold off on merge until there is a clear issue.


-sort.bam and -ready.bam, are they the same?

Hi Bcbio Team,
I would like to clarify about the output BAM. In the work/ bcbio generated -sort.bam, but in the final/ it has -ready.bam. However, I cannot find the command in bcbio-nextgen-commands.log how bcbio generated -ready.bam from -sort.bam. Are they the same? I noticed the size is smaller in -ready.bam.
Thank you!

Hi @rkendar,
It depends on the pipeline and what options you have set but generally the -sort.bam is an intermediate file that has some further processing done to it for most pipelines to get to the -ready.bam file, so they should usually be different.

Would it makes sense to give these files more descriptive names and/or add this explanation to the docs?

Heya, I don't think so-- the work directory is design to house intermediate files so mapping out what they are isn't too useful. Just working from the -ready file is the intended workflow post run.

Hi @roryk for clarification - are "all" the commands used for "further processing" of intermediate files recorded in the bcbio-nextgen-commands.log file?

They should be, but it is possible we are missing one in one of the pipelines. If you spot any missing, let us know and we can wrap it in the function that writes it out to the log.

Hi @roryk ,
Thank you for your answer.
I see. The reason I ask this is currently my variant calling has some issue (running on AWS), then I want to rescue the BAM to analyze it locally. Since the pipeline hasn't finished yet (because of that issue), so I don't have final/ folder. Do you know where is the -ready.bam in work/ folder? In work/align/ I just can find the -sort.bam.
I have looked into the 3 logs file bcbio generated, but I can't find how is -ready.bam is generated from -sort.bam in bcbio-nextgen-commands.log. I can find -ready.bam in other 2 logs, but it just stated the path of the file in final/ folder.

Hi @rkendar,
Ah, gotcha. The -ready BAM is just a renamed version of the BAM file that is being used and it isn't logged anywhere what the original name was. It would be good for us to add that to the log.  if you look at what is being used for variant calling, then that's the BAM file that will end up as the -ready BAM file, so you can grab that one and you should be all set.

Hi @roryk ,
Yes, you're right! It used the -sort.bam from work/align/, so it should be the same with -ready.bam. But last time check they have slightly different sizes (-ready.bam is smaller), that's why I got confused and assume they're not the same. I will double-check it and get back to you.
And yes, adding the step how is -ready.bam generated (even only rename) in command.log will be great to avoid confusion, just in case. Thank you so much!

Thanks-- they should be the same size, it is just copying the file over, so it would be good to check if anything else has been done to the file. What pipeline are you running?

Hi @roryk ,
Sorry for the late update. And yes after I compare about 20 BAMs, the -ready.bam and -sort.bam have the same size! So sorry for the wrong information previously. Thank you for your explanation :)
Now we're running paired T/N pipeline using mutect2 and strelka2 as variant_caller and cnvkit as sv_caller. But seems like sterlka2 have a problem when running in AWS, not sure what happened could be environment issue because it works well when we run locally, thus we just download the BAM to local and run locally.

Thanks for following up! Glad that helped-- we can help figure out the strekla2 problem if you can post what you are seeing in a new issue, another user was also having some troubles with strekla2 as well.

Hi!
There was a python2/strelka2 issue:
https://github.com/bcbio/bcbio-nextgen/issues/3019
It is not a clean solution, but in some cases, it was solved by installing system-wide python2.
Sergey


pantheon.switchboard-plug-network: 2.4.4 -> unstable-2023-09-05

It would fail to build, as networkmanager got upgraded inside #257792
Things done

Built on platform(s)

[x] 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/)
23.11 Release Notes (or backporting 23.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.

I pinged upstream about missing release:
https://github.com/elementary/switchboard-plug-network/pull/357#issuecomment-1774012214

LGTM. Briefly tested.


Larger tap targets for separators

Sometimes, it looks nicer to have a more Divider-like separator with a very thin thickness.
If the thickness is set to a small number, however, the separator becomes very hard to drag.
It'd be great if there was a way to increase the tap target of the separator without making it visually thicker.

I agree! Sometimes it is hard to drag it on touch screens devices creating a bad user experience.


Bag content explosive resistance is applied to wearer

Description

While wearing a bag the explosion resistance that's supposed to only be transferred to the contents of the bag are also applied to the entity wearing the bag.
This means everyone using a syndicate duffel bag has 90% explosive damage reduction, and people wearing any other bag have a 10% explosive damage resistance.
Reproduction

Explode an explosive grenade at the feet of a naked Urist: 50 blunt | 50 piercing | 50 heat damage
Explode an explosive grenade at the feet of a naked Urist wearing a syndicate duffel bag: 4.96 blunt | 4.96 piercing | 4.96 heat damage.

@deltanedas pro

????? how


Add examples/rtp-forwarder

As suggested by https://github.com/pion/webrtc/issues/1061, this is a proposition to add an example showing how to forward streams using RTP.
Let me know what you think.
Cheers

@asticode this is AMAZING! Just playing with it now it is fantastic how you can flip between ffmpeg/VLC.
I am going to fix your commit (golangci-lint is failing and some other stuff) and then merge!

Closing for #1068


Add fallback file extension

If mimetypes.guess_extension() cannot guess the file extension, and neither of the two hardcoded cases for mp3 or aac are met, the file silently fails to download. In this case, defer to the URL itself.

Looks good, thanks for your contribution! I'll go ahead and add this change to the new version.


videos are not playing

I tried both Exo & MPV player but not a single video is playing..
Please help

Sorry no problem your side.. i think there is problem with shared drives.. not a single videos are playing in those shared drives... Sorry


Questions about the Dataset

Thank you for useful sharing.And I have questions about the pictures used in this model.What image formats are they in the program, and where could I get available data sets.

作者您好，我尝试使用您的代码进行训练，但是效果似乎不是很好。我采用的参数是run.py文件开头给出的建议参数，不同之处在于根据我训练集图片大小改动了切块的大小。自编码器训练了30个epoch，训练结果来看loss长时间稳定E-4，训练准确性长时间稳定E-6。验证结果来看，RMSE=6~10，ERGAS=3.4，SAM=1.3，这些似乎比论文中提到的大不少。我尝试修改学习率，做归一化处理，但是没有好转。所以我才向作者请教，作者若有空能给予一些帮助？谢谢

Thank you for useful sharing.And I have questions about the pictures used in this model.What image formats are they in the program, and where could I get available data sets.

The data set I obtained from the paper "Spatio-Temporal Fusion for Remote Sensing Data: An overview and New Benchmark", I hope this can help you. I do n’t know if it ’s because of the data set that the result of my run is quite different from the paper. If you can use this data set to run well, please let me know in the first time, thank you
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年4月16日(星期四) 中午11:00
收件人<EMAIL_ADDRESS>抄送: "方政"<774380232<EMAIL_ADDRESS>主题: Re: [theonegis/edcstfn] Questions about the Dataset (#1)
Thank you for useful sharing.And I have questions about the pictures used in this model.What image formats are they in the program, and where could I get available data sets.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Implement test framework with ballerina

Purpose

Implement test framework with ballerina

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Tracked by the issue https://github.com/ballerina-platform/ballerina-lang/issues/38710


Create Order

User Story
As an user, I would like to create my order so that I can track order history.
Detailed Description
System needs to check product availability using product_id. If stock decrements by 1 successfully, a new order is created.
Acceptance Criteria

[ ] Given username, product id, then create a new order

finished, may upgrade to improve concurrent performance using Redis and Lua.


Optionally configure proxies for control plane

Related #856
Unsets all environment variables ending with _PROXY (case insensitive) before (re)configuring the control plane. #395 unsets only http_proxy, HTTP_PROXY and HTTPS_PROXY, leaving NO_PROXY and others set.
The unsetting can be disabled by setting:
control_plane:
  use_proxy: true

in cluster.yml (TODO: doc update)
Note: enabling proxy for the control plane will make kubernetes components communicate over the proxy unless you pay attention to the NO_PROXY setting.

Should JoinNode reconfigure existing nodes?

Should JoinNode reconfigure existing nodes?

Now that you asked this... I think JoinNode is not the right place for this. Maybe it should be part of the ConfigureKubelet phase (kubelet systemd unit is the key here).

The JoinNode command will currently always get the proxy envs, I assume it will try to use them.

Like anything that uses kubeadm/kubectl through ssh.exec

E2e seems to be broken.

I think it's passing now, but just wondering should the setting be used for all the kubectl / kubeadm usages?

I think it's passing now, but just wondering should the setting be used for all the kubectl / kubeadm usages?

Not sure about that.. anyway if those need to be tweaked it can be a separate issue/pr (this is about the control-plane).


Add new icons for IPSIS Standard CSV project

These icons are going to be used by my team (Team Autobahn) for our IPSIS Standard CSV project. As we think that they will be quite reusable, we have decided to contribute them here.

Thanks for the icons Matt! Just so they align with the naming of the other icons, could you rename these to:

merge-icon -> merge
no-editing-icon -> edit-not-editable
validate-icon -> validate

The -icon suffix is redundant and for things like the not-editable one we like for them to be alphabetically next to their other variants. So edit.svg and edit-not-editable.svg will be next to each other.

Thanks for the icons Matt! Just so they align with the naming of the other icons, could you rename these to:

merge-icon -> merge
no-editing-icon -> edit-not-editable
validate-icon -> validate

The -icon suffix is redundant and for things like the not-editable one we like for them to be alphabetically next to their other variants. So edit.svg and edit-not-editable.svg will be next to each other.


A guide to removing users from Puppet

This is an attempt to clarrify the process that should be used as
different developers seem to approach this in different ways and if you
log onto any of our machines you'll see many home directories for staff
that have left.
A better alternative would be that the govuk_user module removed every
home directory of users who aren't available as this would simplify
the process.

Looks good Kevin, I normally comment on user removal PRs to suggest doing this, but having some documentation to point to will be helpful :+1:

@cbaines I've updated this now if you don't mind giving it another look over.

@cbaines I've updated this now if you don't mind giving it another look over.

Sure, it looks good to me :+1:


x/tools/internal/lsp: consider not trimming completion "filterText" prefix

Breaking this out from https://github.com/golang/go/issues/31178#issuecomment-483940354
For completions, currently gopls sets filterText to the prefix-trimmed completion candidate. For example when completing at fmt.P<> you will get back a candidate with label of "Print(...)" and a filterText of "rint". This breaks lsp-mode in emacs because "P" does not match the filter text "rint".
I surveyed some other clients/servers regarding filterText:

java/rust/python servers don't set filterText
clangd sets it, but does not trim the prefix
vscode seems to match using the label or filterText, so you can mix and match from either (that is why the trimmed prefixes don't break vscode). the lsp spec seems to suggest filterText should supersede label if present, but maybe vscode does this to be more lenient in general.
sourcekit-lsp sets it, but doesn't seem to filter the candidates at all based on the already-typed prefix

I haven't found any hard evidence saying filterText must include the full identifier, but at this point I think gopls should not trim the prefix.

Sorry for not responding to this earlier. The reason I set the filterText is specifically because of the behavior of VSCode. The example I found was this:
I have 2 variables in scope item and insertText. Without filter text, I type i and get suggestions for both variables, then I add the t and only see suggestion for insertText because of the VSCode filtering on the label. However, when I set filterText, the behavior is as I would expect.
It would be helpful to clarify this in the spec, so I filed https://github.com/Microsoft/language-server-protocol/issues/729.

This also seems to be breaking LanguageClient-neovim as well

Fixed as of https://golang.org/cl/176958.


Turn on UTF8Validate.REPLACE by default

for TextCallbackStreamer to handle unfinished characters correctly
https://github.com/openvinotoolkit/openvino.genai/blob/master/src/cpp/src/text_callback_streamer.cpp#L26-L27
CVS-157110

there is still a typo, please don't merge. I will update when all typos are fixed

fixed and checked. Both cli and python api correctly works by default and when 'ignore', 'replace', 'disable' are specified.


update_management_ssl_cert failed with "The error was: TypeError: warn requires a string not a <class 'NoneType'>"

Attempted to udpate the server certificate using update_management_ssl_cert role, but failed due to the following error.

Error> action does not have the right set of arguments or there is a code bug! Options: isamAppliance=self.isam_server, force=False, certificate="/work/server-cert2.p12"

So updated as follows and tried to run again.

- name: Update management ssl certificate Mod
ibm.isam.isam:
log: "{{ log_level | default('INFO') }}"
force: "{{ force | default(False) }}"
action: ibmsecurity.isam.base.management_ssl_certificate.set
isamapi:
certificate: "{{ update_management_ssl_cert_cert }}"
password: "{{ update_management_ssl_cert_pwd }}"   <-- here
when: update_management_ssl_cert_cert is defined and update_management_ssl_cert_pwd is defined
notify: Commit Changes

But it failed with "TypeError: warn requires a string not a <class 'NoneType'>" error.
This role was successful when I ran it a few years ago, has anything changed?

I have a newer version of this , I'll update it in the collection.

Is it newer than 1.0.28?
I think it is simply passing the value of the ibm security api via plugin module, but I couldn't figure out where it was getting caught in the checks.
Could you please share the new module with me?

The new role (base/set_management_ssl_cert) is in the master branch , will be published soon.

There's indeed a problem in the ibmsecurity code (warnings cannot be None).  I'll fix it there, but in the mean time you could get around the problem by temporarily uninstalling cryptography.
pip uninstall cryptography
This disables idempotency, but the role works.

Fixed in ibmsecurity 2<IP_ADDRESS> .
I've noticed that idempotency not always works, but that is a different issue.


i18n(es): translate ui.ts

[x] reviewed
[x] updated
[x] ready to merge

@sarah11918 ready to be merged! 🚀


[ListView] Nested items are locked if another tab is clicked while ListView is still 'scrolling'

If you have a <ListView/> inside a <Navigator/> and a <TabBarIOS/> Navigation between the tabs will cause the ListView to lock up if it was still scrolling at the time that it was navigated away from.
Returning to the list view will yield no click information until it has been scrolled and allowed - at least a small amount - to decelerate.
I have uploaded an example of the bug at RNPlay https://rnplay.org/apps/IpHZ6g/edit
If you scroll the first tab, and click tab 2 while it's still scrolling then navigate back to tab1, you will not be able to click anything until it has been scrolled again. (If you can click you will get an intentional RSOD)

Your example seems to be broken, the ListView doesn't scroll down...

It scrolls fine? I've just scrolled, can you not scroll at all (by flicking up to page down)?
Sent from my iPhone

On 28 Jul 2015, at 23:40, Dave Sibiski<EMAIL_ADDRESS>wrote:
Your example seems to be broken, the ListView doesn't scroll down...
—
Reply to this email directly or view it on GitHub.

@MossP any news on this. I was able to reproduce it but it took me some time.

No update, it's still an issue in 0.11-rc. To trigger it easily just scroll the contents on the first tab, and while it's decelerating, click 'tab 2'.
When you then click tab 1 - you will notice that you are unable to click it.
I've changed the way that I've illustrated the error as the intentional crash was probably confusing. It will now popup an alert box if the click works, or nothing will happen if it doesn't (after switching tabs whilst decelerating).

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/listview-nested-items-are-locked-if-another-tab-is-clicked-while-listview-is-still-scrolling
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix. We rely on the community to provide
bugfixes as the core team is heavily focused working on performance.


New add Baichuan Model

Motivation and Context
At present, the Baichuan Large Language Model is relatively popular and efficient in performance. Due to widespread market recognition, this model has been added to enhance the scalability of Langchain's ability to access the big language model, so as to facilitate application access and usage for interested users.
System Info
langchain： 0.0.295
python：3.8.3
IDE：vs code
Description
Add the following files:

Add baichuan_baichuaninc_endpoint.py in the libs/langchain/langchain/chat_models
Modify the init.py file,which is located in the libs/langchain/langchain/chat_models/init.py：
a. Add "from langchain.chat_models.baichuan_baichuaninc_endpoint import BaichuanChatEndpoint"
b. Add "BaichuanChatEndpoint" In the file's __ All__  method

Your contribution
I am willing to help implement this feature and submit a PR, but I would appreciate guidance from the maintainers or community to ensure the changes are made correctly and in line with the project's standards and practices.

looks great! could we add a demo notebook to docs/docs/integrations/chat

Thank you for your prompt. I have added the baichuan LLM documentation as required

@baskaryan  This thing is breaking the build:
% poetry run make lint format spell_check
./scripts/check_pydantic.sh .
./scripts/check_imports.sh
poetry run ruff .
langchain/chat_models/__init__.py:20:1: I001 [*] Import block is un-sorted or un-formatted
langchain/chat_models/baichuan_baichuaninc_endpoint.py:2:1: I001 [*] Import block is un-sorted or un-formatted
langchain/chat_models/baichuan_baichuaninc_endpoint.py:11:5: F401 [*] `typing.AsyncIterator` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:13:5: F401 [*] `typing.Iterator` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:20:5: F401 [*] `langchain.callbacks.manager.AsyncCallbackManagerForLLMRun` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:21:5: F401 [*] `langchain.callbacks.manager.CallbackManagerForLLMRun` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:23:40: F401 [*] `langchain.chat_models.base.BaseChatModel` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:24:35: F401 [*] `langchain.pydantic_v1.Field` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:24:42: F401 [*] `langchain.pydantic_v1.root_validator` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:25:30: F401 [*] `langchain.schema.ChatGeneration` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:25:46: F401 [*] `langchain.schema.ChatResult` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:34:5: F401 [*] `langchain.schema.messages.SystemMessage` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:36:37: F401 [*] `langchain.schema.output.ChatGenerationChunk` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:37:29: F401 [*] `langchain.utils.get_from_dict_or_env` imported but unused
langchain/chat_models/baichuan_baichuaninc_endpoint.py:86:89: E501 Line too long (102 > 88 characters)
langchain/chat_models/baichuan_baichuaninc_endpoint.py:100:89: E501 Line too long (125 > 88 characters)
langchain/chat_models/baichuan_baichuaninc_endpoint.py:105:89: E501 Line too long (94 > 88 characters)
langchain/chat_models/baichuan_baichuaninc_endpoint.py:131:55: F821 Undefined name `Response`
Found 18 errors.
[*] 14 potentially fixable with the --fix option.
make: *** [Makefile:52: lint] Error 1


Save which ability cards are in hand

When loading cards, player ability cards are not in the same hand (primary and secondary. Players then need to remember which cards were replaced during leveling up. This can be tedious for high-level characters.

Yes, this is already planned with #25. It's the next thing I'll do. :-) Just a question: How do you use the secondary hand? My current plan was to save all abilities from the primary hand. During load the primary hand is restored and all other abilities are moved to the secondary hand. That's how I use the hands. Or do you maybe use the secondary hand for active abilities, too? Then maybe it would Elbe required to save the contents of both hands.

We use primary hand for cards in the scenario, secondary hand for cards
that are available to use but not active. Song it shorter way, if I level
up and put a new card in active hand, then the replaced card would go in
the secondary hand in case I want to swap it later for a different
scenario.
I think that's how you're using it from your description too.
On Sun, Feb 21, 2021, 1:32 AM Sebastian Stern<EMAIL_ADDRESS>wrote:

Yes, this is already planned with #25
https://github.com/Sebaestschjin/gloomhaven-campaign-manager/issues/25.
It's the next thing I'll do. :-) Just a question: How do you use the
secondary hand? My current plan was to save all abilities from the primary
hand. During load the primary hand is restored and all other abilities are
moved to the secondary hand. That's how I use the hands. Or do you maybe
use the secondary hand for active abilities, too? Then maybe it would Elbe
required to save the contents of both hands.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sebaestschjin/gloomhaven-campaign-manager/issues/72#issuecomment-782808622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHLY42EELVRHETHPFYLVI7TTACSHHANCNFSM4X6GMOFA
.


Get rid of the image icon for empty info

Get rid of the image icon for empty info (and merge the "Repères nutritionnels pour 100g" header with the values)

I am  working on this issue.


HTYI: Menu on game group screen not functioning. When trying to click, nothing happens. Seem like the menu is not integrated into HTYI even though it is in other games

This was tested to be true on chrome + Macbookpro + Macbookair. This is only happening in HTYI and not across all games.

Does not occur for me on Macbook Chrome for this HTYI game: https://emergingcitizens.org/game/BXRN

hmm... guess it is working now for me too.

closing for now


ikhal: No events shown on today

Hi
When I launch ikhal, it does not show me any events for today.
If I change date, e.g. by going left then right, then the events for today start to appear.
I don't know when this regression appeared, I assume this is a problem with the on_date_change routine, but I might be wrong.

Confirming same experience here.

Thanks for reporting, I'll have a look tonight.

I believe I fixed this, could you give it a try?

ikhal, version 0.6.1.dev96+ngd7bcf32 seems to behave correctly now

Thanks for reporting and checking again.

I confirm it is fixed, thanks.