benchmark  tf can't see gpu in container building by docker_test tensorflow_gpu.Dockerfile

in container, run nvidia-smi, i can see gpu
but tf.test.is_gpu_available()  return False
tf.test.is_gpu_available()
WARNING:tensorflow:From :1: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.config.list_physical_devices('GPU') instead.
2020-07-09 11:26:03.142110: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
2020-07-09 11:26:03.186781: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency:<PHONE_NUMBER> Hz
2020-07-09 11:26:03.194636: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4ed0000b20 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-07-09 11:26:03.194684: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-07-09 11:26:03.200954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-07-09 11:26:05.529242: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4d68000b20 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-07-09 11:26:05.529308: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529330: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (1): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529348: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (2): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529366: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (3): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529384: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (4): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529403: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (5): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529421: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (6): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.529439: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (7): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-07-09 11:26:05.544786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:1a:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.547459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 1 with properties:
pciBusID: 0000:1b:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.550102: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 2 with properties:
pciBusID: 0000:3d:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.552739: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 3 with properties:
pciBusID: 0000:3e:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.554630: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 4 with properties:
pciBusID: 0000:88:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.556489: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 5 with properties:
pciBusID: 0000:89:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.558380: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 6 with properties:
pciBusID: 0000:b1:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.560269: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 7 with properties:
pciBusID: 0000:b2:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.75GiB deviceMemoryBandwidth: 836.37GiB/s
2020-07-09 11:26:05.560668: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.560750: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.560815: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcufft.so.10'; dlerror: libcufft.so.10: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.560879: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcurand.so.10'; dlerror: libcurand.so.10: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.560944: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusolver.so.10'; dlerror: libcusolver.so.10: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.561007: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusparse.so.10'; dlerror: libcusparse.so.10: cannot open shared object file: No such file or directory
2020-07-09 11:26:05.565687: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-07-09 11:26:05.565708: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1598] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
 Therefor, the status of tf.test.is_gpu_available() does not influences the benchmark test.


Standalone Demo Notebook Deploy-Model Step Creates a Forbidden Error

I tried running the standalone demo notebook locally using the option 3 OSS deployment. The steps went well until deploy-model step failed with the following error:
inferenceservices.serving.kserve.io is forbidden:
User \"system:serviceaccount:kubeflow:pipeline-runner\" cannot create
resource \"inferenceservices\" in API group \"serving.kserve.io\" in the namespace \"kserve-inference\"

Since this is related to deployment configuration, I suspect this might be caused by either a missing configuration or a Kubernetes client update.

After rechecking the configuration selection I noticed that option 3 does not provide kserve. The standalone demo notebook can only be run using either configuration options 5 or 6. The standalone notebook already has a note on this, so closing this issue.


bot uses SMELT ids to track tests and approve updates, but release-request (ibs) ids should be used

Context:
Bot uses SMELT ids but they are not unique.
Today's example: https://smelt.suse.de/incident/32869/
The same SMELT id is used for 2 different updates, one tested until yesterday and then revoked, one under test now.
openQA only include SMELT ids to track what is being tested so when a human wants to check if a result is relevant, he needs:

openQA settings with SMELT id
check openQA test date >  ibs release request creation date

I guess the reason is that updates are put in repos containing the SMELT id but such repos content can change when a new request is created in ibs. What is being approved is still the ibs release request id, not the incident.
Also mentioned here https://progress.opensuse.org/issues/153886
Current workaround:
The bot is completely unaware about this issue, but uses the dashboard database as job result cache. In that "cache", the data is altered to workaround this issue qem-dashboard/#78 and hide the problem.
Issue:

Makes it impossible to move out of the dashboard "cache" in favor of a direct access to openQA

This breaks the concept of looking at older results directly on openQA while trying to approve updates https://github.com/openSUSE/qem-bot/pull/168

Adds complexity to the approval decision, especially if a human needs to take a look manually

Proposal:
Add release requests ids to openQA jobs in a new ENV variable like "RR_IDS: 1234,1235,1236" the same as it's being done with incident ids (BASE_TEST_ISSUES, etc.).
This would be a non-disruptive change as it's just adding more information to test runs.

Incidents already have RRID=SUSE:Maintenance:<ID>:<RR>, not sure how it's used.


AttributeError: Only OpenSCENARIO 1.0 is supported

Hi, I am using carla 0.9.11 and tried with my own custom .xosc file. My xosc file is created in openscenario 1.1 standard.. please let me know how to solve this attribute error.

The error you are seeing is here. Either remove the check or change your version to 1.0

How to remove the check ? Is there any possibility to run the OSC 1.1 in carla simulation.

The error you are seeing is here. Either remove the check or change your version to 1.0

Please let me know Is there any possibility to run the OSC 1.1 in carla simulation.


Evaluation Pipeline for BGE-EN-ICL

Hello authors, thank you for your great work!  And I wonder when the Evaluation Pipeline for BGE-EN-ICL will be released?

You can follow eval mteb to evaluate bge-en-icl.
The examples can be found at examples

You can follow eval mteb to evaluate bge-en-icl. The examples can be found at examples

Thanks for your reply!
I read the files in the examples folder, and I'm curious why the content of the query and response in the dictionary is the same? For example, {"query": "I wish I could have used this head set but the day I received it it wouldn't even turn on and I really wanted this product to work I'm very disappointed.", "response": "I wish I could have used this head set but the day I received it it wouldn't even turn on and I really wanted this product to work I'm very disappointed."}.

You can follow eval mteb to evaluate bge-en-icl. The examples can be found at examples

Thanks for your reply! I read the files in the examples folder, and I'm curious why the content of the query and response in the dictionary is the same? For example, {"query": "I wish I could have used this head set but the day I received it it wouldn't even turn on and I really wanted this product to work I'm very disappointed.", "response": "I wish I could have used this head set but the day I received it it wouldn't even turn on and I really wanted this product to work I'm very disappointed."}.

We are very sorry that there was an error with the examples. We have corrected the examples, so you can use them again.


cabebot fails to walk up ladders in 7.6

while the cavebot is capable of walking down ladders, and walking up stairs, it refuse to walk up ladders in tibia 7.6.. screenshot  https://cdn.mediacru.sh/z/zUlRwmYi4kR2.jpe

can someone try to confirm/reproduce this?

I don't remember that kind of ladder existing in standard Tibia 7.6 ... Blackd Proxy is only designed for standard tibia clients (with standard tiles) Anyways, if an user is playing an ot server with modified tibia.dat then he can edit config760\config.ini and edit/add some tiles at [tileIDs] Just in case the ot server is using a tibia.dat of a modern version you can try using the following values:
AditionalStairsToUpFloor=AC 07,AE 07,AA 07,94 08,96 08,90 08,92 08,03 1B,FF 1A,FD 1A,78 1D,76 1D,58 03,57 03,B7 07,7A 1D,7C 1D
AditionalStairsToDownFloor=36 1D,62 1D,64 03,34 1D,35 1D,6A 03
AditionalRequireRope=56 43,A5 01
AditionalRequireShovel=63 03

oh, that's right, it's a modified tibia.dat and tibia.spr , that's probably it! ill add
AditionalStairsToUpFloor=B0 0C and see if its still working
(to make matters even worse, it's 1 of those OTs with a completely custom client, based on  https://github.com/edubart/otclient  , i just copied the .spr / .dat to the real 7.6 client, reverse-engineered the modified login protocol - which spews swears words like "fuck you asshole" to any1 looking at it :p -  made BlackD Proxy fix the login protocol at runtime, and voila!)

ok, nice!

speaking of, "Aditional", is not an English word, but Additional is


Refactor Optimizer to use owned plans and TreeNode API (10% faster planning)

Note: this looks like a large PR, but many of the changes are lines that removed &
Which issue does this PR close?
Part of https://github.com/apache/arrow-datafusion/issues/9637 (stop copying LogicalPlans in the Optimizer) and https://github.com/apache/arrow-datafusion/issues/8913 (unified TreeNode rewrite)
Rationale for this change
The current structure of the Optimizer copies LogicalPlans a large number of times. This is both slow as well as requires a large number of allocations
After  https://github.com/apache/arrow-datafusion/pull/9999, the TreeNode API  can handle rewriting LogicalPlan efficiently without clone.
Thus it makes sense to use the TreeNode API in the optimizer, both because I think the code is simpler as well as to take advantage of the performance improvements in TreeNode API.
What changes are included in this PR?

Refactor Optimizer to use TreeNode API
Change Optimizer::optimize  to take an owned LogicalPlan rather than force a copy

Are these changes tested?
By existing CI
Performance benchmarks:  Planning is 10% faster for TPCH, 13% faster for TPCDS
Details

++ critcmp main optimizer_tree_node2
group                                         main                                   optimizer_tree_node2
-----                                         ----                                   --------------------
logical_aggregate_with_join                   1.00  1177.8±21.23µs        ? ?/sec    1.00  1176.3±12.15µs        ? ?/sec
logical_plan_tpcds_all                        1.01    154.2±0.85ms        ? ?/sec    1.00    153.1±0.77ms        ? ?/sec
logical_plan_tpch_all                         1.01     16.5±0.14ms        ? ?/sec    1.00     16.4±0.16ms        ? ?/sec
logical_select_all_from_1000                  1.06     19.3±0.15ms        ? ?/sec    1.00     18.2±0.18ms        ? ?/sec
logical_select_one_from_700                   1.00   779.6±21.54µs        ? ?/sec    1.01   785.8±15.37µs        ? ?/sec
logical_trivial_join_high_numbered_columns    1.00   726.7±12.27µs        ? ?/sec    1.00   728.4±12.68µs        ? ?/sec
logical_trivial_join_low_numbered_columns     1.00    710.9±6.84µs        ? ?/sec    1.00    714.1±6.52µs        ? ?/sec
physical_plan_tpcds_all                       1.13   1834.3±2.48ms        ? ?/sec    1.00   1624.6±2.37ms        ? ?/sec
physical_plan_tpch_all                        1.10    119.2±0.60ms        ? ?/sec    1.00    107.9±0.56ms        ? ?/sec
physical_plan_tpch_q1                         1.19      7.3±0.06ms        ? ?/sec    1.00      6.1±0.04ms        ? ?/sec
physical_plan_tpch_q10                        1.11      5.5±0.05ms        ? ?/sec    1.00      5.0±0.03ms        ? ?/sec
physical_plan_tpch_q11                        1.10      4.8±0.02ms        ? ?/sec    1.00      4.4±0.02ms        ? ?/sec
physical_plan_tpch_q12                        1.09      3.9±0.02ms        ? ?/sec    1.00      3.5±0.02ms        ? ?/sec
physical_plan_tpch_q13                        1.09      2.6±0.02ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_tpch_q14                        1.09      3.3±0.03ms        ? ?/sec    1.00      3.1±0.02ms        ? ?/sec
physical_plan_tpch_q16                        1.11      4.9±0.05ms        ? ?/sec    1.00      4.4±0.02ms        ? ?/sec
physical_plan_tpch_q17                        1.11      4.6±0.03ms        ? ?/sec    1.00      4.2±0.03ms        ? ?/sec
physical_plan_tpch_q18                        1.10      5.0±0.03ms        ? ?/sec    1.00      4.5±0.02ms        ? ?/sec
physical_plan_tpch_q19                        1.06      9.4±0.07ms        ? ?/sec    1.00      8.8±0.04ms        ? ?/sec
physical_plan_tpch_q2                         1.11     10.5±0.04ms        ? ?/sec    1.00      9.4±0.03ms        ? ?/sec
physical_plan_tpch_q20                        1.12      6.1±0.05ms        ? ?/sec    1.00      5.4±0.03ms        ? ?/sec
physical_plan_tpch_q21                        1.12      8.3±0.07ms        ? ?/sec    1.00      7.4±0.03ms        ? ?/sec
physical_plan_tpch_q22                        1.12      4.4±0.02ms        ? ?/sec    1.00      3.9±0.06ms        ? ?/sec
physical_plan_tpch_q3                         1.09      3.9±0.02ms        ? ?/sec    1.00      3.5±0.02ms        ? ?/sec
physical_plan_tpch_q4                         1.12      2.9±0.01ms        ? ?/sec    1.00      2.6±0.01ms        ? ?/sec
physical_plan_tpch_q5                         1.08      5.6±0.02ms        ? ?/sec    1.00      5.2±0.05ms        ? ?/sec
physical_plan_tpch_q6                         1.07  1981.4±12.85µs        ? ?/sec    1.00  1858.7±85.62µs        ? ?/sec
physical_plan_tpch_q7                         1.10      7.5±0.05ms        ? ?/sec    1.00      6.8±0.05ms        ? ?/sec
physical_plan_tpch_q8                         1.10      9.5±0.08ms        ? ?/sec    1.00      8.7±0.04ms        ? ?/sec
physical_plan_tpch_q9                         1.10      7.2±0.04ms        ? ?/sec    1.00      6.5±0.04ms        ? ?/sec
physical_select_all_from_1000                 1.19    128.1±0.29ms        ? ?/sec    1.00    107.4±0.41ms        ? ?/sec
physical_select_one_from_700                  1.02      4.0±0.03ms        ? ?/sec    1.00      3.9±0.05ms        ? ?/sec

Are there any user-facing changes?
There is a small API change: Optimizer::optimize now takes an owned LogicalPlan rather a reference (which forces a copy)
Planned follow on task

[ ]  Add special cases / rewrite other optimizer passes to reduce copies

@jackwener since you implemented some of the original optimizer recursion I wonder if you would have some time to review this PR

Thank you very much @jackwener  and @jayzhan211 for the reviews 🙏

Thanks @alamb for this work.


Unused dependency: postcss-loader

postcss-loader is included in package.json, but I don't believe it is used anywhere?

Good catch @izhaknys 😉. It's removed in 9d6d51795998f50fcb0b6db4cb03f72206ab00d3.


Use of pantable inhibits adding language support in LaTeX

I'm trying to combine Markdown sources with tables full of CSV data and render them as PDF's. The CSV data has localized strings in several languages and character sets. Pandoc doesn't have a problem with this content, and I know the incantations that are necessary to make it render in XeLaTeX. I just need to load a couple extra packages (fontspec and charclasses), then rig up all the code points and ranges that I need with various font declarations.
I can get this to work in a raw Markdown file by adding stuff to the header-includes metadata, but as soon as I add pantable into the mix, it borks. I can add other things to the metadata that get passed on to LaTeX fine, but as soon as I try to \usepackage, python starts spewing errors.
Here is a MWE:
$  cat <<- EOF | pandoc -o test.pdf --pdf-engine=xelatex -F pantable
---
header-includes:
     - \usepackage{fontspec}
---
\`\`\`table
"TRY","₺22,50"
"TND","65.000 دت"
\`\`\`
EOF

Note that if you rip out either the line that loads font spec or drop the pantable filter this works fine. (Note it isn't a finished example so the output isn't quite right either way yet, I stripped this down to be a minimalist example.
The python error I'm seeing is something like this:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/bin/pantable", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.7/site-packages/pantable/pantable.py", line 292, in main
    doc=doc
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 260, in run_filter
    return run_filters([action], *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 233, in run_filters
    doc = load(input_stream=input_stream)
  File "/usr/lib/python3.7/site-packages/panflute/io.py", line 56, in load
    doc = json.load(input_stream, object_pairs_hook=from_json)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 361, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
  File "/usr/lib/python3.7/site-packages/panflute/elements.py", line 1426, in from_json
    return RawInline(text=c[1], format=c[0])
  File "/usr/lib/python3.7/site-packages/panflute/elements.py", line 764, in __init__
    self.format = check_group(format, RAW_FORMATS)
  File "/usr/lib/python3.7/site-packages/panflute/utils.py", line 34, in check_group
    raise TypeError(msg)
TypeError: element str not in group {'openxml', 'rtf', 'latex', 'icml', 'opendocument', 'context', 'noteref', 'html', 'tex'}
Error running filter pantable:
Filter returned error status 1

This appears to be an iteration of this Pandoc issue. The example above could be mitigated like this:
---
header-includes:
  - |
  ```{=latex}
  \usepackage{fontspec}
  ```
---
```table
"TRY","₺22,50"
"TND","65.000 دت"
```


Update detox and XCode CI runner

Detox v2.16 fixes the problems with not being able to set permissions on simulators during e2e tests.
Therefore updating to this version would allow us to run e2e tests on XCode 15.
However, the release notes specify that from updating to v2.16 XCode 15 or higher would be required to run, so we would make sure our CI runner uses XCode 15 and the tests pass as well.
When trying out XCode 15 in our runners in earlier work, I have found there to be an increase of time the job takes to complete from about 20min to something like 40min to 60min. If that still is the case now we can also refrain from updating to detox v2.16 and XCode 15 for now.

This is included in https://github.com/inaturalist/iNaturalistReactNative/pull/1121


Agol bug workaround

I believe that this finally gives us a reliable way to update AGOL data. I have tested it on the server successfully. The only layers that it does not work on are  the layers below:
Utah UTA Bus Routes Wasatch Front - Service and/or folder name contains unsupported characters: ( ,)
Utah UTA Bus Stops Wasatch Front - Service and/or folder name contains unsupported characters: ( ,)
Utah Senate Districts - Shapefile-based
Utah House Districts - Shapefile-based
BLM Wilderness Study Areas for Utah - Shapefile-based

Can you publish the esri bug # so we can follow along. The idea is that we replace the pro project/sd file workaround with the buggy endpoint once the bug is resolved?

Esri Bug: BUG-000112699
Yes, we should switch back to the collection.overwrite method once that bug is fixed.


Contributors permissions are forgotten after adding unregistered contributor/hitting back

Steps
1. Go to the sharing page of a project. Click to add a contributor.
2. Search for a user's name, click to put them into the "adding" column.
3. Adjust their permissions so that it is not the default "admin" setting.
![screen shot 2015-04-13 at 10 41 37 am](https://cloud.githubusercontent.com/assets/4965832/7118036/a71f37e2-e1ca-11e4-8ab4-c401b6482a56.png)
4. Hit next
5. On the next page where you can select components to add them to, click back to return to the add contributors page.
![screen shot 2015-04-13 at 10 41 51 am](https://cloud.githubusercontent.com/assets/4965832/7118064/c4d39922-e1ca-11e4-9156-9b521462bcd3.png)
or

Go to the sharing page of a project. Click to add a contributor.
Search for a user's name, click to put them into the "adding" column.
Adjust their permissions so that it is not the default "admin" setting.
Search for another user who does not have an account
Click to add them as an unregistered user, enter their email address and submit. You will be brought back to the add contributors page

Outcome
1. In each case, when you return to the add contributors page, the permissions for the first user have been returned to "administrator" even though you adjusted them previously.
Case 1

Case 2

Expected
1. Permissions should be remembered, especially in the case where they are adjusted then an unregistered user is added. If a user adjusts the permissions of one new contributor during the adding process, that should be remembered the entire time the modal is opened.

Probably the case that those Permission settings are not auto-saved; They are saved when you click "submit" -- Given potential security aspects, I'd suggest we at least offer up some direction/warning on this -- unless some dev has a clever auto-save solution?

Or when we re-work this page so that it doesn't require batching everything, we could also find an in-line way to add contributors rather than using a modal dialog box.

Any suggestions for examples or sites for inlining everything @brianjgeiger ? I was going to take this on. Thinking that the back button was going to be a hassle, but if we just want to redo the whole thing?

This might be fixed by my PR #2223. But I still want to work on redesigning how contributors are added.

The fix pr has been merge and deployed on production.


No such module 'flutter_secure_storage_macos'

mac application runs fine using command line flutter run --release -d macos but fails to compile in xcode showing error
No such module 'flutter_secure_storage_macos'
In build->macos->Build->Products  I do see folder flutter_secure_storage_macos under both debug and release folders. It appears that these folder do contain the module code.
ReleaseProfile.entitlements (and Debug...) contain
	<key>keychain-access-groups</key>
	<array>
		<string>*</string> // I have also tried inserting bundle id here
	</array>

Appreciate any ideas/suggestions
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.1.2 23B92 darwin-arm64, locale en-US)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] IntelliJ IDEA Community Edition (version 2023.2.4)
[✓] IntelliJ IDEA Community Edition (version 2023.2.5)
[✓] VS Code (version 1.85.1)
[✓] Connected device (2 available)
[✓] Network resources

Hi @colinbes ,
Very interesting and good to know there are even more issues with macOS. I am curious though, did you get it to work at all on macOS?
Even just in debug mode with self signed dev builds? I cannot get it to read the data when app starts. If keep running same app, reset all reads and then try to read, the securely stored data is there and read nicely, but if I build it again or even just hot-restart the app, the data previously stored is not there. Like starting from an empty file every time.
Link with more info https://github.com/mogol/flutter_secure_storage/issues/532#issuecomment-1987279333
Any insights you might have on getting it to work at all with macOS, would be welcome 😄

As it was a internal Mac application for managing internal soak testing I eventually dropped secure storage as for this project is was not really needed but I need to get back on it and figure it out.
Did you get it all working, or just the debug portion?

I am closing all older issues. If this issue still exists in the latest version, please let me know.


cargo rebuilds every time when installing a crate with binaries behind feature gates

Problem

Whenever a crate containing multiple binaries, where some of them are behind a feature gate, performing a cargo install <crate-name> will cause a rebuild every time, instead of ignoring the rebuild. This is prevalent for nushell, which has several binaries behind the extra feature, but I was able to reproduce this in a simple project, as described below.
Steps

Run cargo new --bin cargo_rebuild_bug && cd cargo_rebuild_bug.
Add file src/optional/optional.rs:

fn main() {
    println!("This is an optional binary");
}

Modify Cargo.toml:

[package]
name = "cargo_rebuild_bug"
version = "0.1.0"
authors = ["An Author<EMAIL_ADDRESS>edition = "2018"

[features]
optional = []

[[bin]]
name = "optional"
path = "src/optional/optional.rs"
required-features = ["optional"]

[[bin]]
name = "cargo_rebuild_bug"
path = "src/main.rs"

Since local builds will reinstall every time, since you will need to run cargo install --path ., I modified the cargo crate source code to investigate what cargo think is different in comparison to the previously stored tracking information. I applied the following git patch:

diff --git a/src/cargo/ops/common_for_install_and_uninstall.rs b/src/cargo/ops/common_for_install_and_uninstall.rs
index 9f0c5dd20..5cb05beb3 100644
--- a/src/cargo/ops/common_for_install_and_uninstall.rs
+++ b/src/cargo/ops/common_for_install_and_uninstall.rs
@@ -163,6 +163,7 @@ impl InstallTracker {
         _rustc: &str,
     ) -> CargoResult<(Freshness, BTreeMap<String, Option<PackageId>>)> {
         let exes = exe_names(pkg, &opts.filter);
+        println!("exes: {:#?}\n", exes);
         // Check if any tracked exe's are already installed.
         let duplicates = self.find_duplicates(dst, &exes);
         if force || duplicates.is_empty() {
@@ -220,6 +221,15 @@ impl InstallTracker {
             if matching_duplicates.iter().all(is_up_to_date) {
                 Ok((Freshness::Fresh, duplicates))
             } else {
+                matching_duplicates.iter().for_each(|dupe_pkg_id| {
+                    let info = self
+                        .v2
+                        .installs
+                        .get(dupe_pkg_id)
+                        .expect("dupes must be in sync");
+
+                    println!("Dupe {} exes: {:#?}\n", dupe_pkg_id, info.bins);
+                });
                 Ok((Freshness::Dirty, duplicates))
             }
         } else {

Run cargo run -- install nu in the modified cargo crate. The first time I run it, it will install the nu package as usual, but if I run it a second time after that, it rebuilds again and receives the following output:

❯ cargo run -- install nu
    Blocking waiting for file lock on build directory
   Compiling cargo v0.49.0 (/Users/lidin/Documents/Projekt/Github)
    Finished dev [unoptimized + debuginfo] target(s) in 30.90s
     Running `target/debug/cargo install nu`
    Updating crates.io index
exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
    "nu_plugin_extra_binaryview",
    "nu_plugin_extra_s3",
    "nu_plugin_extra_start",
    "nu_plugin_extra_tree",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

Dupe nu v0.19.0 exes: {
    "nu",
    "nu_plugin_core_fetch",
    "nu_plugin_core_inc",
    "nu_plugin_core_match",
    "nu_plugin_core_post",
    "nu_plugin_core_ps",
    "nu_plugin_core_sys",
    "nu_plugin_core_textview",
}

  Installing nu v0.19.0
   Compiling libc v0.2.77
   Compiling proc-macro2 v1.0.21
   Compiling autocfg v1.0.1
...

It seems like when exe_names in check_upgrade in common_for_install_and_uninstall.rs generates the binary names, it includes all binaries, even the ones behind the feature gate.

Running cargo run -- install --path /path/to/cargo_rebuild_bug also reveals the extraneous package names:

❯ cargo run -- install --path ../cargo_rebuild_bug
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/cargo install --path ../cargo_rebuild_bug`
exes: {
    "cargo_rebuild_bug",
    "optional",
}
  Installing cargo_rebuild_bug v0.1.0 (/Users/lidin/Documents/Projekt/Github/../cargo_rebuild_bug)
    Finished release [optimized] target(s) in 0.03s
exes: {
    "cargo_rebuild_bug",
    "optional",
}
   Replacing /Users/lidin/.cargo/bin/cargo_rebuild_bug
    Replaced package `cargo_rebuild_bug v0.1.0 (/Users/lidin/Documents/Projekt/cargo_rebuild_bug)` with `cargo_rebuild_bug v0.1.0 (/Users/lidin/Documents/Projekt/Github/../cargo_rebuild_bug)` (executable `cargo_rebuild_bug`)

Possible Solution(s)

exe_names should not only check if the target is a bin (for when the CompileFilter is Default), but also if it should be included given the current feature flags passed to the install subcommand. This is at least the only change I think is needed for cargo to realize that the packages are the same.
Or, this is a misconfiguration on nushells part, and there is perhaps a better way to specify binaries behind feature gates?
I could give a go implementing the first suggestion and create a PR for it, but I have not worked in this project before, so I thought I'd first create this issue. :)
Notes
Output of cargo version:
cargo 1.46.0 (149022b1d 2020-07-17)

A rough POC for a bug fix can be found in this gist.

Yes, I think your analysis is correct, exe_names should not include targets that are skipped due to features. It might be a little tricky to fix. resolve_ws_with_opts can trigger downloads, which is a drawback. If it does go down that route, the resolution should be shared with check_yanked_install. I'm trying to think of some way to avoid that. It could just use the features passed on the command-line, but that would not work for dep_name/feat_name syntax. 😦   Another option is to add a new field to InstallInfo that specifies which bins/examples were specified on the command-line, and use that to determine which were installed.  Backwards compatibility might be a little tricky there.

Hmm, I read you. My POC was only for checking if checking for activated features was enough to solve the problem, but as you say there are likely better ways to get the information. Do tell if I can help out with this!


proxy/http: Avoid getting stuck when using server-first protocols

PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.

Codecov Report

Merging #1517 (d345804) into master (3ef7fea) will decrease coverage by 0.16%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1517      +/-   ##
==========================================
- Coverage   39.60%   39.43%   -0.17%
==========================================
  Files         600      592       -8
  Lines       35202    35096     -106
==========================================
- Hits        13941    13840     -101
+ Misses      19733    19727       -6
- Partials     1528     1529       +1

Impacted Files
Coverage Δ

proxy/http/client.go
0.57% <0.00%> (-0.03%)
:arrow_down:

transport/internet/udp/dispatcher.go
64.76% <0.00%> (-12.39%)
:arrow_down:

common/buf/reader.go
82.35% <0.00%> (-5.89%)
:arrow_down:

testing/servers/tcp/tcp.go
81.81% <0.00%> (-5.46%)
:arrow_down:

testing/scenarios/common.go
73.07% <0.00%> (-4.62%)
:arrow_down:

common/log/logger.go
77.94% <0.00%> (-4.42%)
:arrow_down:

transport/internet/udp/hub.go
73.61% <0.00%> (-4.17%)
:arrow_down:

transport/internet/system_listener.go
48.07% <0.00%> (-3.85%)
:arrow_down:

proxy/freedom/freedom.go
42.45% <0.00%> (-3.78%)
:arrow_down:

transport/internet/quic/hub.go
72.00% <0.00%> (-2.67%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

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

Also, #1292 uses 100ms for shadowsocks outbound. Maybe we should define a constant and use the same wait time for all types of outbound?

firstPayload = make([]byte, 0) is not needed, because you already had a nil slice with var firstPayload []byte.

Also, #1292 uses 100ms for shadowsocks outbound. Maybe we should define a constant and use the same wait time for all types of outbound?

Thanks for your review. Actually I'm not familiar with go... and also the codebase... Any suggestions on where should I put the constant?

Actually I'm not familiar with go... and also the codebase...

You did a great job already! Feel free to ask if you have any questions.

Any suggestions on where should I put the constant?

proxy/proxy.go might be a good place.

Thanks @database64128 , for your nice words and kind help! I've made the constant and you may have a look at it again.

I do not think this problem has been solved. Why did this PR get closed? It seems that I cannot even reopen it.

I will have a look at this pr and try to merge it before next release.


Fixed compatibility issue with newer Composer versions

Fixed deprecated class use from CommandEvent to Event.
In Composer v1.5.0, this issues shows a deprecation notice, but eventually it could become an error.

Thank you for your contribution 🎉 (and sorry for the delay 😉).


Add group support

Related to #16.

Hi @hanya, thanks for the PR!  After taking a look at this implementation I was curious whether group support could be added without adding a new Group trait, and instead simply treat groups as messages.  I wasn't sure whether this was possible, so I took your PR and played with it till I got something working!  So I'm going to open a new PR shortly based on this one.  Thanks again.


[Mirror] Swagger changes for Microsoft.Migrate namespace

Mirror from https://github.com/Azure/azure-rest-api-specs/pull/7063

In Testing, Please Ignore


Command Palette should have the MRU command selected when opened

Description of the new feature/enhancement
The Command Palette should keep a list of most recently used commands, and show those items first in the dropdown when opened (and before any text is entered). This would match the Command Palette feature in Visual Studio Code:

Proposed technical implementation details (optional)
A first iteration would probably not need to persist this MRU list between session, however down the line this would be nice. The MRU could be persisted through a JSON file adjacent to settings.json that is written atomically on terminal exit (new terminals would copy the MRU from the most recently exited terminal).

Thanks for the request! This is a /dupe of #6647

Oh man, and I looked so hard for an existing issue! Thanks anyways!
Get Outlook for Androidhttps://aka.ms/ghei36

From: msftbot[bot]<EMAIL_ADDRESS>Sent: Monday, June 29, 2020 2:08:29 PM
To: microsoft/terminal<EMAIL_ADDRESS>Cc: Sidneys1<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/terminal] Command Palette should have the MRU command selected when opened (#6710)
Closed #6710https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fterminal%2Fissues%2F6710&data=02|01||11fcd23e31c84b91fe1008d81c576e31|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637290509114381089&sdata=qdtOI5gJLzqZhPa6FdrKV4EAm9VEG%2FY6M3seG4BGDNE%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fterminal%2Fissues%2F6710%23event-3493917215&data=02|01||11fcd23e31c84b91fe1008d81c576e31|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637290509114391085&sdata=4x2AWCpxRHQ67biE%2Bl8E1pH6hzM%2Fj40SgTzUToktndo%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAANQNYJ4HSUTWX7RH6CHGTLRZDKB3ANCNFSM4OLDZVZQ&data=02|01||11fcd23e31c84b91fe1008d81c576e31|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637290509114391085&sdata=y5zt5X2iL4HPLLgOxSuqtczh9fkRwK2OcH4%2BfdTQ8JU%3D&reserved=0.


Add Pharo 7 to the build matrix

Coverage remained the same at 99.669% when pulling c7bf2565f934ba5734d7c07024ab84d759cc25aa on pharo-7 into d28caa3487c85229875ffbed4df10ef95d109679 on master.


Receiving support?

Hi! This isn't a issue but I didn't know where to ask!
Are you accepting donations or supports? Because I want to give some of money to parse-server, but there is no donate button o something like that.
I don't trying to spam you, but I want to invite you to beerpay.io, a simple platform to monetize open source projects, like parse-server.
I know that the open source is free, but it's okay if someone want to contribute in other way.
Thanks for this work!

The interest is very much appreciated, but I don't think we're able to accept donations at this time.
We're super happy to receive issues and pull requests, though. :smile:


Fix closing of index without dictionary.

Added method 'hasDictionary' to the interface ColumnIndexContainer.
Destory on segment checks presence of dictionary before closing it to
avoid NPE.

Current coverage is 64.49% (diff: 90.00%)

Merging #923 into master will decrease coverage by 0.03%

@@             master       #923   diff @@
==========================================
  Files           744        744
  Lines         35372      35378     +6
  Methods           0          0
  Messages          0          0
  Branches       5393       5394     +1
==========================================
- Hits          22828      22818    -10
- Misses        10951      10969    +18
+ Partials       1593       1591     -2

Powered by Codecov. Last update 04693ff...22ccaac


Plugin Failing After Sublime Restart

If the plugin is installed and sublime text (3) is restarted, the plugin will now fail to open via both the keyboard command and the tools menu. The fix is to reinstall the plugin, but (as you can imagine) this is somewhat annoying!

I'm assuming that this was fixed by 947f8ce, but please leave a comment here if you're still affected


Entity parser crashes on Raspberry Pi

Allocating oddly sized strings on Stack breaks alignment. This explodes on ARM.

Doesn't seem to be the case anymore.


GSOC 2018: First batch of UI changes for multi-world

Setting up PR to merge from its topic branch to develop.
In short this batch overhauls the create game UI workflow, fixing some issues with previewing worlds in the process, but temporarily disabling support for advanced configuring of Heightmap. Going straight to playing a gameplay template that defaults to a heightmap world works fine, just more work is needed to hook up a new-style preview for those.
Another tiny but hugely wonderful change: the game now starts when there's more daylight! 🌞
Disclaimer: While the UI suggests multiple worlds can currently be added only the selected world will be available for the player with this PR. I might add a quick note about that to the UI while merging.

Includes: #3367, #3370, #3372, #3377, #3383, #3385, #3398
Fixes / completes: #1780, #1917, #2068
Mildly related: #1743 (music restarts due to context/env change - still happens, but the area affected was very close to this item)

See https://forum.terasology.org/threads/gsoc-2018-multiple-worlds.2168 and the linked blog entries for further GSOC project details :-)

Hooray Jenkins reported success with all tests good!

Tested out some more and resolved conflicts. See https://github.com/MovingBlocks/Terasology/commit/1bbc7402ba8cf9ecc40659f089f6d0fbd9a916b0 for some of the extra work beyond basic conflict resolution.
Merged and have also closed affected issues. Thank you @TheFlash98, @msteiger from past work, @nihal111 from helping out, and so on! :-)

 theflash98 & multi-world

 theflash98 & multi-world


Adding an empty string to the end of month names if ICU only returns 12.

This bug was caught by a test case in System.Globalization.Tests.
@ellismg, @tarekgh, @steveharter

One minor comment, LGTM otherwise.

LGTM too.


Add example.json to build the box with packer

Done in https://github.com/by-examples/symfony-vagrant-box-factory/blob/symfony/packer-symfony-box.json


fixed wrongly named arguments in README

the arguments in the README are wrong and lead to nsq-exporter not starting/working

flag provided but not defined: -nsq.addr
Usage of /nsq_exporter:
-collect string
Comma-separated list of collectors to use. (default "stats.topics,stats.channels")
-namespace string
Namespace for the NSQ metrics. (default "nsq")
-nsqd.addr string
Address of the nsqd node. (default "http://localhost:4151/stats")
-tls.ca_cert string
CA certificate file to be used for nsqd connections.
-tls.cert string
TLS certificate file to be used for client connections to nsqd.
-tls.key string
TLS key file to be used for TLS client connections to nsqd.
-web.listen string
Address on which to expose metrics and web interface. (default ":9117")
-web.path string
Path under which to expose metrics. (default "/metrics")

Hi, this pull request is being closed because this repo is (or will be) archived and is not maintained since years.


Error in "Create Strings using Template Literals" challenge example

Describe your problem and - if possible - how to reproduce it
In the ES6 lesson/challenge: Create Strings using Template Literals
It looks like the variable representation in the template literals example is not right.
See attached screenshot.
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/create-strings-using-template-literals
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: 67.0.3396.87
Operating System: Windows 10

If possible, add a screenshot here

Same MathJax problem as #17620 .
I can try to fix these issues once I get a confirmation on which files to change.

Same MathJax problem as #17620 .
I can try to fix these issues once I get a confirmation on which files to change.


Module addons.js not found when running Storybook

I am migrating a React Native project from 0.55.4 to 0.57.2 and because of Babel 7 I need to migrate to Storybook 4 too. I changed the dependencies in package.json but when I run npm run storybook it fails because it can't resolve addons.js module.
Here is the full output when I run Storybook :
><EMAIL_ADDRESS>storybook /Users/olivierthierry/pro/react-native-socle
> storybook start -p 7007

=> Loading custom .babelrc from project directory.
=> Using default webpack setup based on "Create React App".
Scanning folders for symlinks in /Users/olivierthierry/pro/react-native-socle/node_modules (37ms)

React Native Storybook started on => http://localhost:7007/

webpack building...
webpack built 58432ddeadb374ff8077 in 6852ms
✖ ｢wdm｣: Hash: 58432ddeadb374ff8077
Version: webpack 4.20.2
Time: 6852ms
Built at: 2018-10-06 21:27:39
                   Asset       Size   Chunks             Chunk Names
static/manager.bundle.js   6.22 MiB  manager             manager
              index.html  997 bytes           [emitted]
Entrypoint manager = static/manager.bundle.js
<EMAIL_ADDRESS>596 bytes {manager}
<EMAIL_ADDRESS>145 bytes {manager}
<EMAIL_ADDRESS>623 bytes {manager}
<EMAIL_ADDRESS>343 bytes {manager}
<EMAIL_ADDRESS>4.06 KiB {manager}
<EMAIL_ADDRESS>457 bytes {manager}
<EMAIL_ADDRESS>3.96 KiB {manager}
<EMAIL_ADDRESS>707 bytes {manager}
<EMAIL_ADDRESS>253 bytes {manager}
<EMAIL_ADDRESS>2.19 KiB {manager}
<EMAIL_ADDRESS>696 bytes {manager}
<EMAIL_ADDRESS>442 bytes {manager}
<EMAIL_ADDRESS>871 bytes {manager}
[0] multi<EMAIL_ADDRESS><EMAIL_ADDRESS>40 bytes {manager}
[./node_modules/global/window.js] 232 bytes {manager}
    + 574 hidden modules

ERROR in multi<EMAIL_ADDRESS><EMAIL_ADDRESS>Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/Users/olivierthierry/pro/react-native-socle'
 @ multi<EMAIL_ADDRESS><EMAIL_ADDRESS>manager[0]
ℹ ｢wdm｣: Failed to compile.

I could not find any information about this kind of error.
My Storybook dependencies in package.json:
    "@storybook/addon-actions": "4.0.0-alpha.24",
    "@storybook/addon-storyshots": "4.0.0-alpha.24",
    "@storybook/addons": "4.0.0-alpha.24",
    "@storybook/react-native": "4.0.0-alpha.24",

I am running on Mac OSX.
Thanks for your help

It looks like it's looking for a local addons.js file, and if not finding one, it looks inside node_modules/@storybook/react-native/dist/server/
https://github.com/storybooks/storybook/blob/master/app/react-native/src/server/config.js#L94
Quick fix is just to add an empty addons.js file inside your local storybook/ directory

Thanks, it helped me ! I use Typescript so I had a addons.ts file in storybook directory. Renaming it to  addons.js made it. Anyway I think this default addons.js file, an empty one, should exist in Storybook dist files, right ?
I have other problems with missing module:metro-react-native-babel-preset, but I have to investigate further.


Can you merge with BetterJoy?

https://github.com/Davidobot/BetterJoy

Hi, thanks for the suggestion, but it seems a completely different project, with different goals and different domain (Nintendo vs X360)

It is similar, except that it maps the gyroscope to a mouse and the buttons to xbox360.


Plans for changing from Wifi-Client to AP and back?

Sometime you have to add a new Wifi SSID (holidays, Hotel, Wifi Connect for Spotify). But if you are away from your current Wifi, this gets a little problematic. So i've read about the method to set the phoniebox to an Access Point.
Are there any plans to change from Client to AP and back by Rfid Card?
Maybe you have also other ideas for that problematic?!

Hi @gizmo21
thanks for jumping in here. @splitti I never got the AP to work. The main issue I had is that it only works with "some" hardware, not all of it. This would mean that the installation would get more complicated. And some would try anyway, even though they don't have matching hardware - and then need to wipe the card, because the "uninstall" of AP is not trivial.
@gizmo21 possibly we should add your script to the web ui more visibly...?

And please make addhotspot.sh executable :) I didn't find out how to make a pull request for just a change in chmod settings yet.

@Yordan1976 - I was actually thinking about deleting it, because it does not work... I don't want people to ruin their setup with half baked ideas that I kept in the core, simply because I never expected so many people to dig through my "work in progress" ;)

Well, it works when it is executable :)
btw: welcome back!

@MiczFlor & @Yordan1976 : I guess you two are talking at cross purposes, cause this thread is "AP" and "Addhotspot.sh" together. Perhaps this thread should close and continue at each original threads.
@MiczFlor you are way better implementing a gui for the sh or integrate even the sh better as I just recycled your html of version 1.0 for the UserScripts.php
But then there is still no management for the hotspots, it's still a fire and forget thing that needs manual config editing if change or delete is needed.  That said for many people it still seems to make the deal when going to another location, so no problem for me if you move that the elsewhere in the gui. But would like to see userScripts.php still in the code there as it already has some additions on my side like youtube-dl-update.sh or other small scripts to make life easier without always needing putty.


[Problem]: unable to update adapter

Description / Beschreibung
I'm not able to update any adapter. The update works fine (exit 0), but nothing has changed.
e.g:
root@iobroker:/opt/iobroker# iob update
Used repository: beta
Adapter    "admin"        : 7.0.24   , installed 7.0.22 [Updatable]
Adapter.....

updating via cli
root@iobroker:/opt/iobroker# iob upgrade admin

This upgrade of "admin" will introduce the following changes:
==========================================================================
-> 7.0.24:
Showed min/max limits by controlling the values
Corrected style for tabs

-> 7.0.23:
only automatically open the host notification dialog if warnings are available
improved style of host notification dialog
clarified auto upgrade options selection
Corrected the link in instances, e.g., for vis-2
Corrected the connection information in the instance tab
==========================================================================

Would you like to upgrade admin from @7.0.22 to @7.0.24 now? [(y)es, (n)o]: y
Update admin from @7.0.22 to @7.0.24
NPM version: 10.8.1
Installing<EMAIL_ADDRESS>(System call)
....
upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5

root@iobroker:/opt/iobroker# more /opt/iobroker/node_modules/iobroker.admin/package.json
{
  "name": "iobroker.admin",
  "description": "The adapter opens a webserver for the ioBroker admin UI.",
  "version": "**7.0.22**",
  "contributors": [

and still:
root@iobroker:/opt/iobroker# iob update
Used repository: beta
Adapter    "admin"        : 7.0.24   , installed 7.0.22 [Updatable]
...

updating via admin also doesn't work

Image version
v10.0.0
Docker logs / Docker Protokoll
--------------------------------------------------------------------------------
-------------------------     2024-08-19 10:21:54      -------------------------
--------------------------------------------------------------------------------
-----                                                                      -----
----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
-----                                                                      -----
-----              Welcome to your ioBroker Docker container!              -----
-----                    Startupscript is now running!                     -----
-----                          Please be patient!                          -----
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-----                          System Information                          -----
-----                    arch:                x86_64                       -----
-----                    hostname:            iobroker.wyse                -----
-----                                                                      -----
-----                          Version Information                         -----
-----                    image:               v10.0.0                      -----
-----                    build:               2024-08-14T06:18:29+00:00    -----
-----                    node:                v20.16.0                     -----
-----                    npm:                 10.8.1                       -----
-----                                                                      -----
-----                        Environment Variables                         -----
-----                    IOB_ADMINPORT:       8081                         -----
-----                    AVAHI:               false                        -----
-----                    IOB_MULTIHOST:       slave                        -----
-----                    IOB_OBJECTSDB_TYPE:  redis                        -----
-----                    IOB_OBJECTSDB_HOST:  <IP_ADDRESS>              -----
-----                    IOB_OBJECTSDB_PORT:  6379                         -----
-----                    IOB_STATESDB_TYPE:   redis                        -----
-----                    IOB_STATESDB_HOST:   <IP_ADDRESS>              -----
-----                    IOB_STATESDB_PORT:   6379                         -----
-----                    PACKAGES:            nano                         -----
-----                    SETGID:              119                          -----
-----                    SETUID:              1000                         -----
-----                    USBDEVICES:          /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0;/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d85af9ff5729ec11806a6c7840c9ce8d-if00-port0 -----
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-----                   Step 1 of 5: Preparing Container                   -----
--------------------------------------------------------------------------------

This is not the first run of this container. Skipping first run preparation.

SETUID and/ or SETGID are set to custom values.
Changing UID to "1000" and GID to "119"... usermod: no changes
Done.

--------------------------------------------------------------------------------
-----             Step 2 of 5: Detecting ioBroker Installation             -----
--------------------------------------------------------------------------------

Existing installation of ioBroker detected in "/opt/iobroker".

--------------------------------------------------------------------------------
-----             Step 3 of 5: Checking ioBroker Installation              -----
--------------------------------------------------------------------------------

(Re)setting permissions (This might take a while! Please be patient!)... Done.

IOB_MULTIHOST is available and set to "slave".
Done.

Configuring objects db connection...
IOB_OBJECTSDB_TYPE is available and value meets detected ioBroker installation.
IOB_OBJECTSDB_HOST is available and value meets detected ioBroker installation.
IOB_OBJECTSDB_PORT is available and value meets detected ioBroker installation.
Done.

Configuring states db connection...
IOB_STATESDB_TYPE is available and value meets detected ioBroker installation.
IOB_STATESDB_HOST is available and value meets detected ioBroker installation.
IOB_STATESDB_PORT is available and value meets detected ioBroker installation.
Done.

Checking database connection... Done.

IOB_MULTIHOST is set to "slave". Hostname check will be skipped.

--------------------------------------------------------------------------------
-----                Step 4 of 5: Applying Special Settings                -----
--------------------------------------------------------------------------------

Some adapters have special requirements/ settings which can be activated by the use of environment variables.
For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs/).

USBDEVICES is set.
Setting permissions for "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"... Done.
Setting permissions for "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d85af9ff5729ec11806a6c7840c9ce8d-if00-port0"... Done.

--------------------------------------------------------------------------------
-----                    Step 5 of 5: ioBroker Startup                     -----
--------------------------------------------------------------------------------

Starting ioBroker...

##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
================================== > LOG REDIRECT system.adapter.admin.0 => true [starting]
host.iobroker.wyse check instance "system.adapter.admin.2" for host "iobroker.wyse"
host.iobroker.wyse check instance "system.adapter.admin.0" for host "iobroker"
....

iob m upgrade also doesn't work, btw

As you have a multihost system, the admin should, as far as I know, only be installed on the master. Updates are then triggered by the Admin of the master, also on the slave.

As Marc said. There is no need to update/ upgrade or run any other command on a slave as the slave is fully managed by the master. There is also no need to run an admin instance on a slave.
Regards,
André

Did you try updating via admin on master? Cannot reproduce that.
Another thing might cause problems is when you are root. Please do not apply any iob command as root!


[Bug]: Python file icon remains default with the plugin

Your Environment
PyCharm 2024.1 (Community Edition)
Build #PY-241.14494.241, built on March 28, 2024
Licensed to Zi
Subscription is active until April 19, 2025.
For educational use only.
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:

ide.experimental.ui=true

Non-Bundled Plugins:

io.unthrottled.doki.icons (88.5-1.2.0)
com.github.catppuccin.jetbrains (3.2.3)
izhangzhihao.rainbow.brackets.lite (1.1.0)

How to reproduce.
Step One: Open Project with
Step Two: Create Python file (.py)
The python file keeps its default colors

What is expected?
Previously, the python logo would change and it matched with the rest of the icons. After this update, it no longer does this and keeps the default icon. How it looks like loaded up on ver. 2023.3.5:

It looks like a potentially similar issue came up for catppuccin theme, related to this JetBrains bug (PY-44417), and was addressed in catppuccin/jetbrains-icons#26 by adding and registering a ProjectViewNodeDecorator, so maybe something similar could be used here. Although probably for a few more files than just ones named .py, like .pyx as well.


where should WebGL shaders live?

They currently live in scenery/js/display/shaders.  It seems odd that they're under the js (JavaScript) directory.  Since they are written in GLSL, how about scenery/js/glsl? Or (less ideal) scenery/js/shaders?

Some shaders also live in scenery/js/display/webgl.

I don't recall the background or reasons, but I'd guess there are issues using require.js for paths not under /js/?

If they have to be under js/, then how about js/glsl/ ?

I don't particularly mind js/glsl/, however conceptually they fit well under "display", since they are something clients shouldn't have to worry about AND are used for display.

js/display/webgl/glsl/ ?

I removed the scenery/js/display/shaders in the above commit since they were no longer used.  The remaining webgl module shaders live in scenery/js/display/webgl with the convention that each draw call has a specific Renderer + BufferData + fragmentShader + vertexShader.  They are all in the same directory even though they are in different languages because this alphabetically clusters related files together based on their naming conventions.

With the above commit, the conventions for both draw types are consistent:
colorTriangle.frag
colorTriangle.vert
ColorTriangleBufferData.js
ColorTriangleRenderer.js
and
texture.frag
texture.vert
TextureBufferData.js
TextureRenderer.js
This looks like a good organization to me, reassigning to @pixelzoom for discussion.


A0-1613 Improving Connections

Description
Changing interfaces of Connection etc. :

Introduce AsConnection trait for casting to Connection/Client
Introduce ConnectionExt trait to enable using added methods not only for Connection, but also for SignedConnection and RootConnection
Change a way in which Connection is constructed
Construct Connection from &str
Hide fields

Type of change

Refactor

Checklist:

[x] I have bumped aleph-client version

Why the custom AsConnection instead of From<_>?

Why the custom AsConnection instead of From<_>?

Didn't want to wrap the Client + I think it's more transparent

I'm doing a pretty substantial changes right now, so you might want to wait a bit with reviewing


New parsing engine

Note: still a wip (and highly experimental)

I'm trying to improve performances. Instead of using xpath to browse te document every time the user needs to access a node, I chose to visit the resulting tree starting from the root node (html tag) and populate a map of internal pointers to easly access those node.
I'm using te following code to test the performances:
require "crystagiri"

Crystagiri::HTML.experimental = false
t = Time.now
# doc = Crystagiri::HTML.from_url "https://www.google.com"
doc = Crystagiri::HTML.from_file "./index.html"
# doc = Crystagiri::HTML.from_file "./HTML.html"
1..100000.times do
    doc.at_tag("div")
    doc.where_class("step-title") { |tag| tag }
end
puts "executed in #{Time.now - t} milliseconds"

Crystagiri::HTML.experimental = true
t = Time.now
# doc = Crystagiri::HTML.from_url "https://www.google.com"
doc = Crystagiri::HTML.from_file "./index.html"
# doc = Crystagiri::HTML.from_file "./HTML.html"
1..100000.times do
  doc.at_tag("div")
  doc.where_class("step-title") { |tag| tag }
end
puts "executed with experimental code in #{Time.now - t} milliseconds"

having the following results:
crystagiri_test ❯ crystal test.cr
executed in 00:00:56.401452000 milliseconds
executed with experimental code in 00:00:00.085011000 milliseconds

crystagiri_test ❯ crystal test.cr
executed in 00:00:06.580082000 milliseconds
executed with experimental code in 00:00:00.119495000 milliseconds

The file HTML.html is simply the one in spec/fixture/HTML.html. index.html is this file
It seems a good performance improvements, but I'm still working on it. Anyway, any ideas, suggestions or feedback of every king are welcome.

It seem a good idea! But in my mind this method is faster when you make many search on the same document but is it faster when you make on simple search?
I think you should make deeper test because Html#visit visit the whole document and performance may be worse for big documents...

I think you should make deeper test because Html#visit visit the whole document and performance may be worse for big documents...

Yes, I'd like to have a more robust structure first, then I'll look for some big docs to parse (any help is welcome).
The use case I'm thinking about is the one in which the user needs this library to extract several data from the document. Instead of visiting it every single time data need to be extracted I think that visit the whole tree at the beginning may be a good tradeoff, as the subsequent access will be much faster, as we already have a bunch of pointers to some nodes inside the doc. Keep in mind that when extracting data the underlying documents must not change, so basically there's no need to browse it every time.

@madeindjs I've wrote a little benchmark for testing the new code's performances, you can find it in the benchmark folder. I've counted only computational time (download times are not taken in account). It seems that the parsing is indeed a bit longer, but as every access time is drastically reduced, the overall computing time is quite shorter.
Here's my last run of the benchmark (time is expressed in ms):
benchmark git:experimental/better-engine ❯ crystal tree_visti_vs_xpath.cr                                                                                Running on https://www.quirksmode.org/html5/tests/video.html
*|..........*|..........
method  |  total time | parse time
========+=============+============
xpath   |  22685.673   |  1.921
--------+-------------+------------
exper.  |   148.412   |  1.484
~~~~~~~~~~~~~~~
Running on http://www.8164.org/the-big-table-issue/
*|..........*|..........
method  |  total time | parse time
========+=============+============
xpath   |  97709.436   |  2.55
--------+-------------+------------
exper.  |   785.565   |  3.861
~~~~~~~~~~~~~~~
Running on https://lawsofux.com/
*|..........*|..........
method  |  total time | parse time
========+=============+============
xpath   |  162025.837   |  4.871
--------+-------------+------------
exper.  |   175.667   |  9.446
~~~~~~~~~~~~~~~
Running on https://www.youtube.com/
*|..........*|..........
method  |  total time | parse time
========+=============+============
xpath   |  4222152.497   |  19.293
--------+-------------+------------
exper.  |   8095.195   |  72.428
~~~~~~~~~~~~~~~

Test ran on 4 links.
Time with xpath method: 4504573.443 ms with 28.634999999999998 ms needed for parsing.
Time with experimental method: 9204.839 ms with 87.219 ms needed for parsing.

This is really impressive. I made some tests using your script and I draw this graph:

Also note you should build you file with --release flag before to run benchmark (but I had sames results..)

So I think the best option is remove old comportment and rewrite with your own. Then publish this version with an alpha flag and wait a moment to see I there are no problem with a more complicated case..
What do you think about it?

Sounds good to me. I'll keep the HTML#css method because the new code is lacking a css selectors parser (we'll work on it).
Ok then, I'll clean the code, remove the benchmark. write some docstrings for internal docs. I'll try to push a git history as clean as possible.

The pr is now ready, you can review it. Keep in mind that also the README.md must be updated to show the excetution time of the current code instead the old one (don't user HTML#css and HTML#at_css for comparison because they still use old code)

Published on v0.4.0-alpha, thanks a lot!


Per priviledge-mode debug control

Open this ticket to track potential need for per privilege control for external debug / trace

@AoteJin can you update your discussion with Penlai guys

Penglai team claim that their architecture does not requirement per privilege-mode debug control. They could accommodate current proposal by:

Enhance the secure monitor to context switch strictly on submachine boundary (which aligns with their roadmap as well)
Add supervisor RT layer for debug of u-mode only partition

Add supervisor RT layer for debug of u-mode only partition

Hi, What if CPU only implements M+U without S-mode?

Hello @AoteJin
Would you like to explain what per privilege-mode debug control means ?
I might miss the discussion in previous TG meeting.

Hello @AoteJin Would you like to explain what per privilege-mode debug control means ? I might miss the discussion in previous TG meeting.

I would love to. The external debug security proposal has two level control: machine (from RoT) and submachine (by M-mode CSR).

What if CPU only implements M+U without S-mode?

In an implementation without S-mode, these two controls are enough to separately manage debuggability of M and U.
This issue to discuss the case that an implementation has privilege levels more than M/U (e.g. M/S/U) and machine mode launches directly to U-mode. This might be a problem because submachine mode control does not differentiate S/U and results in privilege escalation in terms external debug.

What if CPU only implements M+U without S-mode?

In an implementation without S-mode, these two controls are enough to separately manage debuggability of M and U.

Yes, U-mode external debug can be managed by sdbgen, in M+U system. Thanks!

This issue is to discuss the case that an implementation has privilege levels more than M/U (e.g. M/S/U) and machine mode launches directly to U-mode. This might be a problem because submachine mode control does not differentiate S/U and results in privilege escalation in terms external debug.

What the privilege escalation is here?
Do you mean U-mode could read S-mode CSR or memory (e.g., satp, stvec) ?
Because maximum debug privilege is S-mode when mdbgen=0 and sdbgen=1

What the privilege escalation is here?
Do you mean debugger could read S-mode CSR or memory (e.g., satp, stvec) ?
Because maximum debug privilege is S-mode when mdbgen=0 and sdbgen=1

Yes, this is exactly the concern.

Another problem is dcsr.PRV ?
U-mode debugger can write  dcsr.PRV as S-mode (Because maximum debug privilege is S-mode) and dret to S-mode, am I correct?

Hmm.. The hart knows the previous privilege mode (i.e., U-mode) when the hart enters Debug Mode.
In external debug spec section 3.4.1 says:

It will generate a security fault error (cmderr 6) if the external debugger attempts to
configure prv and v with a privilege higher than the maximum debug privilege level.

Maybe it can changed to:
It will generate a security fault error (cmderr 6) if the external debugger attempts to
configure prv and v with a privilege higher than the "previous" privilege level.

I mean, when external debugger executing abstract commands to read/write CSR, memory, hart can check both maximum debug access privilege and "previous" privilege level.
For example, dcsr.PRV can not be configured to S-mode if previous privilege level is U-mode.

This is not directly related to this ticket. If you have concern on it, would better to discuss it on a separate issue.
The reason not checking against previous privilege is that the subM debugger might stop on U-mode and it will need  higher privilege "view" to debug the U-mode, e.g. VA->PA mapping etc. We do not want to break this use case.

Closing. Based on the information TG has as of today, we do not see a need to have fine grain control.


We can add a check to test/itemsCoverage.js to ensure that every item has an alias that is less than 10 characters.

Check added in 1f849d334b42a54e9e23e1d8d1b587d489c908ea, prismarine aliases added in e0bc29669f94a5d662725005cdc6d30b23d47b6e.


use relative path to point to bundled toolchain instead

FreedomStudio comes with a  bundled installation of the riscv cross compiler tools.
However our project had a hardcoded path to said bundled toolchain.
Updated to relative point to IDEs bundled toolchain

FYI:
The setting change was made through the IDE, instead of XML


Typo in Global Flags

As seen in screenshot, the default .... is repeated twice for the cache flag.

Thank


Added PX4 and Qgroundcontrol

Signed-off-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>
Download and install PX4
Download and install QGroundcontrol

ros2 launch px4_sim x500_launch.py

I'm compiling from source


added optional 'tool_choice' argument to openai function calling and …

…tool calling agents
Thank you for contributing to LangChain!

[ ] PR message:

Description: enable using tool_choice or function_call with create_openai_tool_calling_agent and create_openai_function_calling_agent, respectively

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

Can you clarify the use-case for this? A snippet demonstrating its intended use would be helpful.
A common flow for agents (e.g., via AgentExecutor) is for tool execution to loop until no tool calls are generated. If we force tool calling then the agent loop won't naturally terminate.

Can you clarify the use-case for this? A snippet demonstrating its intended use would be helpful.
A common flow for agents (e.g., via AgentExecutor) is for tool execution to loop until no tool calls are generated. If we force tool calling then the agent loop won't naturally terminate.

Hi @ccurme, Thank you for your reply. I believe there are other potential use cases but let me clarify ours: Our team uses an agent to classify requests by populating the relevant arguments of a function designed to handle different request types and extract some associated properties. Here's a simplified snippet of our implementation:
from enum import Enum

class RequestType(Enum, str):
    TYPE1 = "type1"
    TYPE2 = "type2"

def func_to_choose(
    request_type: RequestType,
    first_request_property: str,
    second_request_property: str
):
    # Function logic here
    pass

In this context, the agent classifies a request into one of several potential types and extracts specific properties from the plain text of the request. OpenAI's specialization in function calling causes this method to significantly improve the agent performance for some use cases compared to the alternatives (i.e, requesting the model to answer in a similar structure without forcing a function call).

for this use case you should use with_structured_output. agents are explicitly when the llm chooses the action to take


[TUBEMQ-396] Adjust the WebXXXHandler classes implementation

Codecov Report

Merging #296 into TUBEMQ-393 will increase coverage by 0.08%.
The diff coverage is 0.00%.

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


[Additional Spectra] R. Foley repo

https://github.com/astrofoley/astr596/tree/master/data/spectra
This is a pile of spectra that needs to be sifted through. I will do this and will supply what the catalog does not already have.

This issue was moved to astrocatalogs/supernovae#3


*fix valueInputs

Thank you for submitting a pull request! Please provide the following information for code review:
Pull Request Summary
fix deltann serving valueInputs
Test Plan
None

need #228


Support for restricted documents and items

Handle _access on documents/items

Unfortunately the development introduced a bug:
    if not permission_factory(record=record).can():
TypeError: __init__() takes exactly 3 arguments (2 given)

invenio-records-rest is calling the new class RecordPermission the can method but passing the record as param. By default the _Permission base class canmethod does not have parameters.
Also notice that invenio-records-rest does not pass the action name, so the RecordPermission should be changed to have a can method accepting the record param and not define one "method/class" per action.


CI workflow to notify API Docs automation (gdnative)

Equivalent of https://github.com/godot-rust/gdext/pull/259.

Are we certain that it's OK for the PAT to be publicly available? Personally I would rather play it safe and provide it as a environment secret instead, even if it's scoped and restricted appropriately. At the very least it can still be exploited to perform DoS on the doc generation if I understand this correctly, I suppose?

I had a private token first, however the problem is that workflows triggered by pull requests cannot access repository secrets (for good reasons). So it would only work for pull requests opened by maintainers, or for the master branch itself.
I saw the following options:

Use the pull_request_target instead of pull_request event. This gives PRs access to repository secrets. Needless to say, this is a massive security risk.
Using a fine-grained token which only has access to very specific permissions on very specific repositories.
Instead of triggering workflows from pull requests, have a scheduled job on the website that continuously scans open PRs for updates. While the most secure, it comes with lots of extra latency and state management to detect changes.

This PR would go for option 2. The PAT is a fine-grained token that does not even allow access to the website repo, but only an intermediate repo (dispatch-forwarder). That repo validates the request and forwards it if possible. A DoS attack would either hit our free CI compute limit, or could be countered by disabling GitHub Actions for that repo. It's definitely a risk, but at the same time there can be similar DoS attacks by creating thousands of issues, pull requests or comments on our main repos.
I would definitely not have done this with a Classic PAT, allowing wide-range access to repo permissions. Since the damage is limited to that one repo, I consider it justifiable. In an ideal world, instead of the forwarder repo, we'd have a rate-limited REST API with cheap compute costs but tons of resources. For now, if people think they need to abuse our infrastructure, then we may need to decide we can't have nice things and limit docs to master only.

One thing I was also looking into are environment secrets, but I couldn't find a way to restrict a workflow reliably to a certain environment.
The issue was that the environment is specified in the workflow file itself, meaning someone opening a pull request can easily just change that to "escape it". Maybe I was missing some concept here, but it didn't look to me like environments can be used as "security groups" to restrict external access.

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdnative/pr-1047

I see. Thanks for the insights! I agree that given the context, this is a justifiable risk to take. This might be the first time I've seen dedicated repos being used for message passing, but it sounds very reasonable and should be effective at limiting damage in case someone found a way to exploit the tokens.

bors r+


[Bug] Misaligned menus

Describe the Bug

All plugins that add in expanded menus are broken, it generates them on hover over like an inch from the menu, so that when you move the mouse over to them it closes
To Reproduce

Step 1: Install discord, install Bandage BD, add a plugin like EditUsers, or SpellCheck, and try and right click on something (With EditUsers a user, with SpellCheck something in red) and then hover on that menu. [I can reproduce this on fresh installs] This is a 64 bit Windows 7 PC.
Expected Behavior

I expect it to work like all other right click hover over menus that show up on discord.
Screenshots

Will do so later if needed
Discord Version

Stable
Additional Context

This just started happening today.

What you're describing is an issue with the plugins themselves, not BandagedBD.

But this is an issue that only pop'ed up with the latest version of BandagedBD, nothing about Spell checker has been changed in the like 5 mouths, and it's menu is broke, and nothing else.

The bug was likely introduced by an update to Discord, not BandagedBD. There is absolutely nothing in BandagedBD that would cause this.


Update conf.py copyright year

Updated 2022 -> 2023
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Screenshots
Please attach before and after screenshots of the change if applicable.

Checklist:

[ ] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

The copyright year should be the year we took over the project rather than the current year to my knowledge therefore closing


Update http4s-client, http4s-core, ... to 0.21.32

Updates

org.http4s:http4s-client
org.http4s:http4s-core
org.http4s:http4s-dsl

from 0.21.31 to 0.21.32.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Codecov Report

Merging #183 (b460270) into master (1e0bc28) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   98.27%   98.27%
=======================================
  Files           1        1
  Lines          58       58
  Branches        2        2
=======================================
  Hits           57       57
  Misses          1        1

Continue to review full report at Codecov.

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

Superseded by #186.


Made validate function in the NavigationRoute decoratable

Added the possibility to decorate the navigation route validate Sales Channel ids so it will be possible to add custom navigation entry points.

1. Why is this change necessary?
At this point it is not possible to decorate the NavigationRoute validate function so it won't be possible to add custom navigation entries.
2. What does this change do, exactly?
With this simple fix, it will be possible to decorate the getValidSalesChannelIds function where you can return the custom navigation id's and don't need to copy/paste the complete class in your plugin/theme.
3. Describe each step to reproduce the issue or behaviour.

Create a custom navigation entry point.
Notice the Category "X" not found exception in the menu.
Try to decorate the NavigationRoute to add your custom navigation id to the validate function.

4. Please link to the relevant issues (if any).
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


More logs in nhost dev during check images?

Is your feature request related to a problem? Please describe.
Pulling images in nhost dev takes a long time depending on connection speed. Unless you know images are being pulled and know to monitor docker images, you don't really know what's going on.
Describe the solution you'd like
The CLI could log info/progress as images are pulled.
Describe alternatives you've considered
I haven't considered other alternatives
Additional context
First time nhost CLI user. Platform seems perfect. Can't wait to dig in.

Actually the -d debug switch provides a good amount of information, in my opinion anyway! Not noisy, all relevant stuff.

Yes running nhost up -d (in debug mode) works well.


[REVIEW] Fix/protobuff dependency

not a go developer so taking a punt here

Hmm no... built fine on first try with correct protobuff (no errors)
built again  now back to
[12:21:55] ross:wurkflow-envs git:(master) $ ENVIRONMENT=staging make
Error: loading generator plugins: plugin /root/.config/kustomize/plugin/kustomize-sops/v1/sopssecret/SopsSecret fails to load: plugin.Open("/root/.config/kustomize/plugin/kustomize-sops/v1/sopssecret/SopsSecret"): plugin was built with a different version of package github.com/golang/protobuf/proto
make: *** [generate] Error 1


[Feature] when multiple data source feature is enabled,  allow customer to connect with a data source when import saved objects from uploading files

Describe the blog post your would like to write
When multiple data source feature is enabled, user can add sample data and use the dev tool with one connected data source. Import saved objects accepts uploaded files, but the API does not know the data source. These objects cannot display correctly since the it does not know where to fetch the data.
We want to provide user the ability to specify a data source when importing saved objects. When user import saved object without any data source information, the imported saved objects will attach the specified dataSourceId with the objectId; while user import saved objects different data source information ( e.g. user can connect with dataSource1 and some exported saved objects from dataSource2 ), then the objectId would already contains data source info ( dataSource2 ), for this case, we will replace the dataSourceId. The id schema are exactly same as when user add sample data and dev tools with multiple data source enabled. The behavior will keep consistent for users.
What is the title of the blog post?
Support Multiple Data Source when import saved objects
Who are the authors?
Huan Jiang, Lu Yu, Emma Jin
What is the proposed posting date?
This feature will be out with 2.12 release,  according to the calendar, the release window will be close by Feb 20, we need to publish it before that

Who are the authors?
Huan Jiang, Lu Yu, Emma Jin

Thanks team for the contribution, i could not take the credit, please remove my name :)


Set line-height in .mat-button-wrapper to initial

This centers the content in the button. Setting the line-height to a specific value makes the span slightly bigger than the content, making the content off-center. You can see this by putting a round icon into the button:
<button mat-mini-fab>
    <mat-icon>info</mat-icon>
</button>

The .mat-button-wrapper has a height of 25.1px in this case, and the icon is slightly below the center line

Thanks for this pull request. Unfortunately this style change will fail many thousands of internal screenshot tests and we won't be unable to make the change. Additionally, we are beginning the work to deprecate this button in favor of the new MDC-based button.


refactor(backend): mysql版本升级参数适配

关联研发信息
dev_branch: refactor/adapt-upgrade-mysql-param/#5496
target_branch: v1.4.0


Can't Query Any Tables in Postgres 9.1.4 Database

I am getting this error every time I right click a table in my Postgres 9.1.4 database and try to run a SELECT query.

This is only happening in my Postgres 9.1.4 database.  I have other Postgres databases which are running a newer version that work fine when I right click a table and run a query.
Please help.

I copied one of the databases in the 9.1.4 database into a newer version of Postgres that is running on a different port.  I am not getting the error there.  I am also not getting any errors in pgAdmin when I run a query on the 9.1.4 database.
So it's something to do with OmniDB and Postgres 9.1.4 not getting along.

Ugh! Please consider updating! 9.1 is EOL for over 3 years now.
A lot of the ACL stuff changed between 9.0 (where a lot was new) and 9.4.
I can't point my finger to the specific version without looking it up, but it might very well include the acldefault function we have today (I obviously don't have a 9.1 running anymore, so I can't check).
All the best
pgaro

Thanks for responding.  Unfortunately, it's not up to me when we will update our Postgres on that port, as we have multiple clients using that version.  However, I will pass along that we should upgrade everyone to a newer Postgres version.  Thanks for your help.


SIKE: question

The specification for SIKE (http://www.sike.org/files/SIDH-spec.pdf) says that values for cSHAKE256 customization bit strings are F=2, G=0 and H=1.
In this implementation, those values (called P,G,H) are encoded on 16 bits, which means that value of let say H customization byte-string will be {0x01, 0x00}.
See here: https://github.com/Microsoft/PQCrypto-SIDH/blob/e5b378378d0f316ed0f602189dfd7f16d3021148/src/sha3/fips202.c#L442
Any idea why it was done that way?
The problem with this is that value of cSHAKE digest depends on length of the byte string, so it maybe would be good to improve spec or change code (and then KATs)

This is going to be changed soon.


fix the empty state of diagnosis

This merge request fix empty phase of diagnosis problem. It happened when diagnosis cannot determine the node to be scheduled since podReference is specified incorrectly. #168

lgtm


Investigate IntelliJ connector

Not closing this because we would not love someone contributing this, but to keep the clutter down on the tracker. If you want to work on this by all means please do!


feat(v2): add TOC to markdown pages

Motivation
Add TOC feature parity to all markdown pages (docs, blog and pages)
Low hanging fruit, requested by @Simek for ReactNative website.

Can be seen here: https://deploy-preview-3529--docusaurus-2.netlify.app/classic/examples/markdownPageExample


Assets export/import bug with volumes and volumefolders (Craft 3)

Hiya,
Found a bug with exporting/importing assets. When you create an asset field, one of the attributes is the 'folder' setting, for example 'folder:3'. The ID of that folder references a row in the 'volumefolders' table and the volume folder has a volume ID pointing to the volume table.
Lets assume I have 2 volumes:
volumes table

ID | Name | Handle
------------------
1  | Home | home
2  | Blog | blog

I now create 3 asset fields; one will be stored in 'home', one will be stored in 'blog', and the last one will be stored in 'home' with subfolder 'header'. Craft now creates an extra volumefolder row, where the new one is volume home with folder 'header':
volumefolders table

ID | Volume ID | Name        | Path
-------------------------------------
1  | 1         | Home        |
2  | 2         | Blog        |
3  | 1         | home_header | header

The issue
When you now run a schematic export, schematic will throw a warning saying 'No mapping found for source folder:3' and an import will set the  defaultUploadLocationSource to null, which will break the field.
Schematic will look for a volume with ID 3, but there isn't one, there's only a volumefolder with ID 3. Now there isn't any issue as long as the volumefolders and volumes have exactly the same ID's, but as soon as you create more folders or the ID's don't match anymore (for example volumefolder 'home' has ID 2, but volume 'home' has ID 3) this will mess up the assets/database.
This will happen often, especially with bigger websites, so this is a major bug I guess.
Possible fix
We noticed that the ElementIndexMapper converts IDs to handles and back, probably for readability in the schema.yml file?
The Assets converter (Converters/Fields/Assets.php) goes from ID to handle on export and from handle to ID on import, problem is though: only volumes have handles and volumefolders don't.
So... going from handle to ID and viceversa isn't possible here? It looks at the volume handle and tries to store the volume ID instead of the volumefolder ID. Once we change the Assets converter to go from ID to ID, ~it's fixed~ (see comment below).

Now, we aren't sure if this is the best way of fixing this. It's probably better that you guys look at this, because you know schematic inside out ;)
Thanks!

An update: seems that from ID to ID isn't the fix.. it still uses the volume ID, instead of the volumefolder ID, resulting in the same errors:
No mapping found for source folder:9
No mapping found for source folder:6

And the defaultUploadLocationSource of the field will be set to null which will break the field or set it to the first volume it can find

Found the fix? It also needs this in Behaviors\SourcesBehavior.php
case 'folder':
    $service = Craft::$app->assets;
    $method = 'getFolderBy';
    break;

And from ID to ID on both export and import in Converters\Fields\Assets.php

Thanks for looking into this.
Ideally we don't want any id's in the schema because this can differ between environments.

This bug also pops up when using a remote folder (AWS S3).

Is there any ETA on this?
We have the same situation where our volumeID doesn't correspond with the ID of the folder. Craft has created a temporary source which breaks the ID coupling. Our volume has ID 5, folder has ID 10. We get No mapping found for source, in both export and import.

Nice, thank you!

Thanks @bvangennep!


Is the disabled attribute of a finder required

Is the disabled attribute now required for all finders?  I'm testing the IronDB plugin and Graphite is failing here:
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/graphite/webapp/graphite/metrics/views.py", line 165, in find_view
    matches = list( STORE.find(query, fromTime, untilTime, local=local_only, headers=forward_headers) )
  File "/opt/graphite/webapp/graphite/storage.py", line 81, in find
    for match in self.find_all(query):
  File "/opt/graphite/webapp/graphite/storage.py", line 108, in find_all
    if getattr(finder, 'disabled'):
AttributeError: 'IronDBFinder' object has no attribute 'disabled'

which is this line: https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/storage.py#L108
And from this commit: https://github.com/graphite-project/graphite-web/commit/2b99573555ff5d1b066b57ef563838235a457769

See #2062