Revert distinguish PR status for kogito-runtimes

Hi we will need to revert this due to an issue that github itself hasn't fixed.
The way action-surefire-report or action-junit-report publish/annotate test failures is using github's check api. Whenever a workflow is run it creates something called a check suite which contains check runs. These check runs are responsible for letting us update github action status. Now these actions give us 2 options to update github action status using check runs - use existing "in_progress" check runs or create a new one.

Using existing check runs: We can't use existing check runs since by the time surefire gets to analyse and publish results the workflow which triggered the surefire analysis would have changed its status from "in_progress" to "success/failure". Moreover all our workflows have same job names (eg: Maven Build) which is used as the check run name. This confuses the surefire action from choosing which check run's status it needs to update. We could just try by changing the job name for each workflow but then again there is more complexity added and I think at this point I should try it on simpler repository
Creating a new check run: If we let surefire create a new check run then it randomly picks a check suite. Given that we have multiple workflows, the results can be published on any one of them. This makes it difficult for us to find them. Here is an example of my test PR's result being posted on a non-triggered workflow (pr-backporting workflow) - https://github.com/kiegroup/kogito-runtimes/actions/runs/4104153366/jobs/7080599708

Both these problems seem to be known issues:

https://github.com/mikepenz/action-junit-report/issues/40
https://github.com/ScaCap/action-surefire-report/issues/39

The creating check run option would have worked but github api does not let us specify the workflow id we want to create the check run for. It only lets us specify the head_sha but again we can have multiple check suites associated with it since we have multiple workflows triggered for a PR. This has been documented in the community but there hasn't been an update from Github for years now:

https://github.com/orgs/community/discussions/14891
https://github.com/orgs/community/discussions/24616

I do have some workarounds in mind but I think it is better to try them on a simpler repository. Until then we can keep the surefire.yml (we should disable the workflow tho) and the kogito-pipeline changes since they shouldn't impact the existing PR checks once this PR is merged

@Ginxo here we go back just fyi


Support for functions and target

Target and functions are not supported to be translated from RML to YARRRML

duplicated


[Documentation] Specs vs XML differences and questions LevelControlCluster

Documentation issues
I discovered the following differences:

Attribute CurrentLevel has a default value "null" according to specs, but "0" in XML. Which is right?
Attribute minLevel Default value is formally dynamic based on feature support and might be not correct with being 0 in the XML
Attribute onLevel has a default value of "Null" according to specs, XML do not specify any default value
Attribute CurrentFrequency is in the end defined my min and max attributes. Why the default value is 0 then (in specs and XML)? (comparable for maxFrequency)

Platform
No response
Anything else?
No response

There's no way to specify the dynamic thing in the XML.

Yes thats right and also ok ... Interestingly some clusters then use the "maximum possible border min/max values" and some others simply do not specify min/max at all in this case ... ideally this shpuld also be consistent ... so using the "most outside border values" everywhere or not at all

ideally this shpuld also be consistent ... so using the "most outside border values" everywhere or not at all

In practice, min/max in the XML only matters for writable attributes, in terms of the observable behavior.  And even then more constraints can be done manually...

With the info I got from @turon that the XML is "the only truth"

That's the goal, yes.  We're pretty far from it, as you have noticed.....

We planned to auto generate the Cluser code based on the XMLs for the TypeScript library, so we would also use it for "generating the types", shich means that also the developer that implements a device itself could make use of it because we make sure he uses correct values at all (not only when he sends a write request) :-)
But ok, knowing that we might need a more "use generated as basis and enhance" approach ...

We're pretty far from it, as you have noticed.....

Glad I could help to come closer :-)

Removed cert blocker during triage: we expect this needs fixing, however XML differences likely do not affect SDK ability to be certified (at least regarding these issues, given that certification  tests still pass).


form: new int form node, with tests. [v2]

Changes since #971:

initial option now accepted for the node
more range checks where applicable

Signed-off-by: Gustavo Lima Chaves<EMAIL_ADDRESS>

:thumbsup:

Thanks, merging that fix.


Outdated documentation and import problems

I'm Submitting a ...

[ ] Bug report
[ ] Feature request
[ x ] Support request

Steps to Reproduce

I was using version 3.0.0-beta.4 and everything was working fine.
After upgrading all major packages in the project (including react and moment.js) to newest version I also wanted to upgrade react-datetime so I installed 3.0.0-beta.7 version.
My import looks like this:
import Datetime from 'react-datetime';
And I render Datetime component with some props like this:
    <Datetime
       value={filter && filter.value ? filter.value.from : ""}
      onChange={value => onChange({
        from: value,
        to: filter && filter.value && filter.value.to ? filter.value.to : ""
      })}
      inputProps={{ placeholder: t('from') }}
      locale={t("language_code_for_moment")}
    />

Expected Results

Everything should work like it did before on  3.0.0-beta.4
Actual Results

I got some weird import errors

Other Information (e.g. stacktraces, related issues, suggestions how to fix)

I've tried to change my code like documentation suggested:
require('react-datetime');

...

render: function() {
    return <Datetime />;
}

But it doesn't seem to work.
Also I tried to import styles like:
import 'react-datetime/css/react-datetime.css'
But it doesn't help too.

@JMPiechowiak are you using webpack? Could you show the rule of import css? Of if not, could you show where you add the config to import css?

pls try using import Datetime from 'react-datetime'; => import * as Datetime from 'react-datetime';

I think the missing CSS file is related to this error in the beta.7 https://github.com/YouCanBookMe/react-datetime/pull/683
I'll review that PR and try to release a new version that would fix it

I have just released the beta.8 for v3. It should fix the CSS import problem. Just update and
import 'react-datetime/css/react-datetime.css`


Add python3.vm to test exclusion list

Let's add a comment on why we don't want to test the excluded packages.


GUI for data exploration

A gui for data exploration would be good for a number of reasons:

Aid users in finding data of interest
Decouples underlying database structure from mechanism for finding data. Extra logic layers can be added to exploration tool without burdening the DB with special cases
Looks cool

We should look at intake and intake-esm that I think solve a similar
problem with a GUI component.
On Tue, Aug 4, 2020 at 3:06 AM Aidan Heerdegen<EMAIL_ADDRESS>wrote:

A gui for data exploration would be good for a number of reasons:

Aid users in finding data of interest
Decouples underlying database structure from mechanism for finding
data. Extra logic layers can be added to exploration tool without burdening
the DB with special cases
Looks cool

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/COSIMA/cosima-cookbook/issues/199, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPFFO7F6OYBRKSFKFBM6FDR66XO7ANCNFSM4PUCQV5Q
.

--
JAMES MUNROE   |   ASSOCIATE PROFESSOR
Department of Physics and Physical Oceanography
Memorial University of Newfoundland
230 Elizabeth Avenue
St. John’s, Newfoundland, Canada   A1C 5S7
Chemistry and Physics Building   |   Room C 4060
T<PHONE_NUMBER>   |   M<PHONE_NUMBER>
www.physics.mun.ca

I should have done some research before I started, but having looked it doesn't quite have the same functionality. Still, would have been a good place to start
https://intake.readthedocs.io/en/latest/gui.html


compute: create default firewall rules

Related http://stackoverflow.com/questions/31509722/how-do-i-enable-http-traffic-for-gce-instance-templates
Fixes https://github.com/stephenplusplus/gcloud-deploy/issues/4
We had a "maybe-bug" in our code that could lead to a user thinking they made a VM that accepts HTTP and/or HTTPS connections, but in actuality doesn't.
My theory about how the Dev Console UI works:
If you create an Instance and select "Allow HTTP traffic" and/or "Allow HTTPS traffic", it will create firewall rules in the default network: default-allow-http and default-allow-https. The VM is created with tags to match http-server and https-server, which are the target tags on the firewall rules.
When I developed the behavior of zone.createVM() that accepts config.http = true and config.https = true, I assumed all project's networks had these firewall rules by default. But, if my theory is right, I only had them because I used the UI to create an http/https VM before, so my project had the rules.
So, this PR will attempt to create default-allow-http and default-allow-https (when that functionality is asked for), and if they already exist, it just moves on and creates the VM. If they don't exist, it creates them, then the VM. In other words, this should basically work like the Dev Console UI does (if my theory is correct).

LGTM

@callmehiphop PTAL

Looks good :)


Simplify dependency injection syntax in constructor with Reflect API

Implementing this feature is a great way to learn Reflect API and Typescript decorators. I've provided link to a great article on this topic.
Typescript Decorators and Reflect API

Use Reflect API to simplify injection syntax.
That can only be possible with Typescript, don't try to apply this feature to es5+.
Update docs according to this feature.

@Injectable()
class AppService {
    constructor(private http: HttpService) {} // instead of @Inject(HttpService) private http: HttpService
}

@Injectable()
class HttpService {

}

container.register([HttpService, AppService])

Thanks for suggestion @thohoh I'll take a look at this one. Looks like an interesting topic to learn. I'll reach out if I have any questions.

@Tolowe Please let me know if you're currently working on it or not. If not, I'll implement that on this weekend.

@thohoh I didnt make it very far on this one - go for it. Sorry about that.

@Tolowe That's okay, we all have things to do apart from open source :D.  I'm gonna roll it out soon.


OLS-928: remove model that was removed from BAM

Description
Remove model that was removed from BAM
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Related Tickets & Documents

Related Issue #OLS-928

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.68%. Comparing base (5da37ca) to head (729fc8d).
Report is 8 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1413      +/-   ##
==========================================
+ Coverage   92.32%   94.68%   +2.35%
==========================================
  Files          58       58
  Lines        2503     2504       +1
==========================================
+ Hits         2311     2371      +60
+ Misses        192      133      -59

Files
Coverage Δ

ols/constants.py
100.00% <ø> (ø)

... and 6 files with indirect coverage changes

/approve

/override "Red Hat Konflux / ols-e2e-tests-rosa / lightspeed-service"

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"


[Mod incompatibility] Mod can't launch with Legacy4j.

Here the link of the crash log.
Or text file:
123.txt

(sorry for the late response) Thanks for reporting, will look into it either tonight or tomorrow

Fixed, release imminent

Fixed in v4 beta 8

No need to rush. Take your time. <3 I love you mod for customization.


Execute bit lost on tf

I verified this isn't a problem related to how it's unzipped now, versus how it used to be unzipped. I think the problem is somewhere in the process of how we're now putting the file on blob storage. The expedient solution might be to switch back to pulling this from the previous location.
Linking to the issue where this was originally discovered: https://github.com/Microsoft/vso-agent/issues/303

tar preserves permissions.  I don't believe zip does.
Two options:

switch to a tar.  would need on win build
make the build process do chmod u+x on it.  The build ultimately produces a tar so it would then be preserved.

fyi - The old version of the script did not chmod. It just unzipped.

Perhaps the zip given to us from java team is the issue.  They did provide us with an updated one.
Get Outlook for iOShttps://aka.ms/o0ukef
On Wed, May 18, 2016 at 7:53 PM -0700, "ericsciple" <notifications<EMAIL_ADDRESS>wrote:
fyi - The old version of the scripthttps://github.com/Microsoft/vsts-agent/blob/c7d9a6844e1183401166889fd01ccf71a78a9ce6/src/Misc/externals.sh#LC91 did not chmod. It just unzipped.

You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/vsts-agent/issues/169#issuecomment-220215198


Tzdata.ReleaseUpdater argument error

Hello,
Erlang/OTP 22 [erts-10.5] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1]

IEx 1.9.4 (compiled with Erlang/OTP 22)

{
    "hackney": {:hex, :hackney, "1.15.2", "07e33c794f8f8964ee86cebec1a8ed88db5070e52e904b8f12209773c1036085"},
    "timex": {:hex, :timex, "3.6.1", "efdf56d0e67a6b956cc57774353b0329c8ab7726766a11547e529357ffdc1d56"},
    "tzdata": {:hex, :tzdata, "1.0.2", "6c4242c93332b8590a7979eaf5e11e77d971e579805c44931207e32aa6ad3db1"}
}

I've been getting an error every time my project tries to update the timezone database, for a few weeks now.
** (ArgumentError) argument error
    (stdlib) :ets.lookup_element(:hackney_config, :mod_metrics, 2)
    /proj/deps/hackney/src/hackney_metrics.erl:26: :hackney_metrics.get_engine/0
    /proj/deps/hackney/src/hackney_connect.erl:78: :hackney_connect.create_connection/5
    /proj/deps/hackney/src/hackney_connect.erl:47: :hackney_connect.connect/5
    /proj/deps/hackney/src/hackney.erl:333: :hackney.request/5
    (tzdata) lib/tzdata/http_client/hackney.ex:17: Tzdata.HTTPClient.Hackney.head/3
    (tzdata) lib/tzdata/data_loader.ex:46: Tzdata.DataLoader.last_modified_of_latest_available/1
    (tzdata) lib/tzdata/release_updater.ex:81: Tzdata.ReleaseUpdater.loaded_tzdata_matches_remote_last_modified?/0
    (tzdata) lib/tzdata/release_updater.ex:42: Tzdata.ReleaseUpdater.poll_for_update/0

I've run into a dead end debugging this as the Tzdata.HTTPClient.Hackney module uses the callback system I'm not familiar with.
I also don't see any similar issues created, so I'm thinking this is some sort of configuration error on my part. Do you perhaps have an idea why this is erroring?

This happens to me too, but intermittently. I have the same versions of Erlang, Elixir, tzdata and hackney as @dabaer.

Can confirm that this happens.

I had the same issue and I solved starting hackney before tzdata.
def application do
    [
     ...,
      extra_applications: [:logger, :runtime_tools, :hackney, :tzdata]
    ]
  end


Build fails without exporting

(venv) @clin1234 ➜ /workspaces/pydantic-core (main) $ pip install git+https://github.com/samuelcolvin/watchfiles -v
Using pip 24.2 from /workspaces/venv/lib/python3.14t/site-packages/pip (python 3.14)
Collecting git+https://github.com/samuelcolvin/watchfiles
  Cloning https://github.com/samuelcolvin/watchfiles to /tmp/pip-req-build-av9j5tr8
  Running command git version
  git version 2.45.2
  Running command git clone --filter=blob:none https://github.com/samuelcolvin/watchfiles /tmp/pip-req-build-av9j5tr8
  Cloning into '/tmp/pip-req-build-av9j5tr8'...
  Running command git rev-parse HEAD
  4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Resolved https://github.com/samuelcolvin/watchfiles to commit 4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Running command git rev-parse HEAD
  4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Running command pip subprocess to install build dependencies
  Using pip 24.2 from /workspaces/venv/lib/python3.14t/site-packages/pip (python 3.14)
  Collecting maturin<2,>=0.14.16
    Obtaining dependency information for maturin<2,>=0.14.16 from https://files.pythonhosted.org/packages/2b/f9/98ba27c5f7c031f12d11cb64651c44730eb566cd10b3080f9a498c210b7e/maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata
    Using cached maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (18 kB)
  Using cached maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (8.8 MB)
  Installing collected packages: maturin
  Successfully installed maturin-1.7.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  📦 Including license file "/tmp/pip-req-build-av9j5tr8/LICENSE"
  🍹 Building a mixed python/rust project
  🔗 Found pyo3 bindings
  🐍 Found CPython 3.14t at /workspaces/venv/bin/python3.14t
  📡 Using build options bindings from pyproject.toml
  watchfiles-0.0.0.dist-info
  Checking for Rust toolchain....
  Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-xoqrwc69 --interpreter /workspaces/venv/bin/python3.14t`
  Preparing metadata (pyproject.toml) ... done
Collecting anyio>=3.0.0 (from watchfiles==0.0.0)
  Obtaining dependency information for anyio>=3.0.0 from https://files.pythonhosted.org/packages/7b/a2/10639a79341f6c019dedc95bd48a4928eed9f1d1197f4c04f546fc7ae0ff/anyio-4.4.0-py3-none-any.whl.metadata
  Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting idna>=2.8 (from anyio>=3.0.0->watchfiles==0.0.0)
  Obtaining dependency information for idna>=2.8 from https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl.metadata
  Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio>=1.1 (from anyio>=3.0.0->watchfiles==0.0.0)
  Obtaining dependency information for sniffio>=1.1 from https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl.metadata
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Building wheels for collected packages: watchfiles
  Running command Building wheel for watchfiles (pyproject.toml)
  Running `maturin pep517 build-wheel -i /workspaces/venv/bin/python3.14t --compatibility off`
  📦 Including license file "/tmp/pip-req-build-av9j5tr8/LICENSE"
  🍹 Building a mixed python/rust project
  🔗 Found pyo3 bindings
  🐍 Found CPython 3.14t at /workspaces/venv/bin/python3.14t
  📡 Using build options bindings from pyproject.toml
     Compiling target-lexicon v0.12.14
     Compiling python3-dll-a v0.2.10
     Compiling once_cell v1.19.0
     Compiling libc v0.2.154
     Compiling pyo3-build-config v0.22.2
     Compiling proc-macro2 v1.0.81
     Compiling unicode-ident v1.0.12
     Compiling quote v1.0.36
     Compiling pyo3-ffi v0.22.2
     Compiling pyo3-macros-backend v0.22.2
     Compiling crossbeam-utils v0.8.19
     Compiling autocfg v1.3.0
  error: failed to run custom build command for `pyo3-ffi v0.22.2`

  Caused by:
    process didn't exit successfully: `/tmp/pip-req-build-av9j5tr8/target/release/build/pyo3-ffi-45464569400b73b2/build-script-build` (exit status: 1)
    --- stdout
    cargo:rerun-if-env-changed=PYO3_CROSS
    cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
    cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
    cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
    cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
    cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY

    --- stderr
    error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)
    = help: please check if an updated version of PyO3 is available. Current version: 0.22.2
    = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
  warning: build failed, waiting for other jobs to finish...
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/workspaces/venv/bin/python3.14t" PYTHON_SYS_EXECUTABLE="/workspaces/venv/bin/python3.14t" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-req-build-av9j5tr8/Cargo.toml" "--release" "--lib"`
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/workspaces/venv/bin/python3.14t', '--compatibility', 'off'] returned non-zero exit status 1
  error: subprocess-exited-with-error

  × Building wheel for watchfiles (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /workspaces/venv/bin/python3.14t /workspaces/venv/lib/python3.14t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpcae05_ad
  cwd: /tmp/pip-req-build-av9j5tr8
  Building wheel for watchfiles (pyproject.toml) ... error
  ERROR: Failed building wheel for watchfiles
Failed to build watchfiles
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (watchfiles)

However:
(venv) @clin1234 ➜ /workspaces/pydantic-core (main) $ PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 pip install git+https://github.com/samuelcol
vin/watchfiles -v
Using pip 24.2 from /workspaces/venv/lib/python3.14t/site-packages/pip (python 3.14)
Collecting git+https://github.com/samuelcolvin/watchfiles
  Cloning https://github.com/samuelcolvin/watchfiles to /tmp/pip-req-build-5fh17_id
  Running command git version
  git version 2.45.2
  Running command git clone --filter=blob:none https://github.com/samuelcolvin/watchfiles /tmp/pip-req-build-5fh17_id
  Cloning into '/tmp/pip-req-build-5fh17_id'...
  Running command git rev-parse HEAD
  4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Resolved https://github.com/samuelcolvin/watchfiles to commit 4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Running command git rev-parse HEAD
  4314094e5ee37dcd3d1986cbcead4b1fd141afe5
  Running command pip subprocess to install build dependencies
  Using pip 24.2 from /workspaces/venv/lib/python3.14t/site-packages/pip (python 3.14)
  Collecting maturin<2,>=0.14.16
    Obtaining dependency information for maturin<2,>=0.14.16 from https://files.pythonhosted.org/packages/2b/f9/98ba27c5f7c031f12d11cb64651c44730eb566cd10b3080f9a498c210b7e/maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata
    Using cached maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (18 kB)
  Using cached maturin-1.7.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (8.8 MB)
  Installing collected packages: maturin
  Successfully installed maturin-1.7.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  📦 Including license file "/tmp/pip-req-build-5fh17_id/LICENSE"
  🍹 Building a mixed python/rust project
  🔗 Found pyo3 bindings
  🐍 Found CPython 3.14t at /workspaces/venv/bin/python3.14t
  📡 Using build options bindings from pyproject.toml
  watchfiles-0.0.0.dist-info
  Checking for Rust toolchain....
  Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-09f_bml4 --interpreter /workspaces/venv/bin/python3.14t`
  Preparing metadata (pyproject.toml) ... done
Collecting anyio>=3.0.0 (from watchfiles==0.0.0)
  Obtaining dependency information for anyio>=3.0.0 from https://files.pythonhosted.org/packages/7b/a2/10639a79341f6c019dedc95bd48a4928eed9f1d1197f4c04f546fc7ae0ff/anyio-4.4.0-py3-none-any.whl.metadata
  Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting idna>=2.8 (from anyio>=3.0.0->watchfiles==0.0.0)
  Obtaining dependency information for idna>=2.8 from https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl.metadata
  Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio>=1.1 (from anyio>=3.0.0->watchfiles==0.0.0)
  Obtaining dependency information for sniffio>=1.1 from https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl.metadata
  Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Building wheels for collected packages: watchfiles
  Running command Building wheel for watchfiles (pyproject.toml)
  Running `maturin pep517 build-wheel -i /workspaces/venv/bin/python3.14t --compatibility off`
  📦 Including license file "/tmp/pip-req-build-5fh17_id/LICENSE"
  🍹 Building a mixed python/rust project
  🔗 Found pyo3 bindings
  🐍 Found CPython 3.14t at /workspaces/venv/bin/python3.14t
  📡 Using build options bindings from pyproject.toml
     Compiling target-lexicon v0.12.14
     Compiling python3-dll-a v0.2.10
     Compiling once_cell v1.19.0
     Compiling libc v0.2.154
     Compiling pyo3-build-config v0.22.2
     Compiling proc-macro2 v1.0.81
     Compiling unicode-ident v1.0.12
     Compiling quote v1.0.36
     Compiling pyo3-macros-backend v0.22.2
     Compiling pyo3-ffi v0.22.2
     Compiling autocfg v1.3.0
     Compiling crossbeam-utils v0.8.19
     Compiling memoffset v0.9.1
     Compiling syn v2.0.60
     Compiling cfg-if v1.0.0
     Compiling heck v0.5.0
     Compiling pyo3 v0.22.2
     Compiling inotify-sys v0.1.5
     Compiling bitflags v1.3.2
     Compiling log v0.4.21
     Compiling same-file v1.0.6
     Compiling walkdir v2.5.0
     Compiling mio v0.8.11
     Compiling inotify v0.9.6
     Compiling crossbeam-channel v0.5.12
     Compiling filetime v0.2.23
     Compiling pyo3-macros v0.22.2
     Compiling indoc v2.0.5
     Compiling unindent v0.2.3
     Compiling notify v6.1.1
     Compiling watchfiles_rust_notify v0.0.0 (/tmp/pip-req-build-5fh17_id)
      Finished release [optimized] target(s) in 36.41s
  📦 Built wheel for CPython 3.14t to /tmp/pip-req-build-5fh17_id/target/wheels/watchfiles-0.0.0-cp314-cp314t-linux_x86_64.whl
  /tmp/pip-req-build-5fh17_id/target/wheels/watchfiles-0.0.0-cp314-cp314t-linux_x86_64.whl
  Building wheel for watchfiles (pyproject.toml) ... done
  Created wheel for watchfiles: filename=watchfiles-0.0.0-cp314-cp314t-linux_x86_64.whl size=3142596 sha256=d8e3948e4f8b89d1889b05dd67183d5b1ba90d8e5f42fffcc4f14051bfa4d7f3
  Stored in directory: /tmp/pip-ephem-wheel-cache-srendf96/wheels/f1/25/96/ceb5dc47db732a9ba3b2968d383c4178b37e945ddac9d7ad81
Successfully built watchfiles
Installing collected packages: sniffio, idna, anyio, watchfiles
  changing mode of /workspaces/venv/bin/watchfiles to 777
Successfully installed anyio-4.4.0 idna-3.7 sniffio-1.3.1 watchfiles-0.0.0

Creating issues like this with no description or suggestions is not particularly friendly.
Especially when you're trying to build with Python 3.14!

What I was trying to say is that exporting PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 will allow compilation to succeed with Python versions that pyo3 does not officially support yet.


Added ability to select colour (or turn off) each availabilty status …

…for Philips Hue
Improvement for #77

This looks great! Ask, can you put screenshots into this PR as well so I can update the docs. Also, possibly look at using a color picker instead of pasting HEX?

Yes! I actually meant to do a screen shot for you but I got distracted with life.
I would have done colour pickers but that involved a bit too much learning Microsoft for me, so went with the MVP. I also meant to validate the fields but again can add that as an improvement later?

That's fine, as long as I can get some images. I'm going to add the color pickers in this branch before I merge it


Add laser raptors

https://github.com/space-wizards/space-station-14/assets/31366439/bd22aae1-6b6e-4cda-89d7-43d3533c6c33
:cl: Aleksh

add: Added laser raptors.

it should play the weh sound when fired

Why does it have petting-success-slimes ?

We are Warriors
Wielding the Hammer so glorious
Fighting with the power of the Laser Dragon Fire

damn, leviathans wargames keep jumping to new extremes.

When petted it should play weh if successfully pet, maybe even a dinosaur scream and noises.

expedition could use some silly mobs like this

dog


Can I get a translation score for a translation not generated by the model?

❓ Questions and Help
What is your question?
Currently translating by using interactive.py prints scores for the hypothesis like H-0 and so on. I want to know if it is possible that given a source sentence and a hypothesis obtained from elsewhere can I use the NMT to assign a score to it. Please note I know there are measures like BLEU etc. which I am not keen on using.
If this is possible can I also modify the models to look into its activations?
Cheers,
Tarun

Same question here!


Stop assuming all AppleBundleInfo rules provide AppleResourceInfo

Fixes issues with ios_static_framework and the like.

I guess a test is tricky to craft here since this would need a static framework?

It's tricky because we don't fully support ios_static_framework yet.


chore: Rename UniformInducing to IsUniformInducing

Function.Embedding is a type while Embedding is a proposition, and there are many other kinds of embeddings than topological embeddings. Hence this PR is a step towards

renaming Embedding to IsEmbedding and similarly for neighborhing declarations (which UniformInducing is)
namespacing it inside Topology

Zulip. See #15993 for context.

bors merge


[TS 4.5-dev] Regression: Argument of type is not assignable to parameter of type

Bug Report
Getting lots of issues with a template string inference pattern I use in GitLens for creating strongly typed versions of string-based settings. And in TS 4.5-beta (and the currently nightly) I am getting Argument of type '* is not assignable to parameter of type errors with that pattern
🔎 Search Terms

🕗 Version & Regression Information

This is a crash
This changed between versions 4.4.4 and 4.5-beta and still present in 4.5.0-dev.202111101
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link
Playground link with relevant code
💻 Code
type SubPath<T, Key extends keyof T> = Key extends string
	? T[Key] extends Record<string, any>
		?
				| `${Key}.${SubPath<T[Key], Exclude<keyof T[Key], keyof any[]>> & string}`
				| `${Key}.${Exclude<keyof T[Key], keyof any[]> & string}`
		: never
	: never;

type Path<T> = SubPath<T, keyof T> | keyof T extends string | keyof T ? SubPath<T, keyof T> | keyof T : keyof T;

type PathValue<T, P extends Path<T>> = P extends `${infer Key}.${infer Rest}`
	? Key extends keyof T
		? Rest extends Path<T[Key]>
			? PathValue<T[Key], Rest>
			: never
		: never
	: P extends keyof T
	? T[P]
	: never;

export interface Config {
	foo: {
		bar: {
			baz: boolean;
		};
	};
}

type ConfigPath = Path<Config>;
type ConfigPathValue<P extends ConfigPath> = PathValue<Config, P>;

export class Configuration {
	get(): Config;
	get<T extends ConfigPath>(
		section: T,
		defaultValue?: ConfigPathValue<T>,
	): ConfigPathValue<T>;
	get<T extends ConfigPath>(
		section?: T,
		defaultValue?: ConfigPathValue<T>,
	): Config | ConfigPathValue<T> {
		return undefined as any;
	}

}

const configuration = new Configuration();
const value = configuration.get('foo.bar.baz'); // <-- Argument of type '"foo.bar.baz"' is not assignable to parameter of type '"foo"' in TS 4.5-beta

Output
export class Configuration {
    get(section, defaultValue) {
        return undefined;
    }
}
const configuration = new Configuration();
const value = configuration.get('foo.bar.baz'); // <-- Argument of type '"foo.bar.baz"' is not assignable to parameter of type '"foo"' in TS 4.5-beta

Compiler Options
{
  "compilerOptions": {
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "alwaysStrict": true,
    "esModuleInterop": true,
    "declaration": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "target": "ES2017",
    "jsx": "react",
    "module": "ESNext",
    "moduleResolution": "node"
  }
}

🙁 Actual behavior
Argument of type '"foo.bar.baz"' is not assignable to parameter of type
🙂 Expected behavior
No errors like in TS 4.4.4 and prior

Can you explain your Path<T> type? When would the top-level condition not be true? Added parens for clarity:

(SubPath<T, keyof T> | keyof T) extends (string | keyof T)

To me, it looks like keyof T can be factored out of each side of the union, so you’re left with asking if SubPath<T, keyof T> is assignable to string. Every possible instantiation of SubPath is assignable to string, so I’m missing what this condition is supposed to be checking for.
Bizarrely, a workaround that would seem not to change the semantics of these types at all is to extract SubPath<T, keyof T> | keyof T to its own type alias. That definitely seems like a bug, but it’s hard for me to figure out how bad of a break this is because I can’t figure out the reason for the type at all. It seems to me like you could just as well define
type Path<T> = SubPath<T, keyof T> | keyof T;

and this example works as expected.

This appears to be another manifestation of #46645. The issue disappears from the main branch after this commit, so it should also be fixed in the release-4.5 branch after the cherry pick.

@andrewbranch I think I thought I needed that extra complexity on SubPath to allow for deeper nesting, but it looks like type Path<T> = SubPath<T, keyof T> | keyof T; as you suggested works just fine. Thanks!


[SPARK-30132][CORE] Avoid Scala 2.13 compile error by delegating to rather than subclassing Hadoop FS classes

What changes were proposed in this pull request?
For some reason, some Hadoop classes themselves cause errors in Scala 2.13 when subclassed. It complains that Hadoop's LocalFileSystem hierarchy for example has an invalid override of append, when I'm not sure I see the issue.
Anyway, rather than potentially wait on a fix, we can simply prefer delegation to subclassing, and other tricks.
Why are the changes needed?
Cross building for 2.13.
Does this PR introduce any user-facing change?
No. All changed code is test code.
How was this patch tested?
Manually ran 2.13 compilation to ensure it fixes the compile issue.
Existing tests will show whether it still works in 2.12.

Test build #115890 has started for PR 27033 at commit 7ad3255.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20680/
Test PASSed.

Test build #115890 has finished for PR 27033 at commit 7ad3255.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DebugFilesystem extends FileSystem
class TestFileSystem extends FileSystem
   class MyFileStatus extends KnownSizeEstimation

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115890/
Test FAILed.

Test build #115891 has started for PR 27033 at commit d4e3f20.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20681/
Test PASSed.

Test build #115891 has finished for PR 27033 at commit d4e3f20.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115891/
Test FAILed.

Test build #115892 has started for PR 27033 at commit 5e4ddbb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20682/
Test PASSed.

Test build #115892 has finished for PR 27033 at commit 5e4ddbb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115892/
Test FAILed.

Test build #115894 has started for PR 27033 at commit 16b9a9f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20684/
Test PASSed.

Test build #115894 has finished for PR 27033 at commit 16b9a9f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115894/
Test FAILed.

Test build #115916 has started for PR 27033 at commit 07bcdef.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20706/
Test PASSed.

Test build #115916 has finished for PR 27033 at commit 07bcdef.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115916/
Test FAILed.

Test build #115921 has started for PR 27033 at commit 163c4f0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20712/
Test PASSed.

Test build #115921 has finished for PR 27033 at commit 163c4f0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115921/
Test FAILed.

This is getting too hard to make work; it's dicey to correctly delegate all of the FileSystem correctly. I'm closing this for now and will pursue with scala folks to see if this is really an issue with scalac 2.13. https://gitter.im/scala/scala?at=5e08c58b6ff7ae03fc68ead2


Typing Backwards...

Whenever a user types something, it displays that text backwards.

Type anything 'anything'
It displays text backwards

It should just display text as normal, but instead, this happens.  Just wanted to send an Issue here.

Here's a small tip in case someone fixes it before I get to it:
The problem currently only occurs in Firefox because the DOM re-rendering causes the caret to always be placed at the beginning. Chrome handles this more intelligently, which is why the bug doesn't exist there.
Potential solution approach:
Before changing the value in the store, you could save the caret position, then change the value, and afterward, set the caret to the correct position again.

fixed


Pytest unnable to find OPE module

Running python3 -m pytest in ./test failed to find 'ope' module: (ModuleNotFoundError: No module named 'ope').
To fix it I added import sys and sys.path.append('../third-party') in the first lines of test_PPKey.py and test_ppxg_boost.py.

Could you try running the tests with the https://github.com/awslabs/privacy-preserving-xgboost-inference/tree/ope-fix branch? Note you will have to run [sudo] pip3 install -r requirements.txt again.

Fixed by #10.


Radiation sensor

Hi @brutella,
I've been playing around trying to setup a DF Robot Gravity Geiger Counter in HomeKit with hc (via a Prometheus exporter).
My repo: https://github.com/sighmon/homekit-geiger-counter
In the Home app it reports This accessory is not currently supported by the Home app.
I assume the TypeGeigerCounter UUID I made up is causing the problem, or perhaps the TypeRadiation UUID?
Do you know which UUIDs I should be using? Anything else I have messed up?

I assume the TypeGeigerCounter UUID I made up is causing the problem, or perhaps the TypeRadiation UUID?

You are right, those types are not known to the Apple Home app, and therefore not supported. But other HomeKit apps (ex. Home+) would display the custom types correctly.

@brutella I checked Home+ too, but I can't find it in any of the categories. Should it appear in Sensors seeing I'm setting the type to TypeSensor?

I've just checked out your project and I've found an issue where you use the same type for all 3 radiation characteristics. HomeKit doesn't seem to like that and returns an error. Make sure that every characteristic in the radiation service has a different type.
Secondly I've updated Home+ to support your accessory as a sensor. Please install the latest TestFlight build and try it again.

@brutella Do you expect this to work for the 3 radiation characteristics? https://github.com/sighmon/homekit-geiger-counter/pull/3/files
Your TestFlight build of Home+ works perfectly thank you!


"Alphabetical" sorting is not alphabetical - Sorted by ASCII code instead

Gitea version (or commit ref): 1.15.0+dev-171-gf719ffc78
Git version: Not relevant
Operating system:

Not relevant

Database (use [x]):

[X] sqlite3

Can you reproduce the bug at https://try.gitea.io:

[X] Yes (https://try.gitea.io/AnoBit?sort=alphabetically)
[ ] No

Log gist:

Not relevant

Description
The alphabetical sorting is currently not alphabetical, as lower- and uppercase letters are "sorted" seperately. This is likely due to ASCII Code comparison (e.g. "B = 66", "a" = 97).
In the linked example i made three repositories to showcase this: Beta and Omega, starting both with uppercase letters and alpha, starting with a lowercase. With an alphabetical sorting it would be expected to be sorted as "alpha", "Beta", "Omega". Instead, "alpha" is pushed to the back.
Among other things, this can be an error source for people migrating old, inconsistently named VCS to Gitea.
Screenshots

What database are you using?

On the system i migrate to sqllite3. Which one the try.gitea.io instance uses, i do not know.

Yes, this is how sqlite does sorting, so it is only sqlite speciffic problem. To have case insensitive sorting sqlite needs COLLATE NOCASE ASC but I don't know if xorm supports that
cc @lunny

Just use OrderBy("name COLLATE NOCASE ASC") if it's sqlite

Hello,
I don't know about repo names, but the same issue is present for repo file names.
Thanks

I can see 2 problems here.
The first one is for "database collation". I think SQLite is too special for this case, and it doesn't seem worth to make XORM more complex to support the special sort order. It's highly recommended to use some rich-featured databases like MySQL/PgSQL, then you could convert the table/column collation to what you need.
The second one, I think it could be fixed by #29611
(I think this issue could be closed after #29611  gets merged)


Feature request:  Format output from expended macro.

I heavily use  Expand Macro Recursively feature, to debug macro.
Most of the time the output is gibberish, Code is not well formatted. Is there any way to get formatted output ?
Although Rust has build in  formatting tool (rust-fmt)

Duplicate of #10548.


Sensor readings clockface

Show one or multiple live sensor readings instead of alerts.

+1, only being able to view sensor data from the web interface is super limiting and requires Chrome :(

Everyone wants this, so I'll add it.
I actually had it at one point for debugging...
Starting on it here https://github.com/goat-hill/bitclock/pull/11


HMToken Contract cannot receive tokens back to itself

The way the contract is created, the owner of the contract holds all tokens, not the contract itself.


Cancel navigation if route index changes on latest click, update navigation boolean better

Honestly I don't really like how I did this, mostly just opening this as an example of one way it could be solved. This doesn't feel very clean though so would rather re-work the full async/pre hook/etc stuff. This is just my fast and hacky way of solving this issue for myself at least.
I think in general to do this properly the push/replaceState needs to be intercepted and not called if there are pre hooks which can change the resulting route. Right now you end up in a weird state where if pre changes teh route the router changes but the url will not update if it should. And the navigation boolean is decoupled when loading an async/lazy component from the actual run of the instance so feels pretty hacky that it works with this.
This PR "fixes"

https://github.com/mateothegreat/svelte5-router/issues/19
https://github.com/mateothegreat/svelte5-router/issues/20

But yeah none of this is the ideal way to do it, leaves a lot of room for improvement. But maybe worth it since it does fix those issues. I can think of some other edge cases this code will break down though.

I've moved onto a new library instead which has take all features I liked from this one as well https://github.com/dvcol/svelte-simple-router


Fix namespace of return type hints for DomDocument

This is useful for people like me who are running static analysers on their codebases.

This is great! Thank you so much!


python310Packages.plugwise: 0.27.5 -> 0.27.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.plugwise is: Python module for Plugwise Smiles, Stretch and USB stick
meta.homepage for python310Packages.plugwise is: https://github.com/plugwise/python-plugwise
meta.changelog for python310Packages.plugwise is: https://github.com/plugwise/python-plugwise/releases/tag/v0.27.6
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.27.6 with grep in /nix/store/mdk4bahalrrm2wwy0q70phfcqlw2rgxi-python3.10-plugwise-0.27.6
found 0.27.6 in filename of file in /nix/store/mdk4bahalrrm2wwy0q70phfcqlw2rgxi-python3.10-plugwise-0.27.6

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.plugwise
python310Packages.plugwise
python311Packages.plugwise

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mdk4bahalrrm2wwy0q70phfcqlw2rgxi-python3.10-plugwise-0.27.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.plugwise https://github.com/r-ryantm/nixpkgs/archive/bdf2e8b01230b8fbb8cce9f5ff4cdf492641d43a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mdk4bahalrrm2wwy0q70phfcqlw2rgxi-python3.10-plugwise-0.27.6
ls -la /nix/store/mdk4bahalrrm2wwy0q70phfcqlw2rgxi-python3.10-plugwise-0.27.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.plugwise
python310Packages.plugwise
python311Packages.plugwise

Maintainer pings
cc @fabaff for testing.

@ofborg build home-assistant-component-tests.plugwise


Fix XML headers for when updating JAMF's asset tags to match Snipe-IT's

Possible fix for #99
The proposed fix by @hofftaylor looks like it should do the trick, so I just translated that into a PR.
When we send requests back to the JAMF server in order to update the asset tags for a computer or mobile asset, we need to set the appropriate XML headers - stating that we are sending XML, and we expect to receive XML in return. We were still sending JSON headers.
While the original authors of the fix were concerned that there might be a nicer way to do it, I don't see what that would be, other than abstracting things out too far and making everything harder to read. This is a simple fix that just adds two lines, and makes small changes to two lines. I don't think there's any point in over-optimizing such a change.
If anyone can test this - especially those who have been having the problem in #99 - I would love that. I'm working on getting a JAMF setup of my own working (and have had some who have offered), so I'd like to do some testing of my own, too. But I'd feel much better if other folks could try to check out this branch and see if it works any better for them.

I was able to replicate the bug with a test JAMF instance, and then tested this branch which no longer exhibited the bug. Then I was able to check in JAMF itself to see if it had the asset tag for the newly-synced asset, and it did! So this looks like it should do the trick.


Dduan/docs/lemur cookbook updates

Update readme
LeMUR cookbook switched to Task endpoint
Added Specialized Endpoint cookbook
Removed edited transcript cookbook

Hey @cx-duan - could you update using-lemur.ipynb to be aligned with the rebranding of "Custom Task" to just "Task"? Otherwise, I think this looks good!


Consider Properties on ApiResource and IdentityResource EF models

Please

@leastprivilege let's discuss

What, like client properties?

Not apposed to it as i currently use client properties.    What is your use case?   and could it be expanded to other tables?

I have started a project to put properties on user private information. This effort is needed (IMHO) to become GDPR compliant.

I have started a project to put properties on user private information

And how is that in any way related to this issue?

how is that any different from Properties on IdentityResource EF models

properties added to api and identity resources


init_debugger_audio: SoundID 28 not playing

ADPCM + stereo + normal sample rate
Totally no idea why it's not playing. It's the only sound that is not playing at all.
Current workaround is to force PCM decoding on this chunk, but it will produce glitches

ReadTimeout = 'a.ReadTimeout' threw an exception of type 'System.InvalidOperationException'
WriteTimeout = 'a.WriteTimeout' threw an exception of type 'System.InvalidOperationException'
for some reason these exceptions only show while debugging and looking at the Stream's members. Maybe it's a bug with Naudio?

sound28.zip
After exporting the sound to a wav file I got to hear it. I wasn't sure if it sounded right. Because I'm unsure what the sound is supposed to sound like.

Good job on resolving this one! I'm marking this as fixed, thank you


Add Reconnect button to source list in GUI for any source that is disconnected

If you open TallyArbiter before Vmix on the same system it does not connect. A reconnect button would be really useful on the main interface.

Great idea! Maybe a reconnect button appears next to any source that is disconnected? (As a workaround for now you can edit the source, change nothing and hit save and it will reinitiate.) It’s mostly due to the client/server relationship and I don’t want to endlessly ping a server that’s not there.

This is implemented in the latest commit.


[Issue] Generate all .d.ts files in place instead of generate them in dist

Describe the bug
After applying https://github.com/stacksjs/bun-plugin-dts-auto/issues/4#issuecomment-1666842824 This patch to solve the issues with the package all .d.ts files are created in the path where the files are.

Instead of creating all those .d.ts files in the outDir:

Not sure if this is the expected behaviour.
Reproduction
#!/usr/bin/env bun --bun import dts from 'bun-plugin-dts-auto'  await Bun.build({   entrypoints: [     './src/index.ts',   ],   target: 'node',   sourcemap: "external",   minify: true,   root: './src',   outdir: './dist',   plugins: [     dts({       withSourceMap: true, // optional     }),   ], })  console.log('Build complete ✅')
System Info
System:
    OS: macOS 12.6.7
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 42.22 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.4.0 - ~/Library/Caches/fnm_multishells/45496_1690908490075/bin/node
    npm: 9.7.2 - ~/Library/Caches/fnm_multishells/45496_1690908490075/bin/npm
    pnpm: 8.6.6 - ~/.bun/bin/pnpm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Safari: 16.5.2

Bun: 0.7.3 (today's latest canary).

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

I fixed this by updating the tsconfig.json to tell it the correct output location for the .d.ts files
{
  "compilerOptions": {
   //
    "outDir": "./dist",
}

Thanks for creating this issue!
My apologies on the late resolution here, but we are now finally able to support this more actively now. Stacks had been consuming all of my free time, but this plugin is now finally a first-class citizen (which means great ongoing support  😃)
This is resolved in v0.4.0 by treating the tsconfig.json as a default which can be overriden by the outDir option.
Let me know if there is anything else I can help with!
Cheers ✌
https://github.com/stacksjs/bun-plugin-dts-auto/compare/v0.3.0...v0.4.0


Sloped Terrain inputs for Single Axis trackers

-New terrain tilt angle and terrain azimuth (measured East of North) inputs for subarrays
-Only enabled for 1-axis tracking for this release
-If backtracking enabled, backtracking angle influenced by terrain inputs
-If linear shading is enabled, shadeFraction accounts for terrain input effects on beam self-shading
-Reference: https://www.nrel.gov/docs/fy20osti/76626.pdf

cross_axis_slope_examples.zip

@mjprilliman For which of the following conditions do the terrain slope inputs have an effect on results?

Self shading disabled
Self shading enabled with linear option
Self shading enabled with non-linear option

@mjprilliman For which of the following conditions do the terrain slope inputs have an effect on results?

Self shading disabled
Self shading enabled with linear option
Self shading enabled with non-linear option

Only affects results if backtracking is enabled (angle changes to account for slope)
Affects results through linear beam portion of self-shading (shadeFraction), can also vary results through backtracking if enabled (eliminates self-shading)
Only affects results with backtracking enabled (angle changes to account for slope), which would theoretically eliminate self-shading

This implementation is probably fine for now.
For future improvements:

Consider enabling slope inputs for combinations that have no effect. For example, disable when self shading is enabled but backtracking is disabled.
Consider moving to "Shading and Layout" page.


Add access control docs.

Description
Some simple documentations explaining how Teaclave access control model works.
Fixes # (issue)
Type of change (select or add applied and delete the others)

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] API change with a documentation update
[ ] Additional test coverage
[ ] Code cleanup or just sync with upstream third-party crates

How has this been tested?
Checklist

[ ] Fork the repo and create your branch from master.
[ ] If you've added code that should be tested, add tests.
[ ] If you've changed APIs, update the documentation.
[ ] Ensure the tests pass (see CI results).
[ ] Make sure your code lints/format.

Merged. Thank you. This is very helpful!


Use Kubernetes 1.24 for E2E tests

Signed-off-by: Israel Blancas<EMAIL_ADDRESS>Which problem is this PR solving?

Resolves #1881

@rubenvp8510 this PR is ready to be merged but GitHub actions marks is as "uncompleted" because we changed the workflows


test: add more code coverage

Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

Codecov Report

Merging #152 (8cf0a28) into main (758005c) will increase coverage by 1.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
+ Coverage   51.05%   52.15%   +1.10%
==========================================
  Files           5        5
  Lines        1181     1181
==========================================
+ Hits          603      616      +13
+ Misses        578      565      -13

Impacted Files
Coverage Δ

staslib/stas.py
59.33% <0.00%> (+0.77%)
:arrow_up:

staslib/version.py
100.00% <0.00%> (+17.64%)
:arrow_up:

Continue to review full report at Codecov.

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


[Displaying]: MatrixOne directory structure

Is there an existing issue about this enhancement?

[X] I have checked the existing issues.

Describe the issue.
it looks like the displaying is not correct.

https://github.com/matrixorigin/matrixorigin.io/pull/168


[Question] Unusable offline?

This is unusable for offline machine right?

[ ] Yes
[x] No

Possible Solution
Steps to Reproduce (for bugs)
Context

I am using restrictive offline redhat VM. This is the recommended tool to install openfaas over helm and I am really hoping somehow it's usable.
Otherwise, I have no choice but to go with helm and deal with the complexities.
If you offer this offline feature, it will be helpful for enterprise users.
If requesting a CLI for "arkade get"
Your Environment

Helm is the right tool for an offline installation of OpenFaaS.
Feel free to reach out to us if you need support air gapping OpenFaaS CE / OpenFaaS Pro. https://openfaas.com/support
You may also want to look at faasd, which doesn't use helm or Kubernetes and has a bash installer: https://github.com/openfaas/faasd

/set title: Can I install the openfaas arkade app without the Internet?

/add label: support,question


upgrade fs2 to 2.0.0

Codecov Report

Merging #140 into series/0.7.x will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           series/0.7.x     #140   +/-   ##
=============================================
  Coverage         61.18%   61.18%
=============================================
  Files                11       11
  Lines               304      304
  Branches             11       11
=============================================
  Hits                186      186
  Misses              118      118

Continue to review full report at Codecov.

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


Issues porting gdev to ARM

Hello,
I am trying to run gdev on a Jetson TK1 (32Bit ARMv7 CPU), but getting
error messages. Building gdev succeeds, but running test applications fails.
It seems like gdev is not suitable for ARM machines out of the box.
But I am not sure if I have to adjust some configurations or some lines of source code.
In any case I am willing to do both, but I need some clues where to start.
My current setup is a NVidia Jetson TK1 with Linux for Tegra R21.4 (ubuntu-like) with
the latest nouveau git driver and the latest git kernel. The Jetson comes with a NVidia Kepler "GK20a" GPU.
However, running the test application in "$TOPDIR/gdev/test/cuda/user/madd" yields
./user_test 256
block = (16, 16)
grid = (16, 16)
[gdev] Failed to create a context object
cuCtxCreate failed: res = 999
Test failed
Debugging the application leads me to an error in libdrm_nouveau.so.2.
http://sourcecodebrowser.com/libdrm/2.4.15/nouveau__bo_8c.html#a3d7d749eb4a6f0f1e3d7d3e48ff96b4d
The GDB backtrace is as follows:
#0  0xb6ead73c in nouveau_bo_new () from
/usr/lib/arm-linux-gnueabihf/libdrm_nouveau.so.2
#1  0xb6fd3d22 in gdev_raw_ctx_new (gdev=0x13030, vas=0x158d0) at
/home/ubuntu/gdev/gdev/lib/user/nouveau/nouveau_gdev.c:473
#2  0xb6fcda0a in gdev_ctx_new (gdev=0x13030, vas=0x158d0) at
/home/ubuntu/gdev/gdev/common/gdev_nvidia.c:104
#3  0xb6fcc7ba in gopen (minor=0) at
/home/ubuntu/gdev/gdev/common/gdev_api.c:630
#4  0x00008a70 in gdev_test_matrixadd (a=0xb6e6b008, b=0xb6e2a008,
c=0xb6de9008, n=256) at matrixadd.c:154
#5  0x0000890a in main (argc=2, argv=0xbefff6a4) at main.c:23
Anything helps!

Do you have success to run the Gdev on the ARM?


Command npm install doenst work

package.json just got created if npm init -y is also executed, but the package.json doestn include a build variable:
{
"name": "gematik-idp",
"version": "1.0.0",
"description": "IDP plugin to integrate the gematik central-IDP with the gematik Authenticator application. Allows a user to log in with his HBA (Heil-Berufs-Ausweis) card, supplying HBA and SMCB (Elektronischer Praxis-/Institutionsausweis) card information. Additionally, HBA- and SMCB-specific IDP mappers are provided.",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "ISC"
}
so nothing happens to the command npm run build:gematik-idp.
anybody knows how i can fix it? already tried to update npm and maven. dont know any further steps i can take. thank your very much for your help!

Hello @Kuhrupt ,
Thanks for the hint. You don't have to run npm so you can just skip that step.
The documentation seems to be outdated. I'll correct it later today.
Best regards,
Florian


Adding animations on the web page.

By adding animations like hover effects on the cards and fading effects on the web page to different, UX can be improved.
I would like to work on building this feature.
Please assign me the issue under GSSoC'23.

I have made a PR = #24
Please have a look.


Feature Request: view option

Feature Requested
Just viewing the page for a package would be nice, so we can read more...
Relevant Screenshot
No response
Checklist

[X] The feature would be useful to more users than just me.

You can already open the package's homepage via cmd+enter

aha...I see the readme has that info...would it be possible to have it in the UI like commands from others?

I meant to show it inline, not present links to a page we have to open. But hey, I can live with this ;) Thanks

you'd have to be a bit more specific what you mean by "show it inline", otherwise it's hard to understand what you mean. That's why the Feature Request form asks for screenshots ;)

Let me turn it around in a question
If an extra option (bs?) would be available to just show info that the package publishes, then what would your plugin show?

I have no idea what you are asking here.
Could you please show an annotated screenshot, example, diagram etc. what you'd like to have? Otherwise, I am afraid I am not able to do anything, since one-line-descriptions with some vague reference to "package info" are just not specific enough for me to be able to follow.

It's ok...I rest my effort...tnx for your patience


Proposal: Add method to index custom page content

We have a few cases where we generate content dynamically using a custom page type. The are fetched from attributes and sometimes custom entities. Right now we can only index that content if we add a dummy block, but that feels hacky.
What about adding these lines to IndexedSearch:
if (method_exists($c, 'getSearchableContent')) {
    $searchableContent = $c->getSearchableContent();
    if (strlen(trim($searchableContent))) {
        $text .= $th->decodeEntities(
                strip_tags(str_ireplace($tagsToSpaces, ' ', $searchableContent)),
                ENT_QUOTES,
                APP_CHARSET
            ) . ' ';
    }
}

To be added here https://github.com/concrete5/concrete5/blob/develop/concrete/src/Page/Search/IndexedSearch.php#L155

I have found is_callable to be more reliable for such checks. But please don't ask me to explain whey.
The code above is the sort of thing I would do for an addon that needed to be backward compatible. As this is a core change, is there any reason why a null 'getSearchableContent' can't be added to the base class, call it all the time, and allow page types to override to provide whatever they like.

Well, if we could break and change things I would create an interface an implement that in the page and block class. Adding an empty method would work too, I guess it's just a style question. Since we do it without the method for blocks I would do the same with pages. That way it's at least consitent. Refactoring the whole core is maybe something for v10..

I like @JohntheFish 's solution, honestly – add getSearchableContent() to the base page controller, and call it when going through the indexer on the page. @KorvinSzanto probably has opinions on this as well since I know he's implemented custom indexers for certain projects of ours.

Here's a pull request to implement this https://github.com/concrete5/concrete5/pull/6598


Build emails have a broken application icon

What App Center service does this affect?
Build emails, release emails.
Describe the bug
The application icon linked to from the email is hosted at https://rink.hockeyapp.net/api/2/apps/2e0d1bd645fd4a98a659e9d7b75b580e?format=png
This image does not exist for apps that have been created directly on App Center.
Screenshots

Thanks for reporting this @tonyarnold ! I remember we've had issues with icons in emails before. But I thought we've resolved them. So this could be something new.
However, I haven't heard similar issues on this recently. So this could be something specific to your app. Do you mind reaching out to our support (via the Intercom chat bubble at bottom right of the portal) so that we can collect more information and take a deeper look?
As for the icons being stored in HockeyApp, that's same for all other apps right now, because at this point we still use HockeyApp as backend for part of Distribution, which is where icon is extracted and stored.

This app hasn't been on HockeyApp for years, and was never associated with the emails/accounts I'm using now. Given that: how could it draw any information (icons or otherwise) from Hockey?
I've reported the issue here - why do I also need to go through support? They're super useful, but they're just going to direct me back to this issue, right?

@tonyarnold Support will be able to collect more details of your application, which allows us to perform deeper investigation if needed.
As for you question on HockeyApp, I tried to explain in my last reply but sounds like it didn’t help. This is implementation detail on our end. Most likely is irrelevant with the issue you are seeing.

Ok, thanks for the additional information. I've opened a support request as you suggested.

Close this as this is being discussed over support. Let us know if you run into anything else.


"Gălăteni", "Bâscoveni" and "Grădișteanca" are listed in the drop-down menu

Description:
"Gălăteni", "Bâscoveni" and "Grădișteanca" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Gălăteni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Gălăteni, TELEORMAN (Gălăteni)" and "Comuna Gălăteni, TELEORMAN".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Bâscoveni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Bâscoveni, TELEORMAN (Gălăteni)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Grădișteanca" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Grădișteanca, TELEORMAN (Gălăteni)".


Compile Error

I have directx sdk and c++ redistributables like it requires, and it give me this error

I'm not sure how to fix this and any help would be appreciated.
I've tried compiling in release and debug, they both give the same error seen above.
I'm using windows SDK version 10.0.

may caused due to outdated win sdk
remove in std::stringstream ssPattern = { }; that = { };


Feature/object 3D

Personal notes below:
Things left to do before merging:
~1) Tests~

Approved, minus the tests failing in circle...


ExchangeExtendedProtection - Always asks for authorization

Describe the issue
Microsoft Exchange 2019 CU12 Feb23SU
After applying ExchangeExtendedProtectionManagement, on some client devices, Outlook keeps asking for the password without accepting the correct password, asking for it over and over again
Expected behavior
ExtendedProtection enabled and successful authorization in Windows Outlook
Additional context
If in IIS in the DefaultWebSite branch in the MAPI section turn off mandatory Windows authentication, Outlook already starts to let into the user interface, but asks for the password again, if you click "Cancel" for a while the connection works and you can even send the letter, but after a while again asks for the password and does not accept the correct one. But this is not a solution to the problem, just writing a note, what the problem may be related (may be)

@Asmund22 this sounds like some configuration in your environment isn't configured as expected to work with Exchange Exteded Protection.
It could be related to NTLMv1, SSL-Offloading, third party applications intercepting the connection etc. .
Please check the Exchange Extended Protection documentation:
https://microsoft.github.io/CSS-Exchange/Security/Extended-Protection/
You should open a Microsoft support case if you need troubleshooting assistance.


New package: DPFEHM v0.1.0

Registering package: DPFEHM
Repository: https://github.com/OrchardLANL/DPFEHM.jl
Created by: @omalled
Version: v0.1.0
Commit: ca070b4dd7be43ba061ff84836d9db6787db1934
Reviewed by: @omalled
Reference: https://github.com/OrchardLANL/DPFEHM.jl/commit/ca070b4dd7be43ba061ff84836d9db6787db1934#commitcomment-75286784
Description: DPFEHM: A Differentiable Subsurface Flow Simulator

I apologize for the inconvenience, but I would appreciate an exception to the naming conventions for this package.
This package is a simulator that is the successor to a code developed in my group at LANL called FEHM. The name of this package was chosen to reflect that legacy. This new code is implemented using the principles of differentiable programming (DP). So, this is why "DP" is prepended to the name "FEHM" to get "DPFEHM". When people ask what "DPFEHM" stands for, I tell them it doesn't stand for anything. This is partly because the original "FEHM" ostensibly stands for "Finite Element Heat and Mass", but became a misnomer over the years as it mainly uses finite volume methods (as does DPFEHM). So, DPFEHM is really a proper noun rather than an acronym.
Of course, the Damerau-Levenshtein conflict with FEHM.jl arises because there is a Julia package (of which I made the most recent and initial commits) for the underlying FEHM simulator (which written in Fortran). I think it is unlikely that the proximity in namespace will cause problems.

@giordano Can you take a look at this pull request? Sorry to bug you -- I just know you looked at one of my other pull requests. This one seems to be languishing.


nick hindi,pogo,sonic,discovery kids, history tv 18 not working, mainly issue is of audio when as when go to my addons>input stream adaptive>settings>change media to vedio and restart kodi then these channel plays but without audio smoothly  for pogo use https://sjpurecdnems09.cdnsrv.jio.com/jiotvmblive.cdn.jio.com/bpk-tv/Pogo_Hindi_MOB/Fallback/Pogo_Hindi_MOB-audio_98834_hin=98800.m3u8  here audio_98834_hin=98800  please make changes in addon.. for more help use https://www.hotstar.eu.org/ for gathering correct channel links in jio tv addon.

Posted as an issue from another user's comment

Good research @seniordevpants , this will surely help @krreet to fix this issue, lets see whenever he will get time to fix this issue, he will surely push the update.
anyways Special Request to @krreet if you are regularly following this project make changes in Officially BotAllen Repository zip file and put your JioTV upgradable link [ https://github.com/krreet/plugin.video.jiotv/releases ]
This will help to get update JioTV addon directly.
If you agree please proceed with changes in Official BotAllen Repository zip file.
Thanks & Appreciated you work and effort

fixed in 2.0.13 , use kodi 19.5 as kodi 20 has problem to run different audio stream so audio will be blank on kodi 20


match instruments by type instead of name

Currently, when calibrating the local sequence, standard fields are only used from the same individual instrument as the supernova observations. This causes some standards that were observed at the same site on a different instrument of the same type to be left out. Here I change the matching to be by the instruments.type column in the database, rather than the photlco.instrument column.

@griffin-h do you have a test example for this PR?

lscloop.py -n 'SN 2020cxd' -e 20200201-20200331 --standard all -f landolt -s local -i
In master, this command will only find two nights of standard stars to calibrate to. In buxfix/match_instruments, it will find three nights. This is because on 2020-03-05, the supernova was observed with 1m0-06/fa07, but the standard field L107 was observed with 1m0-08/fa05.

I’m really struggling to test this PR. Based on the testing example you gave, I thought that L107 and SN2020cxd data from 2020-03-05 in Landolt filters should be sufficient to test this PR.
I downloaded all of the L107 observations for 2020-03-05 and calibrated the B and V filters. The V observations of L107 don’t seem to have an object in them (this seems weird to me because the observations look good, and there are plenty of stars in the frame. I ran checkers and it looked ok to me), so while I get a PSF and a zcat, I don’t get a psfmag. I am able to get 2 instrumental magnitudes for L107 with two different instruments in the B band, but B band observations of 2020cxd don’t seem to have an object in them, so again, I have a psf and a zcat but no psfmag.
Regardless, based on "the standards need wcs, psf, and zcat. I don’t think the supernova observations need anything except to not be marked as bad.", I thought I should get two objects selected, but I don’t see any even though I can see that they are present in the database. I’m not sure if this is an issue with dark or the PR.
I can confirm that the "instrument" returned is Sinistro when the new query is run on the B band data:
SELECT filter, filepath, filename, airmass, shortname, dayobs, type AS instrument,
                                      zcol1, z1, c1, dz1, dc1, zcol2, z2, c2, dz2, dc2, psfmag, psfdmag, apmag, dapmag
                                      FROM photlco LEFT JOIN telescopes ON photlco.telescopeid=telescopes.id
                                      LEFT JOIN instruments ON photlco.instrumentid=instruments.id WHERE
                                      filename='elp1m006-fa07-20200305-0227-e91.fits' or filename='elp1m006-fa07-20200305-0226-e91.fits'

Suggestions welcome

I was able to test this PR by downloading standards for 20200226, 20200305, 20200322 for ELP (all L107). I can confirm that I get the expected output to the test given. @cmccully I think this is ready to merge since @griffin-h tested it on Supernova as he developed it

Fixing conflict now

Conflict resolved and PR retested


Feature: Action cards home page

Feature: Action cards home page

As a user of the portal authenticated or not,
I want to see the 4 Action Cards on the home page but disabled
So that I know the main actions I will be able to take to interact with OKP4 protocol when the related features will be deployed.

Acceptance criteria
Scenario: Default display
Given that I am user of OKP4 portal,
And I am authenticated or not
And I am using a desktop device,
When I am on the home page,
Then I should see the Action cards
When I hover the cards, I see the hover disable version (with Soon Available)
And the cards are not clickable
Scenario: Mobile display
Given that I am user of OKP4 portal,
And I am authenticated or not
And I am using a mobile device,
When I am on the home page,
Then I should see the Action cards on the disabled version
And the cards are not clickable
Scenario: Internationalization
Given that I am a user of the web portal on the catalog page,
When the selected language is English
Then texts should be displayed in English language,
Share Data & Services
Create Knowledge
Create Data Spaces
Build applications
Soon available
Given that I am a user of the web portal on the catalog page,
When the selected language is French
Then texts should be displayed in French language,
Partager des Données et Services
Créer des Connaissances
Créer des Data Spaces
Construire des Applications
Bientôt disponible
Given that I am a user of the web portal on the catalog page,
When the selected language is German
Then texts should be displayed in German language,
Daten & Dienste teilen
Wissen schaffen
Data-Spaces erstellen
Anwendungen erstellen
Bald verfügbar
Requirements
Resources
Mockups
Desktop
To complete
Mobile
To complete
Design system

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

Updated with faked data @AnjaMis

See #122

Test 24/03
Desktop : Firefox - Safari - Chrome
Mobile : Safari
Scenario: Default display : OK ✅
Scenario: Mobile display : OK ✅
Scenario: Internationalization OK ✅


nixos/nvidia: include systemd power management

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/73494
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

What's the status on this @eadwu @flokli?

I'm waiting for #66601 to get merged before pushing for this since it will introduce conflicts.

https://github.com/NixOS/nixpkgs/pull/66601 is merged now.


Enhancement: Use FlxSignal for Conductor callbacks

idk just a great idea lol

What's the benefits of using this? I am actually well versed on HaxeFlixel and my knowledge is dying lol

To assign multiples callbacks at the same time and then dispatch events to them.


RxBleClient mulit connections

Hello, thanks a lot for your library! I have issue in my project. I write program with support voice over ble and update remote control. So i have flow like this:

When alc change i try find updates (for update i must take version from characteristic for compare with server bin file) and if i found it i start update, if not found just skip.
I try to find specific characteristic in device and start voice service  in parallel with ota.

So, for example , if user use voice over ble,  how can i take version characteristic with out reconnect?
if we can try to take version i think it's ok to continue to listen voice. But i don't understand how i can take 00002a28-0000-1000-8000-00805f9b34fb and continue listen voice from another service.
   class VoiceService : Service() {
       //singleton as write in docs
        @Inject
        lateinit var client: RxBleClient
        fun attachVoice() {
            //here we will change mtu take characteristic subscribe to characteristic chane
 //must listen while device state is connected
            client.getBleDevice(deivceMac).establishConnection().flatmap {
              connection.setupNotification(VoiceBytes)
            }
        }.subscribe({decode/transfer etc})
    }

    class UpdateService : Service() {
       //singleton as write in docs
        @Inject
        lateinit var client: RxBleClient

        fun checkUpdate() {
            //here we will change mtu take characteristic subscribe to characteristic chane
            client.getBleDevice(deivceMac).establishConnection().flatmap {
              connection.setupNotification(otaBytes).flatmap { device.writeCharacteristic(otaBytes)}
            }
        }

    }

    class AlcBroadcastReceiver : BroadcastReceiver() {
        override fun onReceive(context: Context?, intent: Intent?) {
            //some logic to take device

            //for examle we find device or lost device
            context.startService(VoiceService(device.mac))
            context.startService(UpdateService(device.mac))
        }
    }

Hello, thank you for using the library.
 If that's the case this wiki page should help you.

Hello! Thanks for the quick response! oh ya i forget about share, in this use case i can create some cache like
HashMap<Rx Device,RxConnection> and provide to my code..
Is it correct if i will write like this?
val cache = HashMap<RxBleDevice, Observable<RxBleConnection>>()

fun getConnection(device: RxBleDevice): Observable<RxBleConnection> {
    if (cache.contains(device)) return cache.get(device)
    val connection = device.establishConnection(false).compose(ReplayingShare.instance())
        .doOnError {
            //clean cache/etc
            cache.remove(device)
        }
    cache.put(device, connection)
    return connection
}

fun startVoiceService(device: RxBleDevice) {
    val disposable1 = getConnection(device).flatMap { connection ->
        //notification
        connection.setupNotification(UUID.randomUUID()).flatMap { observables ->
            //request like get voice codec etc
            connection.writeCharacteristic(
                UUID.randomUUID(),
                byteArrayOf()
            ).flatMapObservable {
                Observable.just(observables)
            }
        }.flatMap { it }
            .flatMap {
                //some logic
                if (it[0] == 0x0.toByte()) {
                    Observable.just(1)
                } else Observable.just(2)

            }

    }
}

fun startUpdateCheck(device: RxBleDevice) {
    val disposable2 = getConnection(device).flatMapSingle { connection ->
        //get sw version ect
        connection.readCharacteristic(UUID.fromString("00002a28-0000-1000-8000-00805f9b34fb"))
            .flatMap {
                if (it.littleEndianConversion() > 80) {
                    //logic to find update
                    Single.just(1)
                } else {
                    Single.just(2)
                }
            }
    }
}```

So, if disposable 2 is finished (because we was take info and do logic to find update its faster then wait user input as hid event) disposable 1 will still work?

Yes. It should still work

Thank you for cool library!


QG X checks (Release 1.3)

QG checks
Please keep this issue open until QG X is concluded and will be managed by the Issue Creator!
We will inform you about finding and proposals in separated issues, this issue here is for the Overview of the Checks!
Please keep this issue open until QG4 is concluded!
Product Name:
Product Owner:
Dev SPOC:
Helm Chart Version:
App Version:
QG4 Approval: yes/no
TRG 1 Documentation
TRG 1.01
https://eclipse-tractusx.github.io/docs/release/trg-1/trg-1-1

[x] an appropriate README.md file

TRG 1.02
https://eclipse-tractusx.github.io/docs/release/trg-1/trg-1-2

[x] an appropriate INSTALL.md

TRG 1.03
https://eclipse-tractusx.github.io/docs/release/trg-1/trg-1-3

[x] an appropriate CHANGELOG.md

[x] the versioning itself follows semantic versioning

TRG 2 Git
TRG 2.01
https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-1

[x] default branch is named main

TRG 2.03
https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-3

[x] /docs directory contains detailed product related documentation for the Tractus-X product
[x] /charts directory contains the Helm chart for the Tractus-X product IF available
[x] AUTHORS.md file (optional)
[x] CODE_OF_CONDUCT.md file
[x] CONTRIBUTING.md file
[x] DEPENDENCIES file(s) with up to date content (Dash tool generated)
[x] LICENSE file
[x] NOTICE.md file
[x] SECURITY.md file

TRG 2.04
https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-4

[x] a Leading product repository
[x] repository name must be productname without prefix or suffix
[x] should contain the release
[x] references/urls to the product's other repositories
[x] might contain product helm chart
[x] README.md: contains the urls for the backend and frontend applications

TRG 2.05
https://eclipse-tractusx.github.io/docs/release/trg-2/trg-2-5

[x] .tractusx metafile is present in the root of the repository
[x] file has a proper format

TRG 3 Kubernetes
TRG 3.02
https://eclipse-tractusx.github.io/docs/release/trg-3/trg-3-2

[x] if data persistence is needed in Kubernetes the use of PersistentVolume and PersistentVolumeClaim resource

TRG 4 container
TRG 4.01
https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-1

[x] All images must be tagged following semantic versioning
[x] container is labeled correctly additionally to the latest tag

TRG 4.02
https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-2

[ ] #16
[x] Java, Kotlin, ... if JVM based language use base image from Eclipse Temurin

TRG 4.03
https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-3

[x] image has USER command to specify a non-root user to run the container
[x] deployment.yaml has runAsUser and allowPrivilegeEscalation: false properly set

TRG 4.05
https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-5

[ ] released image must be present on GitHub Package registry or Dockerhub

TRG 5 Helm
TRG 5.01
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-01

[ ] Helm chart must be released
[ ] appropriate semantic versioning for version and appVersion has to be used in Chart.yaml
[ ] must not contain any environment specific values-xyz.yaml
[ ] values.yaml file must contain proper default values/placeholders
[ ] No hostname provided for ingress
[ ] Ingress is disabled
[ ] No references to any secret engine service (e.g.: Hashicorp Vault)
[ ] Dependencies should be prefixed with the nameOverride and/or fullnameOverride properties
[ ] Image tag is set to the Chart.yaml appVersion property
[ ] must be deployable to any environment without overwriting default values with a simple helm install command
[ ] dependencies have to be declared in Chart.yaml NOT requirements.yml

TRG 5.02
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-02

[ ] Helm chart location inside Git repository in /charts directory
[ ] chart file structure

charts/
    chartNameA/
      Chart.yaml
      ...
    chartNameB/
      Chart.yaml
      ...
AUTHORS.md
DEPENDENCIES.md
LICENCE
README.md

[ ] each file must contain the Apache 2.0 Licence
[ ] latest tag is not used in helm chart be default

TRG 5.04
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-04

[ ] CPU and memory limits and requests are properly set

TRG 5.06
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-06

[ ] every startup configuration aspect of your application must be configurable through the Helm chart (ingress class, tls, labels, annotations, database, secrets, persistence, env variables)

TRG 5.07
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-07

[ ] if dependencies are present in the Chart.yaml they are properly configured

TRG 5.08
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-08

[ ] a product has a single deployable helm chart that contains all components (backend, frontend, etc.)
[ ] name of the Chart should be just the product-name without prefix or suffix
[ ] values file should contain all available variables (even from subcharts) with default values and comments about what they do
[ ] helm install command should successfully install the chart to any supported Kubernetes version cluster (without overwriting default values)
[ ] helm test runs without errors

Testing

[ ] installed and running on pre-prod without errors

Hints
Information Sharing

The Links to the catena-x environments should be removed from the README.md as they don't provide any additional value (you can't just use any of them without additional information) but this then also links to catena-x in a context were it shouldn't.

Storybook link should be revisited to potentially generate / publish it on a github page instead of the dev env

See comments from portal-frontend-registration about dockerfile hints (combining RUN etc.) they apply here too

Same hint regarding the helm values like allowPrivilegeEscalation

The Links to the catena-x environments should be removed from the README.md as they don't provide any additional value (you can't just use any of them without additional information) but this then also links to catena-x in a context were it shouldn't.

have been removed

Hi gerneral question, issue could be close!?


Privileged intent provided is not enabled or whitelisted.

Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (/home/runner/Discord-Bot-V14/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
at async Client.login (/home/runner/Discord-Bot-V14/node_modules/discord.js/src/client/Client.js:226:7)

This error occurs because your application is trying to use a privilege that has not been enabled for your bot. There are several privileges that can be used with the Discord API, but not all of them are enabled by default.
To resolve this error, you need to enable the desired privilege in your bot's settings in the Discord developer dashboard.

To activate a privilege, follow these steps:

 Access the Discord Developer Dashboard.

 Select your application/bot.

 In the "Bot" section of the side menu, find the "Privileged Gateway Intents" section.

 Enable required privileges for your bot. For example, if your bot needs to read messages sent on the server, you must enable the "SERVER MEMBERS INTENT" privilege.

Remember to save changes after activating required privileges. After that, restart your bot and the error should no longer occur.


flatpickr clobbers shadow styling

I'm using Bulma for my CSS framework. When I "attach" flatpickr to an input, it removes bulma's shadow  styling. See fiddle below for comparison.

Reproduction Link
https://jsfiddle.net/t8rgj69q/1/
Your Environment

flatpickr version used: v4.0.5
Browser name and version: Chrome, Version 63.0.3239.9 (Official Build) dev (64-bit)
OS and version Fedora 26

PS: that jsfiddle is out of date with respect to the flatpickr link (404's)

Hello,
It appears that bulma removes box-shadow from readonly inputs.

There are a few solutions:

Set flatpickr config allowInput: true, which will allow user input and remove readonly
Apply custom css to readonly inputs to match non-readonly inputs.


Encapsulate Python sequence-like indexers

Summary
This encapsulates a lot of the common logic around Python sequence-like indexers (SliceOrInt) into iterators that handle adapting negative indices and slices in usize for containers of a given size.
These indexers now all implement ExactSizeIterator and DoubleEndedIterator, so they can be used with all Iterator methods, and can be used (with Iterator::map and friends) as inputs to PyList::new_bound, which makes code simpler at all points of use.
The special-cased uses of this kind of thing from CircuitData are replaced with the new forms.  This had no measurable impact on performance on my machine, and removes a lot noise from error-handling and highly specialised functions.

Details and comments
This PR was not meant to be this big - I only started writing something up because I needed similar logic to things we already had in 3+ different places for SparseObservable, and then I let it get a bit more out of hand.
This introduces thiserror as a crate for generating the boilerplate for implementing Error for return values.  I barely used it in this PR, but I split this off from a follow-up defining SparseObservable, which uses it more heavily.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

194 of 240 (80.83%)  changed or added relevant lines in 4 files are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.02%) to 89.768%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/euler_one_qubit_decomposer.rs
3
9
33.33%

crates/accelerate/src/two_qubit_decompose.rs
3
9
33.33%

crates/circuit/src/circuit_data.rs
82
93
88.17%

crates/circuit/src/slice.rs
106
129
82.17%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
4
91.86%

crates/qasm2/src/parse.rs
12
96.23%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
63806

Relevant Lines:
71079

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

192 of 236 (81.36%)  changed or added relevant lines in 4 files are covered.
93 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.06%) to 89.806%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/euler_one_qubit_decomposer.rs
3
9
33.33%

crates/accelerate/src/two_qubit_decompose.rs
3
9
33.33%

crates/circuit/src/circuit_data.rs
82
93
88.17%

crates/circuit/src/slice.rs
104
125
83.2%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
94.02%

crates/qasm2/src/lex.rs
4
92.88%

qiskit/circuit/quantumcircuit.py
16
95.69%

crates/circuit/src/operations.rs
72
72.35%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
63843

Relevant Lines:
71090

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

192 of 236 (81.36%)  changed or added relevant lines in 4 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.04%) to 89.783%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/euler_one_qubit_decomposer.rs
3
9
33.33%

crates/accelerate/src/two_qubit_decompose.rs
3
9
33.33%

crates/circuit/src/circuit_data.rs
82
93
88.17%

crates/circuit/src/slice.rs
104
125
83.2%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
92.62%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
63840

Relevant Lines:
71105

💛  - Coveralls

Yeah, I considered talking to PyO3 about contributing it upstream, though I'm thinking maybe we play with it a shade longer within Qiskit first to see if the abstraction actually bears weight.
I'm ok with the interface I've come up with here, but I think it could still be better.  If nothing else, there's tons of specialisations of Range that could be passed through the various iterator methods.  I've mostly just added the bits we need for Qiskit immediately (though tbh DoubleEndedIterator for Descending was probably not 100% required) to avoid further bloating a PR that was already more involved than I was expecting.


calculate nCr under some mod

💥 Proposal
implement an algo to calculate nCr under some mod in dart
Have you read the Contributing Guidelines on Pull Requests?
yes

/assign