'pip install netpyne' causing matplotlib backend error on mac os x

Describe the Bug
Netpyne installation using 'pip install netpyne' on Mac OS 10.15.4 (Catalina) leads to a matplotlib backend error that prevents "sim" from being properly imported from netpyne (can still do 'from netpyne import specs' -- error is restricted to 'from netpyne import sim'). Additionally, after netpyne install from pip install netpyne, 'import matplotlib.pyplot as plot' results in a new but similar error -- however 'import matplotlib' still works.
 RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to
 function correctly if Python is not installed as a framework. See the Python documentation for
 more information on installing Python as a framework on Mac OS X. Please either reinstall
 Python as a framework, or try one of the other backends. If you are using (Ana)Conda please
 install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib
 on OSX' in the Matplotlib FAQ for more information.

Reproducing the bug

On a mac (with no version of anaconda, neuron, or netpyne installed), install anaconda (graphical installer for python 3.7). Install neuron 7.7 from neuron.yale.edu. Verify both are working. [*At this point, should still be able to do: from matplotlib import pyplot as plt]

Install netpyne from command line using 'pip install netpyne' (output attached -- appears that versions of matplotlib and pandas are uninstalled)

>>> pip install netpyne
Collecting netpyne
  Using cached netpyne-0.9.6-py2.py3-none-any.whl (262 kB)
Requirement already satisfied: numpy in ./opt/anaconda3/lib/python3.7/site-packages (from netpyne) (1.18.1)
Requirement already satisfied: scipy in ./opt/anaconda3/lib/python3.7/site-packages (from netpyne) (1.4.1)
Collecting matplotlib-scalebar
  Using cached matplotlib_scalebar-0.6.2-py2.py3-none-any.whl (15 kB)
Collecting matplotlib<=2.2.4,>2.2
  Using cached matplotlib-2.2.4-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (14.0 MB)
Requirement already satisfied: future in ./opt/anaconda3/lib/python3.7/site-packages (from netpyne) (0.18.2)
Collecting pandas==0.23.4
  Using cached pandas-0.23.4-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (14.4 MB)
Requirement already satisfied: python-dateutil>=2.1 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (2.8.1)
Requirement already satisfied: cycler>=0.10 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (1.1.0)
Requirement already satisfied: pytz in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (2019.3)
Requirement already satisfied: six>=1.10 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (1.14.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./opt/anaconda3/lib/python3.7/site-packages (from matplotlib<=2.2.4,>2.2->netpyne) (2.4.6)
Requirement already satisfied: setuptools in ./opt/anaconda3/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib<=2.2.4,>2.2->netpyne) (46.0.0.post20200309)
Installing collected packages: matplotlib, matplotlib-scalebar, pandas, netpyne
  Attempting uninstall: matplotlib
    Found existing installation: matplotlib 3.1.3
    Uninstalling matplotlib-3.1.3:
      Successfully uninstalled matplotlib-3.1.3
  Attempting uninstall: pandas
    Found existing installation: pandas 1.0.1
    Uninstalling pandas-1.0.1:
      Successfully uninstalled pandas-1.0.1
Successfully installed matplotlib-2.2.4 matplotlib-scalebar-0.6.2 netpyne-0.9.6 pandas-0.23.4

At this point, "from netpyne import sim" does not work:

>>> from netpyne import sim
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/netpyne/sim/__init__.py", line 72, in <module>
    from .. import analysis
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/netpyne/analysis/__init__.py", line 26, in <module>
    from .utils import exception, _showFigure, _saveFigData, getCellsInclude, getCellsIncludeTags, _roundFigures, \
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/netpyne/analysis/utils.py", line 31, in <module>
    import matplotlib.pyplot as plt
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/backends/__init__.py", line 63, in pylab_setup
    [backend_name], 0)
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_macosx.py", line 17, in <module>
    from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to
function correctly if Python is not installed as a framework. See the Python documentation for
more information on installing Python as a framework on Mac OS X. Please either reinstall Python
as a framework, or try one of the other backends. If you are using (Ana)Conda please install
python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in
the Matplotlib FAQ for more information.

"from matplotlib import pyplot as plt" also does not work now. See error below. (Uninstalling and then re-installing anaconda worked to solve the error, but error re-appears after pip install netpyne.)

>>> from matplotlib import pyplot as plt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/backends/__init__.py", line 63, in pylab_setup
    [backend_name], 0)
  File "/Users/daviddonofrio/opt/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_macosx.py", line 17, in <module>
    from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to
function correctly if Python is not installed as a framework. See the Python documentation for
more information on installing Python as a framework on Mac OS X. Please either reinstall Python
as a framework, or try one of the other backends. If you are using (Ana)Conda please install
python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in
the Matplotlib FAQ for more information.

Expected Behavior
I expect to be able to import specs and sim from netpyne after installing with pip install netpyne, as well as matplotlib.pyplot.
System information

Mac OS X 10.15.4 (Catalina)
NEURON version:  VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
NetPyNE version: 0.9.6
Python version: 3.7.6

Additional context
Other users have run into this error. One other user (mac os x mojave, python 3.7, neuron 7.7) had these same errors when installing then using netpyne in both spyder and from the command line, but after uninstalling and reinstalling a broken neuron installation, they were able to run these commands without an issue, but only in their terminal (spyder still generates the same errors).

Solution
Change the default backend being used by matplotlib from macosx to TkAgg.

Steps

Test if this solution will work:

import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

If no errors result, then matplotlib can use TkAgg backend.

2. Find matplotlibrc startup script:
import matplotlib
print(matplotlib.matplotlib_fname())

This will show the path to the matplotlibrc file, probably something similar to:
path/to/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/matplotlibrc

3. Edit this matplotlibrc file. Change the line
backend      : macosx

to
backend      : TkAgg

4. Test change in python:
import matplotlib.pyplot as plt

should no longer give any errors.
And
from netpyne import sim

should work as well.

Seems the issue may be that netpyne is only compatible with matplotlib up to version 2.2.4. Anaconda install (using graphical installer for python 3.7 for mac os x) now by default installs matplotlib v3.x. It appears (see output of 'pip install netpyne' above) that netpyne may uninstall the newer version of matplotlib and re-install the older 2.2.4 version, potentially in a way that makes it difficult to access in anaconda. So, if anaconda was installed on your system before this matplotlib upgrade, you may not run into this issue, but if you have installed it recently, the fix describe above (or something similar) should hopefully provide a reasonable bandaid.


feat: parse new featureflagconfiguration CRD structure

This PR
Parses the featureflagconfiguration CRD structure changes (more detail here).
Related Issues

Fixes #204
Notes
To be release in conjunction with https://github.com/open-feature/open-feature-operator/pull/207
Follow-up Tasks

How to test

Converted to draft to ensure it's merged at the same time as the OFO component. Ready for review

The tests/linting fails because the PR needs updating to include the version of OFO that includes the CRD spec change.

Not needed


Add Lambda mainnet asset

Fix conflicts
Add Lambda mainnet asset
Pretty codes with prettier

@JeremyParish69  Please review and merge, thank you so much!

@IbrarMakaveli Hi, please view and merge, thank you so much


Use ZuulServletFilter instead of ZuulServlet

In my Spring Boot 2.0.1 / Spring Cloud Finchley.RC1 application using @EnableZuulProxy, I'd like to have some URLs handled by Spring MVC and others by Zuul, like this:
/actuator/** - > Spring Boot Actuator
/** -> Zuul
I also would like buffering to be disabled (as currently works with paths under zuul.servlet-path, which by default is /zuul) and a minimum of other things to be done before zuul to get the best performance and fewest compatibility problems (such as with large file uploads).
My initial approach was to set zuul.servlet-path=/, but then requests to /actuator/health, for example, would still get processed by zuul. Next, I also set zuul.ignored-patterns=/actuator/** but that results in a blank page being returned (status 200 with no body) - ZuulServlet ignores the request, but since it's a servlet not a filter, there's nothing else to process the request so nothing further happens (No route found for uri: /actuator/health is logged).
I don't think there is a way to do what I'm attempting to do right now.
One solution I found is to use ZuulServletFilter instead. Configure a bean like this:
@Bean
public FilterRegistrationBean<ZuulServletFilter> zuulServletFilter(){
	final FilterRegistrationBean<ZuulServletFilter> filterRegistration = new FilterRegistrationBean<>();
	filterRegistration.setFilter(new ZuulServletFilter());
	filterRegistration.setOrder(Ordered.HIGHEST_PRECEDENCE);
	filterRegistration.addInitParameter("buffer-requests", "false");
	return filterRegistration;
}

unset zuul.servlet-path  and set zuul.ignored-patterns=/actuator/** and it works as expected (requests to /actuator go to actuator, everything else is handled by the configured zuul routes).
I propose that ZuulServlet not be used, and ZuulServletFilter be used instead. I don't think there's a downside.

Maybe I am missing something, with the following configuration I was able to have Zuul route the request to /mypath correctly and also still access all the actuator endpoints.
zuul.ignored-patterns=/actuator/**
zuul.routes.google.path=/mypath/**
zuul.routes.google.url=http://httpbin.org
management.endpoints.web.exposure.include=*

I think it specifically has to do with a default route /**

I think it specifically has to do with a default route /**

Correct.

So you are saying that I would need to add zuul.servlet-path=/** to the configuration above?

Correct. I set zuul.servlet-path=/ in my testing.

Closing in favor of #2888


remove canThrow attribute from AQL functions

Its was somehow overlapping with the isDeterministic attribute (but with the opposite meaning)

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/576/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/578/


Introduce Simulation PIDs parameters

As I have WIP PR here, that should map all the ignition command interfaces to force, I needed to set PIDs for ur robot also.
ros-controls/gz_ros2_control#122 should be merged first.

I think, before merging this, I'd like to clarify #59 / #52

This should go to https://github.com/UniversalRobots/Universal_Robots_ROS2_GZ_Simulation by now. Hence, closing this.


touch & pointers

touches don't offer a currentTarget property, which makes them difficult to handle here, e.g. d3.pointer(touch) doesn't work — without this proposal we'd have to write an explicit d3.pointer(event.touches[0], event.currentTarget).
Hence this double change: one to make d3.pointer work with the first touch + introduction of d3.pointers to retrieve all the touches.
closes https://github.com/d3/d3-selection/issues/245

Not sure which is the best method between testing event.touches or using instanceof TouchEvent.

Touches do offer a touch.target, however, and I believe for touch events touch.target is equal to event.currentTarget.

Unfortunately touch.target is more specialized than event.currentTarget (on https://observablehq.com/d/e6e0b6a093ea03fe : touch.target is the span, and event.currentTarget is the enclosing div). And there doesn't seem to be a way to go back "up" to the event's currentTarget.
this means we have to either pass currentTarget explicitly:

  pointer(touch, event.currentTarget)

or graft it onto the touches like so 🤢

 for (const t of event.touches || []) t.currentTarget = event.currentTarget;

So, no good solution. But instead of introducing a "new deprecated API", I think we should work with what we have (ie the current code, unchanged), and proper documentation and examples on how one can handle multitouch, even though it's a bit complicated.
I'm not sure we want to rely on Pointer Events yet in d3@6’s core, but they are a bit easier to work with (https://observablehq.com/@fil/pointer-events); I certainly want to use them in my future user code, instead of mouse and touch events.


Describing your app's data with GraphQL, React and Elixir

Adam Arling, Karen Shaw
<EMAIL_ADDRESS>The GraphQL language and runtime environment presents an opportunity to maintain independence and efficiency between component-driven UI and multiple back-end data stores.  Our presentation will highlight high-level concepts surrounding GraphQL, how its used, and how it differs from traditional REST API implementations.  We aim to demonstrate these concepts through a Northwestern Libraries ingestion application featuring Elixir, Absinthe, React, Apollo Client, and GraphQL.

8/23 Confirmed


Allow anyone (not just SCM) to hook into quick diff provider

Why this would be useful: https://github.com/microsoft/vscode-pull-request-github/issues/392
We'll also need to determine what should happen when there are multiple quick diff providers on the same range.

@laurentlb FYI in case you would also find this useful.

Here's what it looks like:

Will it also allow to show gutter markers? If yes, perhaps https://github.com/microsoft/vscode/issues/167306 can be implemented with an extension

Yes, this shows gutter markers.

@alexr00 I've tried out this proposal (thrilled about it BTW) and I've run into an issue where it doesn't seem like the quickdiff is removed from the editor properly when disposed. I am currently turning on the feature by calling registerQuickDiffProvider on-demand (in response to a user action) and want to turn it back off when they toggle it back off, but even when disposing the returned disposable it doesn't clear it from the document.
Also minor, but why is there a label both on the registerQuickDiffProvider call and on the provider itself?

Playing with this some more (in today's insiders), it seems dispose works more reliably, but still not 100%.

@eamodio there was a dispose that wasn't happening. It is fixed in insiders, though if you're not seeing it work 100% then I'll need to investigate further.

Also minor, but why is there a label both on the registerQuickDiffProvider call and on the provider itself?

This will likely be deduplicated.

Is provideOriginalResource should be called for existing editors at the moment of registration?
I have the following sequence of events (vscode 1.76):

Text editor is showed.
Extension loads and calls registerQuickDiffProvider.
Newly registered quick diff doesn't show.
I close and reopen the editor.
Quick diff is properly displayed in the editor.

@alexr00 Any chance this could land soon? I would love to get this in.

Not really it seems to work well as is. I have a branch with it implemented for the File Changes annotations in GitLens: https://github.com/gitkraken/vscode-gitlens/tree/feature/gutter-changes
Thanks!

We'll also need to determine what should happen when there are multiple quick diff providers on the same range.

Related? #196759

Moving back to the backlog as we're not going to get to https://github.com/microsoft/vscode/issues/196759 this month.

@alexr00 are there any plans to finalize this API?

We don't have a plan to finalize it. Tentatively assigning to October to see if we have time then.

find out what rootUri is for
have no label on the provider


feat(examples): add example-with-angular template

Description
A new example template utilizing Angular has been added to the examples directory.
This template serves as a reference implementation for projects looking to integrate Angular with the Turborepo ecosystem.
Screenshots

Testing Instructions

@codexshell why closed?

I think there was some kind of glitch during the opening of this pull request, but I immediately opened another one: https://github.com/vercel/turbo/pull/8140


rmw_gurumdds: 3.0.3-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rmw_gurumdds to 3.0.3-1:

upstream repository: https://github.com/ros2/rmw_gurumdds.git
release repository: https://github.com/ros2-gbp/rmw_gurumdds-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: 3.0.2-1

rmw_gurumdds_cpp
* Remove datareader listener patch
* Remove unnecessary operation
* Contributors: Youngjin Yun

rmw_gurumdds_shared_cpp
* Wait for state change of topic cache
* Remove datareader listener patch
* Remove attached waitset conditions on destructor
* Remove unnecessary operation
* Contributors: Youngjin Yun

Holding for the upcoming Rolling sync.


[REQUEST] Social component

Is your feature request related to a problem? Please describe.
Please add a social component, friends, chat etc.
Describe the solution you'd like
Please add a social component, friends, chat etc.
Describe alternatives you've considered
No response
Additional context
No response

we have some componentes in WIP, like #814 and #855, If you have any ideas, it would be good to specify how they should behave.

Tenemos algunos componentes en WIP, como 814 y 855, Si tienes alguna idea, sería bueno especificar cómo deben comportarse.

The features you name are already in v2.0.3 or will they be released in a later version?

WIP = work in progress, so they will be available in a later version as they are still under development

WIP = work in progress, so they will be available in a later version as they are still under development

Thanks, I didn't know

Friends feature was release in 2.1.0


devenv.exe throws error on sending selected text to interactive window [VS2017]

Tried restarting the program, but haven't rebooted.
[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
Build: 15.9.18254.1

System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Repl.PythonInteractiveEvaluator.CommandProcessorThread.<ExecuteFile>d__65.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Repl.PythonInteractiveEvaluator.<ExecuteFileAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Commands.ExecuteInReplCommand.<>c__DisplayClass8_0.<<DoCommand>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__78.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Commands.ExecuteInReplCommand.<DoCommand>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

How did you send to interactive? Keyboard shortcut? Menu selection?

I tried both click-through [right click + 'send to interactive window], as
well as keyboard shortcut [Ctrl + Enter].
--
Alex Jonsson | Phone:<PHONE_NUMBER>
On Thu, Jun 13, 2019, 7:19 PM Raymon Gulati<EMAIL_ADDRESS>wrote:

How did you send to interactive? Keyboard shortcut? Menu selection?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PTVS/issues/5371?email_source=notifications&email_token=ADZD7I7MBLBDH4KP6YFWPV3P2LIXZA5CNFSM4HX4KCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXVJHCQ#issuecomment-501912458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADZD7I6NRHBSBHE5LYO3AI3P2LIXZANCNFSM4HX4KCMQ
.

Are you able to share the code? Have you tried VS 2019?

Sorry for delayed response; I had to reinstall but bug was resolved over time


Tooltip component

Design

Zeplin https://zpl.io/andq79r
Design doc

We use a library for tooltips. Provide all the functionality from library, just do a restyle.

Probably useless
### Props
- [ ] `value` - Boolean. Controls tooltip visibility.
- [ ] `color` - String. Default - 'success'. Supported tooltip colors: 'success', 'info', 'warning', 'danger', 'gray'.
- [ ] `position` - String. Set position of tooltip from suggested options: 'top', 'left', 'right', 'bottom'.
- [ ] `delay` - Number. Amount of seconds that should pass before tooltip appears.
- [ ] `disabled` - Boolean.

References

Vuetify
Quasar
Vue Ant design
Bootstrap Vue

va-simple-select seems to work incorrectly. Fixing it should also fix the popover/tooltip presentation


[ci] add code coverage for SonarCloud

Codecov Report

Merging #20 (d52632f) into develop (b59b37e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #20   +/-   ##
========================================
  Coverage    69.94%   69.94%
========================================
  Files           12       12
  Lines          772      772
========================================
  Hits           540      540
  Misses         232      232

Flag
Coverage Δ

unittests
69.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 b59b37e...d52632f. Read the comment docs.


Does LightGBM use GPU to perform predictions?

Description
I'm trying to perform predictions with LightGBM using GPU, but I don't see any GPU usage when running the predict function.
Reproducible example
I've successfully trained a model on GPU, which I could see GPU usage and process id with nvidia-smi. The problem is when I try to make a prediction it only uses CPU resources, and GPU remains at 0%. Is it normal or am I doing something wrong? Below is the code I'm using to this experiment.
import pandas as pd
import lightgbm as lgb
import numpy as np
import os
import time

df = pd.read_parquet('./HIGGS.parquet')

model_params = {"n_estimators": 400,
                "learning_rate": 0.1,
                "max_depth": 5,
                "num_leaves": 2 ** 5,
                "colsample_bytree": 0.1,
                "num_threads": 3,
                "device": "gpu",
                "gpu_platform_id": 0,
                "gpu_device_id": 0
               }

model = lgb.LGBMClassifier(**model_params)

data_train = df.iloc[0:10000000].head(1000000)

#this actually trains on GPU
model.fit(data_train.iloc[:,1:29], data_train.iloc[:,0])

to_predict = data_train.iloc[:,1:29]

#this changes the num_threads to 1 but with no GPU activity
dfp = model.predict(to_predict, device = 'gpu', gpu_platform_id = 0, gpu_device_id = 0, num_threads = 1)

#this uses 3 CPU threads as it's a parameter from model_params. Also no GPU activity found
dfp = model.predict(to_predict)

Environment info
LightGBM version or commit hash:
Name: lightgbm
Version: <IP_ADDRESS>
Summary: LightGBM Python Package
Home-page: https://github.com/microsoft/LightGBM
Author:
Author-email:
License: The MIT License (Microsoft)
Location: ~/miniconda3/envs/dev/lib/python3.8/site-packages
Requires: numpy, scikit-learn, scipy, wheel

Command(s) you used to install LightGBM
I follow the official GPU Installation Guide, build LightGBM from source.

Same thing happens on my side. May I know any update here?

seems to be the same... my case is the train model, save it and load lightgbm.Booster(model_file=model_txt, params=dict(device="GPU")) even with passing device again it even does not load to GPU...

I have the same problem. The predicter  use cpu only, but the trainer is ok.


feat req: 💡 export to extended-acf from admin

          > The ACF PHP API has remained largely the same for the past decade, [as @Log1x stated](https://github.com/Log1x/acf-composer/issues/167#issuecomment-1574301562), and all of the related packages can be considered feature complete. However, there are some areas that I would like to improve in the `vinkla/extended-acf` package in the future:

Introducing the ability to set custom keys, which could be beneficial when converting an exported PHP array from the ACF dashboard or when updating from an earlier version of the package (which I have done multiple times).
Adding a method for setting the column width of a field, instead of requiring width to be passed to the wrapper method.
Supporting the clone field, although I'm not sure this is necessary; I have never needed to use the field since I stopped registering fields from the dashboard.

perhaps add a feature to export to extended-acf from admin?
or
cli command that does the conversion from array to classes
NOT a small feature tho :)
Originally posted by @chrillep in https://github.com/vinkla/extended-acf/issues/126#issuecomment-1694331667

not sure how to test it tho.
Maybe we could use heredoc that we could parse and generate files from.
then test that the generated files work.

it would help if acf would maintain a complete json schema.

https://github.com/AdvancedCustomFields/acf/issues/834#issuecomment-1612563084

This is a good idea, but I won't be working on it. If anyone wants to add this feature, please leave a comment. I will close this issue for now.


Activity Drawer for BatchJobs

What
Add Activitity Drawer when clicking the bell / notis icon top right
Note: Drawer is already being used for support inquiries
DoD

[x] Show drawer on icon click
[x] Fetch batch jobs using hook useAdminBatchJobs()
[x] Display batch jobs according to design
[x] Ability to download and delete the files

Consideration for first iteration
Instead of adding a WebSocket implementation that gives us real-time communication between server and client, we could intially add a refresh icon in the drawer fetching the latest batch jobs.
The consideration is based on a conversation with @pKorsholm about how to get to a working solution asap 👍
Let us know what you think.
cc @fPolic @srindom @zakariaelas @kasperkristensen
Design in Figma

Solved in #616


Add support for gRPC 1.33.0

Depends on https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1453

We should follow the same fix as in https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/1839


feature: pressing "v" should open an article in a browser

somehow my brain is still programmed in NetNewsWire to hit "v" to view the full text of a message... it'd be fun if this keyboard shortcut legacy still existed.

What app used the v key?

Hmm, I could have sworn this was an old NetNewsWire keybinding, but clear, you would know. Perhaps it was something I've used in the interim.  sorry. As an aside, I started using NetNewsWire since 2003-4 (or maybe earlier).  It's so nice to have it running on my Mac again.


doc: fix build status badge link

as title
before

after

Hi, @imbajin, thanks for your comments, the link in client module fixed now.
The （pink） code-coverage link seem work fine, could you point out what is wrong?

Add feel free to add some new links if u find some nice ico in other repo😁

Good idea, i'll keep an eye out :)

Hi, @imbajin, thanks for your comments, the link in client module fixed now.
The （pink） code-coverage link seem work fine, could you point out what is wrong?

in homepage（unknown），seems use client or remove it

Hi, @imbajin, thanks for your comments, the link in client module fixed now.
The （pink） code-coverage link seem work fine, could you point out what is wrong?

in homepage（unknown），seems use client or remove it

According the website: https://app.codecov.io/gh/hugegraph, there is no uploaded codecov statistics for toolchain, so i'll remove this in homepage.


Update faq.md

Changes proposed:
-Editing FAQ

In my opinion a FAQ should be directed at the newest developers. For example, a person like me who had no experience whatsoever in the development field. For more experienced developers they have the Docs. I sent a pull request with my suggestions. Feel free to use it change it etc..
1.) The first question on that list should be: What is an API? and how do i use it? There needs to be a better correlation instead of asking how to get an API Key? If I am a beginner I have no idea what a key or an api key is.
2.) Moved some question order to make it more of a smoother transition. For example, question about signing up API Key and I have my API Key what do i do now? These are similar questions as is the community free tier question. Moved them together.
3.) Deleted question about where is documentation as the question right above it gives that link. Instead edited the above question to also ask where is documentation.
4.) Edited the question about getting match data. The question is asking about his most recent match and the answer is talking about how to get past data.
5.) Added in a question about Historical Data. Please adjust the date as I might be wrong of when the earliest date is.
6.) I didnt add it but i REALLY believe the age limit should be in here. Having some developers come work on this only to discover they can't is really disappointing. Either add it here or in the Rules for the competition. Hidden in the ToS is not good. I have 2 developers who are younger than 15 and will not be able to participate and it sucks that they weren't told beforehand.

@Skillz4Killz thanks man, great feedback.
@bguilder Wanna take this one?


LdapConnectionConfig: Removed outdated comment

The default Trust manager was changed in the past from
no Verification to default trust.
Signed-off-by: Nis Wechselberg<EMAIL_ADDRESS>

Patch applied. Thanks !


Not working with iOS 8.1

Hi!
I have a problem with plugin, because it not works on iOS 8.1...
Any solution for this?

Closing since there has been no activity in nearly 5 months.


[core] Resolve to absolute paths with babel

Follow-up to https://github.com/mui-org/material-ui/pull/25402#discussion_r596828364

This seems fine but I want to avoid transpiling to windows paths since I don't fully understand how all of these fit together. The current code works and eventually we'll remove the resolver plugin anyway (once we fully switched to ES6 modules).


exibição do botão salvar tudo no titulo da caixa editores abertos na barra lateral.

Type: Bug
Quando ela está na barra lateral primária, dentro do explorador, exibe o botão mencionado e mais dois, se for arrastada para a barra lateral secundaria e separada do explorador, não exibe os botoes.
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz (4 x 2395)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: unavailable_offraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: unavailable_offwebgpu: enabled

Load (avg)
undefined

Memory (System)
5.86GB (2.84GB free)

Process Argv
--crash-reporter-id 28200ac5-b5f5-4ec9-a04d-8b87cb0c967f

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

codesnap
adp
1.3.4

vscode-better-align
cho
1.4.2

path-intellisense
chr
2.9.0

vscode-autohotkey-plus
cwe
2.7.1

prettier-vscode
esb
10.4.0

code-runner
for
0.12.2

plantuml
jeb
2.18.1

vscode-autohotkey-plus-plus
mar
5.0.5

vscode-language-pack-pt-BR
MS-
1.91.2024071009

indent-rainbow
ode
8.3.1

code-spell-checker
str
3.0.1

code-spell-checker-portuguese-brazilian
str
2.2.1

vscode-autohotkey2-lsp
thq
2.4.8

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-icons
vsc
12.8.0

vscode-autohotkey-debug
zer
1.11.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31094925
refactort:31093865

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


feature: Allow 'ignore duplicates' on import

Issue type: feature
Python version:
NetBox version:2.0.10
I would like to for a feature to be considered when importing bulk data in to Netbox. In some cases, the information may have been manually inputted to Netbox, causing duplicates when trying to perform an import. It would be helpful to add an option to ignore duplicates and import the unique values. This way one does not need to try count through import lines to remove the duplicate entries.

The onus is on the user to provide correct data to NetBox. If duplicate entries exist in the list of objects to be imported, the user will need to determine where they came from and whether it's symptomatic of a larger issue (e.g. objects exported from another source were not formatted correctly) to be confident that the data they're importing is correct. Simply ignoring duplicate entries will likely result in erroneous and/or missing data.

The issue isn't really duplicate data within the import source, but rather having the ability to merge the data with data that is already existing within Netbox.  In many cases one cannot wait for an import to take place from a legacy system and some data is added before hand. It would help to allow a user to select whether to ignore any duplicates between the 2 sources.
Its not an easy task importing a CSV and having to remove the duplicate entries through line counting etc.
Example: I have 2000 VRFs to import, some have already been created so that IP Prefixes could be linked to a VRF/Device.

Its not an easy task importing a CSV and having to remove the duplicate entries through line counting etc.

Just take what's already defined in NetBox (via the API or CSV export, whichever is easier) and compare it to the set to be imported, then only import the difference between the two.
for vrf in legacy_vrfs:
    if vrf not in netbox_vrfs:
        print vrf


i.MX RT685 clock config lockup fix

This PR fixes a regression described in https://github.com/zephyrproject-rtos/zephyr/issues/77851. The regression was caused by trying to set up DMIC's clock divider and source even though the selected source (audio PLL) isn't initialised. The clock driver then actively waited on a condition that would never happen, locking up the system.

@VitekST  on a regression test on this fix, I find the sdhc does not work, you can try this
scripts/twister -p  mimxrt685_evk/mimxrt685s/cm33  -T tests/subsys/sd/sdmmc/sd.sdmmc

and we can see
*** Booting Zephyr OS build v3.7.0-2381-g29b76bf4eef7 ***
Running TESTSUITE disk_driver
===================================================================
E: Card error on CMD0
I: Card does not support CMD8, assuming legacy card
E: ***** USAGE FAULT *****
E:   Stack overflow (context area not valid)
E: r0/a1:  0x180068b8  r1/a2:  0x29000000  r2/a3:  0x00000000
E: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x00000000
E:  xpsr:  0x00000000
E: Faulting instruction address (r15/pc): 0x00000000
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x10181068 (main)
E: Halting system

which is Ok at v3.7.0-1625-gf29377a12cb5

.0-1625-gf29377a12cb5

@hakehuang have you bisected this to a specific commit? The RT685 SDHC doesn't clock from the Audio PLL, it uses the AUX0 PLL (a PFD of the main PLL), so I don't see how this change would affect the SDHC support.

@danieldegrasse , Hake has provided the bisect details in this issue https://github.com/zephyrproject-rtos/zephyr/issues/77851#issue-2499265913

@danieldegrasse , Hake has provided the bisect details in this issue #77851 (comment)

Sure, but it seems the additional failure he found that I referenced was tested with this PR (at least I assume, otherwise the RT685 could not boot)

@hakehuang @danieldegrasse , I tried this patch at the point of failure https://github.com/zephyrproject-rtos/zephyr/commit/b8466e0c951b8a159ed0a0465ed831497668197b . SDHC is working, this indicates that some other change later broke SDHC. My suggestion would be to let this PR merge and tackle the SDHC issue separately.

I cherry-picked this commit to the latest main. I don't see the SDHC failure:
commit 970d813e95742fc9974a3fe68beedcef9f075181 (HEAD -> main)
Author: Vit Stanicek<EMAIL_ADDRESS>Date:   Mon Sep 9 09:06:08 2024 +0200

    soc: mimxrt685s/cm33: Fix lockup on clock config

    Imply CONFIG_INIT_AUDIO_PLL on nxp,dmic driver selection on
    mimxrt685s/cm33. Make DMIC clock config dependent on the use of the
    RT685's audio PLL.

    Fixes a regression described in #77851.

    Signed-off-by: Vit Stanicek<EMAIL_ADDRESS>
commit 86af9c4b0766842aa97b5b9bead12c71ca5d69ed (origin/main, origin/HEAD)
Author: Benjamin Cabé<EMAIL_ADDRESS>Date:   Wed Sep 11 18:06:23 2024 +0200

Build command:  west build -p -b mimxrt685_evk/mimxrt685s/cm33 zephyr/tests/subsys/sd/sdmmc
Test log:
*** Booting Zephyr OS build v3.7.0-2788-g970d813e9574 ***
Running TESTSUITE sd_stack
===================================================================
START - test_0_init
 PASS - test_0_init in 1.152 seconds
===================================================================
START - test_card_config
Card voltage: 3.3V
Card timing: High Speed
Bus Frequency: 50000000 Hz
Card type: SDMMC
Card spec: 3.0
 PASS - test_card_config in 0.010 seconds
===================================================================
START - test_ioctl
SD card reports sector count of 7744512
SD card reports sector size of 512
 PASS - test_ioctl in 0.007 seconds
===================================================================
START - test_read
 PASS - test_read in 0.046 seconds
===================================================================
START - test_rw
 PASS - test_rw in 0.978 seconds
===================================================================
START - test_write
 PASS - test_write in 0.128 seconds
===================================================================
TESTSUITE sd_stack succeeded

------ TESTSUITE SUMMARY START ------

SUITE PASS - 100.00% [sd_stack]: pass = 6, fail = 0, skip = 0, total = 6 duratis
 - PASS - [sd_stack.test_0_init] duration = 1.152 seconds
 - PASS - [sd_stack.test_card_config] duration = 0.010 seconds
 - PASS - [sd_stack.test_ioctl] duration = 0.007 seconds
 - PASS - [sd_stack.test_read] duration = 0.046 seconds
 - PASS - [sd_stack.test_rw] duration = 0.978 seconds
 - PASS - [sd_stack.test_write] duration = 0.128 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
PROJECT EXECUTION SUCCESSFUL

I test with latest kernel with this merged, now sdhc works fine
*** Booting Zephyr OS build v3.7.0-3007-g53f547b7371f ***
Running TESTSUITE sd_stack
===================================================================
START - test_0_init
 PASS - test_0_init in 1.142 seconds
===================================================================
START - test_card_config
Card voltage: 3.3V
Card timing: High Speed
Bus Frequency: 50000000 Hz
Card type: SDMMC
Card spec: 3.0
 PASS - test_card_config in 0.010 seconds
===================================================================
START - test_ioctl
SD card reports sector count of 7744512
SD card reports sector size of 512
 PASS - test_ioctl in 0.007 seconds
===================================================================
START - test_read
 PASS - test_read in 0.051 seconds
===================================================================
START - test_rw
 PASS - test_rw in 0.813 seconds
===================================================================
START - test_write
 PASS - test_write in 0.236 seconds
===================================================================
TESTSUITE sd_stack succeeded

------ TESTSUITE SUMMARY START ------

SUITE PASS - 100.00% [sd_stack]: pass = 6, fail = 0, skip = 0, total = 6 duration = 2.259 seconds
 - PASS - [sd_stack.test_0_init] duration = 1.142 seconds
 - PASS - [sd_stack.test_card_config] duration = 0.010 seconds
 - PASS - [sd_stack.test_ioctl] duration = 0.007 seconds
 - PASS - [sd_stack.test_read] duration = 0.051 seconds
 - PASS - [sd_stack.test_rw] duration = 0.813 seconds
 - PASS - [sd_stack.test_write] duration = 0.236 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
RunID: f20992f3896a343fff2f780aac470420
PROJECT EXECUTION SUCCESSFUL


Discovery

Extension of fritzbox tools to use the discovery component.
I tested (as appropriate):

[x] Yaml Mode

Closes issue: #86
Related issue: #41

Seems to work. However, YAML mode seems to be broken. Need to find a fix for that.

YAML error fixed. Ready for review 👯♂

Small addition: Take port from discovery.

Discovery (I have two fritzboxes, one is the modem (7530), the other one is just a repeater (mesh client)):

When clicking on configure:

Once one fritzbox is added the other fritzbox will not get discovered anymore (only one component allowed) once hass is restarted.

Pretty cool! 🚀  Only left a small comment.

Thanks for the review @mammuth. I removed the duplicate variable errors

Shall we merge this PR @mammuth?

Yes. It's no breaking change that should be announced in the release notes, right?

Yes. It's no breaking change that should be announced in the release notes, right?

No. Thanks!


Added Qt multimedia component from PythonQt

PythonQt includes wrapping for Qt multimedia, but there was no option to include it in CTK, so I added it.
This is related to another PR in PythonQt, which is pending approval.

I've reviewed this commit and it looks good to me. However, this cannot be merged because a merge commit was added to this branch just minutes ago. Please rebase on latest master and squash the commits to get rid of the merge commit.

I'm sorry, I'm not sure how to do a squash of my commit and the merge in this situation:

First do a forced rebase on commontk/CTK master. That may make this spurious merge commit go away. If it remains there then you can squash all the commits in TortoiseGit: right-click on the CTK folder, click "Git show log", select all your commits, right-click, choose "Combine to one commit". You can of course use any other git clients.
Start the commit message with ENH: to make the commit message valid.

I'm not sure what you mean by force rebase en commontk/CTK master. Do I do it from my fork ?

Yes, you rebase all the changes on your fork on the latest master version in the upstream repository. While rebasing you should have the option of squashing all commits. Forcing the rebase may be necessary because your branch may be already based on the latest upstream master version and then rebase would be a no-op.

Thanks for the help. Seems good to go now.

Yes, it looks good now. We just need to wait on https://github.com/commontk/PythonQt/pull/80 to be merged.

Thanks for the contribution :pray:
Now that the change is merged in our fork of PythonQt, could you also update https://github.com/commontk/CTK/blob/34a390a49bc8e41e2ff8a6fe72382974c0787ad7/CMakeExternals/PythonQt.cmake#L85 to use c4a5a155b2942d4b003862c3317105b4a1ea6755 ?
For an example of commit message. See https://github.com/commontk/CTK/commit/e485a3fcecdffc2b40aaafbdbf9f470edf403354

@jcfr Revision tag updated 👍


Minor mistake in readme.md?

It appears that in the file readme.md, the line
$guzzleAdapter = new \Phpoaipmh\HttpAdapter\Guzzle();
should be replaced with
$guzzleAdapter = new \Phpoaipmh\HttpAdapter\GuzzleAdapter();
Am I wrong? Thanks

Hi @Nauhaie .. Thank you for the correction!  I've just had a chance to start working on this repo again, and I am going through tickets.  You were right, and it has been corrected.


Add a way to create new projects from templates

Add filtering options per language, per framework. For instance Windows Services can be written in several languages.

This probably needs a search feature.


SteamAudio: Unity 2021 LTS segfault when using Reverb + building in Docker

We are using Unity Docker images from game.ci for building (actually, exporting native projects and then building on the target development OS). The image we are currently using is ubuntu-2021.3.3f1-android-1.0.1
When we try to use a reverb using SteamAudio, we get this segfault - which doesn't happen when we build manually on Windows.
Preloading 1 native plugins for Editor in 1.29 ms.
Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
Obtained 26 stack frames.
#0  0x00559710c0a1dc in burst_signal_handler(int, siginfo_t*, void*)
#1  0x007fd4739fc980 in funlockfile
#2  0x007fd4005e442e in ReverbEffect::setParam(UnityAudioEffectState*, int, float)
#3  0x00559711484711 in UnityAudioEffect_InternalSetFloatParameterCallback(FMOD_DSP_STATE*, int, float)
#4  0x00559713608d1e in FMOD::DSP::setParameter(int, float)
#5  0x005597114e0894 in audio::mixer::UpdateAudioMixerMemory(audio::mixer::AudioMixerConstant const&, audio::mixer::AudioMixerMemory&, float, FMOD::System*, float)
#6  0x005597114df466 in audio::mixer::CreateAudioMixerMemory(audio::mixer::AudioMixerConstant const&, FMOD::System*, RuntimeBaseAllocator&, int, bool, char const*)
#7  0x005597114a0a80 in AudioMixer::EnsureValidRuntime()
#8  0x005597114a0952 in AudioMixer::ForceUpdateInEditor()
#9  0x00559711d2677c in AudioMixerController::AwakeFromLoad(AwakeFromLoadMode)
#10 0x005597110cfd7d in AwakeFromLoadQueue::InvokePersistentManagerAwake(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode, bool)
#11 0x005597110cf344 in AwakeFromLoadQueue::PersistentManagerAwakeFromLoad(ErrorsAndWarningsCapture*, bool)
#12 0x005597110a33a3 in PersistentManager::IntegrateAllThreadedObjects()
#13 0x005597110a416b in PersistentManager::LoadAndIntegrateAllPreallocatedObjects(PersistentManager::LockFlags)
#14 0x005597110a2dfc in PersistentManager::ReadObject(int, AwakeFromLoadMode)
#15 0x005597104cae61 in PPtr<Object>::operator Object*() const
#16 0x00559710754d47 in AssetDatabase_CUSTOM_LoadMainAssetAtPath(ScriptingBackendNativeStringPtrOpaque*)
#17 0x000000407b0f03 in (wrapper managed-to-native) UnityEditor.AssetDatabase:LoadMainAssetAtPath (string)
#18 0x00000040aa0b15 in System.Linq.Enumerable/SelectManySingleSelectorIterator`2<TSource_REF, TResult_REF>:MoveNext ()
#19 0x00000040a9405f in Unity.VisualScripting.LinqUtility/<Concat>d__0`1<T_REF>:MoveNext ()
#20 0x000000406facae in Unity.VisualScripting.AotPreBuilder/<FindAllProjectStubs>d__15:MoveNext ()
#21 0x0000004157acf2 in System.Linq.Enumerable/DistinctIterator`1<TSource_REF>:MoveNext ()
#22 0x000000406f8b4c in Unity.VisualScripting.AotPreBuilder:GenerateCodeAndWriteToStream (System.Collections.Generic.IEnumerable`1<Unity.VisualScripting.AotStubWriter>,System.IO.TextWriter)
#23 0x000000406f0500 in Unity.VisualScripting.AotPreBuilder:GenerateAotStubs ()
#24 0x000000406f02f4 in Unity.VisualScripting.AotPreBuilder:OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport)
#25 0x000000406be050 in UnityEditor.Build.BuildPipelineInterfaces:OnBuildPreProcess (UnityEditor.Build.Reporting.BuildReport)

We've just released Steam Audio 4.1.0, which includes various crash fixes: https://github.com/ValveSoftware/steam-audio/releases/tag/v4.1.0.
Try it out and let us know if these crashes persist in the new version.


Lazy calculation of display scores

The calculation of the display score takes a long time and it slows down the loading of a data file.
To speed up the loading, we do a late display calculation.
So in order to speed things up, we calculate the display score only on plotting.

done


[CP] Fix finding JDK in current Android Studio

issue_link
https://github.com/flutter/flutter/issues/106674
Commit Hash
aed9b4adc
Target
stable
pr_link
https://github.com/flutter/flutter/pull/121504
Impacted Users
All Flutter developers using the current version of Android Studio
Impact Description
Flutter is unable to find the JDK supplied by Android Studio.
As a result, Flutter fails to build for Android, depending on the rest of the system's configuration. (Flutter will leave Gradle on its own to try to find a JDK, which can succeed if java is on the developer's PATH.)
For a sense of the number of developers affected and the extent to which many are stuck when they hit this issue, see the numerous comments on #106674 and its many duplicates:

#113775
#118535
#118513
#118790
and several more.

The first Android Studio version that triggers this issue, 2022.1 "Electric Eel", became the stable release on Jan 12. That's why #106674 got a wave of many new reports starting then. It's likely most developers have not yet upgraded Android Studio, so there are many more developers set to hit this issue in the future.
Workaround
On Linux or macOS, one can work around by creating a symbolic link, like ln -s jbr /path/to/Android/Studio/jre.
This workaround has to be repeated after each minor Android Studio upgrade, which sees the jre symlink as a stray file and deletes it.
Risk
low
Test Coverage
yes
Validation Steps

Install Android Studio "Electric Eel" (the current stable release) or later.
Run flutter doctor -v.
Confirm that it successfully reports a Java version for that Android Studio install, rather than "Unable to find bundled Java version."

(Compare the issue's original repro notes: https://github.com/flutter/flutter/issues/106674#issuecomment-1168580243 )

This LGTM

Before the fix in next Flutter hotfix stable version, here is the solution for
MacBook M1:
Step 1: Change directory to the subdirectory (Contents) of the Android Studio forder:
cd /Applications/Android\ Studio.app/Contents/
Step 2: Create a symbolic link named jre and point it to jbr:
ln -s jbr jre

This cherry-pick missed the window.  It will be picked up during the next stable hotfix.

Why not merged into main branch

@ti4n1993 it is already merged into the master branch since 07 Feb 2023.  See https://github.com/flutter/flutter/commit/aed9b4adce2f8301469b242e74a9e9dea8a9da66

@itsjustkevin  but it is still showing Unable to find bundled Java version.I'm using Android Studio Giraffe Canary 7 and the master branch flutter

@ti4n1993 Please file a new issue, and fill out the complete issue template including the output of flutter doctor -v. That will make it possible to investigate the issue you're seeing.

@gnprice I have opened a new issue #121925


package in requirements.txt?

Hi,
I am adding rq-exporter to my dh-virtualenv package to enable it to be bundled into a deb. However, I'm getting build errors due to a missing requirements.txt. Could it be included please?
Please see the log below
Collecting rq-exporter
  Created temporary directory: /tmp/pip-unpack-zqh9eel1
  Looking up "https://files.pythonhosted.org/packages/9e/24/51c7a5c6182c09e80a1d7c033e25c7ec0636a56980bf6d73befb2b73e582/rq-exporter-1.7.0.tar.gz" in the cache
  Current age based on date: 1096
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 1096
  Using cached rq-exporter-1.7.0.tar.gz (13 kB)
  Added rq-exporter from https://files.pythonhosted.org/packages/9e/24/51c7a5c6182c09e80a1d7c033e25c7ec0636a56980bf6d73befb2b73e582/rq-exporter-1.7.0.tar.gz#sha256=ba04d06995c1e8c80034e5a1338602698e4168947eb8b636db3faa5e02fd5890 (from -r ./requirements.txt (line 48)) to build tracker '/tmp/pip-req-tracker-bfed8oje'
    Running setup.py (path:/tmp/pip-install-sbgw6_s7/rq-exporter_5cb720af2376430982edde4deffb2779/setup.py) egg_info for package rq-exporter
    Created temporary directory: /tmp/pip-pip-egg-info-tkk93zi2
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-sbgw6_s7/rq-exporter_5cb720af2376430982edde4deffb2779/setup.py", line 19, in <module>
        with open(os.path.join(cwd, 'requirements.txt'), 'r') as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-sbgw6_s7/rq-exporter_5cb720af2376430982edde4deffb2779/requirements.txt'
WARNING: Discarding https://files.pythonhosted.org/packages/9e/24/51c7a5c6182c09e80a1d7c033e25c7ec0636a56980bf6d73befb2b73e582/rq-exporter-1.7.0.tar.gz#sha256=ba04d06995c1e8c80034e5a1338602698e4168947eb8b636db3faa5e02fd5890 (from https://pypi.org/simple/rq-exporter/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Created temporary directory: /tmp/pip-unpack-hgngpqso
  Looking up "https://files.pythonhosted.org/packages/0b/74/23930e7273410a85f0cad92e6e5916f3d70a82b847d9401e7fd7b4c6f5f3/rq-exporter-1.6.0.tar.gz" in the cache
  No cache entry available
  Starting new HTTPS connection (1): files.pythonhosted.org:443
  https://files.pythonhosted.org:443 "GET /packages/0b/74/23930e7273410a85f0cad92e6e5916f3d70a82b847d9401e7fd7b4c6f5f3/rq-exporter-1.6.0.tar.gz HTTP/1.1" 200 13357
  Downloading rq-exporter-1.6.0.tar.gz (13 kB)
  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/0b/74/23930e7273410a85f0cad92e6e5916f3d70a82b847d9401e7fd7b4c6f5f3/rq-exporter-1.6.0.tar.gz"
  Caching due to etag
  Added rq-exporter from https://files.pythonhosted.org/packages/0b/74/23930e7273410a85f0cad92e6e5916f3d70a82b847d9401e7fd7b4c6f5f3/rq-exporter-1.6.0.tar.gz#sha256=7e90bcbf5d9939ec33379788d3179136dd31ebb669e3aa265befcbffb76ce4e6 (from -r ./requirements.txt (line 48)) to build tracker '/tmp/pip-req-tracker-bfed8oje'
    Running setup.py (path:/tmp/pip-install-sbgw6_s7/rq-exporter_8aac3f9b0ecd44b7aa6b5d5b8f75fb3e/setup.py) egg_info for package rq-exporter
    Created temporary directory: /tmp/pip-pip-egg-info-ge3qcjgc
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-sbgw6_s7/rq-exporter_8aac3f9b0ecd44b7aa6b5d5b8f75fb3e/setup.py", line 19, in <module>
        with open(os.path.join(cwd, 'requirements.txt'), 'r') as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-sbgw6_s7/rq-exporter_8aac3f9b0ecd44b7aa6b5d5b8f75fb3e/requirements.txt'

Had a look at this again. I think the problem arises from  these lines in setup.py
# Requirements
requirements = []
with open(os.path.join(cwd, 'requirements.txt'), 'r') as f:
    requirements = [l.strip() for l in f.readlines()]

That means that dh-virtualenv will try to read these lines when it tries to build the package. That may fail.
Additionally, the deps versions are baked in. Since this can be used as a library, it may interfere with other deps pulled in by other packages. As an example, I'm using prometheus client elsewhere in the project. The hard code for version 0.8.0 as per the requirements.txt file causes a downgrade.
❯❯❯ ./bin/pip  install setproctitle rq-exporter
Requirement already satisfied: setproctitle in /opt/venvs/project/lib/python3.7/site-packages (1.2.2)
Requirement already satisfied: rq-exporter in /opt/venvs/project/lib/python3.7/site-packages (1.7.0)
Requirement already satisfied: redis==3.5.3 in /opt/venvs/project/lib/python3.7/site-packages (from rq-exporter) (3.5.3)
Collecting prometheus-client==0.8.0
  Using cached prometheus_client-0.8.0-py2.py3-none-any.whl (53 kB)
Requirement already satisfied: rq==1.8.0 in /opt/venvs/project/lib/python3.7/site-packages (from rq-exporter) (1.8.0)
Requirement already satisfied: click>=5.0.0 in /opt/venvs/project/lib/python3.7/site-packages (from rq==1.8.0->rq-exporter) (7.1.2)
Installing collected packages: prometheus-client
  Attempting uninstall: prometheus-client
    Found existing installation: prometheus-client 0.10.1
    Uninstalling prometheus-client-0.10.1:
      Successfully uninstalled prometheus-client-0.10.1
Successfully installed prometheus-client-0.8.0

I believe the better solution is to state the minimum version acceptable for a dep and let the package manager figure it out as per: https://packaging.python.org/discussions/install-requires-vs-requirements/
Also, moving in the install deps directly into setup.py would fix the issue raised in this ticket

Hi,
Thank you for reporting this issue and for submitting a fix, I prefer to keep the requirements in one file so I have fixed this issue and published a new version 1.8.0, please try it out and feel free to reopen this issue if you still have any problems.
Thank you again.


Couple typos/bugs in the storage readme docs

@yknl mentioned a typo in the https://github.com/blockstack/blockstack.js/tree/master/src/storage docs in the multiplayer read code. The options config should have username instead of user.
We also need to remove the leading forward slash on all pathname args in these docs. Resolves to //message.txt.

This was fixed with the new documentation.


Add metrics to CacheService

Description:

Adds a Counter metric to CacheService, which counts the the calls to every method of the class, separated by labels for callingMethod, cacheType and called method.
Removes the same metrics from localLRUCache.

Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Patch coverage: 81.81% and project coverage change: -29.25% :warning:

Comparison is base (82fc1ba) 77.07% compared to head (7c43781) 47.83%.

:exclamation: Current head 7c43781 differs from pull request most recent head dacce1e. Consider uploading reports for the commit dacce1e to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1713       +/-   ##
===========================================
- Coverage   77.07%   47.83%   -29.25%
===========================================
  Files          39       26       -13
  Lines        2862     2283      -579
  Branches      576      463      -113
===========================================
- Hits         2206     1092     -1114
- Misses        476     1094      +618
+ Partials      180       97       -83

Files Changed
Coverage Δ

...kages/relay/src/lib/clients/cache/localLRUCache.ts
82.75% <ø> (-2.09%)
:arrow_down:

...elay/src/lib/services/cacheService/cacheService.ts
60.37% <81.81%> (+4.56%)
:arrow_up:

... and 23 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Removes support for EventData

The org.slf4j.ext.EventData class was a primitive equivalent of Log4j's StructuredDataMessage. QOS.CH published CVE-2018-8088 against this class and removed it from slf4j-ext version 1.7.26.
For a long time we kept support code to convert EventData to its Log4j equivalent for compatibility's sake: users that relied on this class could still use Log4j Core, but the functionality was automatically disabled once they upgraded slf4j-ext.
Since 5 years passed since slfj4-ext 1.7.26 was published, we can safely assume that all the users upgraded the library and the support code can be removed.

@rgoers,
I have two doubts about the support for slfj4-ext:

should I backport this change to 2.x?
once I remove the support for EventData, log4j-slf4j-impl has no code specifically written for slf4j-ext. Should I remove the tests that use XLogger too? The way I see it these tests can only discover errors in slf4j-ext itself, not our own code.

@ppkarwasz, LGTM.
I support the idea of removing XLogger tests too and backporting all this to 2.x.


Where can I download .jar of Travertine?

As in the title.

https://ci.aquifermc.org/job/Travertine/

@minecrafter Where can I get the source code?

Build server is offline, source won't build. :(


build fail after flutter upgrade 2.0.2 in IOS

it is normal in flutter 1.22.26 in xcode ,but build fail in lastest version when we upgrade;
i konw it is the  cocospod issue ,but i donot know how to fix it ;
and we checked it need to change the podfile for the cocospod 1.9.3 ,but i failed ;plz help !
step:
1:flutter upgrade to 2.0.2
2:pod upgrade to 1.9.3
some files of my project & evroment
pod install success:

flutter doctor:

podfile:

build erroe:

by the way we run futter in  ios as a module;

i fixed it when update the cocoaspod to 1.10.1 ,plz help close it


make changelog generation correct again

foreman (9999-3.0.0-focal+scratchbuild20210908154521) UNRELEASED; urgency=low

      * Automatically built package based on the state of
        foreman-packaging at commit 3.0.0

     -- pcreech<EMAIL_ADDRESS>Wed, 08 Sep 2021 15:47:03 +0000

foreman (3.0.0-1) stable; urgency=low

  * 3.0.0 released

 -- Patrick Creech<EMAIL_ADDRESS>Wed, 08 Sep 2021 09:42:36 -0400

the indentation of the scratch section is off

I think we should just use https://github.com/theforeman/foreman-packaging/blob/deb/develop/scripts/changelog.rb and call it
changelog.rb --author "${repoowner}<EMAIL_ADDRESS>--version "9999-${package_version}-${suite}+scratchbuild\${BUILD_TIMESTAMP}"


Add authentication to Elasticsearch via client cert

This PR adds the ability to authenticate to Elasticsearch via client certificate.
It also fixes some bugs related to the options ca_file and ca_data.

Thanks for this @andreaskapfer we'll have a new version of the provider out with this change in the next few weeks.

Great! Many thanks for the review @tobio

This has been released with 0.5.0


Why not Azure Table Storage?

Why does the tutorial use Cosmos DB instead of Azure Table Storage? Cosmos DB is much pricier and none of its features are even used. I was able to convert the code to use Azure Table Storage instead without too much trouble, but I'm wondering why it wasn't that way in the first place.

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

ID: b1acd3de-471c-d954-af1a-62f7fc440370
Version Independent ID: 84549c67-6733-e861-6ec9-aab9f248a406
Content: Build a serverless web app in Azure
Content Source: AzureInteractive/tutorial-static-website-serverless-api-with-database.yml
Service: multiple
GitHub Login: @ggailey777
Microsoft Alias: glenga

@MisinformedDNA Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Thanks @MisinformedDNA. You make an excellent point there. We'll strongly consider using Table Storage in the future if there's no need for Cosmos DB-specific functionality.


WIP - Server framework

Framework on which to develop the rest of the server functions
To do:

[X] Start server and open logs
[X] Stop server and close logs
[ ] Create server to listen to new connections
[ ] Accept connections, until SERVER_MAX_CONN connections are open simultaneously

[ ] Handle connections in parallel (?)

@aleklisi Also had some trouble with the Github Packages thing... You need to create a new "Personal Access Token" with package privileges and use it to login on docker

@aleklisi if you can, open issues with the things that need fixing and/or implementation, I usually use them to keep track of everything


Restate dist size is 1.3MB

Looking at the dist/ size we can see that ./generated/google/ takes 600k
[/sdk-typescript/dist]$ du -h
72K	./types
40K	./io
248K	./generated/proto
24K	./generated/dev/restate
28K	./generated/dev
596K	./generated/google/protobuf
600K	./generated/google
880K	./generated
76K	./server
68K	./connection
56K	./utils
1,3M	.

These 600K are used only for the discovery endpoint. Let us investigate how the discovery can be made a bit more lightweight.
For example one can replace the manual FileDescriptorSet creation, with the compile time bundling of the file descriptor set. This can be built via buf and included in the artifact when running npm run proto.
This would only make sense if the generated binary file descriptor set is smaller in size than 600kb.
Removing that gets us to 700kb bundle size, (50%).
Another way would be to incorporate esbuild to generate minified .js files, at least for the big ones we have.

This is irrelevant now.


Data.Binary.Get.runGet at position 10: not enough bytes

This exception pops up whenever I try to fetch anything on my machine. It happens both with git and URL sources.
Running nvfetcher clean as mentioned  in #35 did not fix the issue.
Strangely enough it works just fine in CI: https://github.com/bandithedoge/nur-packages/actions/runs/8183366662/job/22376099783#step:7:375
https://github.com/bandithedoge/nur-packages/blob/master/pkgs/tal/nvfetcher.toml gives the following:
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# CheckManual: latest
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-BassLine-101_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-Sampler_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-Dub-X_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-Filter-2_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/Tal-Chorus-LX_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-NoiseMaker_64_linux.zip
# CheckManual: latest
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-Pha_64_linux.zip
# FetchUrl
  url: https://tal-software.com/downloads/plugins/TAL-Reverb-4_64_linux.zip
nvfetcher: Error when running Shake build system:
  at want, called at src/NvFetcher.hs:167:25 in nvfetcher-<IP_ADDRESS>-2oqz5Z2t3Fp6rVQQnP9T9a:NvFetcher
* Depends on: build
  at apply1, called at src/NvFetcher/Core.hs:126:16 in nvfetcher-<IP_ADDRESS>-2oqz5Z2t3Fp6rVQQnP9T9a:NvFetch
er.Core
* Depends on: Core ("dub-x")
  at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.19.7-6uiAUkkvwa
BLBQgRL9bx4:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (RunFetch ForceFetch (FetchUrl {_furl = "https://tal-software.com/downloads/plugi
ns/TAL-Dub-X_64_linux.zip", _name = Nothing, _sha256 = ()}))
  at error, called at libraries/binary/src/Data/Binary/Get.hs:345:5 in binary-<IP_ADDRESS>:Data.Binary.Get
* Raised the exception:
Data.Binary.Get.runGet at position 10: not enough bytes

Since the database was moved to xdg data home in #55, nvfetcher clean no longer removes it. The new command nvfetcher purge introduced in #114 should work now.


Auto-completion of fields on Page etc via Intellisense should prepend Rec., etc.

Describe the bug
From BC16 onwards, implicit with is marked for removal in future, so we should include Rec. before page fields, presumably(?) other record variable names before fields in report dataitems, etc.
However, the auto-complete of field/control names on page/extension and report objects does not honour this, so it generates code that will cause a warning, which is very unhelpful
To Reproduce

Be on a page, somewhere you can add a control representing a field
Start typing the name of a field
Accept the suggested auto-completion
See that you get something like field("Item Reference No.";"Item Reference No.")

Expected behavior
Since we should not be using implicit Rec. anymore, that should be field("Item Reference No."; Rec."Item Reference No.")
Note that the auto-completion also does not include a space after the semicolon, when it should - the auto-formatter fixes that, so not the end of the world, but seems clearly wrong. Can this be fixed at the same time? It doesn't quite seem worth its own bug...
Screenshots
auto-complete popup:

resulting field declaration:

5. Versions:

AL Language: 6.1.352568
Business Central: n/a

This is by design. If you opt-in for not using implicitwith with #pragma implicitwith disable the auto-completion includes the Rec..
The rationale behind this design is that until you choose to switch over for an object, your source-code will look consistent.

The rationale behind this design is that until you choose to switch over for an object, your source-code will look consistent.

I feel like implicit with should be disabled by default, at the project level, so that the Rec. is included by default (since it hurts no one to have it there), and people who don't notice this won't get version-control noise later when they have to add the missing Rec.. Is this considered?
Anyway, I guess now I have to go and add NoImplicitWith in app.json to all my projects, to avoid the compiler deciding I don't want Rec. prefixes and thus generating wrong code.

The rationale behind this design is that until you choose to switch over for an object, your source-code will look consistent.

I feel like implicit with should be disabled by default, at the project level, so that the Rec. is included by default (since it hurts no one to have it there), and people who don't notice this won't get version-control noise later when they have to add the missing Rec.. Is this considered?
Anyway, I guess now I have to go and add NoImplicitWith in app.json to all my projects, to avoid the compiler deciding I don't want Rec. prefixes and thus generating wrong code.


remove distance flow in split bill

Details
There are 5 pages where this wrong condition is used
Fixed Issues
$ https://github.com/Expensify/App/issues/26661
Tests
Same as QA step

[x] Verify that no errors appear in the JS console

Offline tests
Same as QA step
QA Steps

Request money from FAB and navigate to Distance tab
Close the RHP
Open Split bill from FAB
Enter amount and continue.
Verify that header title is "Cash", not "Distance"
Select participants and click Next button
Verify that header title is "Cash" and MapBox is not shown on Split confirmation page

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/108292595/1a002008-8d64-4e63-8158-6cb6084041f6

Mobile Web - Chrome
https://github.com/Expensify/App/assets/108292595/e5a97cbd-441e-48c9-b556-3b9b375dca79

Mobile Web - Safari
https://github.com/Expensify/App/assets/108292595/ee38e0ad-36e0-410e-9b94-a0d2352a5ec7

Desktop
https://github.com/Expensify/App/assets/108292595/506821b4-cca0-48b3-bc4b-cc3bcf1e8476

iOS
https://github.com/Expensify/App/assets/108292595/d4214984-8fba-4775-8f3e-2974fa08008a

Android
https://github.com/Expensify/App/assets/108292595/215d5bf5-c25a-42b5-b318-87bce3950860

TS check is failing

Unit Test failing this time 😞
Seems like not caused by this PR. Tests pass locally

@situchan Tests seem to be passing on main. No?

Failing on main for the same reason

Hmm why are they failing? Is it not the checkout issue?

Success this time 🎉

@allroundexperts confirmed edit works as expected https://expensify.slack.com/archives/C02NK2DQWUX/p1693841136035539?thread_ts=1693832321.726089&cid=C02NK2DQWUX

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.63-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.63-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.64-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add Mattermost security updates

See https://mattermost.com/security-updates/

@pombredanne Can i work on this?

Do you mean that the data here in this screenshot is to be scraped?

can i start working on this?

It might be useful to subscribe to the security mailing list instead of scraping the webpage.

dependent on https://github.com/nexB/univers/pull/97


Unexpected state in beforeSpecHandler: uninitialized while running .feature file through terminal in Cypress

While I am running npx cypress open, in test runner it is executing without any error. However when I run the same cypress project in terminal by "npx cypress run", I encountered following error. Please help!
PS E:\Tutorials\actionSQA\Cypress\CypressFramework> npx cypress run
DevTools listening on ws://<IP_ADDRESS>:53974/devtools/browser/b96142ad-f719-4815-884a-aa20539994a6
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 13.12.0 │ │ Browser: Electron 118 (headless) │ │ Node Version: v20.13.1 (C:\Program Files\nodejs\node.exe) │ │ Specs: 19 found (BDD/ecommerce.feature, JS/AutomationPracticeTest1.js, JS/AutomationP │ │ racticeTest2.js, JS/AutomationPracticeTest3.js, JS/AutomationPracticeTest4.js, │ │ JS/AutomationPracticeTest5.js, JS/AutomationPracticeTest6.js, JS/AutomationPr │ │ acticeTest7.js, JS/Auto...) │ │ Searched: cypress/integration/examples/**/*.{js,feature,ts,tsx} │ └────────────────────────────────────────────────────────────────────────────────────────────────┘
Remove output folder E:\Tutorials\actionSQA\Cypress\CypressFramework\cypress\reports\html
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: BDD/ecommerce.feature (1 of 19) An error was thrown in your plugins file while executing the handler for the before:spec event.
The error we received was:
Error: Unexpected state in beforeSpecHandler: uninitialized. This almost always means that you or some other plugin, are overwriting this plugin's event handlers. For more information & workarounds, see https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/event-handlers.md (if neither workaround work, please report at https://github.com/badeball/cypress-cucumber-preprocessor) at createStateError (E:\Tutorials\actionSQA\Cypress\CypressFramework\node_modules@badeball\cypress-cucumber-preprocessor\dist\plugin-event-handlers.js:83:58) at beforeSpecHandler (E:\Tutorials\actionSQA\Cypress\CypressFramework\node_modules@badeball\cypress-cucumber-preprocessor\dist\plugin-event-handlers.js:265:19) PS E:\Tutorials\actionSQA\Cypress\CypressFramework>
I installed following packages and configuration:
in package.json:
"cypress-cucumber-preprocessor": {
"json": {
"enabled": true,
"output": "cypress/cucumberReport/results.json"
}
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.1.0",
"@cypress/browserify-preprocessor": "^3.0.2",
"cypress": "^13.12.0"}
In cypress-config.js
const { defineConfig } = require("cypress");
const preprocessor = require("@badeball/cypress-cucumber-preprocessor");
const browserify = require("@badeball/cypress-cucumber-preprocessor/browserify");
async function setupNodeEvents(on, config) {
await preprocessor.addCucumberPreprocessorPlugin(on, config);
require('cypress-mochawesome-reporter/plugin')(on);
on("file:preprocessor", browserify.default(config));
return config;
}
module.exports = defineConfig({
e2e: {
setupNodeEvents,
specPattern: 'cypress/integration/examples/**/*.{js,feature,ts,tsx}'
}
});

This is explained in the documentation linked from the error message. Use cypress-on-fix.

Thanks
On Sun, 30 Jun 2024, 5:50 pm Jonas Amundsen, @.***>
wrote:

Closed #1207
https://github.com/badeball/cypress-cucumber-preprocessor/issues/1207
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/badeball/cypress-cucumber-preprocessor/issues/1207#event-13342467113,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARET3BHESHAYDM3OAQLP2JDZKASMTAVCNFSM6AAAAABKEGPYMSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGM2DENBWG4YTCMY
.
You are receiving this because you authored the thread.Message ID:
<badeball/cypress-cucumber-preprocessor/issue/1207/issue_event/13342467113
@github.com>


Byron wallet CRUD - update-name, update-spending password

Context

Those functionalities are needed for Byron Reboot
Decision

Update-name will be as it was done for Jormungandr
get utxo statistics will be as it was done for Jormungandr
Update spending password will need to take into consideration below requirements:
(a) no password -> valid password   LEGAL
(b) valid password -> valid password   LEGAL
(c) valid password -> no password  ILLEGAL
Moreover, restoration should be reviewed to accept either no password or current password.

Acceptance Criteria

Byron Api supports update-name, get utxo statistics and update-spending password
Byron Api restoring accepts also no password
Byron Api of update-spending password supports transitions specified in Decision section

Development

QA

It would be worth checking the changes in :

swagger.yaml
check integration tests introduced which can be run via

stack test --ta '-m "BYRON_UPDATE_NAME"' cardano-wallet-byron:cardano-node-integration
stack test --ta '-m "BYRON_UTXO"' cardano-wallet-byron:cardano-node-integration

lgtm.


test(net_builder): add gpu side test of net builder

清理单测过程中发现net_buidler_test中很多单测只测了host端，补充gpu端的测试。
另外scatter、argmax、argmin三个算子的实现有问题会在其他PR中打开。

 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.6clc seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

清理单测过程中发现net_buidler_test中很多单测只测了host端，补充gpu端的测试。
另外scatter、argmax、argmin三个算子的实现有问题会在其他PR中打开。

PR 中不止做了添加gpu测试的工作，也对若干算子的测试进行修复，补充该部分说明


Installation failed on Windows 7 64-bit

Am trying to NPM install node-expat onto a windows 7 64 bit machine.  node-gyp installs fine on a standalone basis with no errors.  However, node-expat throws a number of warnings: e.g. warning C4244: 'return' conversion from __int64 to XML_Index,
followed by a LINK fatal error LNK1181 cannot open input file kernel32.lib [c:.........\node-modules\node-expat\build\node-expat.vcxproj]
I'm developing a node/angularJS app and a bit out of my depth with the windows visual studio stuff.  Can anyone identify what I'm doing wrong please?
Extracts from npm-debug.txt below
369 info linkStuff<EMAIL_ADDRESS>370 verbose linkBins<EMAIL_ADDRESS>371 verbose linkMans<EMAIL_ADDRESS>372 verbose rebuildBundles<EMAIL_ADDRESS>373 info install<EMAIL_ADDRESS>374 verbose unsafe-perm in lifecycle true
375 info<EMAIL_ADDRESS>Failed to exec install script
376 info C:\Users\Tim Cullen\Documents\Mojo-Angular\node_modules\node-expat unbuild
377 info preuninstall<EMAIL_ADDRESS>378 info uninstall<EMAIL_ADDRESS>379 verbose true,C:\Users\Tim Cullen\Documents\Mojo-Angular\node_modules,C:\Users\Tim Cullen\Documents\Mojo-Angular\node_modules unbuild<EMAIL_ADDRESS>380 info postuninstall<EMAIL_ADDRESS>381 error<EMAIL_ADDRESS>install: node-gyp rebuild
381 error Exit status 1
382 error Failed at the<EMAIL_ADDRESS>install script.
382 error This is most likely a problem with the node-expat package,
382 error not with npm itself.
382 error Tell the author that this fails on your system:
382 error     node-gyp rebuild
382 error You can get their info via:
382 error     npm owner ls node-expat
382 error There is likely additional logging output above.
383 error System Windows_NT 6.1.7601
384 error command "C:\Users\Tim Cullen\Documents\nodejs\\node.exe" "C:\Users\Tim Cullen\Documents\nodejs\node_modules\npm\bin\npm-cli.js" "install" "node-expat"
385 error cwd C:\Users\Tim Cullen\Documents\Mojo-Angular
386 error node -v v0.10.25
387 error npm -v 1.3.24
388 error code ELIFECYCLE
389 verbose exit [ 1, true ]

+1 getting same issue on Windows 7 with VS 2013.
Unfortunately node-expat is the flakiest module we have ever dealt with...

If someone with access to a windows system is willing to put in a pull request to fix this issue I am more than happy to accept, but as I don't have access to a windows system this is very hard for me to work on/fix this.

is node-xmpp backed by any company? Getting a single license key for windows 7 pro is less than $150, especially now that it's mostly legacy disks, it's a pretty sensible investment for any developer intending to target multiple platforms (OSX machine, and parallels running a win7 bootcamp partition and linux VM for proper cross-platform testing. Given the price of the mac, the last bits are pretty much insignificant cost for massive developer return =)

node-xmpp is not backed by any company. Ideally it would be best to get someone familiar (and invested) in the windows version working. We are open to windows developers volunteering their time.


Kapacitor alerting on the whole batch

I have 4 cpu's and telegraf sends 5 records each time it runs. I am trying the simple example for a stream against cpu_usage_idle with a value < 80. If any of the values in those 5 records is less than 80, its writing all 5 records to log instead of just the row that has value less than 80. See the output from log below. Only 3 rows have values below 80 but all 5 rows are in the alerts log.
{"id":"cpu_usage_idle:nil","message":"cpu_usage_idle:nil is CRITICAL","time":"2015-12-14T20:39:20Z","level":"CRITICAL","data":{"series":[{"name":"cpu_usage_idle","tags":{"cpu":"cpu0","host":"localhost"},"columns":["time","value"],"values":[["2015-12-14T20:39:20Z", 71.2]]}]}}
{"id":"cpu_usage_idle:nil","message":"cpu_usage_idle:nil is OK","time":"2015-12-14T20:39:20Z","level":"OK","data":{"series":[{"name":"cpu_usage_idle","tags":{"cpu":"cpu1","host":"localhost"},"columns":["time","value"],"values":[["2015-12-14T20:39:20Z", 83.28328328328328]]}]}}
{"id":"cpu_usage_idle:nil","message":"cpu_usage_idle:nil is CRITICAL","time":"2015-12-14T20:39:20Z","level":"CRITICAL","data":{"series":[{"name":"cpu_usage_idle","tags":{"cpu":"cpu2","host":"localhost"},"columns":["time","value"],"values":[["2015-12-14T20:39:20Z", 75.3]]}]}}
{"id":"cpu_usage_idle:nil","message":"cpu_usage_idle:nil is OK","time":"2015-12-14T20:39:20Z","level":"OK","data":{"series":[{"name":"cpu_usage_idle","tags":{"cpu":"cpu3","host":"localhost"},"columns":["time","value"],"values":[["2015-12-14T20:39:20Z", 84.61538461538461]]}]}}
{"id":"cpu_usage_idle:nil","message":"cpu_usage_idle:nil is CRITICAL","time":"2015-12-14T20:39:20Z","level":"CRITICAL","data":{"series":[{"name":"cpu_usage_idle","tags":{"cpu":"cpu-total","host":"localhost"},"columns":["time","value"],"values":[["2015-12-14T20:39:20Z", 78.6]]}]}}
Alert:
Enabled: true
Databases Retention Policies: ["telegraf"."default"]
TICKscript:
stream
.from().measurement('cpu_usage_idle')
.alert()
.crit(lambda: "value" <  80)
.log('/tmp/alerts.log')

This is the expected behavior. Notice that the level property of the rows that are greater than 80 is OK not CRITICAL. Kapacitor will fire recovery events; meaning that the first time the value goes into an OK state from a non OK state it will trigger the event. Since the events are coming in 5 at a time from each core and some cores are below 80 while the others are above, the event state is bouncing between OK and CRITICAL. If you want the alert to treat each cpu separately then use a groupBy or filter the data for just the total cpu.
stream
.from().measurement('cpu_usage_idle')
.groupBy('cpu') // treat each cpu separately so they don't interfere with each other's states.
.alert()
.crit(lambda: "value" < 80)
.log('/tmp/alerts.log')

or
stream
.from().measurement('cpu_usage_idle')
.where(lambda: "cpu" == 'cpu-total') //filter down the data to only look at total cpu.
.alert()
.crit(lambda: "value" < 80)
.log('/tmp/alerts.log')

Thanks @nathanielc . GroupBy helps but i still see the state changes. If within a group of 5 there is one critical record that row is alerted on with the level:critical correctly. The first record in the next batch shows in the log with level:ok. Looks like that is expected behavior.
How do i filter those with level:ok, since they are of no use to me. Is there a reason why show them?
Thanks for the help.

The OK alerts are intended for use by alerting systems that need to know that the alert has recovered. There is currently no way to turn them off.

Thanks for the prompt response. Great project. Saved me a lot of time. Would be happy to contribute if needed.


Fix styleguide props/methods documentation

Expected behaviour
The styleguide should show all available props/methods with defaults and description.
Actual behaviour

Steps to reproduce the issue
Run npm run styleguide:start locally or go to http://primitives.surge.sh/
Specifications

jaak-primitives version: 1.0.0-beta
styled-components version: n/a
Build system: n/a

This relates to an issue with react-docgen that is addressed by this issue in react-styleguidist.
The alternative is to inline prop type definitions instead of importing them.

On second look, that issue is unrelated.
I think the only option is inline prop type definitions.


Make it possible without subcommands

If i have only one command to execute, i dont need subcommands.

Why do you need a CLI helper then? Vanilla Go seems quite reasonable for single-command programs, doesn't it?

for example a simple command with flags, like this : gofmt -w main.go

Makes sense. Alright, gimme a while, I'd work smth out.
On Wed, 20 Jan 2016 23:43 dabba39<EMAIL_ADDRESS>wrote:

for example a simple command with flags, like this : gofmt -w main.go
—
Reply to this email directly or view it on GitHub
https://github.com/tucnak/climax/issues/6#issuecomment-173369665.

Are there any updates on this? This lib looks very promising, would love to know if this is possible by now.


As a verfiied user, I want to see a verification status, so that I know the app is working

Given I have verified a claim,
When I view the claims
Then I see a green tick next that that claim

Verified by a particular provider? Or verified in general? What if ID is verified on one place but the not/rejected on the other

@TomDodson To answer your question... I think this may help.
Once the users documents have been sent to the "TPA" the idem proxy receives a successful response, verifying my documents. The idem proxy will then sign the claim with a WC3 VC response.This is then sent back to the user's device and saved in local storage. Once this has happened the user is then "varified" and a green tick appears next to the name, DOB, Email, and Address claims to show they are verified


Docs issue: UseOneOfForInheritance is not a function

The README at https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/README.md#inheritance-and-polymorphism references UseOneOfForInheritance which is not a method. I'm not sure which of
c.UseAllOfForInheritance();
c.UseOneOfForPolymorphism();

is actually meant.

Use c.UseAllOfForInheritance for enabling Inheritance and c.UseOneOfForPolymorphism for enabling Polymorphism


putiRowVector/putiColumnVector

We're missing this nice micro optimization: set along dimension.

meh, implemented.


Fix blending with negative blend weights

Fixes a regression introduced in #68593.
Negative blend wrights are possible and are needed for some effects. I'm using them for dynamic animation exaggeration:
# exaggeration is applied to the base animations blend weight
blend_weight *= exaggeration_factor

# and a reference pose (the "center" of the animation, ie: crossing pose of walk cycle) is blended with
reference_blend_weight = 1.0 - blend_weight

If exaggeration_factor is greater than 1.0 then it could be the case that reference_blend_weight is less than 0.0, which is correct and necessary for this type of additive blending.

Thanks!


Incorrect external reference type category PACKAGE_MANAGER

I was just comparing SBOMs generated by Trivy, this utility and the one integrated into Black Duck itself and I see that this utility and Black Duck generate an external reference type category of PACKAGE_MANAGER, however the JSON schema says it should be PACKAGE-MANAGER, i.e. the separator is a hyphen, not an underscore.

Turns out this may be due to an inadvertent update in the JSON schema, see this.

The JSON schema has been updated to allow for both PACKAGE-MANAGER and PACKAGE_MANAGER so this isn't an issue.