[opencv4>] build failure

Operating system
Linux
Compiler
GCC
Steps to reproduce the behavior
./vcpkg install opencv4

Failure logs
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /usr/bin/python3 /media/aiserver/data1/coding/github_repository/vcpkg/installed/x64-linux/tools/meson/meson.py -Dselinux=disabled -Dlibmount=disabled -Dgtk_doc=false -Dinstalled_tests=false -Dlibelf=disabled -Dman=false -Dtests=false -Dxattr=false --buildtype plain --backend ninja --wrap-mode nodownload --libdir lib --native /media/aiserver/data1/coding/github_repository/vcpkg/buildtrees/glib/meson-x64-linux-dbg.log -Ddebug=true --prefix /media/aiserver/data1/coding/github_repository/vcpkg/packages/glib_x64-linux/debug --includedir ../include -Dcmake_prefix_path=['/media/aiserver/data1/coding/github_repository/vcpkg/installed/x64-linux/debug','/media/aiserver/data1/coding/github_repository/vcpkg/installed/x64-linux'] /media/aiserver/data1/coding/github_repository/vcpkg/buildtrees/glib/src/glib-2-2f2db3ea41.clean
Working Directory: /media/aiserver/data1/coding/github_repository/vcpkg/buildtrees/glib/x64-linux-dbg
Error code: 1
See logs for more information:
/media/aiserver/data1/coding/github_repository/vcpkg/buildtrees/glib/config-x64-linux-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_meson.cmake:431 (vcpkg_execute_required_process)
ports/glib/portfile.cmake:38 (vcpkg_configure_meson)
scripts/ports.cmake:147 (include)
error: building glib:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+glib
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[glib]+Build+error&body=Copy+issue+body+from+%2Fmedia%2Faiserver%2Fdata1%2Fcoding%2Fgithub_repository%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
config-x64-linux-dbg-err.log
Additional context
aiserver@aiserver-H110-D3:/media/aiserver/data1/coding/github_repository/vcpkg (master)$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
Could you tell me how to install opencv4 (support CUDA 11.5).
Thank you.

Thanks for posting this issue, the reason should be your Python3 version is lower, please try Python>=3.7.

I don't know how to try Python >=3.7.
Could you tell me more detail?

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Need to be able to host authenticationendpoint outside the identity server

Fixed with: https://github.com/wso2/carbon-identity-framework/pull/1552


Get Vagrant and Travis using install.sh all the way (don't --skip-short-stack)

Right now Vagrant and Travis use the --skip-short-stack parameter. We need to try to get them to use install all the way through and figure out how to get around the sudo issues.

This should be possible now. Need to remove --skip-short-stack from the .travis.yml file and then remove the first call to short-stack that isn't checking idempotency.


fdk_aac: 2.0.2 -> 2.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/fdk-aac/versions.
meta.description for fdk_aac is: A high-quality implementation of the AAC codec from Android
meta.homepage for fdk_aac is: https://sourceforge.net/projects/opencore-amr/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.3 with grep in /nix/store/yy52lrl3kq8gh3c6gh0icfjs0vmvbrsh-fdk-aac-2.0.3
found 2.0.3 in filename of file in /nix/store/yy52lrl3kq8gh3c6gh0icfjs0vmvbrsh-fdk-aac-2.0.3

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

3213 total rebuild path(s)

3213 package rebuild(s)

First fifty rebuilds by attrpath
CHOWTapeModel
ChowKick
CuboCore.corepdf
CuboCore.coretoppings
EmptyEpsilon
MIDIVisualizer
MMA
PageEdit
SDL2
SDL2_gfx
SDL2_image
SDL2_image_2_0_5
SDL2_mixer
SDL2_mixer_2_0
SDL2_net
SDL2_sound
SDL2_ttf
SDL_audiolib
SDL_compat
SDL_gpu
Sylk
_1oom
_20kly
_7kaa
_86Box
_90secondportraits
aaxtomp3
abbaye-des-morts
abracadabra
activitywatch
adapta-gtk-theme
adl
adriconf
aegisub
aitrack
ajour
akkoma
alass
alephone
alfaview
alfis
allegro
allegro4
allegro5
almanah
alsa-scarlett-gui
alsa-utils
altair
alure
alure2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yy52lrl3kq8gh3c6gh0icfjs0vmvbrsh-fdk-aac-2.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/953f35778af53c85862d4ed2cb0bec49851c7e83#fdk_aac

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yy52lrl3kq8gh3c6gh0icfjs0vmvbrsh-fdk-aac-2.0.3
ls -la /nix/store/yy52lrl3kq8gh3c6gh0icfjs0vmvbrsh-fdk-aac-2.0.3/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @codyopel for testing.

@ofborg build gst_all_1.gst-plugins-bad


Support git's .mailmap

In one of my projects there is a developer who has commits under multiple name/emails

<EMAIL_ADDRESS>susan@localhost
<EMAIL_ADDRESS>and so on

We have a .mailmap file in the application which defines that all of these are really the same person. When I run git shortlog -s all commits from that developer are combined.
A similar behavior might be desirable in the /repo/stats/branch view

In my tests, mailmaps work with 1.0.2 - looks like the fix was in #563.  I believe this can be closed as duplicate of #562, and resolved.


Remote reader for influxdb do not read from all retention policies

What did you do?
I run query li ke this
node_load1{}
What did you expect to see?
result with all metrics that stores under all retention policies inside influxdb
What did you see instead? Under which circumstances?
only metrics that stored inside default retention policy
Environment
I run Prometheus with configured remote read and wright to influxdb 1.4

System information:

Ubuntu 16.04.03
Linux 4.4.0-93-generic x86_64

Prometheus version:

prometheus, version 1.8.0 (branch: HEAD, revision: 3569eef8b1bc062bb5df43181b938277818f365b)
build user:       root@bd4857492255
build date:       20171006-22:12:46
go version:       go1.9.1

Prometheus configuration file:

# my global config
global:
  scrape_interval:     60s # By default, scrape targets every 15 seconds.
  evaluation_interval: 30s # By default, scrape targets every 15 seconds.
  scrape_timeout: 10s
  # scrape_timeout is set to the global default (10s).

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).

# Load and evaluate rules in this file every 'evaluation_interval' seconds.

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:

  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  # Auto-discovery via consul tags by Registrator
  - job_name: 'federate_lr_metrics_node'
    scrape_interval: 30s

    honor_labels: true
    metrics_path: '/federate'

    params:
      'match[]':
         - '{__name__="node_load1"}'

    static_configs:
      - targets:
        - 'some_server:9090'

# Remote write configuration (for Graphite, OpenTSDB, or InfluxDB).
remote_write:
  - url: "http://localhost:8086/api/v1/prom/write?db=lr_prom"
# Remote read configuration (for InfluxDB only at the moment).
remote_read:
  - url: "http://localhost:8086/api/v1/prom/read?db=lr_prom"

Confirming this is the case, as observed in the InfluxDB logs:
[I] 2017-11-21T23:39:53Z SELECT value FROM prometheus.rp_1s_for_1h.container_cpu_user_seconds_total WHERE (...)

Only rp_1s_for_1h is queried, to which remote storage adapter ships the metrics to.

@isavcic was this resolved by #2781?

Sorry, can't confirm, not running InfluxDB anymore.

Thanks for getting back to us, lacking further information I'm going to presume that this is fixed for now.


Issuing commands via the MC Server console

Hi,
Is it possible to execute commands via the server console?
I've tried docker attach <container> and once in, my command just hangs so I don't think I'm doing it correctly.
Thanks

@richraid21 , double check that you included the -i and -t arguments when doing the docker run since that's the chance to declare TTY and open stdin.
If that still isn't cooperating and you want to use a version of Minecraft that supports RCON, then this awesome web app I found recently might help you too:
https://brainfoolong.github.io/rcon-web-admin/
I wrapped a docker image around that
https://hub.docker.com/r/itzg/rcon/
and with this section added to my compose file that I use for regression testing
https://github.com/itzg/dockerfiles/blob/master/minecraft-server/docker-compose.yml#L17-L23
I can now go to the rcon web app and happily interact with the minecraft server without having to mess with attaching, etc :)

@richraid21 ...there is also now the ability to use an RCON CLI integrated with the image, such as:
docker exec $ID rcon-cli stop

Is this still an issue for you?

Please re-open if this is still an issue for you.


Docs/fix commands

What: Fix commands for commit and add a new contributor.

Why: I tried to run the originals commands but faced error since npm doesn't see to recognize the start command.

How:Solved using 'run' instead of 'start'.

:tada: This PR is included in version 2.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Format panic in Rust

Issues
In Lib/test/test_types.py``test_int__format__locale, if you change from format(x, 'n') to format(x, ',') and run the test, RustPython will panic! It doesn't crash in CPython!

not reproducible

@youknowone Another way to reproduce this is to run the following code
x =<PHONE_NUMBER>12345678901234567890
for i in range(0, 30):
    format(x, ',')
    x = x // 10

This will result in a panic!

Do you have a stack trace? If so, it would be helpful for you to copy-paste the terminal output. If the output is too lengthy, you can put it in a <details> tag, like this:
<details>
<summary>Stack trace</summary>

```text
{paste the stack trace here, please}
```
</details>

Here is the result:

Stack trace
{paste the stack trace here, please}

@fanninpm I updated the above comment with stack trace

I made test case at #4593. Anyone who want to work on this issue can start from the commit.

I'm working on this issue


bug due to changes to issue #249?

Header is fixed and filter options are white.
https://user-images.githubusercontent.com/88567622/191386519-9e8104ca-e6c9-4445-8ce9-7acdd83e7cda.mp4

(Latest version Google Chrome)

Alright. I fixed it in this pr. Now I just have to get someone to approve it.


Add support for I2C

Currently only 3-wire SPI is supported. For many applications, I2C may be fast enough, and would allow for quicker prototyping with a Qwiic-compatible module.

added in 3077ab3a464858466eefd8c06a4e927560cc6d09


User Library Feature

Description
The library page of this project is where users will see Videos they have added to their Watch Later, History of watched videos and a Collection feature for videos.
@obafemitope50 Let's discuss via the comments how the logic for this task will pan out. I'll be dropping some ideas here too.

Reporting for duty sir.
Do i need to download a library o django can handle all the functions.
Earlier after my last PR I ran into a merge conflict on my PC. I had to clone to a new folder. I hope that's not an issue

For now, you don't need to install any library. Django can handle most of the features here.

By cloning to a new folder, what did you do please?

All i did , was to clone the repo from github. to the new folder.instead of git pull. Git pull didn't work because I had merge conflicts. or maybe it did. But I couldn't leave that branch without resolving the issue

On the User library features. I'm believing there is already a function for "watch video" or "add to collection". Maybe we can create a trigger function in django. It saves the video id or URL to a like library. idk if that makes sense. Idont know how collections would work but I feel like it could work like the "watch later".
There is a video app in the backend project right?. Just let me know what you think

Im waiting for your feedback but to not be idle. For the WatchLater i Created
-a WatchLater model containing 2 fields the content id and the username "user".
-connected it to the admin.py,, so as to be able to handle it in admins page
-a simple URL.py  that is supposed to lead to where the watchedvideo is at.
-I believe our template should have a "watch later button" , we can use an a tag to connect that to the URL of the watched videos with a pk of the id
-A simple view.py that' , I'm not exactly sure how it'll go but. It should have an if statement. and redirect some also.

Okay I'll get back to you in the next one hour please. I've had a rough few hours.

welldone. I beleive im done with this. But really to have a template neither have I tested the codes out. ill push the codes soon


Can't run: sudo docker-compose up -d --build rtl-server

I got stuck on the last step. When I try to run:  sudo docker-compose up -d --build rtl-server
I get this error:
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose.yml", line 28, column 66
Any help would be appreciated. I hope this project is still alive.

I cannot reproduce this. Can you please indicate here your docker-compose version?
$ docker-compose --version
docker-compose version 1.29.2

docker-compose version 1.29.2, build unknown

I cannot reproduce this. Can you please indicate here your docker-compose version?
$ docker-compose --version
docker-compose version 1.29.2

docker-compose version 1.29.2, build unknown


Windows CI not succeeding

Description
Latest main does not pass CI on Windows

This is follow up from #62
See example build:
https://ci.ros2.org/job/ci_windows/18107/console

Expected Behavior
Windows CI shall pass green without errors and warnings
Additional context
Build fails with error message:
CMake Error at C:/ci/ws/install/share/mcap_vendor/cmake/mcapExport.cmake:85 (message):
16:13:36 CMake Error at C:/ci/ws/install/share/mcap_vendor/cmake/mcapExport.cmake:85 (message):
16:13:36   The imported target "mcap_vendor::mcap" references the file
16:13:36      "C:/ci/ws/install/lib/mcap.lib"
16:13:36   but this file does not exist.  Possible reasons include:
16:13:36   * The file was deleted, renamed, or moved to another location.
16:13:36   * An install or uninstall procedure did not complete successfully.
16:13:36   * The installation package was faulty and contained
16:13:36      "C:/ci/ws/install/share/mcap_vendor/cmake/mcapExport.cmake"
16:13:36   but not all the files it references.
16:13:36 Call Stack (most recent call first):
16:13:36   C:/ci/ws/install/share/mcap_vendor/cmake/ament_cmake_export_targets-extras.cmake:9 (include)
16:13:36   C:/ci/ws/install/share/mcap_vendor/cmake/mcap_vendorConfig.cmake:41 (include)
16:13:36   CMakeLists.txt:23 (find_package)

From the log file It looks like mcap.lib hasn't been built during the build process for some unknown reasons.
Also from logs it looks like it was built mcap.dll but not mcap.lib.

cc: @amacneil amd @clalancette I have spent 2-3 days trying to make mcap_vendor package to be successfully built on Windows but have no more ideas why it fails.
Unfortunately I don't have yet a local setup of Windows with installed ROS2 environment to be able to debug this issue in more details locally.
I am sorry but I am also don't have more time resources to handle this issue. At least in next 1-2 weeks.

@amacneil We also have bunch of warnings on Windows build in mcap sources which we need to address.
Checking Build System
  Building Custom Rule C:/ci/ws/src/ros-tooling/rosbag2_storage_mcap/mcap_vendor/CMakeLists.txt
  main.cpp
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\internal.hpp(54,46): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(67,23): warning C4244: 'argument': conversion from 'uint64_t' to 'long', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(324,16): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(548,43): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(549,45): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(550,57): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(551,53): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(552,47): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(1013,40): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(1020,47): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(1034,33): warning C4244: '+=': conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\reader.inl(1068,45): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\crc32.hpp(86,44): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(45,16): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(268,93): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(268,93): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(907,57): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(907,57): warning C4267: 'initializing': conversion from 'size_t' to 'const uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(924,81): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(924,81): warning C4267: 'initializing': conversion from 'size_t' to 'const uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(993,83): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
C:\ci\ws\build\mcap_vendor\_deps\mcap-src\cpp\mcap\include\mcap\writer.inl(993,83): warning C4267: 'initializing': conversion from 'size_t' to 'const uint32_t', possible loss of data [C:\ci\ws\build\mcap_vendor\mcap.vcxproj]
  lz4.c
  lz4frame.c
  lz4hc.c
  xxhash.c
  mcap.vcxproj -> C:\ci\ws\build\mcap_vendor\Release\mcap.dll

@MichaelOrlov I think I've run into this issue before with ros2_tracing. It might be due to no symbols being exported on Windows. See here: https://gitlab.com/ros-tracing/ros2_tracing/-/issues/37#note_198689672. The solution would be to add visibility macros, e.g., ROSBAG2_STORAGE_..._PUBLIC. You can probably refer to these changes: https://gitlab.com/ros-tracing/ros2_tracing/-/merge_requests/74/diffs

@christophebedard The problem is that this is a vendor package and we are not own the source code in this package to be able to add visibility macros.

@MichaelOrlov if you submit a PR to upstream mcap we can get that added.

@jhurliman I know. The problem is that to submit PR need to be assure that it will help. i.e. need to try to fix it locally with Windows build.

I'm going to attempt a windows environment setup tomorrow to try reproducing and debugging the issue. Wish me luck haha

Progress update: I do have a windows environment working and am reproducing this error locally, now digging into the CMake to find out what is the cause of the error. I don't think that the issue is a lack of exported symbols (yet), because the immediate problem is a mismatch between whether the consumer expects mcap.dll - which is created - or mcap.lib which is not

@emersonknapp It was a hypothesis that mcap.lib not created because there are no any exported elements.

Yes, you're right, I've just confirmed that if there are no exported symbols at all, then the .lib is not created. I am adding visibility macros similar to the ones used in other ros2 packages, and testing to see which exports are strictly required.


⚠ Bofrost.at has degraded performance

In c0a013d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1482 ms

Resolved: Bofrost.at performance has improved in 27fbdbd after 8 minutes.


client-side operation documents for find* queries are generated wrong.

Let's say we have the following datamodel;
type Note {
  id: ID!
  title: String!
  description: String!
  ## Relationship
  comment: [Comment]!
}

type Comment {
  id: ID!
  title: String!
  description: String!
}

And it generates the following Query root type with the resolvers if I want to generate schema and resolvers.
  type Query {
    findNotes(fields: NoteFilter!): [Note!]!
    findComments(fields: CommentFilter!): [Comment!]!
    findAllNotes: [Note!]!
    findAllComments: [Comment!]!
  }

But if I want to generate client-side documents as well, it generates the following which is not valid; because the pattern for find* operations is not find[DataTypeName] but it is find[DateTypeName]s with s in the end.
import gql from "graphql-tag"
import { CommentFragment } from "../fragments/Comment"

export const findComment = gql`
  query findComment($id: ID!, $title: String!, $description: String!) {
    findComment(fields: {id: $id, title: $title, description: $description}) {
      ...CommentFields
    }
  }

  ${CommentFragment}
`

import gql from "graphql-tag"
import { NoteFragment } from "../fragments/Note"

export const findNote = gql`
  query findNote($id: ID!, $title: String!, $description: String!) {
    findNote(fields: {id: $id, title: $title, description: $description}) {
      ...NoteFields
    }
  }

  ${NoteFragment}
`

Fixed in https://github.com/aerogear/graphback/issues/448
Going to release and backport changes


Update README with how to setup and run flutter instructions.

Description
As a developer,,
I need to make sure contributors can setup and run flutter on their local machine so they can start contributing to the project,
Mocks
N/A
Acceptance Criteria

[ ] Update README.md with setup instructions

Definition of Done

[ ] All of the required items are completed.
[ ] Approval by 1 mentor.

Estimation
1 hour

I would like to work on this issue.

Go ahead, @gaurivn 👍.

Thank you @mtreacy002 . I think I need @isabelcosta 's approval and be assigned this issue to work on it.

@mtreacy002 i think this a good "first time only" issue and @gaurivn has contributed earlier too.
Shouldn't we give others a chance? what do you think

@Techno-Disaster, Ok... that sounds right. I don't have the triage level to the repo though, can you please add label on this? first-timer issu? sorry @gaurivn, didn't realise it at first. 😂

done @mtreacy002.

done @mtreacy002.

👍 Thanks, @Techno-Disaster

It's okay @mtreacy002 :joy: , I understand.

Thanks for your understanding, @gaurivn. This issue is open to anyone who wants to work on it. I'm new to flutter so I want to learn too. 😉

@mtreacy002 do you want to solve this issue? should i assign it to you?

@mtreacy002 do you want to solve this issue? should i assign it to you?

I never use flutter before. I could give it a try. but I'm currently working on another issue on mentorship backend. So, I should pass this to someone else who's available. 😉

And is first-timer related to Flutter only first-timer? If not, then I'm not eligible 😂

I would say this falls under the flutter first timer.But why aren't you eligible? I'm not sure if we have to consider your contributions in other repos as well to see if you qualify for a first timer task.
Can you confirm this @mayburgos
Thank You

IMHO we're discussing it too much. I'd just assign this issue to the first person who considers themselves a "first-timer", doesn't feel very comfortable with Flutter and that wants to work on this :)

@mtreacy002 has never contributed to this repository, so I totally consider Maya eligible for it. Want to work on this, since you want to learn this? We can assign it to you, since you also detected this problem of lack o documentation.
@Techno-Disaster thank you for promoting issues for first timers :) I am sure a lot of issues will come up.

Thanks for the clarification, @isabelcosta. I thought @bartekpacia is going to work on this as per his Zulip post. I'm also happy to help if need to, I'm trialling it atm on vscode. I'll wait for @bartekpacia confirmation 1st though. 😉

Take the time to learn anyways and ask for help, this is assigned to you :)

@mtreacy002 If you want to proceed with this, go on :)

Thanks, @isabelcosta and @bartekpacia for assigning me to the issue. I'm excited to learn more on this. actually I have my 1st question, @bartekpacia and @Techno-Disaster.
When I installed the flutter on my Android and when tried to register, came across same issue as issue#32 so I decided to clone and run from IDE.
I cloned and tried to run on VSCode IDE with dart and flutter extension installed but still run into an issue. Below is the console log of the error. Can you please advise what might cause this @bartekpacia and @Techno-Disaster?
Running "flutter pub get" in mentorship-flutter...                 85.5s
Launching lib/main.dart on Android SDK built for x86 in debug mode...

Compiler message:
lib/screens/home/pages/stats/stats_page.dart:47:64: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
                            style: Theme.of(context).textTheme.headline6,
                                                               ^^^^^^^^^
lib/screens/home/pages/stats/stats_page.dart:92:48: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
            style: Theme.of(context).textTheme.headline6.apply(color: Colors.grey[600]),
                                               ^^^^^^^^^
lib/screens/home/pages/stats/stats_page.dart:96:48: Error: The getter 'subtitle2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle2'.
            style: Theme.of(context).textTheme.subtitle2.copyWith(fontWeight: FontWeight.bold),
                                               ^^^^^^^^^
lib/widgets/bold_text.dart:15:44: Error: The getter 'bodyText2' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Downloads/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText2'.
        style: Theme.of(context).textTheme.bodyText2,
                                           ^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script '/Users/mayatreacy/Downloads/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 780

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/mayatreacy/Downloads/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5m 35s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

PS: The Android emulator opened and standby for input when I ran the main.dart. It also came up with warnings below and asked if I want to proceed.

I think this is probably like those missing reference R thing that normally happens in android studio.

@mtreacy002 what is your output of flutter --version?

@bartekpacia ,

Also, do I need to setup a virtual environment for this just like for mentorship-backend? atm I didn't create or use it for flutter

No, you don't need any virtulal environments like when using Python :)
I see that you're on the stable channel. On this project we use the beta channel. You need to change it by typing:
flutter channel beta
BTW This situation is a great example of how desperately we a need setup guide 👀

Ok. I switched to channel beta as your suggestion. it output red texts all over, is this ok?

Also, the error warnings still there

Before changing to channel beta, I also tried to run on android studio. But before running can see the same errors exist there too.

Yayy.... I got the flutter running on the emulator with beta channel....
thanks heaps, @bartekpacia

@mtreacy002 The red text is normal when updating/changing channel in Flutter.
And regarding the errors...hmm. Try doing flutter clean and then flutter run :)

I'll try to do the flutter clean later after trying the signup first 😉

wait,... @bartekpacia .. can we target local server with this flutter? where can I change the target server in the code? so I'll run the mentorship-backend at the same time.

I registered and logged in successfully with dev server. 🎉 🥳

But still would love to connect to local server if possible coz it's easier to debug @bartekpacia and @Techno-Disaster as we don't have access to debug console on dev server.

Anyway, thank you very very much again, @bartekpacia to troubleshoot this with me. I'll work on the README.md setting up instructions now.

alright. so, I noticed that VSCode IDE a bit slow to pick up changes. The error warnings were still shown even when I switched to beta channel.
On Android Studio, I noticed these error warnings disappeared straight away without refreshing the IDE( when I switched to beta from VSCode terminal).
With VSCode, I ran flutter clean but unable to remove the error warnings. Only when I closed the VSCode project window and reopened it, the error warnings finally gone. phewww,....😂

@mtreacy002 Server URL is hardcoded somewhere in code...if you perform search for "https" in Android Studio you should find the file and be able to alter it.
We need a better solution for this too.

cool... I'll look into it @bartekpacia 😉


Add GPT-4 support

Still work in progress:

[x] Support a custom model by passing e.g. --model gpt-4o
[x] Use function calling and JSON mode to hopefully improve reliability (or at least not continue with failed translations)
[ ] Test it more on "real" data (I've only tested it on the BasicCatalog.xcstrings so far)

Feedback is welcome!
Cheers,
Jonas

This is looking good. I'll test with some of my projects this weekend

After reviewing this & docs further, this solution is overly complicated. Functions are designed for having ChatGPT make decisions about code to execute within your app. It did however lead me to using ChatQuery in order to provide a system prompt that fixes a lot of issues with translation responses.
I've kept OpenAIModel, as not all of them are compatible with ChatQuery.
See #34

You might be right.
However, the function calling doc does say:

Common use cases:
Function calling allows you to more reliably get structured data back from the model.

Which is what I was trying to achieve since I had some trouble with silent failures and incorrect translations etc.

I've kept OpenAIModel, as not all of them are compatible with ChatQuery.

No sure, but I think the users of this tool will be more frustrated by not being able to use the model they want (e.g. gpt-4-turbo or any future models) than receiving an error that the model they provided is not supported. I think it's better to try and provide a good error message instead.


StackOverflow is not a tech support

Why can't I ask customer service-related questions?

If you have any questions, we're listening and will do our best to help. Just go to http://stackoverflow.com/ and tag your questions with WinObjC

It should be clearly stated that only some questions can be asked on StackOverflow. For example, I could ask "Do you have any plans to implement [insert some unimplemented API name]?", which might be a good question, but not a question allowed on StackOverflow.

Thanks for pointing this out. Github is now our primary means of communication with the community and contributors. Please file issues for any bugs you encounter or questions you have.


[RESOLVED] S100-Santiago has been restarted (uptime < 10m)

Problem started at 21:00:56 on 2023.06.11
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Operational data: 00:00:12
Original problem ID: 28533
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23522&eventid=28533

Problem has been resolved in 10m 6s at 21:11:02 on 2023.06.11
Problem name: S100-Santiago has been restarted (uptime < 10m)
Host: S100-Santiago
Severity: Warning
Original problem ID: 28533


de/he support

Enabled . workaround for crashy video drivers on Mojave, as the latest 10.14.5 beta is acting up again !

This is beta 7


Connection bug while stop listening

Hi, I encountered a bug while trying to migrate the mod to Mac OSX.
When the server starts host, the program will create a new thread to wait clients' connections.
After the client has connected to the server, I clicked the "Start" button to stop listening.
Then the server won't enter game and the terminal will throw out error information as follows:

Stopping listener, beginning loading
Exception while listening:
Exception while listening for clients:
interrupted

That really confused me because after stopping listener there shouldn't be exception of listening. But I finally figure it out.
Part of codes in Function startHost() of Multiplayer.cs is like this:
try
{
    int port = Int32.Parse(portStr);
    listener = new TcpListener(IPAddress.IPv6Any, port);
    listener.Server.SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only, false);
    listener.Start();

    client = null;
    server = new Server();

    while (true)
    {
        Log.Async("Waiting for connection...");
        Socket socket = listener.AcceptSocket();
        NetworkStream stream = new NetworkStream(socket);
        server.addClient(socket, stream);
    }

}
catch (Exception e)
{
    if (e is SocketException && ( ( ( SocketException ) e ).Message.IndexOf( "A blocking operation was interrupted" ) != -1 || ( ( SocketException ) e ).Message.IndexOf( "WSACancelBlockingCall" ) != -1 ) )
        return;

    Log.Async("Exception while listening: " + e);
    ChatMenu.chat.Add(new ChatEntry(null, "Exception while listening for clients: "));
    ChatMenu.chat.Add(new ChatEntry(null, e.Message));
    ChatMenu.chat.Add(new ChatEntry(null, "Check your log file for more details."));
    problemStarting = true;
}
finally
{
    if ( listener != null )
    {
        listener.Stop();
        listener = null;
    }
}

I noticed that the while-cycle will continue forever in this minor thread, which means the codes in finally will never be executed except catching errors.
At the same time, some codes in Function receiveLeftClick() in NewLoadMenu.cs is like this:
if (r.Contains(x, y))
{
    StardewModdingAPI.Log.Async("Stopping listener, beginning loading");
    Multiplayer.listener.Server.Close();
    readyToLoad = true;
}

Multiplayer.listener.Server.Close(); this statement will close the listener outside the minor thread. Thus, the minor thread will catch errors then the server can't start game.
To solve the problem, I checked the last version of Multiplayer.cs and made some little modifications.
In while-cycle of startHost() of Multiplayer.cs:
// outside the Function
public static bool stopListening = false;

// unrelated codes
...
// while-cycle in startHost()
while (true)
{
    Log.Async("Waiting for connection...");
    Socket socket = listener.AcceptSocket();
    NetworkStream stream = new NetworkStream(socket);
    server.addClient(socket, stream);
    if (stopListening)
        break;
}

And in receiveLeftClick() in NewLoadMenu.cs:
if (r.Contains(x, y))
{
    StardewModdingAPI.Log.Async("Stopping listener, beginning loading");
    // Multiplayer.listener.Server.Close();
    Multiplayer.stopListening = true;
    readyToLoad = true;
}

Then I can play multiplayer mode in Mac! (Although I don't know whether there are other run-time errors due to Mac OSX system)
I'm not sure if this bug happens only on Mac and I saw the related codes in 0.2.6 version remained unchanged. So I submit this issue to check whether the problem is only on Mac.
Thank you! : )

I believe it is a Mac issue. You can see at the beginning of the catch that I check for "WSACancelBlockingCall".
What happens is when I stop the listener, it throws the exception. However since it was intentional, I skip the error code.
So the exception while listening gives no message at all?

Here is the error message:
[09:58:38.414 上午] [DEBUG] Menu changed from: None to TitleMenu
[09:59:40.427 上午] [] NOTE: Chat doesn't work on the connection menu.
[09:59:40.437 上午] Waiting for connection...
[09:59:53.384 上午] Got new client.
[09:59:53.401 上午] Waiting for connection...
[09:59:54.276 上午] Got farmer data for client 1
[09:59:54.741 上午] [] client has connected.
[10:00:04.470 上午] Stopping listener, beginning loading
[10:00:04.474 上午] Exception while listening: System.Net.Sockets.SocketException: interrupted
  at System.Net.Sockets.Socket.Accept () <0x160cdf9c0 + 0x000c4> in <filename unknown>:0
  at System.Net.Sockets.TcpListener.AcceptSocket () <0x160cdf830 + 0x0002a> in <filename unknown>:0
  at StardewValleyMP.Multiplayer.startHost () <0x160ccb740 + 0x00196> in <filename unknown>:0
[10:00:04.474 上午] [] Exception while listening for clients:
[10:00:04.474 上午] [] Check your log file for more details.
[10:00:04.474 上午] [] interrupted

Well. That's not a very helpful error message.
Do you know if there is some way to detect if you are on a Mac? I imagine I could check for "interrupted" like I do "WSACancelBlockingCall". I don't want to check for interrupted all the time though since I don't know if any other socket exceptions have that word.

Sorry, I tested it by moving files to mods folder and running game. I tried debugging while running game but failed due to my poor knowledge about Xamarin.
I'll update once I have any clue.

While it probably won't fix this issue, in the future a separate compilation won't be needed.
https://github.com/ClxS/SMAPI/issues/166

I'm assuming the platform issues are fixed for now. Let me know if that isn't the case.


RUMM-1960 Add InvalidPerfMeasureBlock detekt rule

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #842 (a2e3986) into master (6c6210d) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #842      +/-   ##
==========================================
+ Coverage   80.37%   80.39%   +0.02%
==========================================
  Files         254      254
  Lines        8533     8533
  Branches     1457     1457
==========================================
+ Hits         6858     6860       +2
+ Misses       1328     1325       -3
- Partials      347      348       +1

Impacted Files
Coverage Δ

...ain/java/com/datadog/opentracing/PendingTrace.java
58.97% <0.00%> (-0.85%)
:arrow_down:

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
87.35% <0.00%> (-0.60%)
:arrow_down:

...id/webview/internal/rum/WebViewRumEventConsumer.kt
86.05% <0.00%> (+9.30%)
:arrow_up:


Hang in directory with tons of files

Running version 2.1.1 or older (java) in a Linux box I faced an issue of hang in script. Look close, it was caused because directory has tons of files. Application try to enummerate it and never finish.

Threads using 2.1.1
"main" #1 prio=5 os_prio=0 tid=0x00007ff5c004b800 nid=0x1c209 runnable [0x00007ff5c7cc2000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.list(Native Method)
at java.io.File.normalizedList(File.java:1153)
at java.io.File.listFiles(File.java:1246)
at com.logpresso.scanner.Log4j2Scanner.traverse(Log4j2Scanner.java:837)
at com.logpresso.scanner.Log4j2Scanner.run(Log4j2Scanner.java:454)
at com.logpresso.scanner.Log4j2Scanner.run(Log4j2Scanner.java:128)
at com.logpresso.scanner.Log4j2Scanner.main(Log4j2Scanner.java:98)

@rgallobr It may suffer performance issue if directory has too many files. However, it cannot be addressed by any other ways.

@xeraph maybe limit amount of time for thread (need to execute traverse in a separate thread). If it hangs for x seconds (flag) abort / skip this directory.

@rgallobr
Recommend to perform the two scan processes in parallel:

Scan with --exclude heavy_directory_path
Scan with heavy_directory_path

Java API itself is blocked, concurrent thread does not help in this case.

I have also had this problem reported to me. The solution for now is to use --exclude heavy_path as mentioned. Not sure if any other solution is possible.
The specific case that was mentioned causing the problem is a folder in which tons of files were being created and deleted continuously in addition to folders with tons of files.
I do wonder if in the case of files being created and deleted continuously if an option to only scan files created > X minutes ago would help?
Regardless, excluding the paths that have these cases is the ideal solution, but that isn't always known ahead of time.

I am using it to scan lots of servers using ansible tool (automation). In this case, I dont have a way to "exclude" manually all possible paths in all clients x servers. It is not viable.
Just when I hit a directory like this I have a hang in automation.

Sorry. For just timeout handling, scanner code would be quite complicated. Single thread codebase cannot handle timeout since API does not return..

@rgallobr Just realeased v2.1.4. You can use -f option to troubleshoot this case.

@xeraph I will check

Just to share with you guys:
Total files in directory: 14703635  (yep 14 Millions)
Start time:<PHONE_NUMBER>
End Time:<PHONE_NUMBER>

@rgallobr Wow... I can't believe it. It means 14 million files in 1 hour.


Allow adjustment of the max length

isn't it same as #6 ?

@sshnaidm I am myself confused about two MRs...


no validation if hh error in other file

A hardhat error in a different file from the active editor file stops validation warnings/errors from coming through.
The validation process throws an error because of a different file. Only one error is returned, but it is not shown because it is not on the active editor file.
Some questions to answer:

it appears that files that are not in the dependency graph can still block if they have an error, that is not expected
can we expend hh code to give all errors not just one

We now display a warning against the solidity status if the validation is being blocked by import errors in another file.

I think this should not be case . since the whole extension is now turned off and stops linting,  and the error is not helpful as well since we can know which file is failing.

I think this should not be case . since the whole extension is now turned off and stops linting, and the error is not helpful as well since we can know which file is failing.

Hi @envatic, thanks for the feedback.
Just so I am understanding correctly, the problem you are raising is: if validation fails because of an error in a dependent file, the validation error message in the status bar isn't helpful as it doesn't tell you where the actual source of the error is?


[Features] Add bindings support in command and script

Add bindings support in command and script.

Closing, done in https://github.com/kyverno/chainsaw/pull/969


Make it easier for contributors to update Docker images

There is some background context in this Discord discussion.

as with most OSS projects, a push to the Dockerfile on main triggers a rebuild on an ephemeral runner and uses the project token to push to the GitHub package repo without more side-channel auth stuff. The label is based on the branch, so if I push to "test-my-change", then that gets pushed to a label of "test-my-change". Basically, the security permiter ends up defined as who has write access to the repo and is traceable to commits. This seems superior in every way. We could also configure GA to push to another container registry but would need to manage the secrets, etc (and we'd be right back to where we started).

We have ~17 Dockerfiles in the main repo that require authentication (Storage Admin role in the iree-oss GCP project) to update: https://github.com/openxla/iree/tree/main/build_tools/docker. It would be much more convenient for contributors and maintainers if any approved commit could update the images used.
We should see what other projects are doing and modify our setup to be less bespoke.
Possible requirements:

Contributors can test that a Dockerfile builds
Contributors can test that a Dockerfile does what is expected in a CI workflow
Postsubmit uses the latest build of all images from checked in code (our current solution uses a manifest file for this that can get out of sync)

TBD how much scripting/automation is needed for this.

And then we could just move IREE's docker image building over there.
I just set up a GH action to update them when the file changes and they push to GH's docker repository.
It also seems like we should have fewer docker images, but I've not looked closely in quite some time.

As part of moving more jobs from ci.yml go pkgci.yml, I've been chipping away at our use of Docker images. Better to not use Docker at all if we can avoid it.

(Already done, for build/test jobs, not benchmark jobs) NVIDIA CI jobs can use whatever the runners have already (this seems good enough for now), or https://github.com/Jimver/cuda-toolkit, instead of nvidia.Dockerfile or nvidia-bleeding-edge.Dockerfile
(In progress) Android CI jobs can use https://github.com/nttld/setup-ndk instead of android.Dockerfile
(Not started) Emscripten CI jobs (if we care) can use https://github.com/mymindstorm/setup-emsdk instead of emscripten.Dockerfile

Seems like we could fork https://github.com/nod-ai/base-docker-images into iree-org and iterate from there. Can keep the original repo in nod-ai so existing packages continue to exist and new dockerfiles/images specific to that github org can be developed.

Seems like we could fork https://github.com/nod-ai/base-docker-images into iree-org and iterate from there. Can keep the original repo in nod-ai so existing packages continue to exist and new dockerfiles/images specific to that github org can be developed.

Sent an RFC to fork that repo into iree-org: https://groups.google.com/g/iree-discuss/c/IPLzMsPb5UI

I've almost finished switching workflows to using dockerfiles hosted at https://github.com/iree-org/base-docker-images/.
Here's what's left:

[ ] build_test_all_bazel in ci.yml uses gcr.io/iree-oss/base-bleeding-edge
[ ] build:remote_cache_bazel_ci in iree.bazelrc uses gcr.io/iree-oss/base-bleeding-edge in the cache key value
[ ] publish_website in publish_website.yml uses gcr.io/iree-oss/base
[ ] web in samples.yml uses gcr.io/iree-oss/emscripten
[ ] linux_arm64_clang in ci_linux_arm64_clang.yml uses gcr.io/iree-oss/base-arm64

For Bazel, we could try using https://bazel.build/install/docker-container (e.g. gcr.io/bazel-public/bazel:latest). That wouldn't have any of our other build deps or configurations for ramdisks, remote caches, etc. baked in though... if any of that is still critical.

Actually nevermind RE: Bazel...? The source for that is https://github.com/bazelbuild/continuous-integration/blob/master/bazel/oci/Dockerfile and it's just for using Bazel. The entrypoint is hardcoded to /usr/local/bin/bazel, when I think we really just want a general purpose container with software installed on it.

I'm planning to start migrating build_test_all_bazel to a new dockerfile running on the new Azure build cluster soon. We'll see what issues I run into :)


bump version 2.1.4

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.58 :warning:

Comparison is base (c7fd6a9) 98.14% compared to head (9579459) 97.56%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
- Coverage   98.14%   97.56%   -0.58%
==========================================
  Files          37       37
  Lines        5108     5092      -16
==========================================
- Hits         5013     4968      -45
- Misses         95      124      +29

Impacted Files
Coverage Δ

megfile/version.py
100.00% <100.00%> (ø)

... and 12 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Doc fixes

Description

Breaking Changes

JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.28 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add files via upload

These files contain all the code required to fit and train model.

Adding these files to another branch to ease complexity.


[ASK] I can't getting start in WSL

Description

when I ran pip install recommenders[examples] , it shows

on the bottom.
when I emitted and ran the next command  python -m ipykernel install --user --name <environment_name> --display-name <kernel_name> in wsl , it shows: /home/bcs109110/miniconda3/envs/surprise/bin/python: No module named ipykernel . when I tried to download ipykernel, it shows

in the end.
Does anyone have suggestions ?

Hello, I'm new to this community. If it's alright, could you please explain what you're currently working on or trying to achieve? I'm eager to learn more and get involved.

Can you show the output of python -c "import recommenders; print(recommenders.__version__)"

hello, it shows:Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'recommenders'

yeah, so it seems that recommenders was not installed properly. It's weird because I see recommenders within the installed libraries in the first screenshot. Maybe you are not using the right env. Try:
conda create -n recommenders python=3.9.16
conda activate recommenders
pip install recommenders[examples]
python -c "import recommenders; print(recommenders.__version__)"

this should be fixed with the new release 1.2.0


Right Eye Not Clearing View.

Hello!
First of all, let me thank you for this amazing work and for your efforts to translate the Oculus SDK shaders to URP. I always worked with the URP when developing for the Oculus Quest and one thing that annoyed me the most is that they don't have a way to fix their own shaders and port them out of the SRP.
I tried myself, but I am not very good at shaders and I got stuck on the Oculus Hands of the brand new Interaction SDK, I actually didn't know how to translate the Surface Shader with multiple passes to a URP shader.
Introduction
After trying your latest release package, I ran into a couple of problems and bugs that I thought you should be aware of.
The issues involve broken references, a couple of shader errors and the main problem which is described on this issue title.
I managed to fix the broken references and the shader errors (I will explain here how in case anyone may need it) but not the hand flickering and the right eye issue. I am going to explain the issues in the in the order in which I found them.
To reproduce

Happens on every scene of the .unitypackage.
Unity Version: 2020.3.29f1
Oculus Integration v38.0

Broken References
I don't know if this is may be only in my particular case, which I don't think so but I didn't check before so I can't be assured.
Some of the references of the Grabbables of the scene BasicGrab URP are not set up correctly. This produces errors after entering Play Mode. In my case, each interactable object over the desk needed an extra reference to be set on the Inspector.
On each object SimpleGrabXXX of the scene, under the root Interactables every child named HandGrabInteractable needs a reference to it's parent (the actual SimpleGrabXXX) on the field Grabbable of the script Hand Grab Interactable. Let me show this:

Also, in my case and on the same objects I lost the reference to the Pointer Interactable exposed field of the script PointerGrabbableConnection. The solution is either also assign the parent (the SimpleGrabXXX) or to remove the component.
Other broken reference I noticed where on the camera rig. Under each XXXHandSynthetic prefab, on the Hand Modifier object, the DataModifier field should be assigned to either the LeftHand or the RightHand objects, located under the Hands object of the InputOVR.
Shader Errors
I got two weird shader compilation errors on two of the translated shaders:

Oculus Hand Outline, lines 115 and 117.
Oculus Hand Color, lines 105 and 107.

The issue is quite simple to fix, on each line, there are these two macros written:
UNITY_SETUP_INSTANCE_ID(v); // Lines 105 and 115 of each file.
UNITY_TRANSFER_INSTANCE_ID(v, OUT); // Lines 107 and 117 of each file.

This throws me an error saying that v is not defined. Actually, the parameter of the vertex shader is named IN so changing this to:
UNITY_SETUP_INSTANCE_ID(IN); // Lines 105 and 115 of each file.
UNITY_TRANSFER_INSTANCE_ID(IN, OUT); // Lines 107 and 117 of each file.

fixed the issue for me.
Right Hand Flickering and Right Eye Issue
After fixing the problems above I managed to enter the Play mode without any errors and with the interactions and shaders working and showing correctly (no pink materials). This issue is quite difficult to explain by words, so I prepared a little video to show it:
https://user-images.githubusercontent.com/47715589/160030236-6531940d-e8f6-483c-8d70-2850d6058ff5.mp4
The video was recorded using the Oculus Mirror tool and the Oculus Link within the Unity Editor. The first part shows the view of the left eye, which is pretty much perfect. This part is intended to show the problem with the right hand shader flickering constantly. I actually fixed this while writing this issue, I had an object enabled which didn't have to be.
The second part is after I update the Oculus Mirror setting to display the view of the right eye, which looks so chaotic. I am not a professional of this kind of "graphics" things but seems to me that the camera isn't clearing the previous draw (I don't recall the name for that). Both cameras (on left and right eye) have the exact same configuration.

At first I thought it could be some issue with the renderer features added through the Configure Project tool but after disabling them the problem persists and I don't know what can be causing it.
Just to clarify, on other scenes with the default Oculus Hands and a simple material this problem does not happen.
Additional context
A couple days ago, the Oculus Integration Package got the v38.0 update, and I think that, at least for the broken references issue, is the reason for some of the errors that I found. Actually, the issue with the Interactables, is for a new exposed field which I think that it wasn't exposed on the v37.0 and which has no default value, also, an assertion throws if it's null.
Forgive me if my english is bad at any point, it's not my primary language.

Thank you for the detailed report! I'm traveling this week but I will attempt to get all of this resolved when I return home. I suspect that you are correct and the new release likely broke some things.

Okay! I will also look into the package further to see if anything else is broken. Thank you!

Yeah, I finally figured it out not a long time ago to be honest, but I completely forgot about the issue :`P.
It happened due to some kind of error in the skybox shader provided by the Oculus package. I think it's called ThreeGradientSkybox or something like that. If you switch it, or, in your case, switch to a Solid Color background, it no longer happens.
I didn't have time to test it enough, but in the V40 of the Oculus Integration most of the custom shaders have been upgraded to support the URP, so you may have a look now (I think there's still some shaders that aren't compatible) and see if has been fixed.
What happens now (and I think that also happened with your shaders) is that, for what I've noticed, the particles don't render correctly over some backgrounds. For example, the fire on the provided example Torch does not get visible when there's something behind with almost any Oculus shader. But for that I don't actually know any solution.


[bug] Reddit logo not visible on course page (default image shown)

The Reddit logo on the course page is not displaying correctly. Instead of the Reddit logo, a default image is shown, which typically indicates that the image path is incorrect or the image file is missing.
Steps to Reproduce:

Navigate to the course page for any course.
Locate the section with the Reddit button.
Observe that the logo is not displayed correctly and a default image placeholder is shown instead.

Additional Information:

Browser: Chrome Version 127.0.6533.120 (Official Build) (arm64)

thank you so much! this should be fixed now by #112 :)


Improved usage information

I wrote some mini-tutorials about how to get started using lazysql as described in #117
To be more precise i wrote 'tutorials' for:

Connecting to a DB
Creating a table (redirect to SQL Editor)
Execute SQL querys
Open / View a table
Filter rows
Insert rows
Edit a column

I would love to know what you think about the phrasing, the general style and if you would want me to change.

I really like this. I'll just take a deeper look tomorrow and come back with suggestions, or maybe a merge.
Thank you for the PR.

PR is ready for review

Hi, any progress on this?

I think it should be ready for review

There are some pending reviewed changes above, please read them. Also, please can you fix the merge conflict?

Merge conflicts are now resolved.
The one not-outdated comment got resolved in this commit, but some lines below, so i guess it is not detected.
(Or which comment do you mean?)


BUG: styles command without folder path

Reproduction

run npx radius-scripts styles,
Enter FIGMA_URL and FIGMA_TOKEN and the path that CSS files will be created
Error: I get the following error:

(node:79161) UnhandledPromiseRejectionWarning: Error: node-id not found
    at assert (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/utils/figma.utils.js:65:15)
    at assertFigmaData (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/utils/figma.utils.js:72:24)
    at processFigmaUrl (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/utils/figma.utils.js:82:5)
    at /Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:65:60
    at step (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:33:23)
    at Object.next (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:14:53)
    at /Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:4:12)
    at generateGlobalStyles (/Users/jenc/.npm/_npx/79161/lib/node_modules/radius-script/dist/commands/styles/lib/radius-styles.js:56:12)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:79161) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:79161) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This may not be a bug if the default behaviour isn't to create a folder regardless of whether a path is supplied

Confirmed today that this is not an issue


How much does it cost to train a first 7B LLaMA model in the cloud?

This can be answered if #1 and #2 is answered.

Here is a cost indication (8 V100 with 80GB). Not sure if this is the 40GB or 80GB variant.

Azure "spot instances" the 80G variant cost 8 euros / h and the 40G variant 7 euros / h for 8 A100.

Screenshot from Azure. 2nd Entry is a mistake (bug) and should read "40 GB".


Bug

In the newest release 1.0.0-rc3 I encounter this error: Cannot read property 'spacing' of undefined
TypeError: Cannot read property 'spacing' of undefined
    at Function.hexToPixel (webpack:///./~/react-hexgrid/lib/HexUtils.js?:117:23)
    at Hexagon.componentWillReceiveProps (webpack:///./~/react-hexgrid/lib/Hexagon/Hexagon.js?:127:40)
    at eval (webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:611:23)
    at measureLifeCyclePerf (webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:75:12)
    at ReactCompositeComponentWrapper.updateComponent (webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:610:9)
    at ReactCompositeComponentWrapper.receiveComponent (webpack:///./~/react-dom/lib/ReactCompositeComponent.js?:547:10)
    at Object.receiveComponent (webpack:///./~/react-dom/lib/ReactReconciler.js?:125:22)
    at Object.updateChildren (webpack:///./~/react-dom/lib/ReactChildReconciler.js?:109:25)
    at ReactDOMComponent._reconcilerUpdateChildren (webpack:///./~/react-dom/lib/ReactMultiChild.js?:208:32)
    at ReactDOMComponent._updateChildren (webpack:///./~/react-dom/lib/ReactMultiChild.js?:312:31)

hexmap.component.js
import React from 'react';
import { HexGrid, Layout, Hexagon, GridGenerator, HexUtils, Pattern } from 'react-hexgrid';
import './hexmap.component.scss';

const config = {
  width: 2300,
  height: 2000,
  layout: { width: 0.7, height: 0.7, flat: false, spacing: 1.03 },
  origin: { x: -45, y: -40 },
  map: 'rectangle',
  mapProps: [32, 32],
};

export default function HexMap() {
  const generator = GridGenerator.getGenerator(config.map);
  const hexagons = generator.apply(this, config.mapProps);
  const layout = config.layout;
  const size = { x: layout.width, y: layout.height };

  return (
    <HexGrid width={config.width} height={config.height} className="hexGrid">
      <Layout size={size} flat={layout.flat} spacing={layout.spacing} origin={config.origin}>
        {
          hexagons.map(hex => (
            <Hexagon
              key={HexUtils.getID(hex)}
              q={hex.q}
              r={hex.r}
              s={hex.s}
            />
          ))
        }
      </Layout>
    </HexGrid>
  );
}

Ah right. I just recently moved layout to be read from context instead of props. Seems that there's still some leftovers. I'll have a look this evening

Took a quick look at it and hopefully it's good now; rc-4 version in npm.

Perfect! Thanks 👌


Add PaintTraverse hook and update signatures

Added empty PaintTraverse hook that validates current panel.
Also updated signatures.

Why would you add that, d3d is far more efficient.

Mainly because it will not overlay console. Moreover using D3D I had some issues with ESP - it was sometimes blinking.

I am working on a whole rewrite for this project. Not gonna merge anything right now.
Thanks though.

Still working on it?


BUGFIX: Argmax/argmin raywise needs to return int

It was returning floats

Merging. Test failures are unrelated.


docs: wrap some long lines

Coverage remained the same at 100.0% when pulling 53ebcd4f609124df3969dfe61295d5420427f8f6 on docs into 255d0ac28154c9f67ab331604bebed08c07512a4 on main.

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


I have a question when I train myself vocdata,what's the reason?

2019-01-24 09:56:42,226 - INFO - Start running, host: wang@wang, work_dir: /home/wang/mmcv/mmdetection/tools/work_dirs/faster_rcnn_r50_fpn_1x_voc0712
2019-01-24 09:56:42,226 - INFO - workflow: [('train', 1)], max: 12 epochs
Traceback (most recent call last):
File "train.py", line 90, in
main()
File "train.py", line 86, in main
logger=logger)
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/apis/train.py", line 59, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/apis/train.py", line 121, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmcv/runner/runner.py", line 355, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmcv/runner/runner.py", line 257, in train
for i, data_batch in enumerate(data_loader):
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 336, in next
return self._process_next_batch(batch)
File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
KeyError: 'Traceback (most recent call last):\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop\n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in \n    samples = collate_fn([dataset[i] for i in batch_indices])\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/datasets/repeat_dataset.py", line 16, in getitem\n    return self.dataset[idx % self._ori_len]\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/datasets/custom.py", line 154, in getitem\n    data = self.prepare_train_img(idx)\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/datasets/custom.py", line 182, in prepare_train_img\n    ann = self.get_ann_info(idx)\n  File "/home/wang/anaconda3/envs/rebar/lib/python3.6/site-packages/mmdet-0.5.6+b7aa30c-py3.6.egg/mmdet/datasets/xml_style.py", line 44, in get_ann_info\n    label = self.cat2label[name]\nKeyError: 'good'\n'
'good' is my class !
thank you

modify CLASSES = ('good') to CLASSES = ('good',)

modify CLASSES = ('.....') to CLASSES = ('good',) in voc.py

i also have this errror:
File "/home/yuyang/.conda/envs/yuy_py35/lib/python3.5/site-packages/mmdet-0.6rc0+70383d4-py3.5.egg/mmdet/datasets/xml_style.py", line 44, in get_ann_info\n    label = self.cat2label[name]\nKeyError: 'aircraft'\n'
and i modify CLASSES = ('.....') to CLASSES = ('aircraft',) in voc.py, it still show the same problem??

i met the same problem,  i have modified the Class names.

i met the same problem, i have modified the Class names.

have you finish it?

I met the same problem and i solved it by the proposals above.

@xinetzone @wizholy you can set CLASSES=['...'] if you are having only one class, instead of CLASSES=('...')

I met the same same question, how can i solve this??

CLASSES = ('word',) i s  true
CLASSES = ('word') is false

注意逗号

I have met the same problem.  I slove it by the  ' CLASSES = ('word',)' .Don't forget the ','  after the  'word'.

i also have this errror:
File "/home/yuyang/.conda/envs/yuy_py35/lib/python3.5/site-packages/mmdet-0.6rc0+70383d4-py3.5.egg/mmdet/datasets/xml_style.py", line 44, in get_ann_info\n label = self.cat2label[name]\nKeyError: 'aircraft'\n'
and i modify CLASSES = ('.....') to CLASSES = ('aircraft',) in voc.py, it still show the same problem??

It is necessary to check the other voc.py which is built into mmdet.egg.xxx. Check the error info in detail, and find the file like "/home/yuyang/.conda/envs/yuy_py35/lib/python3.5/site-packages/mmdet-0.6rc0+70383d4-py3.5.egg/mmdet/datasets/voc.py, then change the classnames in it. It will be done!


Add optional HTTP Basic Auth

Is some secrets setup needed like here?

Is some secrets setup needed like here?

Yes. The PR has been updated and this has now been set up.


[vite/plugin] The "attributes" property of ModuleInfo is not supported.

Describe the bug
When using this.getModuleInfo(id).attributes in a plugin (for instance in transform hook) the following error occurs :
[vite] The "attributes" property of ModuleInfo is not supported.

But the same code works in native Rollup plugins.
related issue: Support for moduleInfo.meta in resolveId hook still not equivalent in vite dev and vite build
Reproduction
https://stackblitz.com/edit/vitejs-vite-5et2xu?file=vite.config.js&terminal=dev
System Info
System:
    OS: Linux 6.5 Fedora Linux 37 (Workstation Edition)
    CPU: (16) x64 AMD Ryzen 9 5900HS with Radeon Graphics
    Memory: 6.49 GB / 15.02 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.3.0 - ~/.local/share/pnpm/pnpm
  Browsers:
    Chrome: 120.0.6099.109
  npmPackages:
    vite: ^5.0.10 => 5.0.10

Used Package Manager
npm
Logs

Click to expand!
10:46:44 PM [vite] Internal server error: [vite] The "attributes" property of ModuleInfo is not supported.

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] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[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.

This is breaking https://github.com/Kycermann/rollup-plugin-import-css-classes/ when running on Vite.

I created a package which currently supports only webpack but I would love to add support for Vite too.
Unfortunately I get  The "code" property of ModuleInfo is not supported. during vite dev.
With Webpack it is possible during dev and build https://webpack.js.org/api/loaders/#thisloadmodule to access the code and attributes of other modules
Is there anything I can do to support adding this feature?

It appears that the return value of this.load differs between serve and build modes.
In serve mode, the moduleInfo object only contains the id and meta properties, as seen in these lines:
https://github.com/vitejs/vite/blob/b240a8347e7b62bee9d2212625732bb0d8c78633/packages/vite/src/node/server/pluginContainer.ts#L200-L201
While we can manually obtain a ModuleNode object using this._container.moduleGraph.getModuleById(id), the transformResult remains null. This suggests that the module might not have been loaded or transformed at all.
In build mode, everything just works as expected.


add readme #showyourstripes

🚀 Pull Request
Description

At the very least, I think we should do our (minimal) bit to spread the good word for #ShowYourStripes...
This is the suggested README.md change.

Consult Iris pull request check list

can see the rendered README: https://github.com/bjlittle/iris/blob/readme-showyourstripes/README.md

@trexfeathers I'll find the fix for pre-commit.ci... :disappointed:

This seems relevant, see https://github.com/PyCQA/isort/issues/2077

@trexfeathers

Great idea @bjlittle slightly_smiling_face
As well as my comment below, I think we should use the What's New as an opportunity to make a little more noise.

Agreed. See https://github.com/SciTools/iris/pull/5141/commits/1593c8feaa2f3b0464bc425f3d84661489d10d76.

Also see https://github.com/ed-hawkins/show-your-stripes/issues/1

Good idea to generate and tag releases on ShowYourStripes. Will do that this year when we update everything, probably in the next few weeks. Thanks.


Transformation Engine To Use Map<String,Object> As Args

Complex Map As Args For Transformation Engine
This PR adds the logic for the trasnformation engine to use a Map<String,Object> intead of a Map<String,String> allowing for more flexibility when passing parameters when using the transformation_definitions.json file.
Issue
#1366
Checklist

[x] All tests pass

Note: You may remove items that are not applicable

Since local code to LOINC or PLT code PR was merged, I had to refactor that transformation class (MapLocalObservationCodes) and it's test cases.


update parsing of release build status

While looking through today's build log I noticed:
+++ grep -c -Eo ' *"status":.*?[^\\]",?' /tmp/build.response.Rav7
++ local LINE_COUNT=4
++ '[' 4 '!=' 1 ']'
++ echo 'Missing or ambiguous lines for status: 4'
Missing or ambiguous lines for status: 4

...
- unrecognized status:
BUILD_FAILED=1
return 2
The build wasn't recognized as failed, cause I think the "Copying file://green_build_sha.txt" step that now follows the build must replace the overall status (I also tried to fix this).
Anyway, the issue with ambiguous status is because the builder is now reporting additional information for each step, e.g.:
"timing": {
  "startTime": "2018-02-21T19:22:27.228407430Z",
  "endTime": "2018-02-21T19:23:42.831693458Z"
},
"status": "SUCCESS"

So there's now multiple instance of "status" attributes in the json.  This change has the bash just take the first status (which is for the overall build) and ignore any other status lines that follow.  An example start of the json result is:
{
  "id": "29eeadab-efdb-4946-a510-8331c6d6ff6f",
  "status": "SUCCESS",
  "createTime": "2018-02-21T19:22:25.186365818Z",
  "startTime": "2018-02-21T19:22:25.882807954Z",
  "finishTime": "2018-02-21T19:23:43.753677Z",

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2cf88174413b7eb36d506cda39da71afa9ed86db
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
e1d3a9eb7af2d7803615e30a38623e517f26fa3d
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

I 'bout an approach where I just have the build itself generate the file at the same place/time where it stores a copy of the manifest.xml.  I did a quick test that in a statement like "echo hello && echo world > foo.txt" only "world" ends up in foo.txt.

ok. but please add a comment about the importance of the return value from that command

Warning comment added.  I'm not completely certain I added it with the proper syntax but emacs and my reading of python docs seemed to be okay with it.

/lgtm

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/istio-pilot-e2e.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/istio-pilot-e2e.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mattdelco: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-simple

prow/e2e-bookInfoTests.sh
36f81d545b0a1040d7d87c8b52a84cb6faa44a43
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Chinese Titles and Tab labels on german client with "Chinese" option diesab

Describe the bug
frame "collection" has chinese title and tabs labelled in chinese
setting to use chinese is disabled (and as you can see the options are localized):
To Reproduce
Steps to reproduce the behavior:

Have German WoW Retail Client
Open Collections
Look at frame title and tab labels at the bottom

Expected behavior
Should remain in German, but are displayed in Chinse
Screenshots

更新一下, 不知解决了吗

has been solved indeed. thanks so much <3