Support Jetson AGX Orin

/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py:128: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead.
warnings.warn(
[Prompt Server] web root: /opt/ComfyUI/web
/usr/local/lib/python3.10/dist-packages/kornia/feature/lightglue.py:44: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
@torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
NumExpr defaulting to 12 threads.
[Crystools INFO] Crystools version: 1.20.0
[Crystools INFO] CPU: ARMv8 Processor rev 1 (v8l) - Arch: aarch64 - OS: Linux 5.15.148-tegra
[Crystools INFO] Pynvml (Nvidia) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) Orin (nvgpu)
[Crystools INFO] NVIDIA Driver: 540.4.0
[Crystools ERROR] Could not get GPU utilization.Not Supported
[Crystools ERROR] Monitor of GPU is turning off (not on UI!)
Exception in thread Thread-5 (startMonitorLoop)here: /opt/ComfyUI/custom_nodes/ComfyUI-tbox:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
Using ckpts path: /opt/ComfyUI/custom_nodes/ComfyUI-tbox/../../models/annotatorself.run()
Using symlinks: False  File "/usr/lib/python3.10/threading.py", line 953, in run
Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider']
self._target(*self._args, **self._kwargs)
File "/opt/ComfyUI/custom_nodes/ComfyUI-Crystools/general/monitor.py", line 31, in startMonitorLoop
asyncio.run(self.MonitorLoop())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/opt/ComfyUI/custom_nodes/ComfyUI-Crystools/general/monitor.py", line 35, in MonitorLoop
data = self.hardwareInfo.getStatus()
File "/opt/ComfyUI/custom_nodes/ComfyUI-Crystools/general/hardware.py", line 114, in getStatus
getStatus = self.GPUInfo.getStatus()
File "/opt/ComfyUI/custom_nodes/ComfyUI-Crystools/general/gpu.py", line 151, in getStatus
memory = self.deviceGetMemoryInfo(deviceHandle)
File "/opt/ComfyUI/custom_nodes/ComfyUI-Crystools/general/gpu.py", line 241, in deviceGetMemoryInfo
mem = pynvml.nvmlDeviceGetMemoryInfo(deviceHandle)
File "/usr/local/lib/python3.10/dist-packages/pynvml/nvml.py", line 2440, in nvmlDeviceGetMemoryInfo
_nvmlCheckReturn(ret)
File "/usr/local/lib/python3.10/dist-packages/pynvml/nvml.py", line 833, in _nvmlCheckReturn
raise NVMLError(ret)
pynvml.nvml.NVMLError_NotSupported: Not Supported
generated new fontManager

pynvml only works in PC
jtop is done for jetson
https://github.com/rbonghi/jetson_stats

Hello, I am currently looking to customize a Jetson AGX Orin 64 board. Could you please provide me with the process to do this?

Hello, I am currently looking to customize a Jetson AGX Orin 64 board. Could you please provide me with the process to do this?

https://github.com/johnnynunez/ComfyUI-Crystools

I'll check it over the weekend, but please make a pull from the dev or main and check only the changes on your PR. Thanks!


ALS-4465: Add access rule for search values endpoint

@ramari16 Can we close this PR? I don't believe it will ever be used.


PTVS-LS Integration: Fix PythonSuggestedActionsSource

PythonSuggestedActionsSource calls Analyzer.FindNameInAllModulesAsync, which only accepts text of the import. Instead, it requires span, document and version. Current implementation tries to look for all possible text inclusions, which hangs LS for several seconds.

Currently PythonSuggestedActionsSource is disabled

Probably no longer applies as PTVS is moving to new LS?


Alias dimensions

First of all: thanks to this great project, I love Holoviews and the way it renders my data.
I am still fighting with Dimensions. Here it says that aliases can be provided in the form of ('year', 'Year'), example code:
macro_df = pd.read_csv('http://assets.holoviews.org/macro.csv', '\t')
key_dimensions   = [('year', 'Year'), ('country', 'Country')]
value_dimensions = [('unem', 'Unemployment'), ('capmob', 'Capital Mobility'),
                    ('gdp', 'GDP Growth'), ('trade', 'Trade')]
macro = hv.Table(macro_df, kdims=key_dimensions, vdims=value_dimensions)

Now, with my data, I got the value-dimensions renamed but not  for the key-dimensions:
df = pd.DataFrame(MyTabularData)
df = pd.melt(df, id_vars='atkmindex', var_name='Tags', value_name='Percentage of Users')
df['Tags'] = [d.replace('_', ' ').title() for d in df.Tags]
value_dim = hv.Dimension('Percentage of Users', value_format=percent_format, range=(0, 90))
ds = hv.Dataset(df, vdims=[value_dim])
#does not work ("TypeError: not all arguments converted during string formatting":
curves = ds.to(hv.Curve, kdims=[('atkmindex', 'AT South to North')], groupby='Tags').overlay()
#does work:
curves = ds.to(hv.Curve, kdims=['atkmindex'], groupby='Tags').overlay()

Could you give me a hint how the Dimension Alias in case for kdims works?

Sorry that this stalled for so long (>1 year!!!). Just to answer the question, the problem here is that the aliases must be defined when the Dataset is originally defined:
hv.Dataset(df, [('atkmindex', 'AT South to North'), 'Tags'], value_dim)

Great - I am long through with this project, but I'll remember to look at it - still working with Holoviews! Hopefully your answer will help others, too. Many thanks.


fix bug component highlights not blending with bg

changes:

fix logical error in highlight.lua
refactor mode component
add tags to gitignore

I agree with all of these changes. But I would like to have them in separate commits as they refer to completely different things. Can you change it to be this way?

Ok done . They would have gotten squashed during merge and were quite simple that's why I didn't bother to separate them my bad :)

They are different enough that I didn't want to squash them. Thanks :smile:


RememberMe  #537

closes #537

I think there was a miscommunication for this feature. Remember me functions usually mean when a user closes their browser or tab and then goes back to the site, they remain logged in. If a user does not have remember me enabled, when they close their browser or tab, they are automatically logged out and if they go back to the site, they'll be told to login again. Currently this does not do this, but instead simply stores the last email and password used in plaintext to autofill the login forms when the user logs out (which is a security risk).
Remember me functionality can be achieved by saving the JWT to local storage instead of session storage. If the user does not want remember me enabled, the JWT should instead be saved to session storage instead of local storage.
Remember me should be true by default, instead of false as you've set it now.
The register page also has a remember me option, it's not only the login page as you've done here.

fixed it as you mentioned

This is improved in that when remember me is not checked, then closing the tab and going back to the site has you logged out, but the rest of the site doesn't work when logged in with remember me unchecked (for example, you cannot create dossiers, manage your groups, or even log out). I may be wrong, but I suspect modifying the initializeUser function in App.tsx to check for both local and session storage might fix the issue.

you were right I had to give authorization to users logged in with remember me unchecked. now the users/admins are able to interact with the website regularly.


python3Packages.tensorflow-bin_2: 2.2.0 -> 2.4.0

Motivation for this change
Backport #121998 for the new release.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

Closing as NixOS 21.05 is EOL.


Data processing clean_up_input_data TypeError

Context
A new error was introduced withing update of the data loading script
Problem or idea

Created 23 samples for 'Project SCPCP000001'
Cleaning up 'Project SCPCP000001' input data
Traceback (most recent call last):
  File "/home/user/manage.py", line 30, in <module>
    main()
  File "/home/user/manage.py", line 26, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/home/user/scpca_portal/management/commands/load_data.py", line 132, in handle
    self.load_data(**kwargs)
  File "/home/user/scpca_portal/management/commands/load_data.py", line 233, in load_data
    self.clean_up_input_data()
TypeError: Command.clean_up_input_data() missing 1 required positional argument: 'self'

Solution or next step
Fix the clean up method definition.

Resolved by https://github.com/AlexsLemonade/scpca-portal/pull/511


nydus-image: use BtreeMap replace HashMap to guarante order of chunkinfo

Because chunkinfo uses HashMap for storage, the writing to bootstrap is out of order,
so repeated builds may cause the bootstrap content to change.
Signed-off-by: zyfjeff<EMAIL_ADDRESS>

@zyfjeff , a new test job has been submitted. Please wait in patience.

@zyfjeff , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:x:FAIL

Sorry, your test job failed. Please get the details in the link.

@zyfjeff , your pull request has been updated. A new test job will be submitted. Please wait in patience.

@zyfjeff , the test job has been submitted. Please wait in patience.

@zyfjeff , The CI test is completed, please check result:

Test CaseTest Result

Congratulations, your test job passed!

@zyfjeff , your pull request has been updated. A new test job will be submitted. Please wait in patience.

@zyfjeff , your test job has passed, and no need to test again.


feat: config option 'overrides' to override palette colors

First of all, I love this variation of gruvbox, works better than any other out there, thanks for putting in the effort to create this.
I didn't like the dark blue in the palette, so this allows you to override any palette color with another color
vim.g.gruvbox_baby_overrides = {blue_gray = "#aaaaaa"}

or using existing palette colors
vim.g.gruvbox_baby_overrides = {blue_gray = "light_blue"}

all good?


Permission denied: 'models/baseline.pth'

command
python inference.py -i D:\Geo\vocal-remover\1.wav
error
loading model... Traceback (most recent call last):
File "inference.py", line 166, in
main()
File "inference.py", line 110, in main
model.load_state_dict(torch.load(args.pretrained_model, map_location=device))
File "C:\Users$$$$\AppData\Roaming\Python\Python38\site-packages\torch\serialization.py", line 594, in load
with _open_file_like(f, 'rb') as opened_file:
File "C:\Users$$$$\AppData\Roaming\Python\Python38\site-packages\torch\serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "C:\Users$$$$\AppData\Roaming\Python\Python38\site-packages\torch\serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
PermissionError: [Errno 13] Permission denied: 'models/baseline.pth'

Run the console in that folder as administrator and run the command or transfer the folder with the program to another drive if the folder is in drive C:


Reading directly from tcpdump stdout fails

When trying to read the output of tcpdump with pcap.OpenOfflineFile(os.Stdin) one will continously receive io.EOF error but not a single valid packet.
tcpdump is used like tcpdump -i eth0 -U -s0 -w - | mygopacketapplication. Flag -w - will direct pcap output to standard output.
Wireshark can read from stdin like stated above just fine (using -k -i -). But even when saving this capture from within wireshark and then opening via pcap.OpenOffline("wireshark_capture_from_stdin.pcap") all one will recieve is io.EOF.

After manually hex-editing some pcap files I've found the culprit:
tcpdump will insert a VLAN (802.1Q) layer when capturing from a virtual device. However there is a bug regarding BPF when you try to chain together some 'vlan' expressions: https://github.com/the-tcpdump-group/libpcap/issues/158
So instead of vlan or ( tcp port 1111 or 2222 ) one would use ( tcp port 1111 or 2222 ) or vlan. Otherwise you'll never see any non-tcp traffic.


x/sys/plan9 is missing constants for the flag parameter of its Mount and Bind funcs

Constants like MAFTER, MBEFORE, etc. are missing from the package.

Do you want to submit a patch, or do you want I do it for you?

It would be great if you could. I'm not setup to submit patches yet.

I've created CL 19729. You may want to register to go-review, so I could CC you next time.


Update version docs

Summary
#7743
Show a JSON structure that shows what structure --json --outputFile= has
Test plan
The PR only affects the docs as indicated in the screenshot below, it was tested on a local machine

Deployed preview: https://deploy-preview-7813--jest-preview.netlify.com/

It looks like prettier is failing, let me see If I can clean that to make the checks pass.

@SimenB any guide on how I can fix the first check that's failing

You can run yarn prettier:md:fix in the root of the repository. Or prettier {files that fail} --write

Thank you for guiding me through this.


Todo for the project

It would be great if a contributing guide or a todo for the project is created to support individuals interested in the project.

Would love to, but don't know what to include. Since you've been through it, what would it include? Give me an outline.

Personally, I would include the components yet to add like NSTextField (Wanted to work on that) and other such components. Along with Apple Technologies like AVFoundation. I would also suggest you to add the wiki link on types on the README.md since it is quite hard to find, from personal experience.

Nearly every symbol would be added to the list. That's a lot of symbols to have in a todo/list. We're still not even able to support every API, so we're taking a "generate bindings as needed/desired" since you can do most things with the core objc package.


Add known type checker crashers.

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

Add minimized tests for:
rdar://problem/27879334

@swift-ci Smoke test macOS and merge.

@rudkx Want to take a couple more? rdar://27420414 rdar://27627862

@slavapestov These don't look like crashes during type checking. I'm trying to (slowly) move some of those into the validation tests so that if there are dups that aren't easy to recognize (or where we make larger changes unrelated to a single failure) we'll know what now works.

@swift-ci Smoke test and merge.

They're cases where the type checker allows code which should not type check. So the actual crash is in SILGen and IRGen, respectively, but once the bugs are fixed, the code will fail to type check.

@slavapestov Sure, they're related to the type checker, but I really just want to focus on getting things that actually crash in the type checker into the validation suite at this point.
Doug pointed out to me recently that compiler_crashers_2 is another place that reduced crashers are getting put into, so if you want to get these into the test suite you may consider adding them there.


Update Nx v13 to latest v13 and add support for Nx v16 binary package

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: CONTRIBUTING.md
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature: Add support for Nx 16+ binary package
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe: Update to latest Nx v13

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@ronnetzer any chance you would have time to review (possibly merge and release) this change?

Hi @rathpc thanks for the contribution, I'll have some time this weekend to go over it.
Should I consider these changes to be breaking or did you keep the support of older versions?

@ronnetzer this one kept support for older versions so it should be just a minor bump. I would still like to find time to update the whole project to nx16 which would indeed be a breaking change but that would be a separate much larger PR.

@ronnetzer just checking in to see if you had a chance to take a look at this? It is currently blocking several downstream dependencies for me so I was hoping to get this merged soon. Thanks in advance!

Thank you!!!

Is there a workflow that has to be run to get this change updated here: https://github.com/e-square-io/nx-distributed-task?

I think there was some issue during that release...
https://github.com/e-square-io/nx-github-actions/actions/runs/5097529932/jobs/9164128041#step:6:308

Thanks, noticed that too, I'll handle it today and deploy manually

Thanks, noticed that too, I'll handle it today and deploy manually

Much appreciated!!

Thanks, noticed that too, I'll handle it today and deploy manually

@ronnetzer were you able to get this deployed?


GraphNode overflows last child when one of the previous children has vertical sizing set to fill expand

Godot version
v4.2.stable.official [46dc27791]
System information
Godot v4.2.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 535.129.03) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)
Issue description
Setting the vertical sizing flag to Fill Expand of a child of a GraphNode that is not last fills the space until the last child is almost outside the GraphNode. Trying the same setup with a VBoxContainer node instead shows the expected behavior.

Steps to reproduce

Add a GraphNode
Add any Control node as its child, then add another so there are at least two child nodes.
Select a child node that is not the last one, and set it's vertical sizing in layout section to enable Fill & Expand.
The last child node will be positioned almost outside the GraphNode

Minimal reproduction project
MRP.zip

Same bug!


Random test fails on Travis

Some tests randomly fail when executed on travis. On our local development machines all tests run successfully. Probably the sleep timings are off on travis / some things take longer than on our local development machines. We should tweak these tests so that they work every time.

I migrated the tests from the (now defunct) Travis.org to Github Actions, where all the tests for the following rubies pass:

2.5.1
2.6.2
2.7.1
3.0.1

I think we should keep an eye on the tests, but for now I think we can close this issue. Any objections @remofritzsche?

Perfect, many thanks for the migration. This is fine for me.


xdg-desktop-portal-gtk fails to start after a hard hyprland restart

If I restart hyprland, (manually or after a crash) xdg-desktop-portal-gtk.service is not able to start. It happens 100% of the time. It does not say much, but here's the log
May 04 12:53:36 axion xdg-desktop-por[100358]: Unhandled parent window type
May 04 12:53:36 axion xdg-desktop-por[100358]: Failed to associate portal window with parent window
May 04 13:23:15 axion xdg-desktop-por[100358]: Error reading events from display: Broken pipe
May 04 13:23:15 axion systemd[814]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE

is that a hl issue

same issue with hyprland portal
May 04 13:23:15 axion xdg-desktop-portal-hyprland[114249]: 2023/05/04 13:23:15 [ERROR] - wayland: failed to connect to display
May 04 13:23:15 axion systemd[814]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
May 04 13:23:15 axion systemd[814]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
May 04 13:23:15 axion systemd[814]: Failed to start Portal service (Hyprland implementation).

I'm not sure. I start these services with systemd, and it works fine after boot. not so fine later on. technically, it should be the same as when hyprland stops, I'm dropped back at my tty

I get same issue like this for waybar and wpaperd. I ran this two program using systemd-run to have better resource control, but they will always fail when hyprland is boot up at first time.
Here is my config:
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemd-run --user --unit=fcitx5-hypr fcitx5
exec-once = systemd-run --user --unit=waybar-hypr waybar
exec-once = systemd-run --user --unit=polkit-hypr /usr/lib/polkit-kde-authentication-agent-1
exec-once = systemd-run --user --unit=wpaperd-hypr wpaperd --no-daemon

And here is the log:
$ journalctl --user -u waybar-hypr
...
Oct 08 18:39:43 waybar[1044]: Error reading events from display: Broken pipe
Oct 08 18:39:43 systemd[910]: waybar-hypr.service: Main process exited, code=exited, status=1/FAILURE
Oct 08 18:39:43 systemd[910]: waybar-hypr.service: Failed with result 'exit-code'.

$ journalctl --user -u wpaperd-hypr
Oct 08 17:24:53 systemd[910]: Started .nix-profile/bin/wpaperd --no-daemon.
Oct 08 18:39:43 wpaperd[1047]: Io error: Broken pipe (os error 32)
Oct 08 18:39:43 wpaperd[1047]: ERROR [wpaperd]
Oct 08 18:39:43 wpaperd[1047]:    0: dispatching the event loop
Oct 08 18:39:43 wpaperd[1047]:    1: other error during loop operation
Oct 08 18:39:43 wpaperd[1047]:    2: underlying IO error
Oct 08 18:39:43 wpaperd[1047]:    3: Broken pipe (os error 32)
Oct 08 18:39:43 wpaperd[1047]: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Oct 08 18:39:43 wpaperd[1047]: Run with RUST_BACKTRACE=full to include source snippets.
Oct 08 18:39:43 wpaperd[1047]: Error:
Oct 08 18:39:43 wpaperd[1047]:    0: dispatching the event loop
Oct 08 18:39:43 wpaperd[1047]:    1: other error during loop operation
Oct 08 18:39:43 wpaperd[1047]:    2: underlying IO error
Oct 08 18:39:43 wpaperd[1047]:    3: Broken pipe (os error 32)
Oct 08 18:39:43 wpaperd[1047]: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Oct 08 18:39:43 wpaperd[1047]: Run with RUST_BACKTRACE=full to include source snippets.
Oct 08 18:39:43 systemd[910]: wpaperd-hypr.service: Main process exited, code=exited, status=1/FAILURE
Oct 08 18:39:43 systemd[910]: wpaperd-hypr.service: Failed with result 'exit-code'.

Also found that this error is not reproducible every time, so I think there are some race condition here.

$portals = sleep 1; killall xdg-desktop-portal-hyprland & killall xdg-desktop-portal & sleep 1; /usr/lib/xdg-desktop-portal-hyprland & sleep 2; /usr/lib/xdg-desktop-portal
 exec-once = $portals &

Assuming, you're using a systemd distro - this shouldn't be a problem with uwsm. All problems grow from the fact Hyprland (and other standalone compositors) don't start graphical session, thus messing with dbus/systemd logic.


Add initialize to client for auth_token reader

and edit modules to use self.auth_token

The build fail is due to hitting the 10 request rate limit. I'll work on a workaround for the spec so I don't hit the limit.


Add tests for Keystone Authenticator

/ok-to-test

/ok-to-test

/approve
https://github.com/kubernetes/cloud-provider-openstack/pull/31 should be merging shortly, please rebase this when it does

@FengyunPan2 @anguslees can one of you please lgtm?

/approve

/lgtm


Add laser scan range parameter.

This PR adds  the range parameter for the tango laser scan to skip shadow points that appear very close to the camera.
# Output of rosparam list | grep "laser"
/tango/laser_scan_max_height
/tango/laser_scan_max_range
/tango/laser_scan_min_height
/tango/laser_scan_min_range

@malteim I don't see your last changes. Did you push your commits?

@PerrineAguiar ok sorry, I pushed them right now.

Everything builds successfully with  catkin build --no-jobserver -i.

@malteim lgtm


Add error reporter

Add an error reporter struct/thing responsible for ingesting linter/semantic/parse errors and printing them using one of several formats.
Acceptance Criteria

Support plugging in a formatted. This will be used to support pretty/colorful outputs, github actions outputs, and a JSON format that can be integrated into a VSCode plugin
Should print to an io.Writer. Will often be stdout, but I'd like to support writing directly to a file or TCP socket.
Must be thread-safe

#55

This is missing features but it's mostly there. At least enough to be usable. Closing as completed.


Create docs for creating gRPC middleware

Dapr's gRPC middleware mechanism needs to be documented to instruct developers on:

How to author a new gRPC middleware
How to configure a middleware

gRPC is HTTP only. Will create a doc issue when we have the feature in place.


A new concept for Sector Activity

Description of the issue
This originates from OEO Dev Meeting 24.
We do have different sectors as entities in the ontology (e.g. the energy transformation sector and the industry sector), but do not have a concept/class describing the sectors' activity.  This is needed to annotate energy use and emissions (as activity subclasses) of sectors.
Ideas of solution
:eyes:
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[x] I already read the latest version of the workflow for this repository
[x] The goal of this ontology is clear to me

I am aware that

[x] every entry in the ontology should have a definition
[x] classes should arise from concepts rather than from words

If I remember yesterday's discussion correctly we need to describe the following two general concepts which are applicable to all sectors:

In a sector occurs some energy consumption and this has to be quantified with some energy amount value,
In a sector occurs some (greenhouse gas) emission and this has to be quantified with some emission value.

My spontaneous idea is to introduce the following two classes:

sectoral energy consumption: A sectoral energy consumption is the consumption of energy of a sector. (Axiom: 'has quantity value' some 'energy amount value')
sectoral emission: A sectoral emission is the emission of a sector. (Axiom: 'has quantity value' some 'emission value')

With these classes, post-composition outside the OEO for the specific subclasses like energy transformation sector and industry sector should be possible. But we can also include pre-composed subclasses in the OEO.
Anyway, some relations would be helpful. Something like consumes and emits which connect the sectors with sectoral energy consumption and sectoral emission. I think participates in (a relation between a continuant and a process, in which the continuant is somehow involved in the process) is a suitable parent relation. Such new relations are not limited to the use cases of this issue but can e.g. also be used to describe the connection of artificial objects like power plants to the respective energy consumption and emission.

I tried to find definitions, but I don't think these would fit perfectly. But maybe it helps a bit to move on.
First ideas for definitions:
consumes: A relation between a continuant and a consumption, in which the consumption quantity value of the continuant is somehow increased by the consumption.
emits: A relation between a continuant and an emission, in which the emission quantity value of the continuant is somehow increased by the emission.

Relations like consumes / emits should rather relate to a continuant than a process. An axiom like industry sector emits some greenhouse gas makes sense. For the relation to the processes, we could create smth like "causes" or "induces": e.g.  industry sector causes some sectoral emission (process)

For the relation to the processes, we could create smth like "causes" or "induces": e.g. industry sector causes some sectoral emission (process)

In #582 we decided to use has part to connect emission to other processes. For some classes we have already implemented this; one example is the axiom fuel-powered electricity generation has part some emission.

From discussion of #969:

Maybe we need an object property to connect a sector to processes (and maybe also to material entities?). Something similiar to is about or covers, so that we can express 'international transport sector' relation some 'international transport'.

Maybe we need an object property to connect a sector to processes (and maybe also to material entities?). Something similiar to is about or covers, so that we can express 'international transport sector' relation some 'international transport'.

The label of the new object property (and maybe the inverse of it) has to be clearly delimited from 'covers sector' which is already implemented.
Proposal: 'is sector of'
Definition:  A relation that holds between a sector and the processes/ material entities it covers.

Proposal: 'is sector of'
Definition: A relation that holds between a sector and the processes/ material entities it covers.

I like this proposal.

Do we need the inverse of is sector of to close this issue or is is sector of sufficient?

I think, for the moment is is sector of sufficient. If we need the inverse later, we can add this then.

My spontaneous idea is to introduce the following two classes:

sectoral energy consumption: A sectoral energy consumption is the consumption of energy of a sector. (Axiom: 'has quantity value' some 'energy amount value')
sectoral emission: A sectoral emission is the emission of a sector. (Axiom: 'has quantity value' some 'emission value')

For implementation:

sectoral energy consumption is SubClassOf consumption? OR energy use -> than redefine: A sectoral energy consumption is the energy use of a sector?
sectoral emission is SubClassOf emission?

2. `sectoral emission` is SubClassOf `emission`?

According to the current definition propsal: yes.

What's the state of this issue?

This issue is now stale for a while, but the relations discussed here are highly relevant especially for the OEKG. Thus I added the OEKG label.
It seems to be a consensus to introduce the object property is sector of A relation that holds between a sector and the processes/ material entities it covers. (Domain: sector; range: `process or 'material entity').
Also there seems to be an agreement on:

sectoral energy consumption: A sectoral energy consumption is the energy use of a sector. (Axiom: 'has quantity value' some 'energy amount value')
sectoral emission: A sectoral emission is the emission of a sector. (Axiom: 'has quantity value' some 'emission value')_

But this will solve this issue only partially. Further discussions are needed on the relations like emits. Here we have to keep in mind that in the meanwhile we introduced relations like causally related to.
To move forward, I'll implement now what has already agreed on. Then we can focus on the missing relations after,


[Extensions] Generate a password for an extension's service account on installation

After it is possible to read an extension's configuration file and pass that information to the Security plugin, we will need to generate a password for the extension to then use for the creation of its auth header. The password will be used for basic authentication of the service account associated with the extension and should not be stored in the Security plugin. Instead, the password should be immediately hashed and the hash stored as part of the service account details. The password will then be sent back to core where it can be handed to the extension.
Completion of this issue will look like a PR which generates a password for an extension's service account, hashes it, and then stores the hash and sends the password back to core.

[Update 4/11] I am working on this in tandem with the token generation issue here. I believe I have found a bearer auth based solution which will avoid requiring passwords for the service accounts. That being said, I am running into some trouble storing the token information for revocation. We don't want to store it in the security index since it is not a configuration file based map. I have not found any other examples in the security plugin which don't use the CType pattern, so working on it.


March (03/2022)

Important tasks

[ ] Make a portfolio website -> utirequiem.com
[ ] Make a cool URL shortener, using Go, (Fiber + PostgreSQL) -> url.ultirequiem.com
[ ] Make a Discord bot
[ ] Tidy up my 200+ repositories on GitHub
[x] Format my PC to use my new dotfiles setup script nvm
[x] Make my first stream on twitch, probably live learning something, e.g tailwindscss
[x] wpupd rewrite + port to ESM

Other things I wanna do
Get at least one of these issues solved per week.
Solve at least one question per week on StackOverflow.
Continue with the #100DaysOfCode challenge on Twitter.
Sleep 8 hours.

I don't wanna spend time formatting my PC unless is necessary 😩
I start streaming one month earlier, but on Youtube XD
https://www.youtube.com/ultirequiem

Working on https://github.com/NeoSaile/wpupd 😆

Working on my discord bot
https://github.com/UltiRequiem/ultiservant

Today, I started my face-to-face classes 😩

Kinda done


Internal: fix upstream weird behaviour when type checking Type with w…

…rong URI
Without this fix the following type-checks even if the provided URI is invalid
import { Type } from 'fp-ts/lib/HKT'

type T1 = Type<'a', string>

Typescript typing is sometimes so weird... something not easy to reason about.

@sledorze that's a really polite way to say WTF :)
p.s.
mes félicitations pour l'équipe

@gcanti Yes we really had a great team play ! :)


Improvement on the Transaction Filter

Summary
The transaction filter in the Define SLO form will only match names that begin with the input string.
Desired Behaviour
The filter returns transaction names that contain the substring.
Possible Solution
Additional context

@olwenya - I should have this fixed in the next merged PR
cc: @ricegi

can be closed. Added in https://github.com/newrelic/nr1-slo-r/pull/133


Algae Module Tests

32 passing tests for the algae module (test_7_nsm_algae_calculations.py). File test_6_nsm_module.py has one failing test using the increment_timestep() that I have not figured out. Attached is the excel workbook I used to create the test cases. All scenario outputs from the excel book I checked against the RAS WQ outputs.
Manual Calculations for Algae.xlsx

Thank you Kelsey! Looks great. Couple things that I saw when going over it this morning. Plan to return to it tomorrow morning, but here are my thoughts:
I saw that one error raised by test_6 was with the np.select syntax, so I fixed those. Another error that's being raised is with the math.isnan() and min functions in processes.py. I think using the numpy versions of these functions may work, but when I made those changes (only 3 places in the python file), there was another confusing error that came up, so I reverted the change, to try to make runs in the notebook.
There seems to be an issue running more than one increment timestep now, and the model is having a hard time identifying the time_dim variable. The error suggests using a method such as nearest to help identify the time_dim but I'm confused how to try that. I tried adding a method to this part of the base.py file, but that didn't work. I see you added a timestep variable to be initialized with the model outside of our global variable timestep, but left the global variable timestep in place. Could you explain why you added that timestep variable in the init? Maybe that's better just wondering.

Ah thank you that solves the issue that I created for myself - setting that equal to 1 and trying to run multiple increment timesteps.

Corrected all the syntax issues with the np.select. When I comment out the updateable_static_variable assignment and assert lines, all the tests pass, so the error is somewhere with that. It looks like updateable static variables are just supposed to be a variable name or list of variable names that get moved to the state variable list. Kelsey had it set up so that the updateable static var name = an existing static variable ('a0') - so you'd think that'd remove it from the static var list and put it on another list. I tried with a var name that didn't exist in the static vars and that didn't work either. Kinda confused by the error, but don't think updateable static variables are an essential part of the model, since it seems like we have different ways to handle variables that we know will be updated. Will plan to check in on it next week, but wondering what you both think.

@sjordan29 It looks like a lot of changes in this PR came from me making edits in the processes files for the different state variables. I used those state variable-specific processes.py files to populate the nsm1\processes.py file, but have since been updating only that main processes.py file as I've tried to run the tests that @kewalak created, and have pushed commits to this branch mid-PR as I've found the syntax fixes that allow the tests to run. I apologize if that's not good coding etiquette as I think that's made things confusing. My main point is, I think a lot of the issues you point out in the sub-state variable processes.py files are fixed in the nsm1\processes.py file.

Thanks for pointing that out @imscw95- I'll go through and resolve all comments that appear to have been fixed!

All tests pass! Everything has either been addressed or moved to new issues. @imscw95, do you want to do any additional review or shall we merge this to main?

Amazing. New further reviews from me.


Modify PrintPage to use new BrewRenderer methods

This PR resolves #3435.
This PR modifies the Print Page to use the BrewRenderer to render the pages for printing. This ensures that the Print Page output will always match the Share and Edit Page visual outputs - previously it used a duplicated section of code that was not updated when the BrewRenderer was changed.
Some modifications have also been made to the BrewRenderer, including the option to not render inside an iFrame (defaults to iFrame on), and a method to indicate to Print Page when the print event should fire (i.e. on completion of document rendering).
iFrame rendering would be preferable but while it is possible to create functions to print the iFrame content directly, I have been unable to get printing via Ctrl+P or selecting Print from the browser menu to work correctly. For this reason, the brew renders outside of a frame on Print Page.

will review this as soon as i get my hands on a computer

I'm getting a weird case where headings are not rendered at the time the print dialog is first called, so they are missing from the output.

However, closing the print dialog and pressing Ctrl+P or even reloading the page works fine.

I'm still digging into it.

Serious question, why did we agree on keeping this instead of printing from /edit or /share?

I'm not sure I understand the question. Printing HTML to PDF prints the entire page, so you need to somehow generate a separate window/frame. As far as I know you can't just send a single element to the printer.

Serious question, why did we agree on keeping this instead of printing from /edit or /share?

I'm not sure I understand the question. Printing is possible from both /edit and /share via the "get PDF" button.
Printing HTML to PDF prints the entire page, so you need to somehow generate a separate window/frame. As far as I know you can't just send a single element to the printer.

try this:
In the brew style tab:
@media print {
	.brewRenderer {
		height: 100%;
		overflow-y: unset;
		.pages {
			margin: 0px;
			&>.page {
			box-shadow: unset;
			}
		}
	}
}

In the dev tools console:
window.frames['BrewRenderer'].contentWindow.print()

Well if that works, that would simplify things a lot. Does it still work with variables across pages? Work with Legacy brews? I'm ok doing that if we can eliminate the whole /print page.

First one for sure, second haven't tried, should work fine

Issue #2742 tracks printing without print page

Wow, I don't remember that issue at all, but I guess I was there. Looks like the main concern was keeping existing /print links working, but now that it's been a while I don't know how necessary that is. I used a few /print links to share minimal error examples with Google, but those ones have been solved. The other use case from @ericscheid was for the visualping tool which periodically scans a webpage for visual differences so you can be alerted to updates. It wouldn't work in /share because it only loads the outer frame or something.

As I recall, the print function didn't trigger a full render so PPR would break the print. I think that's no longer an issue with the changes to Brew Renderer, so the logic may no longer apply.

Yeah, looks like the @media print { approach does work with variables and legacy brews. If we are in agreement, I say we close this PR and move instead to that as a simpler alternative.

I am pulling new PR together for this now.


[harfbuzz]  Build x64-windows failure

Host Environment

OS: Windows 10
Compiler: visual studio 2017

To Reproduce
Steps to reproduce the behavior:
vcpkg install qt5-base
Failure logs
C:\dev\vcpkg\vcpkg>vcpkg install qt5-base
Computing installation plan...
The following packages will be built and installed:
  * harfbuzz[core]:x64-windows -> 2.7.4#1
  * icu[core]:x64-windows -> 67.1#8
  * libjpeg-turbo[core]:x64-windows -> 2.0.6
  * libpq[core,openssl,zlib]:x64-windows -> 12.2#12
  * openssl[core]:x64-windows -> 1.1.1j
  * pcre2[core]:x64-windows -> 10.35#2
    qt5-base[core]:x64-windows -> 5.15.2#1
  * sqlite3[core]:x64-windows -> 3.34.1
  * zstd[core]:x64-windows -> 1.4.5#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Using cached C:/dev/vcpkg/vcpkg/downloads/harfbuzz-harfbuzz-7236c7e29cef1c2d76c7a284c5081ff4d3aa1127.tar.gz
-- Extracting source C:/dev/vcpkg/vcpkg/downloads/harfbuzz-harfbuzz-7236c7e29cef1c2d76c7a284c5081ff4d3aa1127.tar.gz
-- Applying patch 0001-circumvent-samefile-error.patch
-- Applying patch 0002-fix-uwp-build.patch
-- Using source at C:/dev/vcpkg/vcpkg/buildtrees/harfbuzz/src/f4d3aa1127-27327b505e.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/harfbuzz/portfile.cmake:16 (vcpkg_check_features)
  scripts/ports.cmake:142 (include)

-- Configuring x64-windows
-- Using msys root at C:/dev/vcpkg/vcpkg/downloads/tools/msys2/50864d9fae363d6e
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
    Command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/python" C:/dev/vcpkg/vcpkg/downloads/tools/meson/meson-f5871f434a5b768ad9fcafa797a6db0286421842/meson.py -Dicu=disabled -Dgraphite=disabled -Dglib=disabled -Dfreetype=enabled -Dgobject=disabled -Dcairo=disabled -Dfontconfig=disabled -Dintrospection=disabled -Ddocs=disabled -Dtests=disabled -Dbenchmark=disabled --buildtype plain --backend ninja --wrap-mode nodownload --native C:/dev/vcpkg/vcpkg/buildtrees/harfbuzz/meson-nativ-x64-windows.log --default-library shared --libdir lib --native C:/dev/vcpkg/vcpkg/buildtrees/harfbuzz/meson-nativ-x64-windows-debug.log -Ddebug=true --prefix C:/dev/vcpkg/vcpkg/packages/harfbuzz_x64-windows/debug --includedir ../include -Dcmake_prefix_path=['C:/dev/vcpkg/vcpkg/installed/x64-windows/debug','C:/dev/vcpkg/vcpkg/installed/x64-windows','C:/dev/vcpkg/vcpkg/installed/x64-windows/share'] C:/dev/vcpkg/vcpkg/buildtrees/harfbuzz/src/f4d3aa1127-27327b505e.clean
    Working Directory: C:/dev/vcpkg/vcpkg/buildtrees/harfbuzz/x64-windows-dbg
    Error code: %1 is not a valid Win32 application
    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_meson.cmake:482 (vcpkg_execute_required_process)
  ports/harfbuzz/portfile.cmake:25 (vcpkg_configure_meson)
  scripts/ports.cmake:142 (include)

Error: Building package harfbuzz:x64-windows failed with: BUILD_FAILED

Additional context
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Error code: %1 is not a valid Win32 application

Please use powershell instead of cmd.
Thanks.

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


Handle case when element is changing during automation waiting

Follow up #1521

FPR
/cc @helen-dikareva

don't merge it, I'll check one more thing


Add PeerConnectionState

Start properly setting the PeerConnectionState and make
OnConnectionState available
Resolves #614

TODO

[ ] Add test if remote gives invalid fingerprint
[ ] Assert that PeerConnectionState goes through checking/connected/closed

Codecov Report

Merging #830 into master will decrease coverage by 0.12%.
The diff coverage is 88.11%.

@@            Coverage Diff             @@
##           master     #830      +/-   ##
==========================================
- Coverage   76.74%   76.61%   -0.13%
==========================================
  Files          59       59
  Lines        4257     4259       +2
==========================================
- Hits         3267     3263       -4
- Misses        719      722       +3
- Partials      271      274       +3

Impacted Files
Coverage Δ

dtlstransport.go
71.59% <40%> (-1.09%)
:arrow_down:

sctptransport.go
75.77% <80%> (+0.15%)
:arrow_up:

datachannel.go
79.92% <84.61%> (-0.28%)
:arrow_down:

peerconnection.go
73.24% <90.83%> (-0.16%)
:arrow_down:

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 81d0357...0c7f94b. Read the comment docs.

Ok this is all done!
Users are now able to be notified about PeerConnectionState going to failed by listening to this event. After this lands will cut another PR to update all the examples.

Thank you so much for the reviews @at-wat!
w/e you get a chance mind approving and I will be able to merge :)

Fantastic! That is great to hear


Rename masks to fractions

Purpose

rename (surface) masks to (area) fractions for objects which are not necessarily comprised of ones and zeros, to clarify their function.

To-do

[x] rename where appropriate (in AMIP/modular, tests, docs)
[x] add the missing mask to the slab ocean rhs

QA

[x] checked that no changes in behaviour of Buildkite drivers (compared to the merging #283 PR)

[x] I have read and checked the items on the review checklist.

bors r+


Question: Use of the term multivariate regression in linear regression tutorial

Question on: https://github.com/TuringLang/Turing.jl/edit/master/docs/_tutorials/5_LinearRegression.md
In the section comparing to OLS regression you use the term multivariate regression. Aren't you predicting a single outcome variable?

Yes, because that is the definition of multivariate linear regression, at least in my literature. Economics has many idiosyncracies. We commonly refer to a regression with more than one independent variable and an intercept as multivariate regressions.
You are welcome to submit a PR to change this in TuringTutorials.

Just to clarify.
In statistics, multivariate regression refers to regression with multiple dependent variables (output), while multiple regression refers to regression with multiple independent variables (covariates, inputs).
It might be used incorrectly in the tutorial. Feel free to submit a PR to fix it.
Thanks!

Ah, I see. Where I'm coming from, that is usually referred to as multiple regression, with multivariate regression referring to a model with multiple outcome variables.

Yes, that's what I wrote. :)

yeah, sorry, didn't see that you had replied.


Support for JMeter Include Controller?

In order to reuse JMeter Test Fragments across different JMeter Test Plans, I use the Include Controller.  I use this for things such as Login which is shared between different tests.  ALT doesn't allow for uploading more than one JMX file, so it doesn't seem to support Include Controller.
Alternatives I've considered
I tried renaming the shared JMX file to something like "Login.jfragment", and while this works when I run the test locally, but if I upload this as an additional file, it does not appear to work.
I am forced to pull the steps from my Test Fragment into the Test Plan in order to get it to work,
Additional context
When my failure occurs, I don't see any logs I can download so it's not clear what the actual problem is.  But my guess is that JMeter Include Controllers are not supported.

Hi @jimcomiskey, Azure Load Testing does not support JMX fragments currently, but it is part of our roadmap.

This is core to the functionality of the tool and more complex test plans. Do you have a timeline on the roadmap where this will be addressed?

Wanted to ask the same thing. Since I found an answer mentioning its in the roadmap since 2021.
Consider having something changed in the main part of a test (login), that would require all the tests to be updated one by one.
Except if there is any better solution that I have not considered.

@Nagarjuna-Vipparthi are there any updates on an ETA for this? Modularization of scripts (i.e. one script can reference another) is a best practice. Being limited to only 1 JMX file per test is a major issue.


Can't install pods

pod install
Analyzing dependencies
Traceback (most recent call last):
10343: from /usr/local/bin/pod:23:in <main>'         10342: from /usr/local/bin/pod:23:in load'
10341: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in <top (required)>'         10340: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in run'
10339: from /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run'         10338: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command/install.rb:52:in run'
10337: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:160:in install!'         10336: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:238:in resolve_dependencies'
... 10331 levels...
4: from /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:61:in initialize'             3: from /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:61:in each'
2: from /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:62:in block in initialize'             1: from /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:62:in new'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:94:in initialize': stack level too deep (SystemStackError)         9: from /usr/local/bin/pod:23:in '
8: from /usr/local/bin/pod:23:in load'         7: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in <top (required)>'
6: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in run'         5: from /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:324:in run'
4: from /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:337:in rescue in run'         3: from /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:396:in handle_exception'
2: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:66:in report_error'         1: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface/error_report.rb:34:in report'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': can't modify frozen String (FrozenError)

I am not able to reproduce this issue yet. It seems not necessary to be an issue with the project itself but a problem with the local cocoapod installation. Which mac os version do you use? Do you use the default os ruby version or do you have a custom installation?
The project contains also ein bundler file. Can you try to use this instead of a global cocoapod installation?
bundle install
bundle exec pod install

Hi, you're probably right, it's my setup causing the problem,
I'm using macOS BigSur
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
After running
bundle install
bundle exec pod install
bundler: failed to load command: pod (/usr/local/bin/pod)
FrozenError: can't modify frozen String
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface/error_report.rb:34:in force_encoding'   /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface/error_report.rb:34:in report'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:66:in report_error'   /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:396:in handle_exception'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:337:in rescue in run'   /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:324:in run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in run'   /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in <top (required)>'
/usr/local/bin/pod:23:in load'   /usr/local/bin/pod:23:in <top (required)>'


[BUG] NameError: name ''App is not defined

When i press in the depthai gui button for running oak-d lite as webcam it shows me error and camera is showing as webcam.
When i run command python depthai_demo.py --app uvc it is working properly.

Hi @spider-x ,
Have you installed requirements python install_requirements.py before starting the depthai demo app?
Thanks, Erik

Hi @spider-x , Have you installed requirements python install_requirements.py before starting the depthai demo app? Thanks, Erik

No, i have used windows installer to install the depthai. I would like to ask also if is there another command than python depthai_demo.py --app uvc to run the camera as webcam. I'm asking because, everytime i run this command, it downloads and install some things and it is time-consuming.  Tahnk you for you help.

Hi @spider-x @Erol444. I am able to reproduce the bug - it exists both on Windows and Linux.
Looking into it now.

The issue should be fixed in the #752 PR @spider-x @Erol444.


add multiclass focal loss

Codecov Report

Merging #41 (666622d) into main (c22f133) will decrease coverage by 0.00%.
The diff coverage is 93.75%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   93.86%   93.85%   -0.01%
==========================================
  Files          35       35
  Lines        1353     1416      +63
==========================================
+ Hits         1270     1329      +59
- Misses         83       87       +4

Impacted Files
Coverage Δ

src/hearth/losses.py
94.89% <93.75%> (-2.25%)
:arrow_down:

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 c22f133...666622d. Read the comment docs.

Codecov Report

Merging #41 (666622d) into main (c22f133) will decrease coverage by 0.00%.
The diff coverage is 93.75%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   93.86%   93.85%   -0.01%
==========================================
  Files          35       35
  Lines        1353     1416      +63
==========================================
+ Hits         1270     1329      +59
- Misses         83       87       +4

Impacted Files
Coverage Δ

src/hearth/losses.py
94.89% <93.75%> (-2.25%)
:arrow_down:

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 c22f133...666622d. Read the comment docs.


Fix relative paths under ods_ci

TBM after the changes made in the jenkins pipeline
Note: needs to be backported to releases/2.9.0 and releases/2.8.0

Can you check if the steps to run the tests in https://github.com/red-hat-data-services/ods-ci/blob/master/README.md  (point 3) need to be updated  due to this change?

@jgarciao Updated README.md with the newest paths to run the robot test script. Thanks for pointing this out!


Feature request: add button to post to Mastodon

As you may have heard, there's a migration from Twitter to Mastodon in progress. I would like to be able to add a "Post to Mastodon" on my posts similar to the "Post to LinkedIn" button I have now and the "Post to Twitter" that I used to have.

@znmeb should be possible now

Thanks!!


Cli swagger upload failing when cli upgraded to 1.14.5: Error code 56

APIM-CLI version
apim-cli-1.14.5
API-Management version
7.7.20240530
Question
We have the application configured in the api-manager but since the upgrade to the version 1.14.5, we are getting this error.
Error code seems to suggest api not found but it does exist
[APIManagerCLI] INFO : API-Manager CLI: 1.14.5 [APIManagerCLI] INFO : Module: API - I M P O R T  (1.14.5) [APIManagerOrganizationAdapter] WARN : Using OrgAdmin only to load all organizations. [APIManagerAdapter] INFO : Organization Administrator Self Service Enabled : false [APIManagerAdapter] INFO : Successfully connected to API-Manager (7.7.20240530) on: https://axway-api-manager [APIManagerOrganizationAdapter] WARN : Using OrgAdmin only to load all organizations. [APISpecificationFactory] INFO : Reading API-Definition (Swagger/WSDL) from file: api.json (absolute path) [APISpecificationFactory] INFO : Detected: Swagger 2.0 specification.  [Swagger2xSpecification] INFO : Used the backendBasePath: https://backend.url:443 to adjust host the API-Specification. [APIImportConfigAdapter] INFO : Handling configured client-applications. [APIImportConfigAdapter] INFO : Found existing application: EQR API (null) based on given name EQR API [APIImportApp] INFO : Lookup actual API based on Path: /api  [APISpecification] INFO : Detected API-Definition-File sizes: API-Manager: 149557 vs Import: 151574 [APIImportManager] INFO : Recognized the following changes. Potentially Breaking: [apiDefinition, serviceProfiles] plus Non-Breaking: [version] [APIImportManager] INFO : Is Breaking changes : false Enforce Breaking changes : false [APIImportManager] INFO : Update API Strategy: Re-Create API as changes can't be applied to existing API. [RecreateToUpdateAPI] INFO : Create new API to update existing: api (ID: 3d110ae9-a16c-42d0-afa3-fd59c42c0e86) [CreateNewAPI] INFO : Create unpublished API: api 1.1.0  based on Swagger 2.0 specification. [CreateNewAPI] INFO : Updating API backendBasePath with value : https://backend.url:443 [ManageClientOrganization] INFO : reCreation : true [ManageClientApps] INFO : Application name : API [ManageClientApps] INFO : Organization  : 'IT' [ManageClientApps] INFO : Application name : API [ManageClientApps] INFO : Organization  : 'API' Failing task since return code of [/bin/sh /data/11427158015481826228.sh] was 56 while expected 0 Failure creating API-Access for application: 'API'. Error loading API-Access for applications from API-Manager | Error loading API-Access for applications from API-Manager

Failure creating API-Access for application: 'API'. Error loading API-Access for applications from API-Manager | Error loading API-Access for applications from API-Manager

Hi @gurpreetbhatoa,
Users with organization administrator role have limited access, you can enable self-service for org admin.  refer - https://github.com/Axway-API-Management-Plus/apim-cli/wiki/8.3.-OrgAdmin-support


right click to get user in meet doesn't work

Description
When I want to get a user to my room and this user is in the meeting in another room the right click menu "Get" don't work.
Steps to Reproduce

Stay logged with 2 users
enter in the room with user A and start a Meet
With user B in a different room try to execute right click on the User A avatar.

Expected Behavior

expected to appear the Get menu

Current Behavior

current behavior appears only the native browser context menu

@juliemar fixed?

Yes, I believe the PR with webpack we Fixed this issue...


Add a custom mechanism for looking up comments.

This PR adds a custom mechanism to Reflector for looking up comments, in addition to CommentsMap.
A LookupComment(reflect.Type, string) function can be defined, that, when set, gets invoked with the same arguments as the internal lookupComment method of Reflector. If it returns a non-empty string, that will be used as the type/field comment; otherwise, if the returned string is emtpy or the LookupComment function is not set, the CommentsMap will be consulted. The precedence of an explicit description defined via struct tags remains unaffected.

The motivation for this is that we cannot use the mechanism provided by the package for parsing Go comments, as it would require access to the source at runtime. Instead, we rely on code generation to provide Go comments at runtime. The data structure that we use is different from how the CommentsMap is structured. While we could create a CommentsMap in the required format, this would require a priori knowledge of all the types that will be referenced in the JSON schema (or we'd have to generate it for all our types, which is a much larger set as the ones we want to obtain JSON schemas for.

@misberner this is a great idea! Thanks for submitting! Just by chance, I've also been working on the comments handling and incorporated a CommentOption function type def for handling more complex configurations. PR #158.
Do you think it would be possible to match that approach instead of adding yet more options to the Reflect struct? Thanks!

@samlown thanks for the quick response! I have to admit I am not fully sure I understand the ask:

LookupComment is in my view the most general form. Anything that the CommentOption does (and more) could be implemented by a custom logic in LookupComment, which is totally flexible.
CommentOption makes sense when the source of comments is "fixed", like from Go source: it applies to the extraction process. LookupComment is intentionally decoupled from how the comments are extracted.
I don't think I can add a WithLookupComment CommentOption or similar (which is what I understand would be the one way to avoid adding the LookupComment field to reflector), because as said above, CommentOption only applies to extraction from source which I'm looking to entirely circumvent. It also is used for populating the CommentMap, which requires an a priori knowledge of all the types that will be referenced in the JSON schema - something I'm also looking to avoid. Also, CommentOptions can only be passed to AddGoComments, so what would be passed as base and path if I don't want to do extraction from source?
Refactoring the CommentOption functionality to circumvent all that is probably possible, but I think it would require a major refactor, so I'd like to double-check if that's what you had in mind.

@misberner you're right, sorry about that. I looked at the example and assumed that the LookupComment method needed to be used with the AddGoComments as per the test code, but clearly that's not the case. If anything, the LookupComment could in fact by an array of functions one of which could be a method to use the comments array generated by the AddGoComments method. I'd prefer that to the current public CommentMap.
I'm super-short on time for refactors. If you feel up for an experiment, great! Otherwise if you could sync with the current main branch and move as much of the logic to the reflect_comments.go file and ensure test coverage is at least maintained, that'd be great. (You may have noticed most of the PRs are rejected due to lack of tests, hopefully the code coverage action will help developers figure out what they need to add.)

@samlown no worries! I also don't have a ton of time on my hands so I went with the simple option.
And yes, agreed on (a) using LookupComment over CommentMap (though that would break backwards-compatibility) and (b) potentially allowing multiple lookup functions. However, I think a single variable is sufficient as the general case. It's easy enough to do something like
func CombineCommentLookups(lookupFns ...func(reflect.Type, string) string) func(reflect.Type, string) string {
  return func(t reflect.Type, field string) string {
    for _, lookupFn := range lookupFns {
      if comment := lookupFn(t, field); comment != "" {
        return comment
      }
    }
    return ""
  }
}

if the need for this arrives. I'd like to keep it simple for now. If you disagree, I can easily change the option to be of slice type directly.

Locally getting the same 92.1% coverage number on my branch as on main

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

Project coverage is 88.39%. Comparing base (42b1bb0) to head (83557f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
+ Coverage   88.34%   88.39%   +0.05%
==========================================
  Files           4        4
  Lines         858      862       +4
==========================================
+ Hits          758      762       +4
  Misses         80       80
  Partials       20       20

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


Assets give no indication they are uploading/uploaded

When adding assets to a press release, there is no indication that they are uploading or uploaded. This will probably frustrate users.

Added a loading spinner to the asset loading area. It happens fast so we'll need more testing before we can close it.

That would be okay if it would show the asset after it is uploaded.

It also won't upload as quickly on a remote server.

Yeah I can see the spinner for a brief second and then the image is loaded in its place.
This is the upload image function for future reference.
`
'change .featuredImgInput': function(event, template) {
var files = event.target.files;
                var theId =  Meteor.users.findOne()._id;
                 var docs = $("#therelease").find('[name=docId]').val();

                  $('#assetlist').css("display","none");
                  $('#uploading').css("display","inherit");

                  for (var i = 0, ln = files.length; i < ln; i++) {
                          Images.insert(files[i], function (err, fileObj) {
                    if (err) {

                     } else {
                            var info = {
                                   docId:docs,
                                 filename:fileObj._id,
                                 type:"featured"
                                  };
        PostAssets.insert(info);
        $('#assetlist').css("display","inherit");
        $('#uploading').css("display","none");
      }

    // Inserted new doc with ID fileObj._id, and kicked off the data upload using HTTP
  });
}

},`

Reopening, it appears as though this doesn't work with new press releases.

Oh sweet, I didn't know it could do that. Its working now


OpenType Layout and Font Variations

many design variations along one or more axes of design variation.

Reword to avoid repetition.

Mechanisms used to support Font Variations are integrated into the tables used for OpenType Layout.

Just a slight quibble: mechanisms are ways of doing things. Font files have no mechanisms, only information.

Enhancements to OpenType Layout formats

These aren't enhancements any more; they're a full part of the same spec, not an enhancement of it.

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

ID: 5b15ab9e-86c5-f6e0-0145-f9de77c60141
Version Independent ID: 0ebe3dec-cc24-b6a4-01b8-73bfdb79a71a
Content: Advanced typographic tables - OpenType Layout - Typography
Content Source: typographydocs/opentype/spec/ttochap1.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: PeterCon

Wrt "mechanisms": the enhancements in OT 1.8 included data and algorithms for processing that data. Is it not reasonable to consider the combination of data and algorithms a "mechanism" for providing functionality?

Changed for next version:

OpenType Font Variations allow a single font to support many design variations along one or more axes of design variation. For example, a font with weight and width variations might support weights from thin to black, and widths from ultra-condensed to ultra-expanded. For general information on OpenType Font Variations, see the chapter OpenType Font Variations overview.
MechanismsData used to support Font Variations are integrated into the tables used for OpenType Layout. Variation of glyph outlines and metrics across a font’s variation space can impact the design-grid distances that get used in OpenType Layout tables, such as anchor positions used in a GPOS attachment lookup. Enhancements toData elements in OpenType Layout formats allow the default values found in existing formats tocan be associated with variation data that describes how the givendefault value is adjusted for different variation instances.


Added getApi function to ByuClient to call ByuApiGenerator.createApi …

…and require less casts

This change is

Reviewed 101 of 101 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Kcandidates

Codecov Report

Merging #7 into master will increase coverage by 0.06%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master      #7      +/-   ##
=========================================
+ Coverage   94.43%   94.5%   +0.06%
=========================================
  Files          38      38
  Lines        3324    3329       +5
  Branches      361     363       +2
=========================================
+ Hits         3139    3146       +7
+ Misses        128     127       -1
+ Partials       57      56       -1

Impacted Files
Coverage Δ

hubness/neighbors/hnsw.py
77.77% <ø> (ø)
:arrow_up:

hubness/neighbors/tests/test_neighbors.py
99.55% <100%> (ø)
:arrow_up:

hubness/neighbors/base.py
94.36% <100%> (+0.58%)
:arrow_up:

hubness/reduction/mutual_proximity.py
96.42% <100%> (ø)
:arrow_up:

hubness/reduction/scaling.py
81.25% <57.14%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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


IoT-sample/Swift: MQTT stuck on Connecting

Hello, the sample app is working for me but when I tried to port the logic over to an app I've written using the exact same parameters for the endpoints and certs, MQTT is stuck on connecting.
I've looked at https://github.com/awslabs/aws-sdk-ios-samples/issues/141 but it did not help me.
2017-08-24 17:19:57:079 MyApp[987:193485] hostName: xxx.iot.us-east-1.amazonaws.com
2017-08-24 17:19:57:079 MyApp[987:193485] URL: https://xxx.iot.us-east-1.amazonaws.com
2017-08-24 17:19:57:089 MyApp[987:193485] -[MQTTSession initWithClientId:userName:password:keepAlive:cleanSession:willTopic:willMsg:willQoS:willRetainFlag:runLoop:forMode:] [Line 167], Thread:<NSThread: 0x1c0277dc0>{number = 7, name = (null)}
2017-08-24 17:19:57:090 MyApp[987:193485] +[MQTTMessage connectMessageWithClientId:userName:password:keepAlive:cleanSession:willTopic:willMsg:willQoS:willRetain:] [Line 66], Thread:<NSThread: 0x1c0277dc0>{number = 7, name = (null)}
2017-08-24 17:19:57.090443-0500 MyApp[987:193485] Connecting via MQTT
2017-08-24 17:19:57:090 MyApp[987:193485] Creating MQTTMessage with raw data >>>>> <00044d51 54540400 003c0024 35433930 43363544 2d343235 352d3435 42412d41 3331312d 39393344 46453638 39364137> <<<<<
2017-08-24 17:19:57:090 MyApp[987:193485] Initializing MQTTEncoder and MQTTDecoder streams
2017-08-24 17:19:57:091 MyApp[987:193485] opening encoder stream.
2017-08-24 17:19:57:092 MyApp[987:193485] opening decoder stream.
2017-08-24 17:19:57:186 MyApp[987:193371] -[MQTTEncoder stream:handleEvent:] [Line 71] EventCode:1, Thread: <NSThread: 0x1c0072f00>{number = 1, name = main}
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
2017-08-24 17:19:57:402 MyApp[987:193371] -[MQTTEncoder stream:handleEvent:] [Line 71] EventCode:4, Thread: <NSThread: 0x1c0072f00>{number = 1, name = main}
2017-08-24 17:19:57:402 MyApp[987:193371] MQTTEncoderStatus = 0
2017-08-24 17:20:00:971 MyApp[987:193371] -[MQTTSession encoder:handleEvent:] [Line 443], eventCode: 0
2017-08-24 17:20:00:971 MyApp[987:193371] MQTTSessionStatus = 0
2017-08-24 17:20:00:972 MyApp[987:193371] -[MQTTEncoder encodeMessage:] [Line 120], Thread:<NSThread: 0x1c0072f00>{number = 1, name = main}
2017-08-24 17:20:00:972 MyApp[987:193371] ***** waiting on encodeSemaphore *****
2017-08-24 17:20:00:972 MyApp[987:193371] ***** passed encodeSempahore. *****
2017-08-24 17:20:00:973 MyApp[987:193371] ***** signaling encodeSemaphore *****
2017-08-24 17:20:00:973 MyApp[987:193371] -[MQTTEncoder stream:handleEvent:] [Line 71] EventCode:4, Thread: <NSThread: 0x1c0072f00>{number = 1, name = main}
2017-08-24 17:20:00:973 MyApp[987:193371] MQTTEncoderStatus = 1
2017-08-24 17:20:02:942 MyApp[987:193371] -[MQTTSession encoder:handleEvent:] [Line 443], eventCode: 0
2017-08-24 17:20:02:942 MyApp[987:193371] MQTTSessionStatus = 1

It'll be stuck on SessionStatus=1 forever. Any help is appreciated, thanks!

Fixed it by wrapping my connect call on the main thread. Setting merely the main run loop does not work:
iotDataManager.mqttConfiguration.runLoop = NSRunLoop.mainRunLoop;

Here's the working code for anyone who stumbles upon this:
dispatch_async(dispatch_get_main_queue(), ^(void){
    [iotDataManager connectWithClientId:UIDevice.currentDevice.identifierForVendor.UUIDString cleanSession:YES certificateId:pathToP12Cert.absoluteString statusCallback:^(AWSIoTMQTTStatus status) {
        switch (status) {
            case AWSIoTMQTTStatusConnecting:
                NSLog(@"Connecting via MQTT");
                break;
            case AWSIoTMQTTStatusConnected:
                NSLog(@"Connected via MQTT, sending data");
                // Perform publish task
                break;
            case AWSIoTMQTTStatusDisconnected:
                NSLog(@"Disconnected from MQTT session");
                break;
            case AWSIoTMQTTStatusConnectionError:
                NSLog(@"MQTT Connection Error");
                break;
            case AWSIoTMQTTStatusConnectionRefused:
                NSLog(@"MQTT Connection Refused");
                break;
            default:
                NSLog(@"Unhandled case");
                break;
        }
    }];
});

Thanks, @cheeyi for the solution.


Replaced pre_offset and post_offset with offset

pre_offset and post_offset are not supported in the search API, offset is.

Could someone please review this PR?

Thanks for the PR @jeroenkoknl, I'll take a look

@russcam, any ideas why CI failed? The error message:

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

@jeroenkoknl seems like an intermittent travis bootstrap error. Again many thanks for the PR, much appreciated 👍 , rebased and squashed this commit without the merge commits via https://github.com/elastic/elasticsearch-net/pull/2845 and forward ported it to master.

Great! Thank you!


Multinode with loadbalance proxy cant reach nodes

Hi,
After installing Azure AD saml sso we can no reach the nodes as it redirects every time to the main URL and can't log in directly to nodes.
Jira saml sso MS app

Hi, @grumm90. Thank you for making us aware of the issue you are experiencing. I also see that Issue #64231 is a related (?) item that you have opened. Is there a document you are referencing pertaining to configuration or implementation steps?

Hi, Both issue is in the same environment. Yes, we did everything according to the documentation. All other things working perfectly.
Regards,
Gábor

Thank you for that additional detail, @grumm90. I am going to have an engineer who supports this service engage this issue directly. You may also leverage the Microsoft Q&A as an option to find a solution to your issue, as in both cases you have opened, I don't have a specific document to work with.

Gábor, It looks like you're referring to the steps outlined in this documentation -Register a SAML application in Azure AD B2C
 -Application management via Azure AD. Kindly let us know if it's any different document, so we can better assist you.
Thanks again for leveraging Azure docs feedback channel to raise this question. As Mike mentioned, this channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements.

Sorry for late reply. Yes, This is what we did.

can we reopen this? I know that I was the one who didn't reply, sorry about that but please reopen this.


Use travis cached ruby

Speed up the build a bit by using a version of Ruby that Travis has cached.
Also move Puma to production set of gems and only bundle non-production gems.

Yessssss!!


We'll get a panic if user sets zero or negative TTL value, add a check

Do we have a check if the provided TTL is a number at all?

It's time.Duration string, not a number, and it's validated


R: fix null pointer error

Closes #1340

#1820  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite


[Install issue]: Chroma requires SQLite3 version which is unsupported by GCF

What happened?
I use the Chromadb client to communicate from my GCF server to my database. However, serverless functions do not allow for custom system packages to be installed. It seems like a common use case that is now impossible to use. Is there a workaround for such an issue? Or could an older version do the same thing?
FYI: My function is only responsible for uploading a document to a collection. Nothing fancy.
Versions
Chroma>0.4.0
Relevant log output
No response

@Jkense, you can install only chromadb-client, which can do the embeddings + interface with a server running in a GCP VM.

Yeah, pointing to a remote chromadb instance is one good solution.
Another is to use the pysqlite3-binary workaround here https://docs.trychroma.com/troubleshooting#sqlite


new NativeEventEmitter() was called with a non-null argument [needs PR! good first issue!]

Environment

System:
OS: macOS 11.5.2
CPU: (8) arm64 Apple M1
Memory: 152.89 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.10.1 - /Users/lyubomyr/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK:
API Levels: 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3
System Images: android-30 | Google APIs ARM 64 v8a, android-S | Google APIs ARM 64 v8a, android-S | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7621141
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_282 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.0 => 0.65.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms

Issue appears only on Android Platform
Versions

Android: 11
iOS:
react-native-netinfo: 6.0.0
react-native: 0.65.0
react: 0.17.2

Description

With newest react-native version 0.65.0 which was released few days ago, on android platform when run app i can see warnings:
WARN  new NativeEventEmitter() was called with a non-null argument without the required addListener method.
WARN  new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.
These warnings not appeared on react-native 0.64.2 and older versions, also not appear on IOS platform
Reproducible Demo

Just create new template of react-native project and add
import NetInfo from "@react-native-community/netinfo";
const unsubscribe = NetInfo.addEventListener(state => {
console.log("Connection type", state.type);
console.log("Is connected?", state.isConnected);
});

We need a PR for it - can probably be something like https://github.com/invertase/react-native-firebase/pull/5616/files#diff-c887076b0c80d540aed1bfbb472cc8f20516634e8e72d53014c65d690bba4fb1
Please make a est it to see if that resolves the issue and make a PR?

@mikehardy, Yes it resolved issue, I made PR. Thanks.
I noticed another rn-libraries which need similar fixes.

Will there be a new release for this fix?

@kneza23 I haven't see activity from @matt-oakes in forever here so I am not sure. Until then what you want is https://github.com/ds300/patch-package to ingest the change from #487 - or you can realize it is just a warning, and wait.

@mikehardy Thanks for the prompt. To be honest, I hadn't realised that I was the only one with merge powers on this repo. I thought everyone else who had access still would when this was moved outside the community repo. I have sent you an invite.
I don't really use this library too much so I don't have too much time for it these days. I should have some time at the end of September to look into open source stuff so I'll try to tidy up the repo a bit then.
Thanks for helping out and commenting on peoples issues in the meantime!

Yeah as the RNCommunity thing was re-focused it purged out user powers - I saw the invite and accepted it. I have a lot on my plate as well but can help with emergency stuff, keeping the lights on etc :-)
Can I ask how publishing is done? If the maintainer work was reduced to PR review+merge (with all the test / publish stuff done fully-auto) that would make this a lot easier to deal with. It's been a huge benefit keeping device-info going that I can trust CI during PR review and after I merge it just releases itself

@mikehardy In theory releasing should be handled by semantic release and CircleCI, but for some reason that seems to be broken at the minute. I'll try to look at that this week so it can be done by anyone. I'll likely move it over to Github Actions 👍

i m getting same error warning

Is the problem fixed? I'm using the latest version of the library and still getting these warnings

@evnrodr have you checked the releases / changelog to see the history on it? (tl;dr: fixed, but then reverted as it had unintended blocker side effects while the warning is just a warning)

Thanks for the info, didn't saw it was reverted, sorry 😅

It's showing the same warning with @react-native-mapbox-gl/maps package

If I go to https://reactnative.dev/docs/environment-setup and paste npx react-native init AwesomeProject and enable Hermes, this issue crops up.

What is this warning about even? RN error/warning could also be improved and specify the nativeModule that is causing the warning. I think I'll file an issue over at RN.
So Mike you are saying 12.7.1 is unstable to use? Which version reverted the warning?

The changelog is always the guide: https://github.com/react-native-netinfo/react-native-netinfo/blob/master/CHANGELOG.md#602-2021-09-03 - there is no 12.7.1 version here, that sounds like a react-native-firebase version, we're on 13.0.1 over there at the moment
The warnings aren't that bad with regard to specificity, it's just that they are not that prescriptive with regard to how to actually handle them, and since they aren't causing an issue (unless we just put in stubs...) and no one appears to have time to dig in (I certainly don't at the moment), they'll keep popping up

@yongyiwong I do not believe there is a revert needed for android, android appears to be working fine, and with #548 it will manage it's own listener count and should behave correctly.
As noted in #548 during review I found the root cause of why #487 caused a regression here but works in other places.

I re-reviewed this and I'm really sad to see there is no general infrastructure in the Java native modules for managing observer count. The counts are maintained in javascript on the other side of the bridge. The same is only partially true for the iOS side - your link there combined with a re-review of the react-native core code solved the mystery I had of why #487 caused #492 and needed a revert in #493 - we partially override the superclass listener counting infrastructure there by using isObserving but without managing observer status as listeners are added/removed. We need something on the iOS side more like what you've implemented here.

So a PR here to silence this warning requires:

addListener/removeListener/removeListeners implementations on iOS (like #487)
those implementations must call the superclass methods so that observer status is managed correctly by superclass (this is the new part! So #492 does not happen)

Would love a PR for this - the code change is easy but the big contribution will be that you do the quick/easy code change and test it :-)

Hi I have faced this issue since Jan 2022. I saw in the my code that the 2 listeners are available but the problem still happens. Any solution or just ignore the warnings?
@ReactMethod
public void addListener(String eventName) {
// Keep: Required for RN built in Event Emitter Calls.
mConnectivityReceiver.hasListener = true;
}
@ReactMethod
public void removeListeners(Integer count) {
// Keep: Required for RN built in Event Emitter Calls.
if (count == 0) {
mConnectivityReceiver.hasListener = false;
}
}

Would love a PR for this - the code change is easy but the big contribution will be that you do the quick/easy code change and test it :-)

What's the status of this issue?
Using RN 0.67.3, I'm not getting the warning on iOS. It seems we do not need to implement addListener/RemoveListeners methods in the native iOS module anymore. So this issue could probably be closed.

Using RN 0.67.3,

I'd double-check your local environment. I'm not aware of this requirement to implement addListener/removeListeners going away

Ah, looking at RN source, you are right about the requirement not going away. Nothing about addListener/removeListeners has changed since the warnings were added in 0.65.
The base class RCTEventEmitter already implements and exports the methods, so the warnings should never be fired on iOS. I can't reproduce the warnings even with a bare react-native init project with netinfo.
The implementation of those methods in RCTEventEmitter maintains a counter _listenerCount. When a listener is added, the counter is incremented. If _listenerCount is now 1, startObserving is called. When listeners are removed, _listenerCount is decremented by the number of listeners removed, and if the count reaches zero, stopObserving is called. As ouabing mentioned in #548, RNCNetInfo already has been optimized to not emit an event if no one is listening.
I was going to help close this issue with a PR but after digging into it I don't see that anything needs to be done on the iOS platform because the behavior matches the Android platform.

same issue for me

@edritech93 advance the conversation or leave a reaction, "me too" comments are actually a negative, they generate notifications which require attention from maintainers is a form of time theft for already chronically time-short maintainers. Thanks

@JRGunthner so do I! Looking forward to your PR.

@JRGunthner so do I! Looking forward to your PR.

Why are you asking him, did he introduced the problem????
@mikehardy  I noticed you seem to like to tell people to do PR when they have a problem. Well, how about not putting in the bug in the first place?
I know what you are tying to do with this "looking forward to  your PR" nonsense of yours.  And I will call you out on it whenever I see a post of yours like this.

Dude, I'm the only human left willing to read through PRs here and in a few other repos. I'm the only one left here with permission to hit the release button. I'm not being passive aggressive I'm just saying if anyone wants this library to move forward
Do the work
I'll collaborate and help merge and release, but I don't have the energy to fight problems that don't affect my actual use cases.
Call out whatever you want, but ideally, do the work.

You  might like: https://hackernoon.com/i-thought-i-understood-open-source-i-was-wrong-cf54999c097b

My app also crashed with same error in iOS simulator

ERROR  Invariant Violation: new NativeEventEmitter() requires a non-null argument.

I am using below versions:-
react-native : v0.66.4
@react-native-community/netinfo : v6.0.1
For latest version also same error so downgraded but got same issue

Updating @react-native-clipboard/clipboard to v1.11.2 fixes the issue. Thanks @chrisglein.

+1

@cunguyendev +1 comments are worse then useless, you waste everyone's time with useless notifications that do not move anything forward.
Post a PR, or just do a reaction on the main issue instead of wasting people's time.


chore: Set permissions for GitHub actions

Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests
Signed-off-by: nathannaveen<EMAIL_ADDRESS>

@nathannaveen thanks for the pull request!
@all-contributors please add @nathannaveen for security


flent: fix fetchFromGitHub version

Lacked a "v" in revision.
Motivation for this change
before the change:
trying https://github.com/tohojo/flent/archive/1.2.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   119    0   119    0     0    171      0 --:--:-- --:--:-- --:--:--   171
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found

Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: flent
Partial log (click to expand)
test_create_timeseries (unittests.test_plotters.TestPlotters) ... ok
test_create_timeseries_combine (unittests.test_plotters.TestPlotters) ... ok
test_load_tests (unittests.test_tests.TestTests) ... ok

----------------------------------------------------------------------
Ran 26 tests in 5.532s

OK
postPatchMkspecs
/nix/store/zjvbiz5di6bfxyqnki2symykia6l0634-flent-1.2.2

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: flent
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: flent
Partial log (click to expand)
test_create_timeseries (unittests.test_plotters.TestPlotters) ... ok
test_create_timeseries_combine (unittests.test_plotters.TestPlotters) ... ok
test_load_tests (unittests.test_tests.TestTests) ... ok

----------------------------------------------------------------------
Ran 26 tests in 3.398s

OK
postPatchMkspecs
/nix/store/zjvbiz5di6bfxyqnki2symykia6l0634-flent-1.2.2


Added Simcenter StarCCM+ tutorial blueprint.

Submission Checklist

[ ] Have you installed and run this change against pre-commit? (pre-commit install)
[ ] Are all tests passing? (make tests)
[ ] Have you written unit tests to cover this change?
[ ] Is unit test coverage still above 80%?
[ ] Have you updated all applicable documentation?
[ ] Have you followed the guidelines in our Contributing document?

/gcbrun

/gcbrun

/gcbrun


Hi!
Currently trying to migrate an existing Add-on to be using the super cool features on the framework, I am encountering a failure when attempting to save an account, with:
Cannot perform action "POST" without a target name to act on.

As bellow:

Testing with the UCC Example TA works perfectly fine so I am certain this is coming from the config in my Addon, thus I have not been able to locate where the issue is.
The code is available here:
https://github.com/guilhemmarchand/ucc-test-TA-jira-service-desk-simple-addon
Dev tools does not offer much help:

I can see the endpoints:

So far I am a little blocked, any idea what's going on?
Thanks in advance for any help!

Thanks to @arys-splunk I could fix the issue:
If you change "field": "jira_env", to "field": "name",  in globalConfig.json it will fix this issue.
I think the reason is that you want to create multiple accounts in that configuration page and Splunk or UCC (not sure yet) needs unique name for each row (requires name field).

Closing now.


Restore heath of JOBS

.github/workflows/valid-image-generation-test.yml
.github/workflows/package_deploy.yml

Since we changed the kind of instance we as database the jobs are facing problems, because we don't know yet how to instance
a mongo db for the jobs and for the app to connect.
Because the automatic image update of the Uploader depends on the success of these jobs we are using on continue.


The Changelog.txt with this release does not reflect the changes made to the package with this release

Yes - seriously.
Previously you always included any new sprites as part of the changelog.txt which is included in the pop-up notice when you go to update UB.
This time, you left all those items out of the changelog.txt, even though all those items changed.
So yes - seriously, could you please update the changelog.txt to include the changes of this release, including all the new sprites.

There won’t be a new release for a changelog. Your name is on credits. I’ll report GitHub as abuse if you open a 3rd issue on same topic. There are real issues and game breaking bugs to fix.


小米盒子没办法投屏阿

响应信息:<s:Fault>s:ClientUPnPError402Not enough IN args, too many IN args, no IN arg by that name, one or more IN args are of the wrong data type. Only HTTP and file: resource identifiers are supported.</s:Fault>

你投屏的url可能不支持