docker-compose up failed

git clone https://github.com/apache/superset.git
cd superset
docker-compose -f docker-compose-non-dev.yml pull
docker-compose -f docker-compose-non-dev.yml up

results
visit: http://localhost:8088/ and http://localhost:8080/

Context
superset_init           | ######################################################################
superset_init           |
superset_init           |
superset_init           | Init Step 4/4 [Complete] -- Loading examples
superset_init           |
superset_init           |
superset_init           | ######################################################################
superset_init           |
superset_init exited with code 0

superset_worker_beat    | [2022-10-31 02:49:00,035: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:49:00,038: INFO/MainProcess] Task reports.scheduler[bab6741e-6488-442f-bbdf-9f7432a239b2] received
superset_worker         | [2022-10-31 02:49:00,053: INFO/ForkPoolWorker-1] Task reports.scheduler[bab6741e-6488-442f-bbdf-9f7432a239b2] succeeded in 0.014438661999975011s: None
superset_worker_beat    | [2022-10-31 02:50:00,047: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:50:00,050: INFO/MainProcess] Task reports.scheduler[fa95c7e5-115e-45d7-9e77-5856ad265598] received
superset_worker         | [2022-10-31 02:50:00,063: INFO/ForkPoolWorker-1] Task reports.scheduler[fa95c7e5-115e-45d7-9e77-5856ad265598] succeeded in 0.012622712000165848s: None
superset_worker_beat    | [2022-10-31 02:51:00,051: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:51:00,054: INFO/MainProcess] Task reports.scheduler[5b7b316c-156b-46e0-bb51-3704cfca1974] received
superset_worker         | [2022-10-31 02:51:00,068: INFO/ForkPoolWorker-1] Task reports.scheduler[5b7b316c-156b-46e0-bb51-3704cfca1974] succeeded in 0.012827199000184919s: None
superset_worker_beat    | [2022-10-31 02:52:00,050: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:52:00,053: INFO/MainProcess] Task reports.scheduler[59828966-3483-4fb6-8f47-d2f1b21b51cb] received
superset_worker         | [2022-10-31 02:52:00,066: INFO/ForkPoolWorker-1] Task reports.scheduler[59828966-3483-4fb6-8f47-d2f1b21b51cb] succeeded in 0.012166001999958098s: None
superset_worker_beat    | [2022-10-31 02:53:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:53:00,002: INFO/MainProcess] Task reports.scheduler[821ba4ad-9d07-4b10-ba62-9a859e354fdf] received
superset_worker         | [2022-10-31 02:53:00,016: INFO/ForkPoolWorker-1] Task reports.scheduler[821ba4ad-9d07-4b10-ba62-9a859e354fdf] succeeded in 0.012543760999960796s: None
superset_worker_beat    | [2022-10-31 02:54:00,050: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:54:00,053: INFO/MainProcess] Task reports.scheduler[c3cdd8a4-267e-4365-a171-cac1d21ef0aa] received
superset_worker         | [2022-10-31 02:54:00,066: INFO/ForkPoolWorker-1] Task reports.scheduler[c3cdd8a4-267e-4365-a171-cac1d21ef0aa] succeeded in 0.01228220699999838s: None
superset_worker_beat    | [2022-10-31 02:55:00,033: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:55:00,035: INFO/MainProcess] Task reports.scheduler[2a8ed1c5-6237-4c92-839c-86689c7509aa] received
superset_worker         | [2022-10-31 02:55:00,049: INFO/ForkPoolWorker-1] Task reports.scheduler[2a8ed1c5-6237-4c92-839c-86689c7509aa] succeeded in 0.012376932000051966s: None
superset_worker_beat    | [2022-10-31 02:56:00,015: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:56:00,018: INFO/MainProcess] Task reports.scheduler[6deb1bdb-1bde-4c08-8b65-0cf6dba09528] received
superset_worker         | [2022-10-31 02:56:00,031: INFO/ForkPoolWorker-1] Task reports.scheduler[6deb1bdb-1bde-4c08-8b65-0cf6dba09528] succeeded in 0.012628831000029095s: None
superset_cache          | 1:M 31 Oct 2022 02:56:30.819 * 100 changes in 300 seconds. Saving...
superset_cache          | 1:M 31 Oct 2022 02:56:30.820 * Background saving started by pid 20
superset_cache          | 20:C 31 Oct 2022 02:56:30.825 * DB saved on disk
superset_cache          | 20:C 31 Oct 2022 02:56:30.826 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
superset_cache          | 1:M 31 Oct 2022 02:56:30.920 * Background saving terminated with success
superset_worker_beat    | [2022-10-31 02:57:00,000: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:57:00,003: INFO/MainProcess] Task reports.scheduler[4b4ab7e4-4365-4d19-ba22-0bb3885183a8] received
superset_worker         | [2022-10-31 02:57:00,019: INFO/ForkPoolWorker-1] Task reports.scheduler[4b4ab7e4-4365-4d19-ba22-0bb3885183a8] succeeded in 0.014504119999855902s: None
superset_worker_beat    | [2022-10-31 02:58:00,020: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:58:00,023: INFO/MainProcess] Task reports.scheduler[f3ddf9b0-4693-453f-a7e6-592ce60912b0] received
superset_worker         | [2022-10-31 02:58:00,036: INFO/ForkPoolWorker-1] Task reports.scheduler[f3ddf9b0-4693-453f-a7e6-592ce60912b0] succeeded in 0.011974557000030472s: None
superset_worker_beat    | [2022-10-31 02:59:00,042: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 02:59:00,044: INFO/MainProcess] Task reports.scheduler[cfa1211d-930f-4f9b-9959-b14ddb5c7e71] received
superset_worker         | [2022-10-31 02:59:00,058: INFO/ForkPoolWorker-1] Task reports.scheduler[cfa1211d-930f-4f9b-9959-b14ddb5c7e71] succeeded in 0.01254803599999832s: None
superset_worker_beat    | [2022-10-31 03:00:00,047: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 03:00:00,050: INFO/MainProcess] Task reports.scheduler[b05e3f51-c21f-426a-a0c6-d8b24d7b3aa5] received
superset_worker         | [2022-10-31 03:00:00,063: INFO/ForkPoolWorker-1] Task reports.scheduler[b05e3f51-c21f-426a-a0c6-d8b24d7b3aa5] succeeded in 0.012471254999809389s: None
superset_worker_beat    | [2022-10-31 03:01:00,051: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 03:01:00,054: INFO/MainProcess] Task reports.scheduler[ce5e84dd-efcd-49c1-b6bf-8bfca7f0ff55] received
superset_worker         | [2022-10-31 03:01:00,068: INFO/ForkPoolWorker-1] Task reports.scheduler[ce5e84dd-efcd-49c1-b6bf-8bfca7f0ff55] succeeded in 0.012843912999869644s: None
superset_worker_beat    | [2022-10-31 03:02:00,027: INFO/MainProcess] Scheduler: Sending due task reports.scheduler (reports.scheduler)
superset_worker         | [2022-10-31 03:02:00,029: INFO/MainProcess] Task reports.scheduler[2bce3508-835c-4dca-8b2c-88aa4b1c2f0c] received
superset_worker         | [2022-10-31 03:02:00,043: INFO/ForkPoolWorker-1] Task reports.scheduler[2bce3508-835c-4dca-8b2c-88aa4b1c2f0c] succeeded in 0.012087458999985756s: None

This situation could have many causes and is too broad to be useful as a Github issue.  Consider instead taking this to the Superset Slack where you might get interactive help and suggestions.

Hello @tee68. There are several Docker issues that we are tackling. However, we did not see a problem with loading the examples in recent versions of Superset. If you are still experiencing this issue, feel free to open a new one. Thank you!


vscode server for armhf linux not available after update

Type: Bug
After  recently updating VScode is was unable to connect to my remote machine seems the server-linux-legacy-armhf are not available.
[11:59:56.999] > Downloading with wget
[11:59:57.201] > wget download failed

https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-armhf/stable: 2024-04-02 17:59:57 ERROR 404: Not Found.

VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:14:59.643Z)
OS version: Linux x64 6.7.11-100.fc38.x86_64
Modes:
Connection to 'SSH: wall-back' could not be established  The connection timed out
Connection to 'SSH: wall-back' could not be established  The connection timed out
Connection to 'SSH: wall-front-user' could not be established  Failed to download VS Code Server (Server returned 404)

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2216)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 2, 1

Memory (System)
15.33GB (8.09GB free)

Process Argv
--unity-launch --crash-reporter-id cd30fab0-e86c-4cef-afda-937a11e1fe2b

Screen Reader
no

VM
0%

DESKTOP_SESSION
cinnamon

XDG_CURRENT_DESKTOP
X-Cinnamon

XDG_SESSION_DESKTOP
cinnamon

XDG_SESSION_TYPE
x11

Connection to 'SSH: wall-back' could not be established  The connection timed out
Connection to 'SSH: wall-back' could not be established  The connection timed out
Connection to 'SSH: wall-front-user' could not be established  Failed to download VS Code Server (Server returned 404)
Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:30988843
dsvsc021:30996838
gd77d436:30999572

Hi @barrowsrobbBnS, are you still seeing this issue with the latest version of VS Code?

No, this no longer seems to be an issue, thank you.


Adding publish scripts for publishing docker containers to ECR.

Description
Adds scripts to publish our docker containers to AWS
Metadata
Fixes

Fixes # YAS-300

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

Looks good! 😀 👍


[REQUEST] Package the tools.

Describe the solution you'd like
It would be much easier to use the tools if they were installable as a package.
If we do a pip package it can be installed directly from the github repo:
pip install<EMAIL_ADDRESS>We should also look into making a conda package as well.

A big part of this issue is reorganizing the repo into python package structure, and change how all the imports are happening across all the files. open-ce is not a valid identifier for import, so we'll have to make the name of the python library something like opence.
The next step will be adding the setup.py file and getting the right contents to the right places at install time. We'll want to make sure that the open-ce file ends up in bin, and the other .py files end up in lib. We'll also want to make sure that the docker files are installed to a place they can be found at runtime.

Thanks @bethune-bryant - This will definitely help me in implementing this.
I think this task can further be split as follows -

Reorganize the repo into python package structure
Change all the imports
Add setup.py
Update documentation
Create conda package

That breakdown looks good, the only change I'd make is that the imports will have to change at the same time that the structure changes. With that change I think each of these tasks could be done separately.

Reorganize the repo into python package structure

Change all the imports

Add setup.py and other Manifest files needed for pip package
Update documentation
Create conda package

Yes, actually while working on #1, I ended up doing #2 as well, so structural changes and import ones will go hand in hand.
Also, I think open-ce-environments has to be packaged as well.

Let's hold off on open-ce-environments. @bethune-bryant will be looking into the best way for those to be easily used.

Sure.

Let's hold off on open-ce-environments. @bethune-bryant will be looking into the best way for those to be easily used.

#298 is where that work is being tracked.

I've a few doubts -

I've included git_tools as well in the package as a module. Should I make it as a sub-module of open_ce package? If yes, I'll have to move it inside open-ce/open_ce directory.

open-ce (main repo)

open_ce

init.py
build_env.py
build_feedstock.py
...
git_tools

init.py
apply_patches.py
create_opence_release.py
...

Should we add a script like build_pip_package.sh which will create wheel file of open-ce?

1. I've included `git_tools` as well in the package as a module. Should I make it as a sub-module of open_ce package? If yes, I'll have to move it inside open-ce/open_ce directory.

I don't think we should include the git_tools in the package. Those are for managing the repo and feedstocks, and should really only be used within a clone of the repo.

2. Should we add a script like build_pip_package.sh which will create wheel file of open-ce?

This is probably a good idea. Initially we'll probably install directly from github, but eventually we'll probably want to make the package available somewhere. We'll probably also want a script to build the conda package, so we'll probably want a directory for them.


The CI doesn't trigger the Clippy action

Independent issue for tracking the CI problem. The original discussion: https://github.com/risc0/zeth/pull/64#pullrequestreview-1775562186
My opinion: https://github.com/risc0/zeth/pull/64#issuecomment-1851969881
I think it doesn't add Clippy component in the risc0/risc0/.github/actions/rustup action.
Perhaps we can add the snippet:
with:
	components: clippy

  clippy:
    name: clippy
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
    - uses: actions/checkout@v3
      with:
        submodules: recursive
    - uses<EMAIL_ADDRESS>      with:
        components: clippy
    - uses<EMAIL_ADDRESS>    - uses: risc0/clippy-action@main
      with:
        reporter: 'github-pr-check'
        fail_on_error: true
        github_token: ${{ secrets.GITHUB_TOKEN }}
        clippy_flags: --workspace --all-targets --all-features -- -Dwarnings

In general, the the CI triggers reviewdog [clippy] (e.g. https://github.com/risc0/zeth/runs/19521165223). However, it seems to depend on the module 🤔
Maybe it is related to the fact that clippy does not work from the command line...

In general, the the CI triggers reviewdog [clippy] (e.g. risc0/zeth/runs/19521165223). However, it seems to depend on the module 🤔 Maybe it is related to the fact that clippy does not work from the command line...

I got lots of context from you. I want to give the issue a try in the coming days.


W-8901610:  OFM installer + OFM Experience + creates/enables Site

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Definition of Done to see any additional details for the items below:

[ ] Any net new LWC work has JEST test coverage 50% or above
[ ] Default Sa11y tests pass for all LWC components
[ ] 🔒 Secure both Front-end (LWC) & back-end (Apex) as necessary
[ ] 🔑 Grant users access in Permission Sets (Object, Field, Apex Class) as necessary
[ ] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name
[ ] Make sure that ACs are updated (if any gaps)
[ ] All acceptance criteria have been met

[ ] Developer
[ ] Code Reviewer

[ ] Pull Request contains draft release notes
[ ] Labels, help text, and customer facing messages are reviewed by Docs
[ ] QE story level testing completed

W-8901610: OFM installer: Installs OFM Experience + creates/enables Site


systemd service: should start verbose in foreground

When run in systemd service, ipp-usb udev forks in background, systemd is configured to try catching up with it by gessing it's main PID, and the type is set to forking:
https://github.com/OpenPrinting/ipp-usb/blob/af7189461a8f742a830e41e4b29c225ead4b5144/systemd-udev/ipp-usb.service#L7-L9
This seems overly complicated while a simple oneshot service would achieve pretty much the same effect, with additional journal support:
 Type=oneshot
 ExecStart=/sbin/ipp-usb udev

?

Well, I'm not udev expert :-)
Is my understanding correct, you suggest to replace the entire content of [Service] section with the following:
[Service]
Type=oneshot
ExecStart=/sbin/ipp-usb udev

I think the following full-file should work (note I've added the Documentation line):
[Unit]
Description=Daemon for IPP over USB printer support
Documentation=man:ipp-usb(8)
After=cups.service avahi-daemon.service
Wants=avahi-daemon.service

[Service]
Type=oneshot
ExecStart=/sbin/ipp-usb udev

The only printer I have a USB connection on is an HP LaserJet Professional P1102W, which doesn't seem to do anything with ipp-usb, so you might want to test this.

I'm currently on my countryside home, while my 25 kg weigh printer is not, so I can test on a real hardware only at the end of next week.
@tangyanli, could you please help us with testing? If yes, please replace the content of the /lib/systemd/system/ipp-usb.servicefile with the content included into the previous message, and verify that ipp-usb successfully starts when printer is connected and finishes when printer is disconnected.
This effort is a part of ipp-usb integration into the official Debian distro.
Thanks in advance!

@alexpevzner I am glad to do it. I will commit test result here next monday (the prints are not around at the weekend)

Thank a lot, Tess!
@OdyX, I've updated the file

Closed - fixed


Raising an Event with callback

Hi Keijiro,
I tried to raise an UnityEvent inside an OscJack receiving callback. In short:
I'm doing this on start:
       server.MessageDispatcher.AddCallback(address, GetData);
This is the GetData callback:
    void GetData(string address, OscDataHandle data)
    {

        float time = data.GetElementAsFloat(0);
        float x = data.GetElementAsFloat(1);
        float y = data.GetElementAsFloat(2);
        float z = data.GetElementAsFloat(3);

        linearAccel = new Vector3(x, y, z);

        if (debug)
        {
            Debug.Log("[GetOscDataVector] " + time + " " + linearAccel);
        }

        if (receiveEvent != null)
        {
            receiveEvent.Invoke(time, linearAccel);
        }

    }

where receiveEvent is:
[System.Serializable] public class UnityFloatEvent : UnityEvent<float, Vector3> { }
However, I get this error when the callback is called:
UnityEngine.UnityException: get_isPlaying can only be called from the main thread.
Is it is not possible to raise such an event from a data receiving callback?

Is it is not possible to raise such an event from a data receiving callback?

No, it's not possible. Please check "OSC server class" section in README.

Note that the delegates are to be called in the server thread; You have to queue the events for processing them in the main thread (this will be required in most cases of Unity).


SBOM badge & user-friendly view

Provide a way to generate an SBOM badge that users can add to their Github repositories with a user-friendly view when clicked, like an HTML table output for example.

I think this is a fantastic idea! I had been thinking about a simple website that "renders" SBOMs for folks in a digestible way (e.g. maybe with sorting, filtering, etc.). I don't want to block the "badge" concept on that idea's development, but it could be a nice central place to link to from badges at some point.


Inference IC: Model outputs

Some torch integration clean ups
Update model outputs code

NOT READY FOR REVIEW

Moving into https://github.com/rungalileo/dataquality/pull/706


Few-Shot Named Entity Recognition work

Hi, really like your work, have you considered using this framework for few-shot named entity recognition work? or do you have an example code for it, looking forward to the progress in few-shot named entity recognition!

Hey @zhanghaok thanks for your interest! We haven't quite figured yet out how to apply SetFit in token classification tasks, but we will certainly add support to the library if we can make it work well :)

Hi all, I think it will be a great success to extend this to token-classification too. Have you thought about something along the lines of the followings:

Keybert (https://github.com/MaartenGr/KeyBERT)
TARS (https://github.com/flairNLP/flair/blob/master/resources/docs/TUTORIAL_10_TRAINING_ZERO_SHOT_MODEL.md) which is from FLAIR

I think specially something along the lines of KeyBert or TARS might already be something that is usable


Stopped Working

Looks like IG redid things again. All my IG styles/scripts don't work anymore. WF 56.2 & Chrome 67.0.3396.62

@thekcool Thanks feedback.
Fixed it in version 1.8.10. Update.


Doesn't work if I have multiple IPs in my PC

While I run docker-compose up -d it fails to run Nginx for configuration issue. Here is the configuration that was created by ./prepare_conf.sh
events {
 	  worker_connections  1024;
}

http {
 	  server {
 	 	 listen       80;
 	 	 server_name demo.demo.com ;

 	 	 location / {
 	 	 	 proxy_pass http://<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>:9000;
 	 	 }
 	 }
}
events {
 	  worker_connections  1024;
}

http {
 	  server {
 	 	 listen       80;
 	 	 server_name demo.demo.com ;

 	 	 location / {
 	 	 	 proxy_pass http://<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>:9000;
 	 	 }
 	 }
}

@amitbd1508 Thanks for letting me know. I will fix this soon.


"vitest run --watch" does not work correctly.

Describe the bug
It should work in watch mode, but it doesn't.
Reproduction
Just run the command: npx vitest run --watch
System Info
System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 203.06 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.volta/tools/image/node/20.11.1/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 10.2.4 - ~/.volta/tools/image/node/20.11.1/bin/npm
    pnpm: 8.15.3 - ~/Library/pnpm/pnpm
    bun: 1.0.18 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 122.0.6261.129
    Safari: 17.2.1
  npmPackages:
    vitest: ^1.2.1 => 1.3.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[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 open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Maybe you're aware, but npx vitest by default provides watch mode (unless in CI environment), so usually you wouldn't need to write vitest run --watch. Do you have any specific case you want to add run and --watch together?

You cannot call vitest run --watch because run is the same as --no-watch. Just use vitest or vitest --watch.


Bundled JDK has wrong path (and architecture is wrong by default)

Describe the bug
Not sure if this applies to all versions, but after installing 2.3.0, and trying to run it, I get:
$ opensearch
could not find java in bundled jdk at /Users/viraptor/.asdf/installs/opensearch/2.3.0/jdk.app/Contents/Home/bin/java

But that's the wrong path, the actual bundled path available is: /Users/viraptor/.asdf/installs/opensearch/2.3.0/jdk/
Also the wrong JDK is bundled by default - the installed one is for linux-x86_64 in my case rather than darwin-aarch64.
Installed on macos ventura 13.2.1.

i'm also running into this issue


Release v0.14.0

v0.14.0 -- 2023-08-25
Added
Changed

The verify command now manages Apalache server, if no already running
instance is detected (#1115)
Module management was rewritten, and instances should behave much better in
the simulator, REPL and integration with Apalache (#1119)

Deprecated
Removed
Fixed

Fixed a problem where definitions were not properly loaded in the REPL when
the main module was provided in the CLI argument (#1112)

Security

Will cut a new release to pick up the fixes for #1124


Update Spring Cloud, Spring Data, Spring Security Oauth2 Autoconfigure and Problem Spring Web

Update Spring Cloud to Finchley.M8
Update problem-spring-web to 0.22.2
Update spring-security-oauth2-autoconfigure to 2.0.0.RELEASE
Update Spring Data to Kay.SR5

Thanks @DanielFran ! I'm surprised that passed all the tests! So let's merge this, I'll do a release ASAP

Release done!


App crashes when Snoop is attached

💻 Environment
Platform: Windows
OS Version: Windows 10
Toggl Version: 7.4.475
🐞 Actual behavior
Snoop is a very nice tool for WPF applications which allows viewing the entire visual tree, examining and editing properties of any element on-the-fly. It makes UI development a lot more productive.
Currently, Toggl Desktop crashes with some low-level error when trying to attach Snoop to it.
💯 Expected behavior
Snoop can be attached to Toggl Desktop without any crashes.
🔨 Steps to reproduce

Try to attach Snoop to Toggl Desktop

📦 Additional info
Nothing in the logs, but when running from IDE the stack trace is available:

This is a Snoop bug that was fixed in 2.11.0


Play Page

We should add placeholders for if the user has won every level and add a button for them to "upload a map"

fixed in https://github.com/webdevcody/survive-the-night-sim/commit/5baa778901640d02e266dc247c903dcfbeb64a81


List of VM SKUs which support accelerated networking has some undocumented SKUs

The code which checks for VM SKUs supporting accelerated networking (AN) has a different list of SKUs compared to enumeration of SKUs via command like the below.
az vm list-skus --resource-type virtualMachines --query '[].{name:name, an_enabled:capabilities[?name==`AcceleratedNetworkingEnabled`].value | [0]} | [?an_enabled==`True`][].name | sort(@)'  | uniq

In the existing code there are also several SKUs which are not regularly consumable or documented, and some outright errors. For example Standard_PB6s does not currently support AN - based on practical testing. Some other SKUs like AZAP_Performance_ComputeV17C_DDA, Standard_D3_v2_ABC are not even documented anywhere.
What I'm looking for by filing this issue is a clarification on how the list in the current code was arrived at, and if you are open to a PR to align the CLI code with a more accurate list as returned by the capabilities method I mentioned.

hi @qwordy could you pls have a look

hello again, just pinging to check if you had a chance to review this item?

The list of SKUs in code is written in 2018. It may be out of date. I wonder why CLI makes decision for users. CLI will enable it based on image and size. I can update the list now. But it is hard to keep the list always up to date. We don't know when the list should be updated. @yugangw-msft This piece of code is written by you. Can you share the story of this design? Do you think we can return the right to users?
--accelerated-networking
Enable accelerated networking. Unless specified, CLI will enable it based on machine image and size.

Thank you @qwordy - I believe if we can switch to using the ResourceSkus.list API and then filtering based on the capabilities where the SKU is AccelNet capable, it would be a robust way.

Thank you @arvindshmicrosoft . It is a robust way. And it does not break the current behavior of this parameter.

If it helps, I have some Python code which already uses this API in some Ansible related automation. You could consider leveraging something similar in CLI.
        # get VM SKU resources for this location. we have to use
        # a specific API version to do this as this resource_skus
        # list operation is not allowed in any other API versions
        # which are available with the version of Azure SDK
        # that ships with Ansible for Azure
        skuclient = get_client_from_cli_profile(
            ComputeManagementClient, api_version="2017-09-01"
        )
        self.vm_skus_for_location = list(
            filter(
                lambda s: s.resource_type == "virtualMachines"
                and self.location() in s.locations,
                skuclient.resource_skus.list(),
            )
        )

    def accnet_capable_skus(self):
        return list(
            map(
                lambda r: r.name,
                filter(
                    lambda s: len(
                        list(
                            filter(
                                lambda c: c.name
                                == "AcceleratedNetworkingEnabled"
                                and c.value == "True",
                                s.capabilities,
                            )
                        )
                    )
                    > 0,
                    self.vm_skus_for_location,
                ),
            )
        )

Oh. The code is advanced. The author is good at functional programming. A lot of lambda, map, filter. Thank you.

I opened a PR. But I find a problem. The SKUs are not consistent with result of az vm create --accelerated-networking --size Standard_DS1_v2
  "error": {
    "details": [],
    "code": "VMSizeIsNotPermittedToEnableAcceleratedNetworking",
    "message": "Virtual machine /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/fytest/providers/Microsoft.Compute/virtualMachines/vm1 has size Standard_DS1_v2, which is not compatible with enabling accelerated networking on network interface(s) on the VM.
  }

thanks @qwordy could you pls help to confirm the behavior with someone from compute team? before that is it ok for you to merge the PR after S168?

thanks @qwordy could you pls help to confirm the behavior with someone from compute team? before that is it ok for you to merge the PR after S168?

OK. I updated my last comment. It's OK for me to merge after S168 and it's not ready to merge so far.

@qwordy thanks for updating the comment with specific results of cmdlets. We are investigating this and will provide an update to align the lists of skus for consistency.

@avirishuv May I know if there is any update?

Thank you @qwordy for merging #13045 and thereby closing this!

You are welcome

Just noting here that the PR updated the list of hard-coded values rather than checking real-time support as @arvindshmicrosoft had shown, so this issue will surface again when sku capabilities change

Just noting here that the PR updated the list of hard-coded values rather than checking real-time support as @arvindshmicrosoft had shown, so this issue will surface again when sku capabilities change

You are right. The problem is the sku list is too long. It exceeds the limit of response of testing framework. It fails hundeads of tests. No perfect solution. We have to trade off.

Well if you have covered this with tests, you may use the same shared lists of SKUs in tests.
It could be a shared file, for example that you can read once, before all tests run. So when the team extend the list, your tests will fail too - so you know beforehand it's time to adapt.

Well if you have covered this with tests, you may use the same shared lists of SKUs in tests.
It could be a shared file, for example that you can read once, before all tests run. So when the team extend the list, your tests will fail too - so you know beforehand it's time to adapt.

@norvegec Thank you for your method. I am wondering why my tests will fail when other team extends support with more SKUs. Do you mean I add a test to test whether the latest SKUs returned by service is same as local copy?

@norvegec Thank you for your method. I am wondering why my tests will fail when other team extends support with more SKUs. Do you mean I add a test to test whether the latest SKUs returned by service is same as local copy?

@qwordy the way I see it:
Given: Team A develops system, Team B - develops tooling (CLI).
Problem: Team A rolls up major version of the system into production. This new version implies that Team B need to adjust tooling accordingly. Until Team B does that, customers cannot use certain part of tooling.
A solution: Team A and B comes up with a convention: Since Team A owns a product their version of SKU list is the source of true. Let's say they store it in a file in git. It should be clear that this file is part of public contact and should be adjusted carefully. Moreover, whenever Team A change this file a CI/CD pipeline should inform the interested parts (group email/message to MsTeams channel, so on) about it. Also this new new version of the file should be exposed to Team B (direct reference to PR/ upload the file to shared "folder", expose via API, etc.). So team B could catch up very quickly and adjust tooling beforehand.
Does this makes sense to you?

@qwordy the way I see it:
Given: Team A develops system, Team B - develops tooling (CLI).
Problem: Team A rolls up major version of the system into production. This new version implies that Team B need to adjust tooling accordingly. Until Team B does that, customers cannot use certain part of tooling.
A solution: Team A and B comes up with a convention: Since Team A owns a product their version of SKU list is the source of true. Let's say they store it in a file in git. It should be clear that this file is part of public contact and should be adjusted carefully. Moreover, whenever Team A change this file a CI/CD pipeline should inform the interested parts (group email/message to MsTeams channel, so on) about it. Also this new new version of the file should be exposed to Team B (direct reference to PR/ upload the file to shared "folder", expose via API, etc.). So team B could catch up very quickly and adjust tooling beforehand.
Does this makes sense to you?

As part of CI/CD of Team B this exposed new version of file from Team A could be downloaded into work folder and referenced directly in tests.

As part of CI/CD of Team B this exposed new version of file from Team A could be downloaded into work folder and referenced directly in tests.


include react-hook-form in the library list

Hi,
wondering if possible to include react-hook-form in the readme?
github: https://github.com/bluebill1049/react-hook-form
docs: http://react-hook-form.now.sh
cheers
bill

Awesome work @bluebill1049! Please, run awesome-lint on your fork and add this link as last of the list.

will do, thanks mate

moved to the bottom and ran awesome-lint thanks


feat(segmentation_user_layer): add  individual segment color picker tool

adding some comments on parts I'm unsure about
Currently there is no way to reset the color (remove the stated color) and it persists if the segment is removed and  re-added.

Regarding removing the color --- if we suppose that alt+click is used to change the color (if the widget isn't being shown), then alt+rightclick could be used to remove the color.  And we can have the tooltip show the key combinations so that they are discoverable.
When the widget is shown, rightclick without modifier could also reset the color.
As far as resetting colors automatically when the segment is no longer visible:
per the discussion today with Sven about a "persistent segment list" which the seung lab branch has but the upstream branch does not, I agree that for manual setting of colors it probably makes sense that the colors are lost when you remove the segment from the persistent list.  However when the colors are configured in the state directly (currently the only way to do it in the upstream branch), e.g. using the Python API, then we don't want the colors to so easily go away.  Though perhaps it would be reasonable for every segment with a specified color to automatically get added to the persistent list in which case that would not be an issue.


Adds Kinsta app hosting

@palmiak I don't see any free tier. If I'm wrong feel free to reopen. Thanks!

I saw it in the guidelines but I saw that both Railway or AWS also only
have a time-limited free tier and they are listed.
And Kinsta have such too - $20 credit worth.
sob., 28 sty 2023, 12:33 użytkownik Marko Denic @.***>
napisał:

Closed #429
https://github.com/markodenic/web-development-resources/pull/429.
—
Reply to this email directly, view it on GitHub
https://github.com/markodenic/web-development-resources/pull/429#event-8379622341,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR34OWB26ES3XQNH62UEJLWUT7YJANCNFSM6AAAAAAUHNBIUA
.
You are receiving this because you were mentioned.Message ID:
<markodenic/web-development-resources/pull/429/issue_event/8379622341@
github.com>


Not listing new title

So when listing out my titles I don't see an issue from a new title I just bought. It was the first issue I'd bought of this title. Is the list of titles cached somewhere? Or is there an alternative way to get the id number of the titles to just feed to the command?
Thanks.

Once I reached 700 items in my library, the list command never gave me more than the first 700.  Obviously, I don't know if that's the problem you're seeing, but if it is, this will help... assuming the title in question is from Marvel, and you have the Android app installed.  If it is, you can start downloading on the phone or tablet, then search for the download folder, which will have the number of the issue or collection.
As an example, I have my tablet set to download to my SD card, so if I navigate there, then to the Android folder, then to the Data folder, I'll find the Marvel Comic data in a folder named com.marvel.comics.  Inside that is a folder named Files and inside that is another folder named Library.  As you download items to your device, new folders are created for each issue/collection inside the Library folder.  Those folders are given numbers... the number of the folder is the number you can type into this script.
When the DC app for Android was still working, this would allow you to get the number for DC titles, but that stopped working a few months ago, even after they pulled it from app stores.  At this point, this method only works for Marvel titles (unless other comic book publishers had their own reading apps that were based on the old Comixology infrastructure).  The only other way I've found to get download numbers is for older titles, you can sometimes hunt up old comixology.com links using the Wayback Machine, although that's become less useful as the months go by.
Out of curiosity (in case I own it), what title are you having issues finding the number for?

I have nowhere near 700 in my library. Closer to 100. The ones I'm trying are both DC comics. Action Comics and Superman Son of Kal El. I know I could get them elsewhere but I rather prefer ripping my own purchased stuff.

Gotcha.  I'm of no help, then (since they're DC, and my method only works for Marvel).  The number may suddenly appear in a day or two.  I had that happen a couple of months ago with a Birds Of Prey trade.  I purchased it, and it didn't appear, but then a couple of days later, it suddenly did.  So... good luck!  :-)


Add Configuration as Code Groovy extension plugin

Description
Adding permission for releasing new plugin:
https://github.com/jenkinsci/configuration-as-code-groovy-plugin
for user szandala
Plugins is hosted since
https://issues.jenkins-ci.org/browse/HOSTING-714

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

The path is basically <groupId> from pom.xml replacing . with / then <artifactId>. So, since your groupId is io.jenkins.plugins (https://github.com/jenkinsci/configuration-as-code-groovy-plugin/blob/master/pom.xml#L12) and your artifactId is configuration-as-code-groovy (https://github.com/jenkinsci/configuration-as-code-groovy-plugin/blob/master/pom.xml#L13) you would have:
io/jenkins/plugins/configuration-as-code-groovy-plugin

The path is basically <groupId> from pom.xml replacing . with / then <artifactId>. So, since your groupId is io.jenkins.plugins (https://github.com/jenkinsci/configuration-as-code-groovy-plugin/blob/master/pom.xml#L12) and your artifactId is configuration-as-code-groovy (https://github.com/jenkinsci/configuration-as-code-groovy-plugin/blob/master/pom.xml#L13) you would have:
io/jenkins/plugins/configuration-as-code-groovy

Sooo, now it should be fine, isn't it?

Yes, just wanted to make sure you understood :-)

Thanks :D


Added user email validation fnc and testcase for new user registration

Describe your changes :
Worked on the issue #139 and added email validation function that checks for the validity of an email

Entered email from the user is extracted from request and if not None, then is allowed to pass through validation fnc that returns the email if valid else throws an exception.
Also wrote a test inside users/test/test_views.py for email validation test case

Type of change :

[ New feature ]

[ ] New feature

Checklist:

[ ] I have read the Code Of Conduct document.
[ ] I have read the CONTRIBUTING document.
[ ] I have performed a self-review of my own.
[ ] I have tagged my reviewers below.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] All new and existing tests passed.

Reviewers

@PraveenMalethia @abhivemp  @codyseibert

Sure @MidouWebDev , adding it now

@rshalem For documentation, i reviewed your work and approved the changes. You did a great job bro ! Thanks.
For backend stuff, let's wait for @PraveenMalethia's review or @abhivemp's

I just finished the testing! and was going to merge!  @codyseibert


SyncUser.logout() doesn't work as specified

Goals
I want to log out a SyncUser as described in the docs:
https://realm.io/docs/swift/latest/#logging-out
Expected Results
The API will behave as described, namely "To log a user out of their account, call SyncUser.logOut(). Any pending local changes will continue to be uploaded until the Realm Object Server has been fully synchronized. Then, all of their local synced Realms will be deleted from their device."
Actual Results
The realm files remain on the client device.
Steps to Reproduce
Log a user in, then log them out.
Code Sample
LogOutTest.zip

Unzip the folder, run pod install, then run the app and observe the folder in the Simulator.
Click on LogIn and note that the sync file appears in the Documents folder:

The app will move on to the next screen, there click on LogOut button.

The synced file remains on the clients device.
Version of Realm and Tooling

RealmSwift: 2.5
ROS: 1.4.1

ProductName:	Mac OS X
ProductVersion:	10.12.4
BuildVersion:	16E195

/Users/marin/Developer/Xcode 8.3.app/Contents/Developer
Xcode 8.3
Build version 8E162

/Users/marin/.rvm/gems/ruby-2.2.1/bin/pod
1.2.0
(not in use here)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

/usr/local/bin/carthage
0.18.1
(not in use here)

/usr/local/bin/git
git version 2.8.2

The docs are a bit wrong there. The Realms are deleted on the next app launch. Not immediately. I'll update the docs.

Isn't it rather inconvenient that there is no support for logout in the same app launch? what if it's sensitive data that people do not want to hang around?

The problem is that simply deleting the Realm files immediately is going to crash the user's app unless they explicitly invalidate all their Realms and objects before calling logout. We could have an API that vends a block they could call once they've finished cleaning up to delete the Realm files immediately (like how client reset works right now), but that would be a feature request we'd need to prioritize along with everything else.

Deleting the file immediately won't make the app crash. The file continues to exist until everything using it closes the file.

I would suggest adding this as a feature. I think it's really reasonable to provide an api allowing the users to log out and remove their synchronized data (as the docs used to describe it)


doc issue, developer-scripts README.md needs to be updated to included Delhi release yaml

https://github.com/edgexfoundry/developer-scripts/blob/master/compose-files/README.md

updated to include Delhi and Edinburgh


Include contrib envoy-api files

Context
I want to make use of the kafka broker filter, however this is included in the contrib package not the main one (meaning we don't copy the files over).
Checklist

[X] Change meets or does not compromise the Baseline Security Requirements

/wise-bot run-action sync-branch-protection


Translate secondary affiliation fields

Please provide Japanese translation for the following strings:
"Pronouns"
"Please type in your pronouns if yours are not listed"
"Secondary Role"
"Academic institutions, volunteer positions, or second jobs"
"(Secondary) Organization"
It's okay to provide these as a comment and then someone else can make the code change. See screenshot below for context, or visit: https://speakher.jp/nominate-speaker
(Google / Machine translation unacceptable for this task, please only work on this if you are fluent.)

Here's a screenshot in context:

次の文字列の日本語訳を入力してください。
"Pronouns"
→ 第一人称
"Please type in your pronouns if yours are not listed"
→ 適切な第一人称がない場合は、入力してください。
"Secondary Role"
→第二の職業の職名
"Academic institutions, volunteer positions, or second jobs"
→学術組織、ボランティア、副業
"(Secondary) Organization"
→第二の所属組織(副業)
If you use the word "the main position ", it's possible to use "the substitute position".

ポジション
サブポジション

How about these?
Original

Translated

We don't have a writing "pronounce" culture. Then I added some explanation to explain the reason which understandable.

Thanks for the comments, @Kimmym6a and @shokokb. Kimmy-san, would it be possible to share your suggested translations as text in addition to the photo? Sometimes I have to look up individual kanji to read.
Just looking at this again, we should ask someone in the LGBT community for assistance translating the pronouns section. It is a new cultural development, and people can feel very sensitive about their gender identity. A direct translation from "she/her" to 彼女 might not capture the nuance of how a person wishes to be described. I know some people to ask.
Feel free to propose translations for fields outside the pronouns section! Thanks

Hi @ann-kilzer , sorry for the late feedback.

would it be possible to share your suggested translations as text in addition to the photo?
Sure! Just in time, I wrote all of them down below.

we should ask someone in the LGBT community for assistance translating the pronouns section
This is the best way, Thank you!

A direct translation from "she/her" to 彼女 might not capture the nuance of how a person wishes to be described
It is why I added the explanation as a translation.（掲載メディア等で〜）

Translation suggestions
Pronouns: 第三人称のご希望
Please type in pronouns if you are not listed: 掲載メディア等でご紹介する際の第三人称のご希望をお聞かせください。
職名：ご職業
Primary Occupation: 具体的なご職業（本業）をお書きください。
会社：会社名
Secondary role: 経歴（その他）
Academic institutions, volunteer positions, or second jobs. : 学術研究、ボランティア、副業など、その他の経歴をお書きください。
Organization: 所属先（その他）


[New Feature]: update runtime for harikiri lambda

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
AWS is deprecating the python 3.7 lambda runtime in 1/2024
Describe the feature request
I want to configure the harikiri lambda to run in the python 3.8 runtime

The change of python version was added


docs(toolbar): fix end slot documentation

Description for end slot was the same as start slot.

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Build (npm run build) was run locally and any changes were pushed
[ ] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[x] No

Could you please run npm run build and push the changes?

There were no changes to the code, just the jsdoc comment. Running the build command would not make a difference.

@obedm503 The build command also builds the documentation which is why the build is failing here. 🙂

https://github.com/ionic-team/ionic/pull/18092/checks?check_run_id=107376740

Thank you!

Great! Sorry for the initial misunderstanding.


Traitlet injection fails with chained functions (e.g. beam resource hints)

@cisaacstern and I just went on a bit of a deep dive to debug failures (example) over at cmip6-leap-feedstock, and discovered that the traitlet injection was failing for stages with resource hints like this:
...
StoreToZarr(....).with_resource_hints(min_ram=min_ram)
...

This PR adds a minimal failing example for the test_rewriter.py module.

@jbusecke tests pass here so you could try merging this into your dev branch if you want to use resource hints while we await review. Or just not using them works to 😄 .

I think this feature might be useful for https://github.com/leap-stc/data-management/pull/57.

Looks to me like a potential symptom of this problem: #168


Create amesstudent.ac.nz

University official website: https://www.ames.ac.nz/
URL Page for #year Bachelor's Program: https://www.ames.ac.nz/degree/bachelor-of-creative-software/
Proof College uses this domain: Domain name for students is "amesstudent.ac.nz", it has AMES (institute name) in it.

@piadesai8 Thank you for the request. The proof you have provided is not enough: the official website does not say anything about amesstudent.ac.nz, and in general anyone can register a domain with such a name. However, taking into account an information below and the rules which apply to registrations in ac.nz zone, I consider the request as valid.
For the record: WHOIS says that the domain belongs to Academic Colleges of New Zealand Limited, and Wikipedia confirms that it is a New Zealand-based private education company that operates schools and other educational services in New Zealand and Asia. This information seems to be reasonably enough to believe that this particular domain in ac.nz zone belongs to an educational institution.


Jumping not solved on Android when scrolling up

First I would like to thank you for this publication with flat-list-mvcp and effort to solve the jumping problem on Android.
In my case, after setting the maintainVisibleContentPosition, the jumping problem disappeared on iOS but still present on Android.
Here is what happens on Android when scrolling up (scrolling down no problem) , flashing and jumping :

I share some code snippets here so you can check if I made a mistake using FlatList :
import { FlatList } from 'react-native-bidirectional-infinite-scroll';

const viewConfigRef = useRef({
    itemVisiblePercentThreshold: 90,
    minimumViewTime: 200,
  });

  <FlatList
    data={moments}
    keyExtractor={keyExtractor}
    renderItem={renderMomentItem}
    horizontal={false}
    numColumns={1}
    viewabilityConfig={viewConfigRef.current}
    onViewableItemsChanged={onViewRef.current}
    ref={setRef}
    onScrollToIndexFailed={onScrollToIndexFailedMoments}
    onEndReached={loadMoreOlderMessages}
    onStartReached={loadMoreRecentMessages}
    onEndReachedThreshold={0.4}
    scrollEventThrottle={20}
    bounces={false}
    windowSize={5}   // tried without windowSize, with 5 or 10 same behaviour
    showsVerticalScrollIndicator={false}
    ListFooterComponent={
      momentLoading ? <ActivityIndicator size='large' /> : renderFooter
    }
    maintainVisibleContentPosition={{
      autoscrollToTopThreshold: undefined,
      minIndexForVisible: 0,
    }}
  />

@lc3t35 So I think its the windowSize that needs to be modified here. Default value of windowSize is 21. You should keep it higher than 21, if you want to amend more than 10 results at a time.
Please let me know if that fixes the issue :)

https://github.com/GetStream/flat-list-mvcp/issues/13#issuecomment-812925583

@lc3t35 Is the scroll jumping issue also resolved for you after upgrading to<EMAIL_ADDRESS>(or beta-1)?

Still the same with 0.10.1 and windowSize = 22

@lc3t35 ok let me try to setup an example with similar layout as your app!! I will get back to you

@lc3t35 Could you share the keyExtractor function?

const keyExtractor = (item) => item._id;

Is it unique for every item?

Please check the example on this branch - https://github.com/GetStream/react-native-bidirectional-infinite-scroll/tree/vishal/activity-example/example.
I have tried to generate the similar layout and config as your app!!

_id ... Is it unique for every item? Thats really cruicial

Yes I've checked that _id are unique for every item.

Can't build example on android : https://github.com/GetStream/react-native-bidirectional-infinite-scroll/issues/11

Is it possible for you to share the app codebase with me? I am happy to help figure out the issue!! Or if you can setup independent code example ... where you can replicate this issue, that will work as well.

only images (I have also video)

I'm facing the same problem with videos only.
@stream-io/flat-list-mvcp": "^0.10.1
windowSize={60} // The high number I know, but it avoided the jumping


Add dotnet/cssparser repo and build it from source

This repo produces the Microsoft.Css.Parser nuget package which is used by aspnetcore.
dotnet/cssparser is licensed under MIT. It does not use arcade, so the build project is based off of application-insights.proj.
After this fix, a local tarball build results in the removal of this line from the annotated prebuilt xml:
<AnnotatedUsage Id="Microsoft.Css.Parser"
    Version="1.0.0-20200708.1"
    File="src/aspnetcore.a4938d07a5127ffad8466ddf703a6b5b21f4b0c9/artifacts/obj/Microsoft.AspNetCore.Razor.Tools/project.assets.json"
    IsDirectDependency="true"
    IsAutoReferenced="true"
    Project="src/aspnetcore.a4938d07a5127ffad8466ddf703a6b5b21f4b0c9/"/>

cc @tmds

FYI, trying to diagnose the macOS failures with https://github.com/dotnet/source-build/pull/1815. @dseefeld has seen it consistently failing since this morning.

@dagood Anything I need to do here?

OSX error is known issue: https://github.com/dotnet/source-build/issues/1819

Thanks!


Performance degradation for k = 10

The second README example takes very long, when k=10.
@dhaval737 noticed this too in his test suite.
There may be a performance degradation for large k; we should investigate and fix.

Resolved as per #16


feat: update jest config for esm and chore

html-minifier-terser use clean-css and uglifyjs with commonjs and terrible compatibility with browser.

In my option, we don't need the function for minify javascript from html-minifier-terser. So, html-crush is a better choice that only compress css and html.
But it's won't process tags to lower case and empty attributes. Maybe we need some extra transform by ourseleves.

Query rules sort by ascending. Loop in forward direction
types add QueryRule.transform
BestUrl take with reduce
BREAKING: addQueryRules use vararg instead of array

Coverage decreased (-1.03%) to 98.969% when pulling 770b16660503dea4a67675aaff0191eee1c272a3 on SettingDust:feat/to_html-crush into eb2f1a3029c5e5da5fa88e76c56add83d4c3ef0d on ndaidong:es6-module-format.


Target musllinux_1_1_x86_64

Failing with:
/usr/bin/install -c -m 755 -d "/usr/local/lib/ghc-9.4.4/rts"
#  rts/dist-install/build/libHSrts.a rts/dist-install/build/libHSrts_p.a rts/dist-install/build/libHSrts-ghc9.4.4.so rts/dist-install/build/libHSrts_debug.a rts/dist-install/build/libHSrts_thr.a rts/dist-install/build/libHSrts_thr_debug.a rts/dist-install/build/libHSrts_thr_p.a rts/dist-install/build/libHSrts_debug-ghc9.4.4.so rts/dist-install/build/libHSrts_thr-ghc9.4.4.so rts/dist-install/build/libHSrts_thr_debug-ghc9.4.4.so rts/dist-install/build/libHSrts_thr_debug_p.a rts/dist-install/build/libHSrts_debug_p.a  rts/dist-install/build/libCffi.a rts/dist-install/build/libCffi_p.a rts/dist-install/build/libCffi_debug.a rts/dist-install/build/libCffi_thr.a rts/dist-install/build/libCffi_thr_debug.a rts/dist-install/build/libCffi_thr_p.a rts/dist-install/build/libCffi_thr_debug_p.a rts/dist-install/build/libCffi_debug_p.a = libraries to install
#  "/usr/local/lib/ghc-9.4.4/rts" = directory to install to
#
# The .dll case calls STRIP_CMD explicitly, instead of `install -s`, because
# on Win64, "install -s" calls a strip that doesn't understand 64bit binaries.
# For some reason, this means the DLLs end up non-executable, which means
# executables that use them just segfault.
/usr/bin/install -c -m 755 -d  "/usr/local/lib/ghc-9.4.4/rts"
for i in  rts/dist-install/build/libHSrts.a rts/dist-install/build/libHSrts_p.a rts/dist-install/build/libHSrts-ghc9.4.4.so rts/dist-install/build/libHSrts_debug.a rts/dist-install/build/libHSrts_thr.a rts/dist-install/build/libHSrts_thr_debug.a rts/dist-install/build/libHSrts_thr_p.a rts/dist-install/build/libHSrts_debug-ghc9.4.4.so rts/dist-install/build/libHSrts_thr-ghc9.4.4.so rts/dist-install/build/libHSrts_thr_debug-ghc9.4.4.so rts/dist-install/build/libHSrts_thr_debug_p.a rts/dist-install/build/libHSrts_debug_p.a  rts/dist-install/build/libCffi.a rts/dist-install/build/libCffi_p.a rts/dist-install/build/libCffi_debug.a rts/dist-install/build/libCffi_thr.a rts/dist-install/build/libCffi_thr_debug.a rts/dist-install/build/libCffi_thr_p.a rts/dist-install/build/libCffi_thr_debug_p.a rts/dist-install/build/libCffi_debug_p.a; do case $i in *.a) /usr/bin/install -c -m 644  $i  "/usr/local/lib/ghc-9.4.4/rts"; true  "/usr/local/lib/ghc-9.4.4/rts"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755  $i  "/usr/local/lib/ghc-9.4.4/rts" ; :  "/usr/local/lib/ghc-9.4.4/rts"/`basename $i` ;; *.so) /usr/bin/install -c -m 755  $i  "/usr/local/lib/ghc-9.4.4/rts" ;; *.dylib) /usr/bin/install -c -m 755  $i  "/usr/local/lib/ghc-9.4.4/rts";; *) /usr/bin/install -c -m 644  $i  "/usr/local/lib/ghc-9.4.4/rts"; esac; done
"inplace/bin/ghc-cabal" copy libraries/ghc-prim dist-install ":" '' '/usr/local' '/usr/local/lib/ghc-9.4.4' '/usr/local/share/doc/ghc-9.4.4/html/libraries' 'v p dyn'
Installing library in /usr/local/lib/ghc-9.4.4/ghc-prim-0.9.0
dist-install/build/HSghc-prim-0.9.0.o: copyFile: does not exist (No such file or directory)
make[1]: *** [ghc.mk:1061: install_packages] Error 1
make: *** [Makefile:128: install] Error 2
##[endgroup]
##[error]Command ['sh', '-c', 'source /etc/os-release && /project/scripts/before-all-$ID.sh'] failed with code 2.
##[error]Process completed with exit code 1.


chore(platform): polish platform browse view

Removed unused projects component

Since the platform app now only has 1 section, this seems unnecessary. If we expand the app at some point, we can add something like this.

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


re-enable offline packaging

https://github.com/siliconcompiler/siliconcompiler/actions/runs/8653951320


ImportError: cannot import name 'OpusDecoder' from 'pyogg'

Simply trying to import the OpusDecoder as specified in the docs:
from pyogg import OpusDecoder

results in:
ImportError: cannot import name 'OpusDecoder' from 'pyogg'

I'm on linux and the latest version PyOgg==0.6.14a1

Encountered the same issue. You need to install from source like:
pip install git+https://github.com/TeamPyOgg/PyOgg

Traceback (most recent call last):
File "", line 1, in
PyOgg-master/pyogg/init.py", line 6, in
from .opus import PYOGG_OPUS_AVAIL, PYOGG_OPUS_FILE_AVAIL, PYOGG_OPUS_ENC_AVAIL
PyOgg-master/pyogg/opus.py", line 437, in
libopus.opus_encoder_create.argtypes = [opus_int32, c_int, c_int, c_int_p]
^^^^^^^
NameError: name 'c_int_p' is not defined. Did you mean: 'c_int'?

Traceback (most recent call last): File "", line 1, in PyOgg-master/pyogg/init.py", line 6, in from .opus import PYOGG_OPUS_AVAIL, PYOGG_OPUS_FILE_AVAIL, PYOGG_OPUS_ENC_AVAIL PyOgg-master/pyogg/opus.py", line 437, in libopus.opus_encoder_create.argtypes = [opus_int32, c_int, c_int, c_int_p] ^^^^^^^ NameError: name 'c_int_p' is not defined. Did you mean: 'c_int'?

bump


I deployed openshift on our openstack Kilo environment , using this project.
Actually I have 1x master node, 1x infra node , 2x nodes
I made hello-openshift service and pod , exposing the service:
[root@my-openshift-origin-master-0 tmp]# oc get route
NAME            HOST/PORT                                     PATH      SERVICE         TERMINATION   LABELS
hello-service   hello-service-default.cloudapps.example.com             hello-service                 name=hello-openshift
[root@my-openshift-origin-master-0 tmp]# oc describe svc hello-service
Name:                   hello-service
Namespace:              default
Labels:                 name=hello-openshift
Selector:               name=hello-openshift
Type:                   ClusterIP
IP:                     <IP_ADDRESS>
Port:                    8080/TCP
Endpoints:              <IP_ADDRESS>:8080
Session Affinity:       None
No events.
[root@my-openshift-origin-master-0 tmp]# curl http://<IP_ADDRESS>:8080
Hello OpenShift! <-- works great
If i try to reach hello-service-default.cloudapps.example.com , I have:
[root@my-openshift-origin-master-0 tmp]# curl http://hello-service-default.cloudapps.example.com:8080
curl: (6) Could not resolve host: hello-service-default.cloudapps.example.com; Name or service not known
looking the DNS server:
[root@my-openshift-origin-master-0 tmp]# cat /etc/resolv.conf
nameserver <IP_ADDRESS>
search example.com
<IP_ADDRESS> is infra host , connecting to it I saw there is no entry about hello-service
Am i missing something? Did i forget some step? What should I do?
Thank for your time.
Alessio Dini

Hi Alessio,
the problem is that you need to make sure that wildcard DNS (for *.cloudapps.example.com) resolves to the IP of openshift router - in this case it's the master node. So there should be a record like this on your DNS server:
*.cloudapps.example.com. 300 IN  A x.x.x.x (where x.x.x.x is floating IP of the master node)
For testing only hello-service-default.cloudapps.example.com you may add this hostname into /etc/hosts on your machine.
/etc/resolv.conf on all nodes should point to the "infra" node (which probably has <IP_ADDRESS> in your case), the reason is that openshift node names have to be resolved inside openshift cluster. Tese hostnames are used internally though.

Hi @jprovaznik  and thank you for your reply.
I'm checking on infra host , I see this:
[root@my-openshift-infra named]# ls -a /etc/named
.  ..
[root@my-openshift-infra named]# cd /var/named
[root@my-openshift-infra named]# ls
data  dynamic  named.ca  named.empty  named.localhost  named.loopback  openshift-cluster.zone  slaves
[root@my-openshift-infra named]# cat openshift-cluster.zone
$TTL 1d
@               IN      SOA     my-openshift-infra openshift (
1466503964      ; Serial (To be fixed before 2039)
12h     ; Refresh
3m      ; Retry
4w      ; Expire
3h      ; TTL for negative replies
)
IN NS my-openshift-infra

my-openshift-infra  IN A  <IP_ADDRESS>
my-openshift-origin-master-0  IN A  <IP_ADDRESS>
my-openshift-origin-node-g30lov9h  IN A  <IP_ADDRESS>
my-openshift-origin-node-3u1t49i2  IN A  <IP_ADDRESS>
[root@my-openshift-infra named]# grep -R "cloud" .
[root@my-openshift-infra named]#
[root@my-openshift-infra named]# find .
.
./data
./dynamic
./named.ca
./named.empty
./named.localhost
./named.loopback
./slaves
./openshift-cluster.zone
Checking the master-config.yaml on master node I see those lines:
(...)
routingConfig:
subdomain:  "cloudapps.example.com"
(...)
The DNS server was automatically configured using this project , I did not touch it.
In my case the floating ip of master node is <IP_ADDRESS> , so where should I insert the line:
*.cloudapps.example.com. 300 IN A <IP_ADDRESS>
in the /var/named/openshift-cluster.zone , is this correct?
Alessio

The DNS server on infra node is used by openshift nodes only, so by adding the wildcard DNS record above into DNS zone definition on my-openshift-infra you make it resolveable on these openshift nodes only, which is probably not what you need.
You need to update DNS server which is reposnsible for the openshift domain you use - by default templates use cloudapps.example.com (but you can override this with heat parameter when create the stack) so then resolving of hello-service-default.cloudapps.example.com will work from outside of the openshift cluster (e.g. your laptop).
For testing pruposes only you can put  "*.cloudapps.example.com. 300 IN A <IP_ADDRESS>" into your own internal DNS server and then update /etc/resolv.conf on your laptop to point to your internal DNS server.

Hello,
u are right , my goal is to reach the service ( in this case hello-openshift ).
I updated DNS server configuration on infra , but I still not solved because:
[root@my-openshift-origin-master-0 centos]# oc get route
NAME                    HOST/PORT                               PATH      SERVICE                   TERMINATION   LABELS
hello-openshift-route   hello-openshift.cloudapps.example.com             hello-openshift-service   edge          name=hello-openshift
[root@my-openshift-origin-master-0 centos]# ping hello-openshift.cloudapps.example.com
PING hello-openshift.cloudapps.example.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.846 ms
^C
--- hello-openshift.cloudapps.example.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.846/0.846/0.846/0.000 ms
[root@my-openshift-origin-master-0 centos]# curl http://hello-openshift.cloudapps.example.com:8080
curl: (7) Failed connect to hello-openshift.cloudapps.example.com:8080; No route to host
Any suggestion?

You should be using a DIFFERENT DNS server for this naming activity.  OR you can add it to the Infra server's DNS server and open up permissions in named so your workstation can use that DNS server, but this is not recommended.


Add missing methods to Float

Just wanted to get involved here again, decided since we have Float now I'd go add some missing stuff. I'll just keep this open until we have covered the majority of the Float API.

[x] #magnitude (alias for #abs)
[x] #modulo (alias for #%)
[x] #negative?
[x] #positive?
[x] #next_float
[ ] #prev_float
[ ] #round
[ ] #truncate

@watzon Welcome back! This is is excellent, and I'm really glad to have your help here.
I have done some work recently to automatically generate bindings between Ruby and C++. The binding generator is here: https://github.com/seven1m/natalie/blob/master/lib/natalie/compiler/binding_gen.rb
The individual bindings are specified here: https://github.com/seven1m/natalie/blob/9573566ad24d101c473bcbf4efc449836fb753f6/lib/natalie/compiler/binding_gen.rb#L47-L52
Here is an example commit where I am moving stuff out of float.cpp and into float_value.cpp: https://github.com/seven1m/natalie/commit/a7c359c30c0b886709b17ed7d60163053f75f677 (The bindings.cpp file used to be called bridge.cpp, until I renamed it later.)
My end goal is to git rid of the float.cpp file and the other ones like it, such as integer.cpp, etc.
I hope that makes sense!

Ooooh I like the idea of that, let me check it out!

@watzon I've got an incoming commit that will change the bindings to use pointers. I had tried to make use of C++ references, but it's proving to be a bit harder of a transition for me all at once. I'll stick with Value* (rather than moving to Value&). Just didn't want you to have to rewrite your stuff more than once, sorry!
I'll update you here when that commit lands!

@watzon I pushed ba159a776c051efc189b7e7b983617846a3a02e6 which moves the remaining Float methods over to float_value.cpp with auto-generated bindings. This is the approach I'd like to take for all bindings going forward, and I think this is stable enough to build on.
Sorry for the churn! Hopefully I didn't scare you away. Looking forward to your help on this!

I'm starting to think that for methods like Float#round we may need a min_argc and max_argc. to cover optional parameters. Also is there a way currently to require that parameters after a certain point be named?

I haven’t done much work with named params yet. Is there a Float method that has a named arg?

Yeah #round has a named argument called mode. I'm not bothering to implement it at the moment anyway because the logic is a little outside my realm of expertise, but it's definitely a thing to think about.

@watzon I merged this in 08d78fd973fb401d32f7b4aad8c5b6a0f9608fa5. I don't want the PR to get stale, and you can open another PR if you make any more progress! 😄
I thought the PR would show as merged, but I guess I did it wrong. Closing manually...


Mass Obsoletion: focus on branch 'metabolic disease' (MONDO:0005066)

branch: 'metabolic disease' (MONDO:0005066)
Terms to obsolete:

obsoletion candidate ID
obsoletion candidate label

http://purl.obolibrary.org/obo/MONDO_0019597
46,XY disorder of sex development due to isolated 17,20-lyase deficiency

http://purl.obolibrary.org/obo/MONDO_0100189
apolipoprotein A-I deficiency

http://purl.obolibrary.org/obo/MONDO_0044655
c12orf65-related combined oxidative phosphorylation defect

http://purl.obolibrary.org/obo/MONDO_0019213
cerebral organic aciduria

http://purl.obolibrary.org/obo/MONDO_0019800
chronic hepatic porphyria

http://purl.obolibrary.org/obo/MONDO_0018292
congenital disorder of glycosylation-related bone disorder

http://purl.obolibrary.org/obo/MONDO_0018277
congenital muscular dystrophy with cerebellar involvement

http://purl.obolibrary.org/obo/MONDO_0018279
congenital muscular dystrophy without intellectual disability

http://purl.obolibrary.org/obo/MONDO_0018144
congenital myasthenic syndromes with glycosylation defect

http://purl.obolibrary.org/obo/MONDO_0018318
disorder of asparagine metabolism

http://purl.obolibrary.org/obo/MONDO_0018579
disorder of ketone body transport

http://purl.obolibrary.org/obo/MONDO_0017709
disorder of lipid absorption and transport

http://purl.obolibrary.org/obo/MONDO_0017745
disorder of O-mannosylglycan synthesis

http://purl.obolibrary.org/obo/MONDO_0017743
disorder of O-N-acetylgalactosaminylglycan synthesis

http://purl.obolibrary.org/obo/MONDO_0017744
disorder of O-xylosyl/N-acetylgalactosaminylglycan synthesis

http://purl.obolibrary.org/obo/MONDO_0017742
disorder of O-xylosylglycan synthesis

http://purl.obolibrary.org/obo/MONDO_0017760
disorder of other vitamins and cofactors metabolism and transport

http://purl.obolibrary.org/obo/MONDO_0017756
disorder of pterin metabolism

http://purl.obolibrary.org/obo/MONDO_0017132
hereditary ATTR amyloidosis

http://purl.obolibrary.org/obo/MONDO_0019224
inborn disorder of gamma-aminobutyric acid metabolism

http://purl.obolibrary.org/obo/MONDO_0019227
inborn disorder of glycerol metabolism

http://purl.obolibrary.org/obo/MONDO_0016805
isolated oxidative phosphorylation complex disorder

http://purl.obolibrary.org/obo/MONDO_0016815
Leigh syndrome with leukodystrophy

http://purl.obolibrary.org/obo/MONDO_0016816
Leigh syndrome with nephrotic syndrome

http://purl.obolibrary.org/obo/MONDO_0015902
major hypertriglyceridemia

http://purl.obolibrary.org/obo/MONDO_0016794
maternally-inherited mitochondrial myopathy

http://purl.obolibrary.org/obo/MONDO_0016797
multiple mitochondrial DNA deletion syndrome

http://purl.obolibrary.org/obo/MONDO_0020275
oculocutaneous or ocular albinism

http://purl.obolibrary.org/obo/MONDO_0016157
qualitative or quantitative defects of fukutin

http://purl.obolibrary.org/obo/MONDO_0016183
qualitative or quantitative defects of protein glycosyltransferase-like

http://purl.obolibrary.org/obo/MONDO_0016182
qualitative or quantitative defects of protein O-mannose beta1, 2N-acetylglucosaminyltransferase

http://purl.obolibrary.org/obo/MONDO_0034217
resistance to thyroid hormone due to a mutation in thyroid hormone receptor beta

http://purl.obolibrary.org/obo/MONDO_0019688
sulfation-related bone disorder

http://purl.obolibrary.org/obo/MONDO_0020240
syndromic retinitis pigmentosa

http://purl.obolibrary.org/obo/MONDO_0016803
unspecified inborn mitochondrial disorder

not to self - I should cross reference the metabolic disease ticket when I do this one (#5680)

this is ready for review.
I cross-referenced all of these terms against terms in this spreadsheet from this ticket:
https://github.com/monarch-initiative/mondo/issues/4985
Note, some of the terms in the spreadsheet above do not exist in Mondo yet, so I classified them as 'metabolic disease' and we can add the more specific terms later.

@nicolevasilevsky I reviewed this spreadsheet. Let me know what you think!

Thanks @katiermullen! I made updates per your review, it is ready for ROBOT/mass obs/PR now

Expert review feedback: https://docs.google.com/spreadsheets/d/1QRaZvmPBk0ifLKwvB6fHiEZpww-Prcp5/edit#gid=385348265
TO DO:

[ ] add new parents ("ROBOT Reviewer-Curator Agree - Stay" Tab)
[ ] add new comments ("ROBOT Reviewer-Curator Agree - Leave" Tab)
[ ] add new parents ("ROBOT Reviewer-Stay Curator-Leave" Tab)
[ ] remove parents in the ‘metabolic branch’ for terms in ("Reviewer-Leave Curator-Stay" Tab
[ ] add new comments ("ROBOT Reviewer-Leave Curator-Stay" Tab)

Note: Once the to-do list is done, 9 terms for which reviewers were unsure will remain to be assessed

There are some comments from the community that should be reviewed, but this is future work. This issue can be closed for now.


Possible Bug in Chat Template Preprocessing

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Given a sample which has messages from system, user and assistant the messages by system and user should be masked during loss using the -100 label value which is commonly used. And only messages by assistant should be optimized for when evaluating the loss.
Current behaviour
Currently if a conversation is passed with system, user and assistant messages all messaged are masked except for last assistant message which is not masked and used for training. However, what one would expect is all assistant messages are supposed to be used in computing the penalty for the model to learn properly.
Steps to reproduce
Use sharegpt data and process it using chat_template prompt strategy. Apply axolotl.cli.preprocess and check the label values.
Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
main
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Thank you for finding this

@hammoudhasan That PR has been merged now. This can be closed.

@Tostino all working well tested it out! Thank you Tostino.


procrustes_analysis: output M^2 and p value for display in emperor

Addressing: https://github.com/qiime2/q2-diversity/issues/210
procrustes_analysis previously did not output the M^2 statistic or an associated p-value. This PR outputs disparity_results, of the new type M2Calc (which can be converted to a pandas dataframe), containing the M^2 value and the p-value of this statistic. The p-value is computed by calculating the M^2 value after switching the row order one input matrix in Monte Carlo simulations, then calculating the number of reordered matrices have a lower M^2 value than the true matrices.
The M^2 value and p-value can also be displayed in emperor via the info-attribute (see here):  https://github.com/biocore/emperor/pull/793

Great idea!
On (Feb-22-21|11:37), Hazel Dilmore wrote:

@ahdilmore commented on this pull request.

rounded_m2 = round(m2, 5)

rounded_p_val = round(p_val, 5)

Sounds good! I think I would move this here: https://urldefense.com/v3/__https://github.com/biocore/emperor/pull/793/commits/4e8faf46a2ce4dc5424e3c1dc7f6368db659a9a6*diff-de5ac40c027777d003fcb3f1530a2f8f35df374f22ea0e3b48377493948d3048R107__;Iw!!Mih3wA!WwsobR0rYboTkxbnMDNYpVGrm28IWUYmlPGxR8C116pnGviU6Cea0iDWxgLHayg$
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://urldefense.com/v3/__https://github.com/qiime2/q2-diversity/pull/305*discussion_r580535255__;Iw!!Mih3wA!WwsobR0rYboTkxbnMDNYpVGrm28IWUYmlPGxR8C116pnGviU6Cea0iDWk6M0VQI$

Hi @ahdilmore! Is this ready for review? I didn't want step on your toes, in case you were still working on things.

Yes, this is ready for review. Thank you!


Can't download the caption dataset

Dear experts
I still have problem with the dataset "flowers_text_c10.tar.bz2" that I can't download it. It is hard for me to solve it with repo according to your explanation in the code for downloading. Is there any other approaches I can follow to download it? Such as from E-mail?
Thanks.

download the file 'download_datasets.py',and then open it,you will find a nota '# the original google drive link at https://drive.google.com/file/d/0B0ywwgffWnLLcms2WWJQRFNSWXM/view'。So this Url is the access to download file 'the flowers_text_c10'.

Oh yeah, I have solved it. Thanks!

I had to comment out the lines in the download_datasets.py file that were trying to extract flowers_text_c10 and manually move the text_c10 folder in the flower directory.
Has anyone else had to do this? Did you guys rename/re-zip the files after you download the master file from that drive link?


[interop][SwiftToCxx] ensure Swift generic types can be used as template parameters to other Swift generic types in C++

Based on https://github.com/apple/swift/pull/69473, see last commit only

@swift-ci please test

@swift-ci please test source compatibility


Firewall: If Builtin rule does not exist than a wide open rule gets created

Details of the scenario you tried and the problem that is occurring
If you try to enable a predefined rule that does not already exist than instead you end up with a wide open rule permitting all traffic inbound.
This could potentially cause security holes to someone that does not notice.
Firewall export of the rule as CSV
RemoteFwAdmin-In-TCP,,All,Yes,Allow,No,Any,Any,Any,Any,Any,Any,Any,Any,Any,Any,Any,Any,
Verbose logs showing the problem
Suggested solution to the issue
Perhaps send an error to the user indicating that the builtin rule they are trying to use does not exist and do not create a wide open rule.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Configuration Firewall_EnableBuiltInFirewallRule_Config
{
    Import-DSCResource -ModuleName NetworkingDsc

    Node localhost
    {
        Firewall EnableBuiltInFirewallRule
        {
            Name                  = 'RemoteFwAdmin-In-TCP'
            Ensure                = 'Present'
            Enabled               = 'True'
        }
    }
}

# insert configuration here

instance of MSFT_Firewall as $MSFT_Firewall51ref
{
ResourceID = "[Firewall]RemoteFwAdmin-In-TCP";
Enabled = "True";
Ensure = "Present";
Name = "RemoteFwAdmin-In-TCP";
ModuleName = "NetworkingDSC";
ModuleVersion = "<IP_ADDRESS>";
};
The operating system the target node is running
OsName               : Microsoft Windows Server 2016 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 14393.3204.amd64fre.rs1_release.190830-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US}
Version and build of PowerShell the target node is running
Name                           Value

PSVersion                      5.1.14393.3053
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.3053
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Version of the DSC module that was used ('dev' if using current dev branch)
ModuleName = "NetworkingDSC";
ModuleVersion = "<IP_ADDRESS>"

I have got the same issue but i can't even get the prebuilt rules to match.
i find that it is just creating a completely open rule if I follow example 4.

Thanks @laywah2016 for confirming my suspicions.
In my example i am using the name 'RemoteFwAdmin-In-TCP' and not display name 'Windows Firewall Remote Management (RPC)' and even so it ends up creating a completely open rule.
If i go a bit further and start to specify the protocol, service, program, etc. at some point it seems to realize its a builtin because it will complain that the display name and description do not match when pushed to a 2019 server where the same named rule goes by the display name Windows Defender Firewall Remote Management (RPC).
It really seems a bit flaky to me and the builtin detection is not working as described in example 4.
The fact that it makes a wide open rule disturbs me a bit.
I havent found the time yet to look over the common code but i suspect that maybe having a Builtin = True might be an idea to force dsc to try to find and a matching predefined rule and if not error and not create the rule.

@laywah2016 - you are quite correct. For the built in rules, Windows often represents these with Guids and then uses the DisplayName to set a friendly name.
@invisibleninja06 - you're right - this is definitely a security hole and should be fixed. The rule detection code uses:
Get-NetFirewallRule -Name RemoteFwAdmin-In-TCP

Are you able to share the Verbose DSC logs so I can see what flow the resource is taking to get to that point?

I manually imported the get-firewallrule code as well as the convert function it requires and it does return null. My thought on builtin rules was that it would apply to predefined rules even if they are not present however that is not the case since the function is using
Get-NetFirewallRule -Name (ConvertTo-FirewallRuleNameEscapedString -Name $Name).
Even if i do a Get-NetFirewallRule -Name 'RemoteFwAdmin-In-TCP' I get null.
Looking deeper at predefined rules they are actually defined in, [HKLM\SYSTEM\CurrentControlSet\services\SharedAccess\Defaults\FirewallPolicy\FirewallRules]
Would be neat if the code could support predefined rules and grab the parameters from registry.
As for the security issue i believe the problem is this bit of code as it never validates if it has parameters and thus can create a wide open rule when the user actually wanted to enable a builtin rule that was missing or removed.
else
        {
            Write-Verbose -Message ( @( "$($MyInvocation.MyCommand): "
                    $($script:localizedData.FirewallRuleShouldExistAndDoesNotMessage) -f $Name
                ) -join '')

            # Set any default parameter values
            if (-not $DisplayName)
            {
                if (-not $PSBoundParameters.ContainsKey('DisplayName'))
                {
                    $null = $PSBoundParameters.Add('DisplayName', $Name)
                }
                else
                {
                    $PSBoundParameters.DisplayName = $Name
                }
            }

            # Add the new Firewall rule based on specified parameters
            New-NetFirewallRule @PSBoundParameters
        }

My first thought would be an if statement in the else that checks if ports, services and address's are not defined since one should be defined in any proper firewall rule.
Thoughts?

@invisibleninja06 - thank you for helping figure this one out! It is a strange one.
When I run:
Get-NetFirewallRule -Name 'RemoteFwAdmin-In-TCP'

I do get a result:

This is the same on Windows Server 2019.
But it might be possible to get the function to look up pre-defined rules.
I think you're also right about the code above: It should probably not create a new rule if it doesn't at least have a minimum set of parameters. I suspect there might be a bit more to such a change though and it needs a bit more investigation to check the impact of such a change won't have any undesired effects. Still, it is worth investigating because as you say, the current behavior is a risk.


Rework payload_dict and realign the command list to match Tuya's API

When I started throwing random commands at my thermostat to see what it responded to, I noticed DP_QUERY_NEW was defined as 16 but payload_dict stored it as hex byte 0f (which would be 15).  The more I dug into payload_dict and generate_payload() the less I liked about how it worked, so I rewrote it ^_^ .  Now it functions more like an override - if the command is not explicitly overridden (such as with device22's DP_QUERY) it simply uses the command as passed to generate_payload(), and if the json dict key "command" is not defined then it just sends everything ("command" is set to "command": {"gwId": "", "devId": "", "uid": "", "t": ""}).  Technically the AP_CONFIG and DP_QUERY entries can be deleted from payload_dict completely, but for now I left them.
I also noticed the list of commands didn't really make sense.  It looked like it was copy-n-pasted from the list of MCU serial commands, however those have nothing to do with the local API / TCP socket commands.  So, I used the LAN protocol defines from https://github.com/tuya/tuya-iotos-embeded-sdk-wifi-ble-bk7231n/blob/master/sdk/include/lan_protocol.h and removed the invalid ones.  I also added the "official" names to the comments and did some text aligning.
There are also 2 unrelated 1-liners I threw in: socket.send() is now socket.sendall(), and a copy-n-paste error in the IR Remote example was corrected.

I love this! All of these make sense and improve the project. Brilliant work!  I don't see a risk of breaking the API so will release this as as a minor update, v1.6.5.
Thanks @uzlonewolf !!!

I'm not entirely sure how it slipped in, but it seems I inadvertently added a symbolic link to ../tinytuya under server/.  Not sure if you want to keep it or remove it.


Temperature minimum settings is too high

Hi,
I have a Veliston EVO wifi water heater, and I would like to set the manual temperature to 40 degree of celsius. But this input box allows minimum 50 degree of celsius.

Could you please allow lower temperature here?
Thanks!

Hi @Meister1977!
The minimum temperature was not set by me. It is an API response:
https://github.com/fustom/ariston-remotethermo-home-assistant-v3/blob/550bc92cab9b2a0c7245d409a6f8febd6129eadd/custom_components/ariston/velis_device.py#L44
Can you check what was it? I don't have velis device, so I can not debug that. Can you set lower with the official app?

Hi,
Yes, I found that line in the code, and changed to 40 as const. So I can set it to 40 from now.
To be honest, I am not familiar with the python language, and with the Home Assistant, but I am a programmer, so if you give me a little help, I can debug what you want. Just I am not know how to write logs in python.
And yes, I can set 40 degree of celsius in the mobile app.

I see the problem. The API sends back the 50 degree:
GET https://www.ariston-net.remotethermo.com/api/v2/velis/medPlantData/XXXXXXXXXXX/plantSettings?wheType=PowerRussis&appId=com.remotethermo.velis
{
"MedAntilegionellaOnOff": 1.0,
"MedHeatingRate": 15.0,
"MedMaxSetpointTemperature": 80.0,
"MedMaxSetpointTemperatureMax": 80.0,
"MedMaxSetpointTemperatureMin": 50.0,
"WheMarket": 1.0
}

Yes, that should be the problem.
Can you try async_get_se_plant_settings instead of async_get_med_plant_settings rest api call?
GET https://www.ariston-net.remotethermo.com/api/v2/velis/sePlantData/XXXXXXXXXXX/plantSettings?wheType=PowerRussis&appId=com.remotethermo.velis

Fixed by https://github.com/fustom/ariston-remotethermo-home-assistant-v3/pull/42

Thanks for fixing! And now, the on/off switch works too! Thanks!


Incorrect Instructions

Trying to follow this to get to grips and at the "Assign a Windows Autopilot deployment profile" bit, there is no "Assign profile" to click on.
Googled else where to find that you assign the profile to a group and add the new machine to that group for it to apply. But unfortunately, this didn't work and the AutoPilot profile did not apply to the machine on startup.
I still haven't got this working.

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

ID: bcc63299-cc1c-e031-deb7-915914b8f94e
Version Independent ID: 356eaba5-16b0-952f-fc19-c8d5be5feb5f
Content: Demonstrate Autopilot deployment on a VM
Content Source: windows/deployment/windows-autopilot/demonstrate-deployment-on-vm.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greg-lindsay

Hi Ross,
You can do this in the Microsoft Business Store. Check out my post
https://vmlabblog.com/2019/01/autopilot-lab-part-4-add-vm-to-intune
I hope this will help you!
regards Aad

Or use a dynamic group to assign devices to the profile: https://docs.microsoft.com/en-us/intune/enrollment-autopilot#create-an-autopilot-device-group

@officedocsbot assign @jvsam

Hi @rlyons38 have you had a chance to review the document again? There had been several updates since you've opened this issue. On the Create and assign a Windows Autopilot deployment profile section, under Assign Profile, you'll see links for the following that may help:
Create an Autopilot device group and Assign
Autopilot deployment profile to a device group (Same link provided by @alschneiter )
We haven't received any response from you so hopefully you were able to successfully set-up Windows Autopilot deployment. Would you mind letting us know of the status? If there is anything in article that you think should be added or edited, please let us know. We always welcome suggestions and feedback to improve the docs.

Hi @rlyons38, we haven't received any response or update from you so we will now close this issue. Please feel free to re-open it if you have comments or suggestions to help improve the contents of this document.
Since this site is intended for product documentation, you can open a service ticket at https://support.microsoft.com/hub/4338813/windows-help?os=windows-10 if you require Windows 10 support.
If you have feedback or suggestions related to Windows 10 features or products, please submit it to User Voice. Your feedback goes directly to the engineering team and they would love to hear what you think.
Thank you.

@officedocsbot close


Crash when deleting content in recycle bin

Description
I deleted all files by selecting and right clicking then it crashed.
Steps To Reproduce
No response
Expected behavior
Shouldn't crash
Files Version
1.9.21
Windows Version
10.0.19043.1151
Relevant Assets
debug.log
debug_fulltrust.log

Where the files successfully deleted?

I didn't look after the crash but I think they did.

This issue should be resolved with #5795.


Handle shutdown event of an acquired connection

After shutdown event an acquired connection will be terminated

I thought about this and I think this could made opt-in but I would prefer to keep the current behavior as the standard, which is provided by the underlying Java driver.
I believe most people don't really care about manually taking care of connection failures if the library can do it for them. Eg: This is what happens when running the IOAckerConsumer example followed by shutting down the RabbitMQ server and starting it up again a few minutes later:
Consumed: AmqpEnvelope(DeliveryTag(1),Hey!,AmqpProperties(None,None,None,None,None,None,None,None,None,None,Map(app -> StringVal(fs2RabbitDemo), demoId -> LongVal(123))))
Consumed: AmqpEnvelope(DeliveryTag(2),{"id":1,"name":"Sherlock","address":{"number":212,"streetName":"Baker St"}},AmqpProperties(None,None,None,None,None,None,None,None,None,None,Map()))

-- Shutdown server
17:50:59.627 [AMQP Connection <IP_ADDRESS>:5672] WARN  c.r.c.impl.ForgivingExceptionHandler - An unexpected connection driver error occured (Exception message: Connection reset)
17:50:59.627 [RabbitMQ Error On Write Thread] WARN  c.r.c.impl.ForgivingExceptionHandler - An unexpected connection driver error occured (Exception message: Connection reset)

-- Restart server
-- New message published on the queue
Consumed: AmqpEnvelope(DeliveryTag(3),test,AmqpProperties(None,None,None,Some(NonPersistent),None,None,None,None,None,None,Map()))

By opt-in I mean we could probably add an extra parameter to the configuration.

If reconnection works automatically under the hood, then this functionality is not really necessary.
I agree with you, it should be a part of the configuration.

Re-connection always worked. You don't see a message of the connection being released because it is still being used and actively trying to reconnect. This is done by the Java driver, that's why there are no logs about it.

Closing for now. Feel free to re-open or create a different PR with the opt-in solution.


Feature Request: zappa tail --color

When piping tail output to a command, zappa tail automatically engages the --no-color option. This is usually what the user wants, but some users (ie: me) would love to enforce coloured output even if we're using pipes.
It would be amazing to have a zappa tail --color option that forces coloured output, regardless or what the default may otherwise have been.
Many thanks again for an incredible tool!

https://github.com/zaraken/Zappa/tree/z-tail-force-color
Tested with python 3.6
Feel free to review, test and give feedback if anything isn't as it should be.

@zaraken - please send this as a Pull Request!

https://github.com/Miserlou/Zappa/pull/1039


PiCamera loose its settings after a while

I`m getting black pictures if the time between PiCamera configuration and the picture taking is half a second or more.
Example code
'''Hard to find bug (for me)

    if the sleep is small (< 0.3 s) the camera works ok
    if its longer (> 0.5 s) generates a black picture

    I guess the camera is loosing its settings
    '''

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.iso = 100
camera.exposure_mode = 'off'
camera.shutter_speed = 25000    # choose depending on your light level
camera.awb_mode = 'off'
camera.awb_gains = (0.57,2.08)

sleep(0.5)      # CHANGE THIS VALUE

camera.capture(  "/home/pi/Desktop/image.jpg", format = 'jpeg')

I know this code could be easily repaired moving the sleep intruction before, after or supressed. Just to get the idea.
Camera V2.1
Raspberry Pi 3B
Marcelo

Can't say I can reproduce this: I get a very dim JPEG with a heavy blue bias, but that's pretty much what I'd expect from the script above. Bear in mind that you're disabling AGC (setting exposure_mode to "off") immediately after constructing the camera so the gains won't have floated to a reasonable value. There's a reason most picamera scripts pause for a couple of seconds after initializing the camera, which is to let the background AGC loop settle on some reasonable settings.

Thanks Dave for your answer (and for your code).
On sleep(0) (or no sleep) I get a nice image. But I get completaly black one from sleep(0.5) or longer.  Not the opposite. Strange.
By the wat. Choose the exposure time and gains as needed. (I'm building a Super 8 scanner. My set is a switched lens camera pointing a negative color film iluminated by a fixed warm (3000 K) led)
Saludos from Buenos AIres.
Marcelo


Bumped Marathon to 1.8.204-5209e3183

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)
Fixed issues

DCOS-54927 - Fixed an issue where two independent deployments could interfere with each other resulting in too many tasks launched and/or possibly a stuck deployment.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

teamcity/dcos/test/terraform/aws/onprem/static/strict/group/* tests are failing because:
[12:20:56]* aws_lb.loadbalancer: Error creating network Load Balancer: TooManyLoadBalancers:
The maximum number of load balancers has been reached


Seeking feedback for GSoC

Greetings!
My name is Archit, and I'm a Computer Science Engineering junior at JSS Academy of Technical Education, Noida, India. My skills-set includes proficiency in HTML5, CSS3, JS (ES6), and MERN stack. I found “Fact Bounty” project very interesting and would love to contribute to the same. I will be applying for GSoC this year.
I have created a list of ideas that I would like to work upon here - https://docs.google.com/document/d/1qGk_6HoHku6s-P870V2M6ylyFn2A0DCWjZAo8BH8U2k/edit?usp=sharing.
I seek your valuable feedback on the same.
I would like to expand and improvise on these ideas for the proposal. I’m looking for your opinions and guidance on the same.
Looking forward to guidance for further contributions.
Thank you.
Best regards,
Archit Kaushik

@root5533 @ivantha Please provide feedback.


missing moon grey

.b--moon-grey missing (no value for #ccc colored border)

Tachyons v5 will become a monorepo so this issue is being closed, if the issue is still relevant please open an issue with the main repo https://github.com/tachyons-css/tachyons/issues/new & link to this one