Can't select 'Legacy Exchange API permissions' and / or Exchange.ManageAsApp

Hi,
When configuring in my AAD P1 tenant, following Step 2, Task number 5.
In the process of selecting API permissions, I can't select Exchange in the  Supported legacy APIs (no longer supported?)
Or "In the Select permissions section that appears on the page, expand Exchange and select Exchange.ManageAsApp"
Is there a Microsoft Graph API Alternative for App-only authentication for unattended scripts in the EXO V2 module?
Or for Exchange.ManageAsApp API permissions?
Or, how do we go about setting up App-only authentication for unattended scripts in the EXO V2 module without the Exchange Legacy API and with Microsoft Graph API
Thanks & greetings,
Ronny
NOTE: Same as: https://github.com/MicrosoftDocs/office-docs-powershell/issues/6865

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

ID: d2cfafdf-cbe9-2ffe-eabe-becc66d51728
Version Independent ID: 4a46c8a8-dc70-d877-271e-6679c465a6d5
Content: App-only authentication
Content Source: exchange/docs-conceptual/app-only-auth-powershell-v2.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

Duplicate of #6865


pubsub: fix last subscriber stealing all published message

:dancer:

landed at 7d38c44 for v0.6.1 and 80cff7a for master.


.psa Female CMF Problem

I encountered a problem when trying to export any female .psa (CMF)
Problem: https://youtu.be/vLHNDswH5Gs
Files I used: https://drive.google.com/file/d/1AFcrOeZs-Nrv7UPwoVxnkx_8mt9WubFa/view?usp=sharing
I tried several female .psa and they all have problems, when I export any CMM file it works but the bones of the male animation are bigger and this spoils the visual.
I checked on the blender console and the amount of bones imported in CMF and CMM were the same and the names of the targets
I tested almost all of the Fortnite CMF emotes and they all have the same error, only the HappySkipping CMF emote worked correctly

I never worked with Blender myself, it would be much more useful if you'd ask such question on the forum instead of github (I've explicitly asked about that in "Please read before ..." topic #113 ). However I'll try to explain the core of the problem - without providing a solution (as I'm not a DCC tool user).
There are animations which are shared between different skeletons. Each animated bone has position and rotation (and sometimes scale - which is NOT supported by UModel). When skeletons has different proportions, position animation will do the issue which you see on the video.

Another issue - when the mesh if "packed" into something wrong.

This is a typical user's mistake. This animation is "additive" and not supported in UModel or any related tool.
Also I'm unsure how did you export animations. PSA files may have multiple animation tracks, Again, I'm unfamiliar with Blender UI for PSA loading, there should be something to select animated track.
May be @Blenux may provide more info on that.

Fortnite_M_Avg_Player_Skeleton is the base skeleton for every animation in Fortnite, then they retarget (plus other stuff like IK's ) on other characters skeletons on top of it, be it either Female or Large or smaller characters, I suggest to watch some Fortnite Animations videos on Youtube that epic have shown a bit to understand it better.
Like so,
https://www.youtube.com/watch?v=tWVZ6KO4lRs
(There was a better video but cant video currently).

The animations for female are usually additive when they have been re targeted and are edited inside UE4. To use any animation on a female character that is CMM you just have to add the psa to a AVG base skeleton. Then go back to your female skin and in the animation tabs from the action editor put the animation and then it will be re targeted correctly.

It seems the issue's author has lost interest to it. Closing ...


[BUG] extractor exctracts all Versions sets even when excluded

Release version
v<IP_ADDRESS>
Describe the bug
I am using
versionSetNames: [none] in configuration.extractor.yaml
However extractor still extracts all the version sets regardless.

Expected behavior
Extractor should skip extracting version sets if none is specified or only extract specific version sets .
Actual behavior
extractor extracts all the version sets regardless of what is specified in configuration.extractor.yaml

Reproduction Steps
add to configuration.extractor.yaml
versionSetNames:

none

Run extractor workflow. Once the artifacts are uploaded, check the artifacts. You will find all the versionsets included in the artifact

Closing this issue. I was infact not looking at what was added in the commit instead I was looking at all the files upto and including the commit.
Extractor for versionset seems to be working fine


Can't get XRDP build running on Debian 11

xrdp version
0.9.80
Detailed xrdp version, build options
xrdp -v
Argument 0 - xrdp
Argument 1 - -v
xrdp 0.9.80
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-fuse
      --enable-jpeg
      --enable-rfxcodec
      --enable-mp3lame
      --enable-vsock
      --enable-devel-logging

  Compiled with OpenSSL 1.1.1w  11 Sep 2023

Operating system & version
Debian 11
Installation method
other
Which backend do you use?
Xorgrdp
What desktop environment do you use?
GNOME
Environment xrdp running on
VM - Proxmox
What's your client?
Mac, Linux
Area(s) with issue?
Other
Steps to reproduce
systemctl start xrdp -> systemctl statust xrdp
Unknown command verb statust.
root@nfndeterm://lib/systemd/system# systemctl status xrdp
● xrdp.service - xrdp daemon
     Loaded: loaded (/lib/systemd/system/xrdp.service; disabled; vendor preset: enabled)
     Active: failed (Result: signal) since Mon 2024-02-05 20:41:22 CET; 20s ago
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
    Process: 17908 ExecStart=/usr/local/sbin/xrdp $XRDP_OPTIONS --nodaemon (code=killed, signal=SYS)
   Main PID: 17908 (code=killed, signal=SYS)
        CPU: 6ms

journalctl -u xrdp -u xrdp-sesman -f
-- Journal begins at Thu 2024-02-01 11:53:34 CET. --
Feb 05 20:41:22 nfndeterm xrdp-sesman[17907]: [INFO ] [main(sesman.c:924)] starting xrdp-sesman with pid 17907
Feb 05 20:41:22 nfndeterm systemd[1]: Starting xrdp daemon...
Feb 05 20:41:22 nfndeterm xrdp-sesman[17907]: [INFO ] [sesman_main_loop(sesman.c:475)] Sesman now listening on /var/run/xrdp/sesman.socket
Feb 05 20:41:22 nfndeterm systemd[1]: Started xrdp daemon.
Feb 05 20:41:22 nfndeterm systemd[1]: xrdp.service: Main process exited, code=killed, status=31/SYS
Feb 05 20:41:22 nfndeterm systemd[1]: xrdp.service: Failed with result 'signal'.
Feb 05 20:41:22 nfndeterm xrdp-sesman[17907]: [INFO ] [sesman_main_loop(sesman.c:524)] sesman_main_loop: sesman asked to terminate
Feb 05 20:41:22 nfndeterm systemd[1]: Stopping xrdp session manager...
Feb 05 20:41:22 nfndeterm systemd[1]: xrdp-sesman.service: Succeeded.
Feb 05 20:41:22 nfndeterm systemd[1]: Stopped xrdp session manager.

✔ Expected Behavior
XRDP running as systemd service
❌ Actual Behavior
does not run as service - but via "xrdp-sesman -n & xrdp -n &"
Anything else?
-- Journal begins at Thu 2024-02-01 11:53:34 CET. --
Feb 05 20:55:57 nfndeterm xrdp-sesman[17937]: [INFO ] [main(sesman.c:924)] starting xrdp-sesman with pid 17937
Feb 05 20:55:57 nfndeterm systemd[1]: Starting xrdp daemon...
Feb 05 20:55:57 nfndeterm xrdp-sesman[17937]: [INFO ] [sesman_main_loop(sesman.c:475)] Sesman now listening on /var/run/xrdp/sesman.socket
Feb 05 20:55:57 nfndeterm systemd[1]: Started xrdp daemon.
Feb 05 20:55:57 nfndeterm systemd[1]: xrdp.service: Main process exited, code=killed, status=31/SYS
Feb 05 20:55:57 nfndeterm systemd[1]: xrdp.service: Failed with result 'signal'.
Feb 05 20:55:57 nfndeterm xrdp-sesman[17937]: [INFO ] [sesman_main_loop(sesman.c:524)] sesman_main_loop: sesman asked to terminate
Feb 05 20:55:57 nfndeterm systemd[1]: Stopping xrdp session manager...
Feb 05 20:55:57 nfndeterm systemd[1]: xrdp-sesman.service: Succeeded.
Feb 05 20:55:57 nfndeterm systemd[1]: Stopped xrdp session manager.

root@nfndeterm:/etc/xrdp# tail -n 50 /var/log/xrdp.log

root@nfndeterm:/etc/xrdp# tail -n 50 /var/log/xrdp-sesman.log

[2024-02-05T20:55:57.779+0100] [INFO ] [main(sesman.c:924)] starting xrdp-sesman with pid 17937
[2024-02-05T20:55:57.783+0100] [INFO ] [sesman_main_loop(sesman.c:475)] Sesman now listening on /var/run/xrdp/sesman.socket
[2024-02-05T20:55:57.789+0100] [INFO ] [sesman_main_loop(sesman.c:524)] sesman_main_loop: sesman asked to terminate
root@nfndeterm:/etc/xrdp#

Copied from #2221
The 'SYS' is down to xrdp using a system call it's not allowed to. See https://github.com/neutrinolabs/xrdp/pull/2697

What version of xrdp are you using now (git log -n1 will give us the commit)
What do you get for sudo grep sig=31 /var/log/syslog

commit 8af430e19777a98e85b780b19288408fe08fcef5 (HEAD -> devel, origin/devel, origin/HEAD)
Author: matt335672<EMAIL_ADDRESS>Date:   Thu Feb 1 00:06:59 2024 +0000

    Fix regression in using window message names (#2925)

    FreeRDP defines macros WM_LBUTTONUP, WM_LBUTTONDOWN, WM_RBUTTONUP
    and WM_RBUTTONDOWN. These conflict with the definitions we have in
    xrdp_constants.h. Because the FreeRDP system includes followed the local
    includes however, the compiler did not emit a diagnostic for this -
    see gcc bug #16358.

    This PR rearranges the includes for NeutrinoRDP so the macro
    redefinitions are flagged by the compiler.

Feb  5 20:28:01 nfndeterm kernel: [89751.108745] audit: type=1326 audit(1707161281.640:31): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined pid=17863 comm="xrdp" exe="/usr/local/sbin/xrdp" sig=31 arch=c000003e syscall=10 compat=0 ip=0x7f45d56a1f57 code=0x80000000
Feb  5 20:41:22 nfndeterm kernel: [90552.096521] audit: type=1326 audit(1707162082.628:32): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined pid=17908 comm="xrdp" exe="/usr/local/sbin/xrdp" sig=31 arch=c000003e syscall=10 compat=0 ip=0x7fc780f31f57 code=0x80000000
Feb  5 20:55:57 nfndeterm kernel: [91427.252573] audit: type=1326 audit(1707162957.784:33): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined pid=17938 comm="xrdp" exe="/usr/local/sbin/xrdp" sig=31 arch=c000003e syscall=10 compat=0 ip=0x7f3f4a1a8f57 code=0x80000000```

Try applying ccead296e615b92afc17daf67447876fb3c122e0 to /usr/lib/systemd/system/xrdp.service

That was the fix - thank you for your great work  @matt335672
[Unit]
Description=xrdp daemon
Documentation=man:xrdp(8) man:xrdp.ini(5)
Requires=xrdp-sesman.service
After=network.target xrdp-sesman.service

[Service]
Type=exec
EnvironmentFile=-/etc/sysconfig/xrdp
EnvironmentFile=-/etc/default/xrdp
ExecStart=/usr/local/sbin/xrdp $XRDP_OPTIONS --nodaemon
SystemCallArchitectures=native
#SystemCallFilter=@basic-io @file-system @io-event @ipc @network-io @process @signal ioctl madvise sysinfo uname
SystemCallFilter=@basic-io @file-system @io-event @ipc @network-io @process @signal @system-service ioctl madvise sysinfo uname
SystemCallErrorNumber=EPERM

[Install]
WantedBy=multi-user.target

● xrdp.service - xrdp daemon
     Loaded: loaded (/lib/systemd/system/xrdp.service; disabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-02-06 14:29:21 CET; 3min 27s ago
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
   Main PID: 20197 (xrdp)
      Tasks: 2 (limit: 4638)
     Memory: 19.4M
        CPU: 1.092s
     CGroup: /system.slice/xrdp.service
             ├─20197 /usr/local/sbin/xrdp --nodaemon
             └─20206 /usr/local/sbin/xrdp --nodaemon

Feb 06 14:30:23 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: sesman connect ok
Feb 06 14:30:23 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: Performing login request for papm
Feb 06 14:30:23 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: login was successful - creating session
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: session is available on display 10 for user papm
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: Connecting to session
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [xrdp_mm_setup_mod1(xrdp_mm.c:360)] loaded module 'libxup.so' ok, interface size 10408, version 4
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [lib_mod_connect(xup.c:180)] lib_mod_connect: connecting via UNIX socket
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [lib_mod_connect(xup.c:207)] lib_mod_connect: connected to Xserver (Xorg) sck 21
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [lib_mod_log_peer(xup.c:76)] lib_mod_log_peer: xrdp_pid=20206 connected to Xorg_pid=20213 Xorg_uid=1000 Xorg_gid=1000 client=<IP_ADDRESS>:54766
Feb 06 14:30:24 nfndeterm xrdp[20206]: [INFO ] [xrdp_wm_log_msg(xrdp_wm.c:2295)] xrdp_wm_log_msg: Connecting to chansr


Add medianOfMedians

This is a famous and very elegant algorithm. In addition, the implementation is a beauty.

Awesome! This can be implemented for immutable ranges using a deep recursion. @andralex would you mind I create PR to your fork?

I think I better get to implement the MoM with integrated partition first. Will get back to this.

I'll reiterate my comments that were hidden due to the new commit:

this needs more tests, specifically ones using std.internal.test.dummyrange and ones using a custom less predicate.
More descriptive variable names and/or comments in the example couldn't hurt

@JackStouffer agreed, will get to that soon. For now performance is just awful.

new work to come to this soon


Docs site is unavailable

Hello, The documentation site seems to be down/unavailable. Not sure when that started but I've been trying at access the docs for couple days now.

Hi @amimas, I just tried opening the website and it's working for me. Could you confirm that you are trying to open https://carvel.dev/ytt/ only?

Thanks for checking. Yeah that's the url I was trying. Seems to be working now.


npm publishing updates

The Theme Builder side of the NPM publishing commit.  Please do not merge until the corresponding SDK change is in place.

closing and reopening PR to re-trigger checks

LGTM. I assume you've tested this, including the update-sdk.sh script

Yes, tested both the app and the script on test-npm branch.  Will re-test with merge.


Remove .Idea directory from git

The ".idea" directory is add to git by mistake.

Yeah after your PR is merged lets try to remove it from git. You may need to move it to .idea-old and then rebase so git wont delete it for you or something, and rename it back afterwards to .idea again


cli: Warn if --rev flag is used with cilium service update

Instead of returning an error, warn a user that the flag is deprecated and inactive. This will prevent from breaking user scripts which used to set the param.
Reported-by: Jarno Rajahalme
Fixes: 4234ed773 ("cli: Remove --rev param of cilium service update")

This change is

test-me-please

Coverage decreased (-0.02%) to 45.519% when pulling 23bbf51ffc99a13ad44e5ac005fd85c46710d6ef on pr/brb/deprecate-cli-rev-param into d872612cf9d3295f8c8feeb7348f02eafc5b5918 on master.


Add createCollection API to the SDK

Description
This adds a function for users to invoke 0x4::aptos_token::create_collection via the SDK
Test Plan

pnpm test
Related Links

this should be under digitalAsset  class as all aptos_token operations. we can skip it for now as this is a small implementation of a bigger item. Or at least have this api to be under digitalAsset

Yes, let's combine collection and token under digitalAsset

@heliuchuan just for reference, I addressed the merge conflicts, we can get these two PRs in, and then combine them into one digitalAssets, which should just be an easy rename.


Remove AWX references

I'm in the process of writing up some docs on developing custom Azimuth apps and noticed the docs here are outdated. Given I'm not all that familiar with the new CaaS operator, could you give the README a quick read through to check that it still makes sense that and that everything left in does apply to the new non-AWX spec.

Has this appliance ever been tested with the CaaS operator?


Opening quakeMode via shortcut/touchpad gesture messes with input / caps lock stuck

Windows Terminal version
1.16.10262.0
Windows build number
10.0.22621.0
Other Software
No response
Steps to reproduce

Map 4-finger tap to ctrl+shift+alt+t in Windows Settings
Map ctrl+shift+alt+t to action quakeMode in Terminal settings
Open and close quake window using 4 finger taps

Happens to me both with PowerShell and WSL+zsh, so I don't think it's shell related. I'm using the oh-my-posh prompt in both though, so that is something both shells have in common
Expected Behavior
Opening or closing the window should not change input behavior
Actual Behavior
Sometimes after opening the quakeMode window using a 4-finger tap, I can only input uppercase letters (and pressing the capslock key changes nothing). The behavior of arrow keys is changed, too. The input behavior is stuck and the Terminal basically unusable.
Then, I have to open and close the window a few times using the 4-finger tap until suddenly the input behavior is normal again, seemingly randomly. I haven't found another way to switch to normal input behavior again, leading to a weird open-close dance every time this happens.
I've not yet tried if the same happens with out the touchpad gesture, just using the shortcut. Will update later.

Hi @jonaskuske! Thanks for the report. We have a few questions for you:

If you individually tap shift, ctrl, and alt, does this issue fix itself?
Does it work for other actions that aren't globalSummon or quakeMode?
Does this issue repro if you bound the gesture to something like the "underline" hotkey in MS Word?

If you individually tap shift, ctrl, and alt, does this issue fix itself?

No, had no success with this

Does it work for other actions that aren't globalSummon or quakeMode?

Will try and report back :)

Does this issue repro if you bound the gesture to something like the "underline" hotkey in MS Word?

How can I do that? Or do you mean just mapping 4-finger tap to Ctrl+U?

...do you mean just mapping 4-finger tap to Ctrl+U?
Yup! Exactly that


fix(vue): presence onExitComplete & types

fix onExitComplete cannot call correctly
simplify the define of props
fix type use toValue

@iamdin I've reverted what should be reverted.
Thanks!

@iamdin I've reverted what should be reverted.
Thanks!

Thanks！


Automate deployment to GH pages

Add Github action to deploy to github pages.
Needs to use the Makefile to transform dash app pages into a static site.

I would be happy to give a hand on this one.

Thanks a lot! Do you need access to the repo?

I think so.

OK, I'm on it.

Thank you @glemaitre :-). The current workflow is in the Makefile, it consists of

a hack to transform a Dash app into static html pages (make html)
and pushing these pages to github pages (make gh-pages).
Please be in touch if you have questions :-)

So the deployment should happen at each merge of a PR in master?

yes. Soon enough we will switch to a pull-request mode so we'll be able to check that the changes should not break the deployment.

@glemaitre : did you get the invitation for the repo?

Please note that https://github.com/covid19-dash/covid-dashboard/commit/b2ce5a9ae32b7f2386d4bd10f2ecad4ae48459b2 added one line to the Makefile.

Yes. I am trying to deploy on my fork before to make a PR here. I am the config of the token for automatic push so it should be soonish working.

Exciting!!
If it's easier for you, do not hesitate to push to master. We are still
at early stages of the project.

So it should normally push in gh-pages now.
In short, I made a make html and push the content of the localhost to gh-pages when there is a push on master. We should check that we have the right content.
If something else need to be configure, I relied on the following github-action: https://github.com/peaceiris/actions-gh-pages

I assume that when we are happy with the current results we can push to the repository of the website. This should not be a big deal. We need to setup to wish repository to push: https://github.com/peaceiris/actions-gh-pages#-deploy-to-external-repository

Thanks a lot ! I'll try it out when the little one is asleep :-). Good night ;-)

OK, one thing strange (which is the reason I did not push in the website repo yet), I am getting a Loading...: https://covid19-dash.github.io/covid-dashboard/
But I think it should be due to the state of master rather than something weird on the deployment.

FYI:
We need to change the deploy section with:
      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          deploy_key: ${{ secrets.DEPLOY_KEY }}
          external_repository:  covid19-dash/covid19-dash.github.io
          publish_branch: master
          publish_dir: ./<IP_ADDRESS>:8050

I set up the SSH keys so only the section needs to be changed. Feel free to change it during my sleep :)

Hum this "Loading" thing can be due to Jekyll, I'll check whether the GH action pushes a .nojekyll file.

I think that the reason that this is not working is that the scripts and other components are referred too with a "/..." href.
If we deployed to the .github.io repo instead of the gh-pages of this repo, I think that it would work.

OK, this worked: the github action now works. Thank you very much @glemaitre !!


chore: update line-height of label font-size and rename variables

To Reviewers

[X] Skipping review is not a problem (style, chore ONLY)
[ ] Not that difficult

Type of Change

[ ] New feature
[ ] Bug fixes
[X] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[ ] Updated Storybook documents
[ ] Tested with console(if usages are changed)

Description
SSIA
Things to Talk About

:tada: This PR is included in version 1.1.0-beta.480 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


kernel threadgroup size limit

When sorting entries on argSort(array, axis: -1, stream: .gpu), sys crashes
-[MTLDebugComputeCommandEncoder _validateThreadsPerThreadgroup:]:1267: failed assertion `(threadsPerThreadgroup.width(929) * threadsPerThreadgroup.height(1) * threadsPerThreadgroup.depth(1))(929) must be <= 256. (kernel threadgroup size limit)'

Which example are you running / what is the shape of the input to argSort?

Also, what system?  iOS?  Simulator?

I was running a example code
 let randArr = MLXRandom.randInt(0 ..< 100, [1900000])    let sortIndexes = argSort(randArr, axis: -1, stream: .gpu)
and was getting the crash, suprisingly its not consistent, I have tried it few times, initially I was getting crash but now its working.
I was running it on M1 Max 32 gb, Mac simulator (Designed for iPad)

Interesting.. I can't reproduce it in MLX core with Metal validation enabled. Is it crashing intermittently now or not at all?

Its crashing when I try to print the sorted array, otherwise not.
let randArr = MLXRandom.randInt(0 ..< 100, [1900000])
let sortIndexes = argSort(randArr, axis: -1, stream: .gpu)
let sorted = randArr[sortIndexes]
print(sorted)

I can reproduce.  Roughly equivalent code in python does not fail:
import mlx.core as mx

randArr = mx.random.randint(0, 100, [1900000], dtype=mx.int64)
sortIndexes = mx.argsort(randArr, axis=-1)
sorted = randArr[sortIndexes]
mx.eval(sorted)
print(sorted.shape)

The code fails here:
void multi_block_sort(
...
    // Do partition
    {
      std::ostringstream kname;
      kname << "partition_mbsort_" << type_to_name(dev_vals_in) << "_"
            << type_to_name(dev_idxs_in) << "_bn" << bn << "_tn" << tn;
...
      compute_encoder.dispatchThreadgroups(grid_dims, group_dims);

In the python case I tried this:
	  std::cout << "Do partition " << kname.str() << " " << group_dims.width << " max " << kernel->maxTotalThreadsPerThreadgroup() << std::endl;

and see:
Do partition partition_mbsort_int64_uint32_bn256_tn8 929 max 1024

For swift I get:
Do partition partition_mbsort_int64_uint32_bn256_tn8 929 max 256

I am not sure what causes the lower limit here -- could it be other metal activity form the process (this is running in an app)?  I don't see any checks/guards to try and hit this limit.
Both python and swift using mlx v0.16.0.
@awni any thoughts?

Oh that's odd.. maybe related to JIT compilation or a setting which is different there. Let me try some things with the JIT to see if I can get it to show up.

We changed the source code for the sort kernels about a month ago. It used to hard code the max thread groups for the specific kernel that is crashing but now it doesn't.
It looks like MLX Swift is using the old sort kernels. The same test breaks with mlx==0.16.0 in Python with metal validation enabled.
So in short this is fixed in the latest release in core and we should bump Swift to patch it here.

Thanks @awni !


Make lossHook optional in the Informer stage

In the interest of quick development iterations, we removed lossHook from the hookList in the Informer stage.
@grantmerz I believe that we said that we would want to optionally include this hook, and specify whether it is included or not with an input parameter. Is that correct?

One approach here would be to make it implicitly optional.
Since we have a stage parameter that defines the training_percentage, we could add some logic like if training_percentage >= 1.0: dont_do_lossHook.
Alternatively we could make it more explicit and go the other way:
if dont_do_lossHook: training_percentage = 1.0
I assume that either approach taken would need to enforce a specific value for the other. Just not sure which would be most intuitive. We should also include a lot of info logging to go company this.
@grantmerz, do you have a strong opinion about whether dont_do_lossHook would be controlled by training_percentage, or vice versa?


Release @google-cloud/error-reporting v0.6.1

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/nodejs-error-reporting/releases/tag/v0.6.1

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Compilation Error when Roles Disabled

I am following the documentation to disable some unused features in my context, but the compilations fail when ROLE_CENTRAL is disabled.
Error:
Linking .pio\build\esp32dev\firmware.elf c:/users/bruno/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\lib95d\libNimBLE-Arduino.a(ble_hs_resolv.c.o):(.literal.ble_hs_resolv_gen_priv_addr+0x4): undefined reference  to ble_sm_alg_encrypt' c:/users/bruno/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\lib95d\libNimBLE-Arduino.a(ble_hs_resolv.c.o): in function ble_hs_resolv_gen_priv_addr': C:\Users\bruno\Documents\Embedded Repositories\Axia Badge Repos\Axia_Badge/.pio/libdeps/esp32dev/NimBLE-Arduino/src/nimble/nimble/host/src/ble_hs_resolv.c:408: undefined reference to ble_sm_alg_encrypt' collect2.exe: error: ld returned 1 exit status *** [.pio\build\esp32dev\firmware.elf] Error 1
Documentation I am using as reference: NimBLE Config
I am using the platformio environment and the following configuration in platformio.ini:
[env:esp32dev]
; Enviroment Configurations
platform = espressif32
board = esp32dev
framework = arduino

; Serial Monitor Configurations
monitor_dtr = 0
monitor_rts = 0
monitor_speed = 115200
monitor_filters = time

; Build Configurations
board_build.f_cpu = 160000000L
board_build.upload_speed = 921600
board_build.filesystem = littlefs
board_build.partitions = partitions_schema.csv

; Upload Configurations
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216

; Build Flags Configurations
build_flags =
	-D CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
	-D CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
	-D CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED

; Library Dependencies Configurations
lib_ldf_mode = deep+
lib_deps =
<EMAIL_ADDRESS>
I tested and removing the -D CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED definition resolves the error, however I would like to disable this functionality because in my use case the device only performs scans (OBSERVER_ROLE).

Fixed with release 1.4.3


[experiment] Explore user actions

Opened this PR to share the status and bootstrap a discussion about a desirable API to define user actions.
Fixes https://github.com/san650/ember-cli-page-object/issues/453

description tbd

Coverage decreased (-1.8%) to 96.989% when pulling 8e19acfd1934bdf528d0c767677c785c676bc07b on ro0gr:user-action into 629ddd3787b875567a011ad490805d348e9c2811 on san650:master.

just re-written all the built-in actions with a new proposed run+action. It allowed to drastically cleanup execution contexts and (I believe) make actions implementation a bit more straightforward.
with this change all the execution context methods intended to manipulate with DOM elements do only accept an element instead of a combo of selector, container, options.
Which means, a single invocation of MyExecutionContext.click would only interact with a single DOM node.

this led me to https://github.com/san650/ember-cli-page-object/pull/509


Dont print literal data in hip_copy_literal

Kicking off a build and weekly perf run using this branch. Hopefully verifies the PR while also getting a weekly perf outputs more easily comparable with last week.

I can confirm that these changes no longer result in large output.  In process of doing complete performance run, but this is fixed and will merge when it passes.


Update to Cluster-API v1.1.3

Cluster-API v1 support for Equinix Metal was added recently. With these code changes, support is added to use Cluster-API v1.1.3.
The APIs used for Cluster-API are still v1alpha3 and will be updated at a later date.

Build: https://gitlab.com/sharingio/pair/-/commit/095003df40d4f4f80da2eff0364651d3177f2192/pipelines?ref=update-to-cluster-api-v1.1.3

I've tested this branch and machines do provision!


core-image-sato build fails (Nothing PROVIDES 'faad2')

Description
Building poky with the sato UI (using the command bitbake core-image-sato) fails.
Steps to reproduce the issue:

git clone https://github.com/agherzan/meta-raspberrypi
source ./oe-init-build-env rpi-build
bitbake-layers add-layer ../meta-raspberrypi
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
add MACHINE?="raspberrypi" to conf/local.conf
bitbake core-image-sato

Describe the results you received:
The final bitbake command fails with the following output:
Loaded 1339 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'faad2' (but /mnt/hdd/yocto/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.0.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'gst-examples' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gst-examples', 'gstreamer1.0-plugins-bad', 'faad2']
NOTE: Runtime target 'packagegroup-core-x11-sato' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-sato', 'gst-examples', 'gstreamer1.0-plugins-bad', 'faad2']
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-sato', 'gst-examples', 'gstreamer1.0-plugins-bad', 'faad2']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Describe the results you expected:
The final bitbake command should successfully generate a firmware image.
Additional details (revisions used, host distro, etc.):
I'm using the master branch of poky and meta-raspberrypi, both pulled around 18:00 GMT 2019/06/10, and building on Ubuntu Server 18.04.2 LTS.

I didn't add all dependencies to bblayers.conf

in your local.conf add
LICENSE_FLAGS_WHITELIST_append = " commercial_faad2 "

I forgot to add the dependencies to bblayers.conf

Hi Austin,
I met the same issue as yours when "bitbake core-image-sato".
Could you please let me know more details about how to "add the dependencies to bblayers.conf" to solve the issue?
Thanks!
Best Regards

I forgot to add the dependencies to bblayers.conf

Hi Austin
Could you please say more detail about how to add the dependencies, I have same issue.
Thank you
BR

I forgot to add the dependencies to bblayers.conf

Hi Austin,
I met the same issue as yours when "bitbake core-image-sato".
Could you please let me know more details about how to "add the dependencies to bblayers.conf" to solve the issue?
Thanks!
Best Regards

Any answer?
I have same problem.

you need meta-oe in bblayers.conf and add it license whitelist as I suggested above


Add basic UI elements

The UI needs some elements to allow some basic interactivity. At a minimum these should include:

Entry of longitude and latitude for place of interest and a display for the closest coordinates found in the data file.
Display of temperature and dew point at various isobaric levels.
Display of other variables currently being read from data file or computed.

Basic UI has been added so closing.


Is the SOAP API Dead?

Since the last week, I have been unable to use either the beta or the current release. When connecting, I get
[##############################] 100 % - Done
but it never progresses from there.
This occurs with PS 5.1 and 7.0.

I have no such issues at my end. Any -Verbose output that may help?

@AceOfNitwits you figure it out?

@AceOfNitwits you figure it out?


Week 3 Feedback

Postiive
Negative

Frame some questions better, it is hard to understand otherwise.
Exercise 3. The text states lby differently than the figure
The tasks from week 2 took a bit too much time (it was about 10 to 16 hours for different people I know), would be optimal to half the load or at least reduce it to 2/3 of the load.
It would be nice if the problems were split up into multiple files so it is easier to work at the same time with your partner.

We're going to do 4 problems per homework to make it more managable for students and us. Should be 2 problems from each topic. We will split the notebooks up also.


How to use Javy with asynchronous JavaScript code? (experimental_event_loop)

What is your question?
Hi, I try to execute asynchronous JavaScript code using Javy. the simplified JavaScript code looks like this:
const input = JSON.parse(readInput()); // Read STDIN as described in README

(async () => {
  const result = await foo(input);

  writeOutput(result); // Write to STDOUT as described in README
})();

async function foo(params) {
  // ...
}

I am using a setup where I use the Javy Provider Module created via javy emit-provider -o javy-provider.wasm.
The JavaScript code itself is compiled via javy compile my.js -o out.wasm -d.
I execute everything in Wasmtime, and for sync code this works as expected. When using async code in the JavaScript code, I get the error Error while running JS: Adding tasks to the event queue is not supported.
I researched the origin of the issue and found out that in the file crates/core/src/execution.rs pending code (i.e. Promises) is only executed if the feature experimental_event_loop is set.
Therefore, I tried the following steps to fix my issue:

I cloned the javy repository
I installed all build prerequisites
I ran cargo build -p javy-core --target wasm32-wasi -r --features experimental_event_loop
I ran cargo build -p javy-cli -r --features experimental_event_loop
I recompiled the JS with the same command as specified above
I recreated the provider module with the same command as specified above
I tested the execution again

Unfortunately, I ended up with the very same issue. Have I missed something?
Thanks for your help and clarification
P.S.: I am running on ARM-based MacOS, Rust 1.76.0, and built Javy on commit 8f4468c97c1bbf69321d40cc5e5e6ec14d5b685c. The wasmtime(-wasi)/wasi-common version for the execution of the WASM is 15.0.0

I'm not able to reproduce the issue you ran into.
I created a module with this code:
(async () => {
  const result = await foo();

  console.log(result);
})();

async function foo(params) {
    return 'blah';
}

Then tested that compiling this with the default configuration outputs Error while running JS: Adding tasks to the event queue is not supported:
➜  javy git:(main) ✗ cargo build -p javy-cli -r
   Compiling javy-cli v1.4.0 (/Users/jeffcharles/src/github.com/Shopify/javy/crates/cli)
    Finished release [optimized] target(s) in 1m 23s
➜  javy git:(main) ✗ target/release/javy compile -d index.js -o index.wasm
➜  javy git:(main) ✗ target/release/javy emit-provider -o provider.wasm
➜  javy git:(main) ✗ wasmtime run --preload javy_quickjs_provider_v1=provider.wasm index.wasm
Error while running JS: Adding tasks to the event queue is not supported
Error: failed to run main module `index.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0xd5f17 - <unknown>!abort
           1: 0x283bd - <unknown>!std::sys::pal::wasi::abort_internal::h9244d020deeb80f3
           2: 0x3097 - <unknown>!std::process::abort::h9c7c1ac47130d7a9
           3: 0x28e9 - <unknown>!javy_quickjs_provider::execution::run_bytecode::h2795cc611b4a3c8a
           4: 0x506e - <unknown>!eval_bytecode
           5: 0xe0a90 - <unknown>!eval_bytecode.command_export
           6:   0xd0 - <unknown>!<wasm function 2>
       note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
    2: wasm trap: wasm `unreachable` instruction executed

Then I tested building with event loop support enabled:
➜  javy git:(main) ✗ cargo build -p javy-core --target wasm32-wasi -r --features=experimental_event_loop
   Compiling javy-core v0.2.0 (/Users/jeffcharles/src/github.com/Shopify/javy/crates/core)
    Finished release [optimized] target(s) in 1.11s
➜  javy git:(main) ✗ cargo build -p javy-cli -r
   Compiling javy-cli v1.4.0 (/Users/jeffcharles/src/github.com/Shopify/javy/crates/cli)
    Finished release [optimized] target(s) in 1m 23s
➜  javy git:(main) ✗ target/release/javy emit-provider -o provider.wasm
➜  javy git:(main) ✗ wasmtime run --preload javy_quickjs_provider_v1=provider.wasm index.wasm
blah

Note that the experimental_event_loop feature for the CLI, at the present time, just changes which integration tests are run by cargo test, so you can enable it but you don't have to. You do need to recompile the CLI with a core module that has the experimental event loop feature enabled however. You also don't need to recompile the JS module.
Can you double-check you're still seeing the issue if you run the steps I've outlined above in the same order? If you are seeing the same issue, can you please include all commands you ran in the exact order you ran them including any outputs from those commands?

I tried your snippet and you are right. With this snippet, everything works as it should. However, I digged deeper to figure out why it doesn't work for my setup whereas it does for yours:
In the example that you provided, no actual async logic (such as IO or event loop activities) is performed. Most likely, your code is desugared under the hood to a Promise.resolve() call. I tested the following snippet:
(async () => {
  const result = await foo();

  console.log(result);
})();

async function foo(params) {
  await Promise.resolve("dummy");
  return 'blah';
}

This snippet worked and as expected, blah was outputed.
If actual async logic is involved, the issues come up. See this minimal example using setTimeout:
(async () => {
  console.log("start");
  const result = await foo();

  console.log(result);
})();

async function foo(params) {
  await (
    new Promise((resolve) => {
      setTimeout(() => {
        resolve();
      }, 1000);
    })
  );
  return 'blah';
}

Notice, I also added a log for "start" at the beginning of the async IIFE. When running this example, "start" is printed out, while "blah" is not.
For the execution, this time I used the wasmtime cli in the exact same way as you specified in your response.

Filed https://github.com/bytecodealliance/javy/issues/627 to track the lack of error messages and traps when there's an error in processing tasks in the event loop.

Yes, that the Error while running JS: Adding tasks to the event queue is not supported was still shown after I switched to the Javy Build with the experimental feature activated was a mistake on my setup – I was still using the original build.
Also, I wasn't aware that setTimeout is not supported at all (in fact I thought that this function was part of the ECMAScript specification). So thank you for the clarification and generally for your help!
That no error is thrown at all is therefore a bug as you said. Since this is captured in #627, I think my question is answered, so feel free to close the issue.


fatal error: 'React/RCTDefines.h' file not found

fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>

running react-native run-ios into this, please help.

It happens to me too, please help

fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>

running react-native run-ios into this, please help.

For anybody searching a solution to this problem, go to the Header Search Paths of the RNTextDetector Target and set it to recursive. To do so go to Libraries > RNTextDetector > Targets > RNTextDetector > Build Settings > Header Search Paths and add:
$(SRCROOT)/../../../ios/Pods


Set-SnipeitConsumable

Context
I need to check out an RFID badge blank (already added as a consumable in Snipe-IT) to every user upon account creation. I see the command Set-SnipeitConsumable which I thought may accomplish this, but it seems to perform the same function as New-SnipeitConsumable. Unless I am missing something, there is no way to assign a consumable via SnipeitPS.
Thanks!
Your Environment

SnipeitPS Module version used: 1.10.220
Operating System and PowerShell version: Windows Server 2016 Core / PS Version 5.1.17763.2268
Snipe It version: v5.4.0

Expected Behavior
To be able to check out a consumable via PS.
Current Behavior
There seems to be no way currently to accomplish this task.

Thanks for reporting this, this feature is missing indeed. It seems that there's now api available to do this /consumables/:id/checkout
So this can be added, but I can't promise any timeframe for this. So PR is wellcome. :) It could be something like it done with accessories: Get-SnipeitConsumableOwner   and Reset-SnipeitConsumableOwner . To keep commands work in same way with different entities.
In logger run it would make sense to combine all *owner commands to set-commands, as it's where people are first looking checkout/checkin functionality.

Awesome, glad to hear that it may be coming! It will be a giant help whenever it does come. Yeah I agree with keeping the commands in the same format - I was confused when typing that earlier lol but glad to see you were able to understand it.


Add Sumall

@taphu might have more details

Sector is "Artificial Intelligence".  Remote is OK.

Thanks!

Also, https://sumall.ai is more representative of the future direction of the company. Thanks again!

I deleted my fork, so maybe you can make this edit in a bit after this is merged?

Absolutely.

Thanks


Upgrade golang.org/x/net - CVE-2023-39325

Related Issue

https://issues.redhat.com/browse/ACM-0000
Description of changes

Remediates detection of https://github.com/advisories/GHSA-4374-p667-p6c8

/cherry-pick release-2.9

/cherry-pick release-2.8


@std/esm package is deprecated

https://www.npmjs.com/package/@std/esm dependency is deprecated in favor of https://npmjs.com/esm

Solved with #4
Thanks for reporting!

Solved with #4
Thanks for reporting!


Update language data for Sinitic languages

Bug: #10488
Bug: https://github.com/openstreetmap/id-tagging-schema/pull/1356
Change-Id: I0ca3cd8b2a82a7edeff70b4be7678e0699214ccc

Have you verified that the associated name:* tags are well-established, so that we don’t end up promoting tags that the language community is unaware of?

The language tags were well-established and being used in MediaWiki and on Wikimedia wikis.

The variant subtag pehoeji, tailo were supported by the Hokkien community, proposed and added to Language Subtag Registry on 2024-03-04.
The variant subtag pinyin was already existed in Language Subtag Registry since 2008-10-14, but not using the standard BCP 47 language tag on OpenStreetMap (so we need to fix it now).

https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

Also, we may need to update our copy of wmf-sitematrix so that the Wikipedia field’s language selector and Wikidata field’s label functionality reflects recent changes to Wikimedia’s language list.

I'll take a look into it.

Also, we may need to update our copy of wmf-sitematrix so that the Wikipedia field’s language selector and Wikidata field’s label functionality reflects recent changes to Wikimedia’s language list.

The list is up-to-date as far as I can see.

It looks like iD is no longer using wmf-sitematrix for anything that also uses the built-in language data, so we can take care of that change in a separate PR.

#10489


fix: collapse all folders

Related to #50

Perfect, I must admit that the collapse button also had some strange behavior that you fixed. Here, the issue was that “new file” and “new folder” didn’t work properly. I think it’s due to incorrect detection of the target directory.
I’m merging, but I’m not closing the issue.

Indeed I fixed only the "collapse all" button
If I have time I will have a look to the "new file" and "new folder" buttons but these buttons in fact works correctly, the issue seems to be in the test application when handling the output of these buttons.

Yes, I think it’s just in the test section since the alert works fine.
That’s why I created an issue and haven’t done it yet, as it’s not urgent! Thank you so much anyway!


Increase upload size for avatar image

Details
For iOS users, the minimum upload size for the avatar image is smaller than the size of the photo a user takes when selecting the Take a Photo option, so this PR updates the minimum upload size so users can use this functionality. Once https://github.com/Expensify/App/issues/6301#issuecomment-995173042 is implemented we can come back to this to see if a smaller file size should be required.
Fixed Issues
$ https://github.com/Expensify/App/issues/6628
Tests/QA

On an iPhone, sign into an account and tap the profile image in the top right
On the settings screen, tap the profile image again
On the profile screen, tap the profile photo and select Upload photo and then Take photo
Take a photo with the front camera, confirm that you do not get an error message that the photo is over 6MB

Tested On

[ ] Web
[ ] Mobile Web
[ ] Desktop
[x] iOS
[ ] Android

Screenshots
N/A

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

🚀 Deployed to staging by @Gonals in version: 1.1.23-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.1.24-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Commit badger transaction synchronously

If badger.Txn.Commit is called with a non-nil callback it writes to the database in the background. Any error during write will be written to the callback but the local err variable will have gone out-of-scope by then.
For now, I suggest, provide a nil callback and then Commit will write to the database synchronously and Triplestore can handle any error during write. If there is a need to write to the database asynchronously then there needs to be a way of handling the asynchronous error.
This also simplifies the interface between triplestore and badger which might be handy for abstracting out badger for unit tests.

Nice.  I'll bear this in mind when committing.


Add email address survey type

For: https://trello.com/c/dfSufy85/114-develop-a-new-survey-delivery-method
We want a new survey type that invites the user to enter their email address and then submits this to an endpoint in feedback that will send them an email with more details about the survey they're being invited to take part in.
Flagged as DNM because we expect the backend implementation in feedback (see: https://github.com/alphagov/feedback/pull/192) to be merged and deployed first.
We have a separate card (https://trello.com/c/8YSfHXc2/110-reduce-need-to-change-static-js-when-deploying-surveys) to investigate making new survey's not require invalidating the JS bundle, so I've not thought about that much here.

Removed DNM as feedback is merged and a deploy for both is booked for Thursday.


Improve efficiency for MARL rendering

It is really slow for MARL rendering.

Profile:

I am not sure where consumes so many time, the renderFrame is called quite naturally I think..

Use script: marl_rouabout_env: _vis()

Use Pstats to find render problem is more reasonable since the igLoop() used to render in panda3d will sync the frame rate and your screen refresh rate. From the picture above, you can find a lot of time consumed to sync the screen.
Without this limit, the time consuming is acceptable.

Solved in #399

Today's profiling result.
I just can't find any place to improve!!

We can say that this issue is temporarily resolved! Since current Panda3D rendering in MA Env with 40 agents can already achieve 50+ FPS!


embedded object in vertex

Hey, love the library! thanks for the great work.
I have a question, what's the best way of embedding an object into a vertex. I'm trying the following:
@OrientDocument
@CompileStatic
@EqualsAndHashCode
class Point {
    double latitude
    double longitude
}

@Vertex
@CompileStatic
class MyVertex {
    String name
    Point location

    static mapping = {
        location(type: OType.EMBEDDED)
    }
}

But I'm getting this exception when trying to create assign the location property with a new instance of Point :
MyVertex v = new MyVertex(
    name: theName,
    location: new Point(latitude: theLatitude, longitude: theLongitude)
)

groovy.lang.MissingPropertyException: No such property: vertex for class: Point
	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)
	at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:87)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetPropertySafe(AbstractCallSite.java:410)
	at com.github.eugene.kamenev.orient.graph.OrientGraphHelper.getVertexFromEntity(OrientGraphHelper.groovy:58)

Thank you for giving a try, i will take a look soon at your use case, i have written tests only for EMBEDDED type for OrientDocument, take a look at how EMBEDDED was tested. But contributions are welcome always.

@dmunguia Can you make a pull request with a test that will fail, add it for vertex transform test, and we will pass this test when it will be fixed. Thanks.


Ability to set any window "always on top".

Ability to set any window "always on top".
It will be better to have this feature as this is required in most of the scenarios when we refer and type or do something.
Best place for this feature inclusion will be in the window title right click menu, with minimize, maximize, restore etc

Hi @jaijujacob
the tracker for this feature is https://github.com/microsoft/PowerToys/issues/13
Closing this as duplicate.
Thanks.


Incorrect "Logback version is prior to 1.2.0." message

I get the message

-WARN in net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder@16022d9d - Logback version is prior to 1.2.0.  Enabling backwardscompatible encoding.  Logback 1.2.1 or greater is recommended.

when using
compile "ch.qos.logback:logback-classic:1.2.3"
compile "net.logstash.logback:logstash-logback-encoder:4.9"

IMHO this is because in Logback11Support.java you check for an init method
    private static final Method ENCODER_INIT_METHOD = getMethod(Encoder.class, "init", OutputStream.class);
[..]
    private static final boolean IS_LOGBACK_1_1 = ENCODER_INIT_METHOD != null;
[..]
    public static boolean isLogback11OrBefore() {
        return IS_LOGBACK_1_1;
    }

that was removed from Encoder.java in this commit:
-    byte[] init() throws IOException;
+    byte[] headerBytes();

I cannot reproduce this when I run with logback-classic 1.2.3 and logback-core 1.2.3.
Can you ensure that your runtime classpath has logback-classic 1.2.3 and logback-core 1.2.3 on it?   Your dependencies only list logback-classic.  Perhaps gradle is resolving a different version of logback-core  (since Encoder is from logback-core)
You are correct that Encoder.init was removed from logback in 1.2.0.
If the method does not exist at runtime, logstash-logback-encoder assumes you're running with logback 1.2.0 or higher.
If the method does exist at runtime, logstash-logback-encoder assumes you're running with logback 1.1.x or lower.  So, if the method does not exist at runtime, logstash-logback-encoder will output the warning that you see.

I also encountered the same problem, the latest version of the logstash, receive logback log, display：
exception=>#<IOError: invalid stream header: 7B224074>

Thanks! I somehow missed the != check.
Adding logback-core:1.2.3 fixed the issue
  compile "ch.qos.logback:logback-core:1.2.3"


New Wiki and a question on Particle Accelerators

Hi Turbodiesel,
I've spent a few hours creating a new wiki for NuclearCraft over at https://ftb.gamepedia.com/NuclearCraft  I chose this wiki since the other one is terribly out of date and I wanted a fresh start. The item/block icons don't work at the moment as we're waiting on some technical issues to be resolved. I'd like to clarify the use of a few blocks, please.
There exist a Superconducting Electromagnet, and a Superconducting Supercooler. Am I correct that these are for a Particle Accelerator? Is that still a WIP or can it be built? I can't see an Accelerator Core so I'm assuming it's a WIP. Do you have any documentation on particle accelerators yet?
What's the purpose of coolers on a Fusion reactor? I created a radius-9 Fusion Reactor and simply didn't need any coolers. I simply set up a Comparator and it autoregulated at around 93%. I was only fusing Hydrogen and Lithium-7. Do other reactions generate more heat? Is there a debugging tool to boost the temperature of a fusion reactor? I set up a reactor in creative to test different fuels but it's going to take a few hours to get up to speed!
(edit: Nine hours later... my Boron-11/Boron-11 reactor was at about 94% efficiency and heat nudging the red. Again, simply using a comparator brought it into a very stable mode. So still not sure of the value of cooling a Fusion reactor!)
Do passive coolers work on a Fusion reactor? Do Superconducting Supercoolers work on a Fusion reactor?
While I'm here, a handful of suggestions...

Add the energy requirement for base operations of machines to the JEI GUI. E.g. the Alloy Furnace uses 8000RF per operation.
Add the effects of the Speed Upgrade E.g. Increases speed by X% for a Y% increase in power.
Add buffer sizes to GUIs so that users can see things like the Alloy Furnace buffer currently holds 8300RF of 32000RF max.
Add a power upgrade that increases the energy transfer rate and buffer size to compensate for the speed upgrades.
Perhaps add the word Isotope to the isotopes to help with JEI searching.
Rename RadAway to AntiRad to avoid copyright problems :P
I watched your 2.4 video when you mentioned the 'corrosive' effects of plasma. As you've implemented it,  plasma is very cool but... plasma doesn't work that way :) Perhaps change it to create a TNT or super-creeper-sized explosion at the electromagnet that breaks? I think it's fair to break some of the electromagnets. Once one explosion has happened, all the pressure from the ring is gone, so there shouldn't be more explosions, thus preventing the loss of the entire reactor. The plasma effect you've created would probably go very well for molten-salt reactor meltdowns!

Hello xenoflot!
First of all, thank you so much for your work on the new wiki page. We were certainly having some problems with the last one (huge swathes of text being translated permanently into Russian, for example :P), so it's nice to have a fresh start. I have to say I was pretty blown away by the amount of info already there when I first looked through it a few days ago. I'll put out a video about it and other bits and bobs soon, and I'll switch up the links to send players to this new one instead of the old one :)

There exist a Superconducting Electromagnet, and a Superconducting Supercooler. Am I correct that these are for a Particle Accelerator? Is that still a WIP or can it be built? I can't see an Accelerator Core so I'm assuming it's a WIP. Do you have any documentation on particle accelerators yet?

Yes, those will be for the accelerator - is it currently not available for 1.10.2 and above, but will be... one day... :P
The only info about the accelerator ever was in a YT video I made a while back, but even then the accelerator only had placeholder mechanics. As of yet, I only have vast clouds of ideas about how it will work, which will hopefully condensate as I near the time to begin implementing it.

What's the purpose of coolers on a Fusion reactor? I created a radius-9 Fusion Reactor and simply didn't need any coolers. I simply set up a Comparator and it autoregulated at around 93%. I was only fusing Hydrogen and Lithium-7. Do other reactions generate more heat?

The active coolers are the only ones that can be used to cool fusion reactors - the passive and superconducting coolers will not do anything. They need to be placed on the diagonals of the fusion ring. They are not required, no, but if you want to squeeze that last 6 or 7 percent of efficiency out of your fusion fuels then it is possible using a certain number of active coolers. It's really only meant to be a mechanic for the super-keen players who don't mind doing a bit of maths and experimenting to find out exactly what rate of fluid supply is required to absolutely maximise the efficiency.

Is there a debugging tool to boost the temperature of a fusion reactor? I set up a reactor in creative to test different fuels but it's going to take a few hours to get up to speed!

Such a thing does not exist explicitly, but raising the heat generation variable in the configs to the max value of 255 will massively increase the rate at which the temperature goes up :)
Now, on to your suggestions...

Add the energy requirement for base operations of machines to the JEI GUI. E.g. the Alloy Furnace uses 8000RF per operation.

Will have to work out how to do this, but would the power consumption rate in the GUI energy tooltip be good enough? I would argue that the rate is more important than the absolute amount of energy per operation in most cases.

Add the effects of the Speed Upgrade E.g. Increases speed by X% for a Y% increase in power.

I guess you mean in the GUI? Sure, sounds good :)

Add buffer sizes to GUIs so that users can see things like the Alloy Furnace buffer currently holds 8300RF of 32000RF max.

Again, pretty simple.

Perhaps add the word Isotope to the isotopes to help with JEI searching.

How about a little tooltip saying 'Isotope of ___'?

Rename RadAway to AntiRad to avoid copyright problems :P

I actually don't think I should have much of a problem here, as I found there exists an entire company called Radaway that does shower-related stuff :P

As you've implemented it, plasma is very cool but... plasma doesn't work that way :) Perhaps change it to create a TNT or super-creeper-sized explosion at the electromagnet that breaks? I think it's fair to break some of the electromagnets. Once one explosion has happened, all the pressure from the ring is gone, so there shouldn't be more explosions, thus preventing the loss of the entire reactor. The plasma effect you've created would probably go very well for molten-salt reactor meltdowns!

There is now a chance that unpowered e-magnets adjacent to plasma will explode instead of simply 'corroding' away, and the plasma effect has been updated to be less laggy :)

Ok, will close this as all of the suggestions have been implemented, plus or minus a few differences :)


feat(cloudprofiler): generate library

Fixes #8179
The quickstart runs, but it doesn't actually do anything.

This change is

For other services with "cloud" in the name we decided that google/cloud/profiler was cloudy enough. Please rename the library to avoid excessive cloudiness.

Done.


Test with supported sphinx version by RTD

We actually test till 1.6.b3 https://github.com/rtfd/readthedocs-sphinx-ext/blob/c158320f83affd15a43ea4ac1b0bb2a47e28ab54/tox.ini#L16
But RTD uses 1.7.4
https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/python_environments.py#L246-L246
If we agreed to test the version used by rtd, I can change that in #43

We are already testing till sphinx 1.8 https://github.com/rtfd/readthedocs-sphinx-ext/pull/54


Readd a line to fix Python Compiles using MSVC

I just wasted 10 hours of my life on my personal project because this line did not exist. Hopefully this helps others

10 hours on a linker error?

This is intentional - each platform gets its own directory inside the build dir: win64, linux2 and osx. When building with MSVC your lib will be in build/Release (or build/Debug) meaning you need to copy/move it to build/win64 (which you must create if it doesn't exist). I thought this was documented somewhere.


fix empty segment cannot merge after gc and avoid write index data fo…

This is an cherry-pick of #4500
What problem does this PR solve?
Issue Number: close #4511
Problem Summary:

empty segments cannot be merged after gc;
the stable size is not 0 for empty dmfile because there is a '0' in every index file in such case;
when a segment can be triggerred to gc because of too many delete range, we still wait for the gc_safe_point change, which is not needed.

What is changed and how it works?

when segment should be gced because of too many delete range, do it regardless of the gc_safe_point;
only update index cache for read thread;
fix unstable rough set filter test because of more fast gc speed.

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)

load data into tiflash and check segment status;

set tiflash replica to 0 and check segment status after a while

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Fix the problem that empty segments cannot be merged after gc

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

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

/rebuild

close as no further patch version for the 6.0 branch


[Patch File] Here's our latest Patch File

wordpress-api-client+0.4.8.patch.txt
Just posting this for you to look at at your leisure.

Hey there, sorry for getting back to you so late. I've been I'll and now I've been in hospital for more than two weeks, so I haven't gotten around to look at your patch. Will do as soon as im back home, which will hopefully be before Christmas.
On another note I've given some thought to it and I've decided to take up your other suggestion, to always return the number of pages along with the result posts! 🙂
Talk to you soon, stay healthy!

No worries, hope you’re doing better! Happy thanksgiving!

sorry for not getting back to you. i'm currently undergoing a pretty hardcore medical treatment for a fatal disease i was diagnosed with. i'll try to bring this lib to v1.0 in the next months, with all the discussed fixes and features.


Supends -> Suspends

@qiaozha I believe we can take this fix as long as the upstream swagger file is updated as well.

@qiaozha I believe we can take this fix as long as the upstream swagger file is updated as well.

Okay. Approved

@tony-xia @ramya-rao-a  Do we need to bump a minor version about it?

@qiaozha Yes, if you want to make a patch release, no otherwise

@qiaozha Yes, if you want to make a patch release, no otherwise

@qiaozha @ramya-rao-a thanks. how to update a minor version?

@qiaozha @ramya-rao-a thanks. how to update a minor version?

Lets update the patch version, not the minor one.
Update the below 2 files:

https://github.com/Azure/azure-sdk-for-js/blob/9a9e7f93da41dc182f7ce683a98eb6d304239fac/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts#L16
https://github.com/Azure/azure-sdk-for-js/blob/9a9e7f93da41dc182f7ce683a98eb6d304239fac/sdk/analysisservices/arm-analysisservices/package.json#L5

Similar to what you did in #8959

Lets update the patch version, not the minor one.
Update the below 2 files:

https://github.com/Azure/azure-sdk-for-js/blob/9a9e7f93da41dc182f7ce683a98eb6d304239fac/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts#L16
https://github.com/Azure/azure-sdk-for-js/blob/9a9e7f93da41dc182f7ce683a98eb6d304239fac/sdk/analysisservices/arm-analysisservices/package.json#L5

Similar to what you did in #8959

thanks @ramya-rao-a   i updated the patch version

thanks @ramya-rao-a   i updated the patch version

Thanks @tony-xia
@qiaozha Please merge the PR after reviewing one more time

Thanks @tony-xia
@qiaozha Please merge the PR after reviewing one more time

merged.


SPEC: updated for 2.0.14

Update RPM for 2.0.14 release, link to source code repo, not to doc.

Oops, sorry missed your review, thanks @brucellino


Using FragmentContainerView in main_activity.xml

androidx.fragment.app.FragmentContainerView seems to replace FrameLayout as the fragment host:

FragmentContainerView is a customized Layout designed specifically for Fragments. It extends FrameLayout, so it can reliably handle Fragment Transactions, and it also has additional features to coordinate with fragment behavior.

This makes sense, although I am a bit wary of adding dependencies for the sake of following guidance alone. What issues are we seeing that would warrant using FragmentContainerView?

It looks like this produces a lint error, so it would make sense to move to FragmentContainerView considering how important that appears to be to Android Studio.

CameraX is already using FragmentContainerView!


Resolving Issue 684

Changed the formatting, see issue #684.

@larioj looks good, but the failing Linux Binary build is a bit concerning. Is it related to this change?

The linux build failed for my other PR. Jose said that the only thing that mattered was the continuous-integration/teamcity

Ok, LGTM. :ship: it when you're ready.


warn about unused variables from patterns

use std;
tag t { alpha; beta; }
fn f(x : t) { alt x { alfa { } }; }
fn main() { }

Should warn that "alfa" is an unused variable. (I misspelled the tag name and forgot a period; the warning could help me notice that I didn't succeed in having it treated as a tag name.)

I will try and work on that.

Finding my way around the typing code is harder than expected. I will try and return to the charge in a few days.


Add support for re-introduced warnings in scala 3.3.0

This PR prepares the plugin for the official scala 3.3.0 release (it is tagged, just not released quite yet https://github.com/lampepfl/dotty/releases/tag/3.3.0). It adds back all the warnings for unused and discarded values that is re-added in this release.

Note that this adds the specific unused:X flags and not the unused:all. I have no strong opinion on which is better for the plugin. Adding all would mean that if another is added in 3.3.1, users of the plugin would have it automatically added when upgrading the scala version in their project.

@amumurst personally I would go with unused:all for reasons you have mentioned. Note that for now all scala versions that support any unused option also support the rest of them. So for now it doesn't make sense - at least for me - to separate them.

I can merge this PR, but publishing appears to be broken 😕 if the credentials are borked which is what I suspect, I don't think I can personally fix that.
One path forward would be to start publishing under org.typelevel since we have org-wide credentials. That may require re-working the build and CI a bit: either to make our credential setup work with the existing sbt-ci-release, or switching to sbt-typelevel(-ci-release). Unfortunately I don't have time to look into this: I think we'll need someone new to step up as a regular maintainer.

Apologies all, I'm really struggling to make time for sbt-tpolecat - life and work are conspiring against me atm. This PR looks absolutely great though, and I think we should merge it!
However, I'm not sure I can fix publishing either as I don't have access to repository level secrets in this repo anymore:

I think @armanbilge is right that this means publishing under org.typelevel, or alternatively, we can find a way to get the previous creds handed over to one of the org admins until the repo is in the right place to publish under org.typelevel?
On the plus side, there is an artifact migration ready to go in Scala Steward if we decide to go with the former route.

@typelevel/steering would one of you be able to give @DavidGregory084 admin access to this repo so they can install updated secrets? Thanks!

Thanks @samspills @armanbilge!
Publishing creds should be fixed up now: although I no longer use LastPass, I changed my Sonatype password as a precaution after the LastPass breach.

Thanks @amumurst!


Don't fail the Comment on pull request during the comment workflow

See https://github.com/eth-educators/ethstaker-deposit-cli/actions/runs/10889396462
This shouldn't fail. It should simply silently not comment.

This likely depends on the resolution from https://github.com/actions/download-artifact/issues/352

We don't need to wait on a new feature from actions/download-artifact, we can simply check for the success of the coverage-combine job first before trying to download the coverage reports as done in #199


Remove bootstrap class from admin pages

Remove all bootstrap class from admin pages. Admin pages uses bulma.

It seems you liked Bulma. What about dropping Bootstrap everywhere.
Id rater support Spectre than Bootstrap:

https://picturepan2.github.io/spectre/experimentals.html
https://picturepan2.github.io/spectre/experimentals/viewer-360.html
https://picturepan2.github.io/spectre/experimentals/parallax.html
https://picturepan2.github.io/spectre/experimentals/carousels.html
10Kb, No JS.

I'm in for dropping Bootstrap on all "browser-backend", but I would like to have the standard-data available with bootstrap. OR I should just move that to a plugin, e.g. the template plugin?
Would you drop Bulma for Spectre?

Ok, no problem. Not dropping Bulma for Spectre.
It is really good if you try it, only thing I found it missing is Themes yet.


[CI] Detect unpinned git submodules in GH PR checks

Context: https://github.com/open-telemetry/opentelemetry.io/pull/5610#discussion_r1847023217
Sets submodules to pinned versions
Fails the build check if submodule versions changed as a result of restoring to pinned version

/cc @jack-berg @svrnm

[!important]
The PR contains a seeded error (submodule update w/o a pin ID change) to test the detection of such a situation.

Unpinned submodule version detected ✅, see https://github.com/open-telemetry/opentelemetry.io/actions/runs/11898688134/job/33155706203?pr=5627#step:7:40:
> _diff:fail
> git diff --name-only --exit-code || exit 1

content-modules/opentelemetry-java-examples
Error: Process completed with exit code 1.


Inconsistent behavior of RawKeyboardListener on different devices/Android versions

I am trying to get my flutter app to react to events generated when media keys are pressed on a little bluetooth keyboard paired with my android device.
Here's the code snippet that builds the widget I use to evaluate the scenario.

If I test it on my Google Pixel C tablet running under Android 8.1.0, kernel version 3.18.0-g8ce8444 it works as expected, When the widget is displayed I can press the media buttons on the keyboard and the events are properly generated and passed to the app, handlers are fired etc.
On the other hand, if I test exactly the same code on my Samsung S9 running under Android 9, kernel version 4.9.59-17174122 my attempts to press the media buttons on the keyboard will take no effect until I press one of the numeric keys. After that, the following lines appear in the log

After that the media keys on the keyboard work as expected.
Is there any workaround to that problem?
Finally a question regarding iOS. I am aware that RawKeyboardListerer is not implemented for iOS, but is there a way for a flutter app running on iOS device to react to media buttons like in the above scenario?

Hi @hicnar
Could you please provide your code sample and your logs in the text form instead of posting images?
About your second question, you may want to follow #31945
Thank you

Thank you for your response Vladyslav
Right below is the code snippet I used for testing
Widget _buildAndroid(BuildContext context) {
    return Container(
        child: ListView(children: [
      SizedBox(height: 10),
      RawKeyboardListener(
          focusNode: _focusNode,
          onKey: _handleKeyEvent,
          autofocus: true,
          child: Ink(
              child: ListTile(
                  onTap: () {
                    setState(() {
                      _focusNode.requestFocus();
                    });
                  },
                  leading: Text(_playPause),
                  trailing: Icon(Icons.play_arrow, color: Colors.blue)))),
      SizedBox(height: 5),
      RawKeyboardListener(
          focusNode: _focusNode2,
          onKey: _handleKeyEvent,
          child: Ink(
              child: ListTile(
                  onTap: () {
                    setState(() {
                      _focusNode2.requestFocus();
                    });
                  },
                  leading: Text(_scrollUp),
                  trailing: Icon(Icons.fast_forward, color: Colors.blue)))),
      SizedBox(height: 5),
      Ink(
          child: ListTile(
              onTap: () {},
              leading: Text(_scrollDown),
              trailing: Icon(Icons.fast_rewind, color: Colors.blue))),
      SizedBox(height: 5),
      ListTile(
          leading: Text(_increaseScrollSpeed),
          trailing: Icon(Icons.add_circle_outline, color: Colors.blue)),
      SizedBox(height: 5),
      ListTile(
          leading: Text(_decreaseScrollSpeed),
          trailing: Icon(Icons.remove_circle_outline, color: Colors.blue)),
      SizedBox(height: 10)
    ]));
  }

And here's the log excerpt showing what's printed out right after a non media key is pressed that in a way "unlocks" the functionality so it starts to work on my S9 just as it does on the Pixel C (those lines are not printed when I test the app on my Pixel C).
D/InputMethodManager(24337): prepareNavigationBarInfo() DecorView@9037b9c[MainActivity]
D/InputMethodManager(24337): getNavigationBarColor() -855310
V/InputMethodManager(24337): Starting input: tba=com.test.my_app ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(24337): startInputInner - Id : 0
I/InputMethodManager(24337): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(24337): Input channel constructed: fd=104
D/InputTransport(24337): Input channel destroyed: fd=102
D/ViewRootImpl@90b9f0f[MainActivity](24337): ViewPostIme key 1

I am aware of #31945 actually I am one of those who gave it a thumb up. Do you reckon it is possible to write a flutter plugin that handles that in iOS - at least the media buttons?

There is a hint that may give you some idea about what may potentially be wrong. The functionality begins to work as soon as any of the text fields in the application (even in a completely different part of the application) gets in focus.

Hi @hicnar
Is this still an issue ?
If so, can you provide flutter doctor -v and steps to test the code sample you shared earlier ? because you mentioned to have used a bluetooth enabled keyboard paired with your android device.
Thanks.

@darshankawar Thank you for your response. I will be re-testing this functionality over this weekend and in case the problem persists I will provide a response along with a full code sample (including the main()) so that you can simply copy-paste and run the test on your device.

@darshankawar
Below is a simple app that can be used to see the inconsistency in the behaviour.
import 'package:flutter/material.dart';

void main() => runApp(ExampleApp());

class ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bluetooth Remote Media Keys Test',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ContentTab(),
    );
  }
}

class ContentTab extends StatefulWidget {

  @override
  _ContentTabState createState() => _ContentTabState();
}

class _ContentTabState extends State<ContentTab> {

  final _focusNode = FocusNode();
  final TextEditingController controller = TextEditingController();

  @override
  Widget build(context) => _buildAndroid(context);

  Widget _buildAndroid(BuildContext context) {
    return Scaffold(
      body: Center(
      child: Container(
        child: ListView(
          children: [
            TextField(
              controller: controller,
            ),
            RawKeyboardListener(
              focusNode: _focusNode,
              onKey: (event) {
                controller.text = event.data.physicalKey.debugName;
                debugPrint('--------------- received keyboard event: $event');
              },
              autofocus: true,
              child: Ink(
                color: Colors.blue,
                child: ListTile(
                  onTap: () {
                    setState(() {
                      _focusNode.requestFocus();
                    });
                  },
                  leading: Text('Tap to manually request focus'),
                )
              )
            )
          ]
        )
    )));
  }
}

I have run my tests on two devices, Google Pixel C tablet and a Samsung S9 mobile phone.
If I run it on Pixel C pa
Steps to reproduce:
Pair a remote presentation keyboard with your mobile.
I am using one of the Satechi keyboards

But the brand not important, what is important is that the keyboard you use has keys like: "Media Play Pause", "Media Track Next", "Media Track Previous", "Audio Volume Up", "Audio Volume Down" etc.
Once your keyboard is paired with your Android device run the application and try to press some of the media keys. What should happen and pretty much happens when I run it on Pixel C, once I press any media key I see its debug name displayed in the TextField.
It works this way only on Pixel C though. On S9 in order for this to work you will need to tap on the TextField so that it gains focus and then tap again on the blue area beneath the TextField (labeled "Tap to manually request focus") so that the focus is transferred to the FocusNode associated with the RawKeyboardListener and only then pressing the media keys on your remote will result in receiving the events that after being handled will print the debug names of the keys pressed in the TextField.
Hope this helps!

Thanks @hicnar for the detailed report and steps to replicate.
Since I don't have any external bluetooth device to replicate this issue, I am keeping this open for further analysis, as you mentioned the issue is still occurring.

cc from text-input triage @dkwingsmt @gspencergoog did you have any thoughts on this issue? I know there is KeyboardListener available now, is that preferred over RawKeyboardListener?

Yes, KeyboardListener is preferred over RawKeyboardListener, but I'm not sure that will have any effect on this problem.
This seems like the cause is something lower down in the stack, since the different Android distributions produce different results. It could be that Samsung just doesn't produce the same key events at a low level.  To debug this, we'd need to get the devices and see what it is producing when those keys are pressed.
It's interesting that the behavior changes when you focus a text field. The text field does open up an InputConnection when focused, so maybe that is what is turning it on on Samsung, but it's always on for Pixel?


add aos common amp

resolves #133

Grrr... will get tests to run and try again in the morning.

Current coverage is 96.96% (diff: 100%)

Merging #134 into master will not change coverage

@@             master       #134   diff @@
==========================================
  Files            27         27
  Lines          2469       2469
  Methods         395        395
  Messages          0          0
  Branches        507        507
==========================================
  Hits           2394       2394
  Misses           75         75
  Partials          0          0

Powered by Codecov. Last update 2db9360...5b0215d


error: cannot access LifecycleObserver class file for android.arch.lifecycle.LifecycleObserver not found

I simply added a reference to the CameraView class in order to start and resume the cameraView and I get this error.
If I comment that part in the java files, I still get this error:
Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.wonderkiln.camerakit.CameraView
The CameraView is inside a Fragment.

same thing


Apollo and ROS1 message passing system

It seems to me that Apollo is using ROS1 as underlying message passing system. I also see protobufs being used but it seems that only to replace xmlrpc?
In any case ROS community has long ago figured out that ROS1 is not real-time and deterministic and can give you no guarantees. Further ROS1's pub/sub system uses no quality of service. ROS1 also uses unbounded message types and uses blocking constructs such as mutexes, etc.
I could list many, many more shortcomings but to cut the story short, ROS1 can not run on a L4/L5 autonomous car. Which means that Apollo the way it is today also can not.  Do you guys have a plan for it or do you just plan to stay in the research domain as pointed out in #3707 ?

The underlying ROS for Apollo is a modified version of "standard ROS1". More info about this can be found at https://github.com/ApolloAuto/apollo-platform.

Hi @ubercool2, thank you for your question. Yes, the protobuf is supported in parallel with original ROS message, which means better backward compatibility as mentioned in our design.
Also, for DDS used by ROS 2, it is supposed to comes with QoS and real-time in design. We are also aware of the limitations that comes with the open sourced version of its implementation compared to the commercial version for that purpose. If we chode the commercial version for Apollo, we would encountered the issue of not be able to open source it in an easy way.
However, it seems that your question is not about message passing. Please allow me to elaborate more about your comment. In order to build a production ready autonomous driving vehicle, from my personal perspective, any computing framework alone is not sufficient. We have to fulfill the requirement of functional safety which has been there for many years in the automotive industry. To achieve the production-ready safety goal, the error-proof software, e.g. like ROS or any other computing framework alone is not enough. It has to be supported with a hardware and software co-design. That's also the reason we formed partnerships with OEMs and Tier1s to collaborate on this particular area.
I invite you to continue following Apollo. Something more exciting and interesting will reveal soon in the coming months. Hope that answered your question.

@quning78 to be honest I am a very confused. You say:

Yes, the protobuf is supported in parallel with original ROS message, which means better backward compatibility as mentioned in our design.

and in this document you quote that ROS1 uses xmlrpc for message passing:
https://github.com/ApolloAuto/apollo/blob/f3ed3c9f1453256d8f9906d73388e9703046867b/docs/howto/how_to_understand_architecture_and_workflow.md.
ROS1 uses xmlrpc only to register participants and their topics and services in the network graph. It does not send the messages over xmlrpc. See: https://bcharrow.wordpress.com/2013/06/17/subscribing-to-a-topic-in-roscpp/.
Thanks for the pointers to
https://github.com/ApolloAuto/apollo-platform/blob/master/ros/docs/design. So do you have 3 message passing systems then (ROS1, protobuf and RTPS)? How do you switch between them?

and in this document you quote that ROS1 uses xmlrpc for message passing:
https://github.com/ApolloAuto/apollo/blob/f3ed3c9f1453256d8f9906d73388e9703046867b/docs/howto/how_to_understand_architecture_and_workflow.md.

Sorry about the confusion in the doc. It was written by other developer who is not from our apollo-platform team, so the wording is not exactly right. I suppose he means ROS message instead of xmlrpc. I will fix the doc soon.

Thanks for the pointers to
https://github.com/ApolloAuto/apollo-platform/blob/master/ros/docs/design. So do you have 3 message passing systems then (ROS1, protobuf and RTPS)? How do you switch between them?

For message  format, we support both original ROS 1 message and protobuf format message. For message transportation, we  replace the socket based solution with RTPS based solution, and on top of that, we added the shared memory to make the transportation more efficient.
Hope my answers address your concerns. And please let me know if you have any other questions for this thread.
Again, thanks for your interests in Apollo! :D

thx @quning78. One more follow-up Q.

For message transportation, we replace the socket based solution with RTPS based solution

Did you replace both, http://wiki.ros.org/ROS/UDPROS and http://wiki.ros.org/ROS/TCPROS? RTPS only runs over UDP/IP as far as I know.
Did you implement your own RTPS protocol or you use e.g. https://github.com/eProsima/Fast-RTPS?
Did you do any performance profiling between your RTPS replacement and http://wiki.ros.org/ROS/UDPROS?
Further, I forgot to reply to your comment:

However, it seems that your question is not about message passing. Please allow me to elaborate more about your comment. In order to build a production ready autonomous driving vehicle, from my personal perspective, any computing framework alone is not sufficient. We have to fulfill the requirement of functional safety which has been there for many years in the automotive industry. To achieve the production-ready safety goal, the error-proof software, e.g. like ROS or any other computing framework alone is not enough. It has to be supported with a hardware and software co-design.

My question was exactly about the message passing because without a real time capable message passing system you can not have an entire system that is real time.  For instance, with http://wiki.ros.org/ROS/UDPROS you can not set any Quality of Service parameters. I agree that you also need the right  a) HW, right b) host OS (e.g. QNX, VxWorks) but you also need a c) real-time capable message passing system, d) real-time capable framework and a e) real-time application. If ANY of them is not real-time, your entire system can not be real-time.
Since you already mention:

We have to fulfill the requirement of functional safety which has been there for many years in the automotive industry

I suppose that you are talking about ISO 26262 (subset of ISO9000) standard? I do not see any traces to this standard in Apollo.

Sorry about not getting back to you on your question. Please let us know if you are still looking for the answer.

Closed. Reopen if you still have questions.


Add renderButtonWrapper prop to CountrySelector, remove css injecting

Added renderButtonWrapper to CountrySelector
Added example of usage with material UI, chakra UI and ant design to storybook
Added usePhoneInput and UI libs integration docs pages
Moved css to index.css file, added export mappings (make sure that SSR is supported)
Fixed react peer dependency versions

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove unneccessary AppsandFeaturesEntries * manifests/r/Rizin/Rizin/0.7.0/Rizin.Rizin.installer.yaml

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 899)


[Native] - Implement some existing C++ methods in C#

PR Details
Description
This PR focuses on migrating most of the C++ code in Stride.Native to C#.
My change also applies to Stride.Graphics, so with a few gimmicks it should be possible to build this library outside of Windows.
Related Issue
#1394
Types of changes

[x] Docs change / refactoring / dependency upgrade

TODO

[ ] My change requires testing, so It could break existing code.

Thanks for the PR.
Before we merge this in, I would like to make sure we don't loose much performance. I remember it was in C++ for real perf reason (but at the time mono mobile was very slow so it might not be necessary anymore).

If I remember correctly, the 'FastTextRenderer' is only used for the debug text. Is this correct?
A long time since I've seen this code, but I think the regular spritebatch inherit from BatchBase, and is all C#.

I test the NativeInvoke.xnGraphicsFastTextRendererGenerateVertices with native and cs metod based on .net8.0

Hey @ly3027929699 thanks a bunch for testing this out for us, can you share the benchmark source as well ?

here is the source
TestAOTUnitTests.zip
this is a .rar file.
change .zip to .rar

here is the source TestAOTUnitTests.zip this is a .rar file. change .zip to .rar

the folder is empty, could you make a repo instead?

Nah, it works fine, make sure to change it to rar

is your result similar to me? @Eideren

https://github.com/ly3027929699/TestNativeVSCharp
here is repo of the source
@IXLLEGACYIXL

Fixed the benchmark usage of unsafe, results are still significantly better for c# though
TestAOTUnitTests.zip

Method
num
Mean

NativeMethod
100
30.00 us

CSharpMethod
100
21.51 us

NativeMethod
500
160.88 us

CSharpMethod
500
107.07 us

NativeMethod
1000
299.19 us

CSharpMethod
1000
213.93 us

Here's the result of another benchmark following the suggestions @froce made

Method
num
Mean

NativeMethod
100
32.42 us

Span
100
19.18 us

SpansFor
100
24.21 us

Optimized
100
10.54 us

Ptr
100
18.92 us

NativeMethod
500
163.00 us

Span
500
98.99 us

SpansFor
500
124.67 us

Optimized
500
54.89 us

Ptr
500
96.45 us

NativeMethod
1000
331.56 us

Span
1000
196.77 us

SpansFor
1000
250.98 us

Optimized
1000
107.84 us

Ptr
1000
195.63 us

Where

Ptr is with the fixed VertexPositionNormalTexture* vertexBuffer signature.
Span is using a span instead of a pointer.
SpansFor is a for loop instead of the manually unrolled loop in source.
I wrote an Optimized version where loop-constants are pre-computed, making it almost two times faster than pointer:

public static unsafe void Optimized(RectangleF constantInfos, RectangleF renderInfos, string textPointer, ref int textLength, Span<VertexPositionNormalTexture> vertexBuffer)
{
    float fX = renderInfos.X / renderInfos.Width;
    float fY = renderInfos.Y / renderInfos.Height;
    float fW = constantInfos.X / renderInfos.Width;
    float fH = constantInfos.Y / renderInfos.Height;

    RectangleF destination = new(fX, fY, fW, fH);
    RectangleF source = new(0.0f, 0.0f, constantInfos.X, constantInfos.Y);

    // Copy the array length (since it may change during an iteration)
    int textCharCount = textLength;

    float scaledDestinationX;
    float scaledDestinationY = -(destination.Y * 2f - 1f);

    float invertedWidth = 1f / constantInfos.Width;
    float invertedHeight = 1f / constantInfos.Height;

    Span<(Vector2 Position, Vector2 TextureCoordinate)> baseData = stackalloc (Vector2, Vector2)[4]
    {
        ( new(-destination.Width, +destination.Height), new(0 * source.Width * invertedWidth, 0 * source.Height * invertedHeight) ),
        ( new(+destination.Width, +destination.Height), new(1 * source.Width * invertedWidth, 0 * source.Height * invertedHeight) ),
        ( new(-destination.Width, -destination.Height), new(0 * source.Width * invertedWidth, 1 * source.Height * invertedHeight) ),
        ( new(+destination.Width, -destination.Height), new(1 * source.Width * invertedWidth, 1 * source.Height * invertedHeight) ),
    };

    int j = 0;

    for (int i = 0; i < textCharCount; i++)
    {
        char currentChar = textPointer[i];

        if (currentChar == '\v')
        {
            // Tabulation
            destination.X += 8 * fX;
            --textLength;
            continue;
        }
        else if (currentChar >= 10 && currentChar <= 13) // '\n' '\v' '\f' '\r'
        {
            destination.X = fX;
            destination.Y += fH;
            scaledDestinationY = -(destination.Y * 2f - 1f);
            --textLength;
            continue;
        }
        else if (currentChar < 32 || currentChar > 126)
        {
            currentChar = ' ';
        }

        source.X = (currentChar % 32 * constantInfos.X) * invertedWidth;
        source.Y = (currentChar / 32 % 4 * constantInfos.Y) * invertedHeight;

        scaledDestinationX = destination.X * 2f - 1f;

        // 0
        vertexBuffer[j].Position.X = scaledDestinationX + baseData[0].Position.X;
        vertexBuffer[j].Position.Y = scaledDestinationY + baseData[0].Position.Y;
        vertexBuffer[j].TextureCoordinate.X = source.X + baseData[0].TextureCoordinate.X;
        vertexBuffer[j].TextureCoordinate.Y = source.Y + baseData[0].TextureCoordinate.Y;
        j++;

        // 1
        vertexBuffer[j].Position.X = scaledDestinationX + baseData[1].Position.X;
        vertexBuffer[j].Position.Y = scaledDestinationY + baseData[1].Position.Y;
        vertexBuffer[j].TextureCoordinate.X = source.X + baseData[1].TextureCoordinate.X;
        vertexBuffer[j].TextureCoordinate.Y = source.Y + baseData[1].TextureCoordinate.Y;
        j++;

        // 2
        vertexBuffer[j].Position.X = scaledDestinationX + baseData[2].Position.X;
        vertexBuffer[j].Position.Y = scaledDestinationY + baseData[2].Position.Y;
        vertexBuffer[j].TextureCoordinate.X = source.X + baseData[2].TextureCoordinate.X;
        vertexBuffer[j].TextureCoordinate.Y = source.Y + baseData[2].TextureCoordinate.Y;
        j++;

        // 3
        vertexBuffer[j].Position.X = scaledDestinationX + baseData[3].Position.X;
        vertexBuffer[j].Position.Y = scaledDestinationY + baseData[3].Position.Y;
        vertexBuffer[j].TextureCoordinate.X = source.X + baseData[3].TextureCoordinate.X;
        vertexBuffer[j].TextureCoordinate.Y = source.Y + baseData[3].TextureCoordinate.Y;
        j++;

        destination.X += destination.Width;
    }
}

Thanks !