Sample is not showing any notification

After clicking on the "Add Geofences" button and changing the location of the emulator to match exactly the locations in the Constants class, but no notification is triggered. Tested on API 24, 25, and 26!
Hope to get a feedback since I need to use the API in my project for showing a notification when user is inside a geofence.

I was just facing the same issue on a real device, I restarted the phone and everything was working as expected. Maybe try on a real device first?

I tested on actual device as well but didn't work. I only get an exit event when I click on remove then add directly.

i did not receive any notifications any solutions please

Hi,
If you are using Android O, notifications will not work. I have provided a Pull Request that fixes the notification issues. Please take a look at the code here:
https://github.com/googlesamples/android-play-location/pull/115
Android O introduces notification channels, for more information visit: https://developer.android.com/guide/topics/ui/notifiers/notifications.html#ManageChannels

Hi @frankgh ,
Thank you for your reply. But I have already read about notification channels and implemented it but no results. Doe Geofence API even work when the app is killed??

Hi @MotassemJa ,
Yes. The Geofence API works when the app is killed. But the geofences have an expiration duration. Here are a few things you can look into:

While building the Geofences Geofence.Builder() make sure you set the expiration duration to the value appropriate for your application:mGeofenceList.add(new Geofence.Builder()
                 // Set the request ID of the geofence. This is a string to identify this
                 // geofence.
                 .setRequestId(entry.getKey())

                 // Set the circular region of this geofence.
                 .setCircularRegion(
                         entry.getValue().latitude,
                         entry.getValue().longitude,
                         Constants.GEOFENCE_RADIUS_IN_METERS
                 )

                 // Set the expiration duration of the geofence. This geofence gets automatically
                 // removed after this period of time.
                 .setExpirationDuration(Geofence.NEVER_EXPIRE)

                 // Set the transition types of interest. Alerts are only generated for these
                 // transition. We track entry and exit transitions in this sample.
                 .setTransitionTypes(Geofence.GEOFENCE_TRANSITION_ENTER |
                         Geofence.GEOFENCE_TRANSITION_EXIT)

                 // Create the geofence.
                 .build());

You need to re-register geofences for the following cases

The device is rebooted. The app should listen for the device's boot complete action, and then re- register the geofences required.
The app is uninstalled and re-installed.
The app's data is cleared.
Google Play services data is cleared.
The app has received a GEOFENCE_NOT_AVAILABLE alert. This typically happens after NLP (Android's Network Location Provider) is disabled.

Hope this helps,

I have no idea why it is not working with me even when I set the expiration to NEVER_EXPIRE
I'm running the app, adding the geofence, closing the app and removing it from the recent apps list, and then navigating to the geofence. But no notification is showing, even no log entries.

@frankgh I noticed that even if the Activity is finished and another activity is shown, the app wont show any notification. Can that be because of the Context I'm passing to the location service? Should the geofencing code be in the Application class instead of an activity?

@MotassemJa I believe you could be facing some of the issues described in this answer:
https://stackoverflow.com/questions/46450225/geofence-events-not-always-called/46538931#46538931
Let me know if that helps

@frankgh Unfortunately didn't help.
The geofencing API should get the updates sooner than Fused Location Provider or the LocationManager as described here https://developer.android.com/about/versions/oreo/background-location-limits.html#apis
I even tried setting an intent filter with a very high priority, but it didn't work as well.

@MotassemJa I'm busy until next week, but I will put something together that you can try to debug your problem.

@MotassemJa  I have modified the code so that the notifications are displayed even when the app is killed. However, you still need to handle the case where the phone has been rebooted, the app's data is cleared, and Google Play services data is cleared.
The code can be found here:
https://github.com/frankgh/android-play-location/tree/background-service

Working on Mi device well but in some samsung device it works one time after user is not receiving exit or enter transition not able to know why?


dep: WARNING: Unknown field in manifest: prune

zhr@ubuntu:~/goApps/src/github.com/tendermint/tendermint$ dep status
dep: WARNING: Unknown field in manifest: prune
^CSignal received: waiting for 1 ops to complete...
The following errors occurred while deducing packages:

"golang.org/x/crypto/ripemd160": unable to deduce repository and source type for "golang.org/x/crypto/ripemd160": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://golang.org/x/crypto/ripemd160?go-get=1": Get http://golang.org/x/crypto/ripemd160?go-get=1: context canceled

validateParams: could not deduce external imports' project roots
zhr@ubuntu:~/goApps/src/github.com/tendermint/tendermint$ make get_vendor_deps
--> Running dep
dep: WARNING: Unknown field in manifest: prune

this issue has been addressed multiple times in the relevant repo & can safely be closed

Ok


News Item UI: full screen title mode & thumbnail based title

Keep tiles simple, large title, and thumbnail on side.
Needs research on TV UI.

This is similar task to #34 - closing issue.


Improve UT, ZabbixProtocolHandlerTest

Right now, org.apache.skywalking.oap.server.receiver.zabbix.provider.protocol.ZabbixProtocolHandlerTest#testErrorProtocol  takes 20+ seconds, even it is blocked like this.

I am going to remove this case for now.

Update

jdk1.8.0_91.jdk FAIL, no response.
adoptopenjdk-11.jdk passed, still 22s.


Archive and EPG not working with IPTV provider antifriz.tv

IPTV provider antifriz has several m3u and Enigma2 playlists.

They have three subcategories each (HLS, Mpeg-ts and T2). I tried all options, but I couldn't get the EPG to work, and most importantly the archive of TV programs. This operator has been working on my android tv for almost two years (Navigator OTT program). Could you please tell me the correct settings for this IPTV operator? Thank you in advance!

I assume the link to the EPG is defined right in the playlist? If so, it is not currently supported.

Epg I can specify separately. I am more interested in correct display of channel names. And also what format from the above mentioned above should I choose? So that I can at least see the channel names and be able to use the archive.

M3u (HLS) should be fine. How are the channels displayed now? Do you mean they are not displayed in the epg list or in general for viewing, on the left side?


certutil: could not authenticate to token NSS Certificate DB.: SEC_ERROR_IO: An I/O error occurred during security authorization.

I tried looking an old issue #12, but it doesn't seem to help
Commands I have executed:
sudo chmod u+x ./mkcert,
and tried this also later
sudo chmod 0777 ./mkcert,
then
sudo ./mkcert -install
I have libnss3-tools version 2:3.28.4-0ubuntu<IP_ADDRESS> installed which seems the latest for Ubuntu 16.04 LTS
Using the local CA at "/home/user/.local/share/mkcert" ✨
ERROR: failed to execute "certutil -A": exit status 255

certutil: could not authenticate to token NSS Certificate DB.: SEC_ERROR_IO: An I/O error occurred during security authorization.

From https://www.redhat.com/archives/pki-users/2009-April/msg00037.html

Side note: the i/o error happens because of the missing NSS db files,
either wrong alias directory with -d, or need a certutil -N -d  to
create them.

Have you started Firefox and/or Chrome and loaded a webpage? I needed to do that on a fresh linux machine with certutil before.

Have you started Firefox and/or Chrome and loaded a web page? I needed to do that on a fresh linux machine with certutil before.

Ya Chrome and Firefox both are loading web pages without an issue, and the Ubuntu installation is old also. And as long as I have gathered certutil -A automatically creates a database if needed, still not sure about the source of this error.

Still searching for a solution...

Fixed by creating a new NSS database:
certutil -N -d <nss_db location>


chore(OCPADVISOR-52): replace impacted label

The title of the "Impacted" column wasn't describing well what we're showing there. This PR replaces it with "First impacted".

:tada: This PR is included in version 1.6.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1894 ms

Resolved: Bofrost.at performance has improved in f865476.


[DPE-5528]  Kyuubi upgrade

This PR introduces the feature of upgrades to the Kyuubi charm.
This ticket includes both the functionality and the relative integration tests.

That's pretty neat!
I only have one question: How are we going around about stopping the Kyuubi service should there be connections to it?

In the current implementation the connection between a Kyuubi unit and  connected clients is closed and the update is performed. The assumption is that the client should have re-connection policies to reconnect to the cluster.


[Doc] [IS 5.5.0] example listed for "/scim2/Users/.search" is actually for "/scim2/Users"

The example here for a filtered user search is actually using a different endpoint.  Further, it doesn't document anything about the body parameter.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Stabilise sort order

Our sort was previously unstable. That is, if we sorted on - for
example - Page Views, if two results had equal page views, they may
appear in any random order.
This change breaks all ties on the content items’ base paths, which are
unique, and hence guarantees that a given sort order will always return
items in the same order.

 Meningococcal: the green book, chapter 22 appears 3 times


Fix ColorVariable to ignore color functions in variable declaration

Hey Folks,
Not sure what way you are wanting to go on the discussion in https://github.com/brigade/scss-lint/issues/488 but this change updates the ColorVariable linter to ignore color functions within variable declarations. If there are any other cases that might need to be handled then let me know and I can update it.
Cheers!

Thanks for the fix, @cih!


feat: preserve selection when creating cursors from visual mode

For example, in this scenario:
https://github.com/brenton-leighton/multiple-cursors.nvim/assets/21299126/a393e2c8-0397-4de2-8ad3-1f19bf3fad3f
It would be nice if each subsequent cursor maintained the visual selection of ipsum.

You're using the search command (MultipleCursorsAddMatches) to add the cursors, right?

In the screencast above, I was creating a visual selection and then using MultipleCursorsAddDown.
It would be nice if it worked in both MultipleCursorsAddDown and MultipleCursorsAddMatches

OK I think I can do that.

I think this should do it: #54.
Let me know if it's OK.


Use Biome for linting and formatting

Biome does not yet support Svelte. https://biomejs.dev/internals/language-support/#html-super-languages-support


Fix Codestral Infill templates for code completion in llama.cpp

Hi @carlrobertoh,
Thank you for sharing this awesome project!
Please accept my humble contributions to fix the Codestral model for code completion, for which I use locally in llama.cpp.
Thank you,
Nick

Thank you! I think we should update the llama.cpp submodule as well.

Thanks for the merge

I think we should update the llama.cpp submodule as well.

It is not as simple as just updating the git submodule, as the llama.cpp fails to build with the latest commit on master. This will require troubleshooting and I should be able to tackle in the future unless someone else beats me to it.


AUR package hyprland broken

https://aur.archlinux.org/packages/hyprland
Failing in build() with:
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Full log:
log.txt
$ uname --all
Linux main 6.2.2-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 08 Mar 2023 04:07:25 +0000 x86_64 GNU/Linux

something wrong on your end. Make sure you have an up-to-date gcc. The CI does not fail

For reference:
$ gcc --version
gcc (GCC) 12.2.1 20230201

$ ldd --version
ldd (GNU libc) 2.37


slack bot suddenly got inactive on my slack account

I noticed this evening when testing my app that I was getting this error:
{'error':'account_inactive'}
When I checked, I noticed my slack bot was no longer showing up as an installed app on my slack workspace.
I later went to the slack api dashboard and triggered a reinstall, then retested.
This time , I was getting another error:
{'error': 'invalide_auth'}
When I checked again, I noticed my slack bot token had changed also .
Please what could be the cause ?
I cannot afford to have this same occurrence in production.
This is the first time after  over 6 months.
Regards,

Hi @hello-ashleyintech   In other to investigate, I would like to ask if a member of the workspace can uninstall a bot.
What are the ways bot can be uninstalled ?
Regards

What are the ways bot can be uninstalled ?

Users in your workspace can visit the app configuration from "Configuration" button on the "About" tab of your app, and they can uninstall the app by clicking the "Remove App" button there.

Hi @seratch ,
I noticed when a user remove app, it is removes it from the workspace?
How can we prevent this ?
Secondly,
I created a slack bot  which is linked to workspace A ( the origin from which the bot was created ) with SLACK_TOKEN_A
I installed the bot into workspace B . When sending a message to a user in workspace B using:
client = WebClient(token=SLACK_TOKEN)
client.chat_postMessage(
channel=approver_slack_user,
# thread_ts=message_ts,
text=f"Hey <@{approver_slack_user}> :wave:",
blocks=blocks,
)
for the token, I used SLACK_TOKEN_A (which is the originator of the bot) and I got channel_not_found message.
Am I suppose to use the SLACK_TOKEN for the user workspace I want to talk to

How can we prevent this ?

When a user can install apps into workspace, there is no way to prevent the removal. To detect the event, your app can subscribe this event: https://api.slack.com/events/app_uninstalled
As for the second question, when your app can be installed into multiple workspaces, your app is responsible to manage tokens per workspace. The token for workspace A does not have permissions to access any data within workspace B. To enable the proper token management, your app needs to serve the OAuth flow to store the installation data including the tokens in a database. Refer to the following resources for details:

https://slack.dev/bolt-python/concepts#authenticating-oauth
https://github.com/slackapi/bolt-python/blob/main/examples/oauth_app.py

@seratch Thanks for the response
On the unistalling/removal of a slack app.
Does this mean that if I install my slack bot into a workspace called workspace A  which has users in it, if any of the users deletes the bot app, from the workspace, it removes it totally for the workspace ?

When a user has the permission to remove an app from their workspace, yes. Your app can be removed by the interactions on the app configuration page.

@seratch  I guess this happened because the bot app is owned my the workspace (workspace A)  and the user was a member of it.
a user from workspace B where our bot is installed on will/should not be able to see the delete button ?

A user in the workspace B can remove your app from workspace B. Thus, the remove button can be available for their own workspace. The removal is an operation for each workspace.

@seratch  Apologies that my questions are much.
Are you saying that if all my workspace , we installed polly bot app, and I use the X - button at the side (in the app listing module), it will remove the polly bot app from my workspace and not other member of my workspace will be able to use it?

No, clicking the "x" on the UI means just hiding the DM from the side bar at the moment. As I mentioned above, removing an app can be done on my the app configuration page, where a user has to visit the app's "About" tab, click the "Configuration"  button, scroll down on the app configuration page to its buttom, and then click "Remove App" button.

This depends on how the workspace is configured in terms of user permissions by admins. Since this is a general question about Slack, not specific to this Python SDK, would you mind contacting our customer support team? You can send a question by /feedback command within your Slack workspace. It'd be appreciated if you could understand this.

Since this issue has been inactive for a few weeks, let me close this now.


doc(README): add CTAs for installing

Coverage remained the same at 96.111% when pulling 3f29201378bc071079307df236477de5d299e224 on Offirmo:patch-1 into 2d870b14a01e222493c686a7644181185f859558 on rtfeldman:master.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 3406 ms

Resolved: Bofrost.at performance has improved in 48c02d7 after 9 minutes.


Configure Habushu to have print/logger statements visible by default

Currently, one must add the following configuration to see print/logger statements in one's python code that is built/packaged by Habushu.
<plugin>
   <groupId>org.technologybrewery.habushu</groupId>
   <artifactId>habushu-maven-plugin</artifactId>
   <configuration>
      <behaveOptions>--no-capture --no-capture-stderr</behaveOptions>
   </configuration>
</plugin>

This should be the default behavior. Suppressing logs can be an optional configuration.
Tech Version: 2.13.0

PR merged and default logging functionality added. Issue resolved.


Form validation error

https://codepen.io/dreamcc/pen/BYxKrp

Where detailed description for this?

This means that regular validation is not correct.

Thanks. Use:
<input type="text" data-validate="pattern=(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)">
In the next version, I add modifiers parsing

pattern
In the fourth generation version of the
It's really super hard to use.
Compared to the third generation.
Instead, the third generation is more friendly.
You can try this code.
'

error

error

error‘
Only when it in this way when used is the normal
But a lot of times I can't just use it that way.
Should be It's too complicated
I have to control the number of characters.
This is not what anyone expected.
’

error'

hope to fix it, use it to be super painful.

pattern function in Metro 4 has same code as in Metro 3

pattern: function(val, pat){
        if (pat === undefined) {
            return false;
        }
        var reg = new RegExp(pat);
        return reg.test(val);
}

You can calm down first.
Take a look at about Number of characters The question of control.
Should be
I have done a lot of attempts at the regular here, and finally I have to submit this problem to you.
pattern=[\w]# {6,36}

Check your regular expression on this https://regex101.com/ (for javascript)

<input type="text" placeholder="test" data-validate="required, pattern=^[\w]{7}$">
<input type="text" placeholder="test" data-validate="required, pattern=^[\w]{7,15}$">

Regular without error
https://codepen.io/dreamcc/pen/BYxKrp
Please see how to report the error.

@chongzia  Metro 4 use comma to divide rules. Therefore, the rule does not work. I will think about how to solve this problem.

I find that I have a problem with my description.
So communication often takes a long time,to find the root of the problem.
Why didn't I think of that
Use the word comma to describe it.

Dead tired people

@chongzia in the dialogue the truth is born :)

I hope I can handle it soon.
Because the input tag for each interaction,
May all have to use it.

@chongzia  I change rules divider to space. Now works with:
<input type="text" placeholder="test" data-validate="required pattern=^[\w]{7,15}$">

I'm trying to

Your code
I copied it to the pen and tested it.
The js section is now reporting the error.
Below is the error log.
metro.js:14572 Uncaught TypeError: Ye[e] is not a function
at String. (https://cdn.metroui.org.ua/v4/js/metro.min.js:7:226131)
at Function.each (https://code.jquery.com/jquery-3.2.1.min.js:2:2715)
at Object.validate (https://cdn.metroui.org.ua/v4/js/metro.min.js:7:225991)
at HTMLInputElement. (https://cdn.metroui.org.ua/v4/js/metro.min.js:7:227683)
at Function.each (https://code.jquery.com/jquery-3.2.1.min.js:2:2715)
at Object._submit (https://cdn.metroui.org.ua/v4/js/metro.min.js:7:227662)
at HTMLFormElement.t.(anonymous function).onsubmit (https://cdn.metroui.org.ua/v4/js/metro.min.js:7:227420)
(anonymous) @ metro.js:14572
each @ jquery-3.2.1.min.js:2
validate @ metro.js:14557
(anonymous) @ metro.js:14688
each @ jquery-3.2.1.min.js:2
_submit @ metro.js:14686
t.(anonymous function).onsubmit @ metro.js:14672

The address of pen has not changed.

@chongzia  Wait until the CDN updates

Refresh waiting
At the same time, I want to ask,
How do I get radio of the status ？
Do not use js to selector the Looking for.
Directly to the user.

I did not quite understand the point, but in Metro 4 You must work with <input type='radio' data-role='radio'> as with a standard html element.

等会我创建代码笔记

pen instructions update
The url  there is no change
You can view the comments.
CDN has not been updated？

CDN updated, clear your browser cache

to get checkbox value before submitting form, you can use onsubmit event for the form

I will think that I would add a checkbox and radio check to the validator.

I think it's a good idea.
This way, if the user does not choose, the submission is not allowed.
So i don't have to write your own js.
To determine user behavior.

@chongzia try the following:

add attribute id to your checkbox
add to form attribute data-on-before-submit="return $('your_checkbox').is(':checked')"

:ok

@chongzia MEtro 4 updated to 4.0.3
4.0.3

[x] Validator: rename event onValid to onValidate
[x] Validator: add events onErrorForm, onValidateForm
[x] Validator: added checkbox validation (required function)

Read docs (also updated) for more information


stage1: prepare-app: prepare /dev and /proc for apps

This PR supersedes #540
prepare-app runs in stage1, so it knows how to handle dynamic
/dev/console.
It does not change diagexec so it does not break rkt enter.
Bind mount individual /dev entries instead of bind mounting the /dev
directory so rkt run --volume /dev/sda6 (performed in stage0) should
still work.
 See:
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028657.html
We might revisit this option if systemd mount units automatically create
the nonexistent target files.
Avoid systemd option PrivateDevices to avoid shadowing additional bind
mounts passed with --volume.

@vcaputo : this is a new implementation following your suggestion on #540 to use an separate utility in stage1 started by a systemd service file.
@sgotti : in this version, the bind mounts should always be executed (I don't skip it when the file already exists from the ACI).

New version f5d98310e8bc082767844cab6ea3a87b041bd903:

use pexit_if()
check for truncation in snprintf()
fix the app .service file: add<EMAIL_ADDRESS>so it does not start the app simultaneously.
<EMAIL_ADDRESS>add " Type=oneshot" so systemd waits until it exits before considering it ready

@vcaputo thanks for the review. I pushed a new version.

New version e54bb884fce85830164e0f2a2f95602b8c004fcb:

quotes and snprintf checks requested by @vcaputo.
make link in comment permanent as requested by @iaguis.

lgtm

lgtm


Min-Max-Sum Program Added

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added the program for 'Min-Max-Sum' and updated the README as well.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
This PR is with reference to issue #6974.

@HarshCasper @bhav09 @ankitaggarwal23 please review this PR. Thanks in advance!

@bhav09 please give it a look again.


Schema out of date

I was about to start on https://github.com/Almenon/birdseye-vscode/issues/23 and I ran into this issue:
Traceback (most recent call last):
  File "C:\Program Files\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\almenon\AppData\Roaming\Python\Python36\site-packages\birdseye\__main__.py", line 5, in <module>
    from birdseye.server import main
  File "C:\Users\almenon\AppData\Roaming\Python\Python36\site-packages\birdseye\server.py", line 37, in <module>
    db = Database()
  File "C:\Users\almenon\AppData\Roaming\Python\Python36\site-packages\birdseye\db.py", line 172, in __init__
    raise ValueError('The birdseye database schema is out of date. '
ValueError: The birdseye database schema is out of date. Run "python -m birdseye.clear_db" to delete the existing tables

The message makes it clear what needs to be done to resolve the issue but what I'm wondering is why make the user run that theirself? Seems simpler to just run it automatically and show the user a info message that the tables were cleared.

I don't see why anyone would have any important data stored in the database, but I guess maybe it's possible? Closing.


Release notes 1.16.1

Preview: https://deploy-preview-1584--cert-manager.netlify.app/docs/releases/release-notes/release-notes-1.16#v1161
Release notes generated using the following command from the release process documentation:
export RELEASE_VERSION="v1.16.1"
export START_TAG="v1.16.0"
export END_REV="release-1.16"
export BRANCH="release-1.16"

export START_SHA="$(git rev-list --reverse --ancestry-path $(git merge-base $START_TAG $BRANCH)..$BRANCH | head -1)"

release-notes \
  --debug \
   --repo-path cert-manager  \
   --org cert-manager \
   --repo cert-manager  \
   --required-author "cert-manager-prow[bot]"  \
   --markdown-links=true  \
   --output github-release-description.md

/approve
/lgtm


MBA M1 Resolution Incorrectly Reported.

Description
If you're suggesting a new feature then just a description will suffice.

[ ] Does this issue still occur in the master branch? (Required if issue)
So the resolution in Neofetch is reported as 1400 x 900 but it is actually 2560 × 1600. Attached screenshots. I have an Apple MacBook Air (2020, M1) running macOS Big Sur 11.2.3 (20D91)

Neofetch version
7.1.0
Screenshot
https://files.catbox.moe/aogrcn.png
https://files.catbox.moe/lo26lb.png
Config file
Verbose log

Run neofetch -vv 2> neofetchlog
Upload the contents of neofetchlog to pastebin, gist or equivalent.

It seems to be caused by screenresolution, I just comment it on for temporary solution.

It seems to be caused by screenresolution, I just comment it on for temporary solution.

Thanks for replying. I would view that as more of a work around versus solution, it doesn’t solve anything.
I have discovered the issue is the same on my MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)

This is a Homebrew issue, not Neofetch. The MacPorts Neofetch works fine


Cors Proxy Issue

Hello. I've worked with various commentators about this project on issue #243. I've seen great success from moving to from to a GitHub specific application. I'm sharing this information beforehand to state that I've seen the project in a working state before.
With that being said, my project is currently experiencing a cors proxy issue. Below is the following error I'm receiving:
Access to XMLHttpRequest at 'https://dev.staticman.net/v3/entry/github/discordUser/discordRepo/discordBranch/staticmanId' from origin 'http://localhost:4000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Note: Information beginning with discord and staticman have been replaced by default names because it's a private repository.
This behavior has started happening since yesterday. Are there any known issues with the application as of then? Is anyone else able to replicate this issue with the current application v3?

Update: Another developer on our team mentioned that it's not a cors issue after all. Cors was turned off on their browser and they received an error code of 503. This to me infers that there's an issue with the system itself. The issue still exist as of writing this comment.

I get the same error on my personal blog, and when trying to post a comment with Postman I get a generic herokucdn application error. I think there is something wrong with the hosted staticman instance.

Confirming that the problem is indeed still happening and is a major blocking issue. As of now our team can not continue using this hosted version of staticman. Sorry for the ping @eduardoboucas but this to me seems like an urgent matter.

The development API (dev.staticman.net) is running on a free tier Heroku instance. Because too many people started using it in their projects, it reached its limits.
I have merged the v3 endpoints into the production API (api.staticman.net), which should now have the exact same capabilities as the development one. If you use this one instead, you should no longer see these errors.
Please reopen this issue if the problem still occurs.
Thanks!

Thank you very much! Seems like we forgot we were working on the dev instance. Swapping to the production API fixed the issue!

I have this issue with api.staticman.net :(


feature: accept authTokenFile in addition to authToken

I'm aiming towards using Home-Manager to manage my CI environment, with sops-nix's home-manager in tow.
As a result, I can consolidate all of my CI secrets into sops-encrypted data stored in the repo, and can use a single GitHub secret to unlock whatever a particular job needs and is assigned in its HM configuration.
However, from skimming the code and the docs, it doesn't seem that this action has a way to load the auth token from a file. Would y'all be willing to add this?
Thanks!

I rather bluntly hacked something together that seems to be working for me: https://github.com/colemickens/github-action-install-tailscale/tree/main


Issue template with rules

I don't know, maybe this would help a little with issue traffic :cactus:

We have the wiki, so this is just another copy off of it.

https://github.com/Megabyte918/MultiOgar-Edited/wiki/Issue-Template

@AlexHGaming This issue template would show when you make a issue. But idk if it will work

Let's test it out then xD

@AlexHGaming @Tyler3D Exactly my point, seems almost no one cares about template there, so now it's "enforced" a little.
@MastaCoder - will work for sure, something that makes workload on issues a little bit easier for you guys, I hope (done after seeing those wish lists and other spamy "issues" on mail :hourglass_flowing_sand: )


Fix null handling when mapping AssertionFailedError

Fixes #27871

@bot-gradle test RFM

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.


View discovery is broken for 3.0

Steps:

Get latest SDK from https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.exe. Currently it is 3.0.100-preview-009784.
dotnet new mvc
dotnet run
Navigate to https://localhost:5001

Expected:
Index page loads successfully
Actual:

cc @mkArtakMSFT @natemcmaster @rynowak @javiercn


Remove package-lock.json

Removes the package-lock.json in favor of yarn.lock.
Prevent generation / addition of package-lock.json in the future.

Nice :)


chore(backend): Refactor and reuse types

Motivation
Restructure where types are defined so that they can be reused and grow in complexity.
Changes

Move the stable structure types to a module called "types" in the backend and the implementation to a module calles "impls". Following the pattern of "shared".
Import the new types where needed.
Use the new types instead of defining the whole type again in user_profile and oisy_user modules.

Tests
No new tests needed, code was just moved.

@peterpeterparker please review


fa-bars do not consider top margin. Is it possible to change in the css file?

I copied the example at https://noerw.github.io/leaflet-sidebar-v2/examples/ to my project, but the result is different and the fa-bars icon is without the top margin,  and all others bellow too.

In the example it is correct, like bellow:

I could solve this problem at the close icon, changing from 0 to 10 at the top margin:
.leaflet-sidebar-close {     top: 10;
I tried to find where in the css file I could change the top margin of the fa-bars,  but was not successful. Any help I would appreciate.
Thanks.

Found.  It is in the .leaflet-sidebar-tabs. I just added margin-top: 10px;
`.leaflet-sidebar-tabs>ul>li>a {
margin-top: 10px;

}`


Spike: Outline valuable areas to implement testing

Description
Goal of this spike to determine where we want to add unit and integration tests.
Do we want to run tests on every PR? Just when we merge something? Other?
Acceptance Criteria

[ ] In collaboration with IMPACT and the team, determine areas most valuable to implement testing
[ ] Outline plan for implementing testing and any details necessary to implementation tickets

I suggest, we start with these:

Create new document
View document
Edit individual section

Edit and save Identifying information
Contact information

Add new contact
Delete contact
Edit contact + save

References

Import from BibTex file
Add new reference
Edit reference
Delete reference
Select reference and save

Edit and save introduction
Edit and save algorithm description

Add new input var
Delete input var
Edit input var
Add new output var
Delete output var
Edit output var

Edit and save algorithm usage
Edit and save algorithm implementation
Edit and save algorithm closeout

Save & continue flow stepping through the individual steps
Switching sections
Comments

Create new comment
Edit comment
Reply to comment

Contacts

Create contacts
Edit contacts

Publish workflow

Request review
Approve review request + select reviewers
Conclude review
Request publication
Approve publication request
Publish document

Create new version

Create minor version
Create major version

Download PDF

NOTE: This is a first overview of the flows we should consider testing. Implementing all of this is a lot of work and likely won't all fit into this quarter. We should consider focusing on high-level aspects (for example not including things like adding/editing input vars) at this point and add details later.

Thanks @oliverroick
I like the list. Given that it will take a while to implement, I took a stab at narrowing down what I think may be the most important things to test. I also added a few for testing adding equations, images, and charts, if that's possible.
I highlighted the ones I think are most important here: https://docs.google.com/document/d/1LknjE_xSOSYmoWKj4RJPkP4hFIiQQJEZI4uu1geodgs/edit?usp=sharing
But I am definitely not married to these, especially considering I'm not as familiar with how challenging each of these will be. Let me know what you think

This can be closed – from the list that @aboydnw highlighted as most crucial, @oliverroick has worked through them. The rest will be made into tickets and worked through this week.


[HUDI-6630] Automatic release connection for hoodie metaserver client

Change Logs
Automatic release connection
Impact
Reduce port occupation.
Risk level (write none, low medium or high below)
none
Documentation Update
none

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure


cfg macro indentation off

https://github.com/helix-editor/helix/pull/464/files#diff-d9796de334de9f547d45fd8b7476be53c771200ab48f28266e5f62e3493b5df9R171
            #[cfg(not(windows))]
            tokio::select! {
                biased;

                event = reader.next() => {
                    self.handle_terminal_events(event)
                }
                Some(signal) = self.signals.next() => {
                    use helix_view::graphics::Rect;
                    match signal {
                        signal::SIGTSTP => {
                            self.restore_term().unwrap();
                            low_level::emulate_default_handler(signal::SIGTSTP).unwrap();
                        }                        signal::SIGCONT => {

Noticed the last line. It seemed to happen for quite a few }.
Playground link for a similar example. https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ff949fb617c3b00730fe0c2f06f4bcaa

Thanks for sharing, but rustfmt has never supported formatting inside macro calls that use brace delimiters. On calls with paren and bracket delimiters rustfmt can only format if the params are valid rust code. Formatting support for the arbitrary/not-valid-Rust-code content (much more common with brace delim usage, hence the no formatting) is a non-trivial problem that's yet to be resolved, and that large bucket of work is being tracked under #8
Closing this accordingly


searching for messages: any way to exclude certain words?

I went through search documentation (https://zulip.com/help/search-for-messages#excluding-messages) but didn't find any info on excluding certain words.
For example, I want to search for messages under a stream that contains the word "pinned" but not "uinpinned". is it possible to do so? I tried with this syntax, but it didn't work: stream:feedback pin -unpinned. It returned all the results containing both "pin" and "unpinned".

I'm not sure why we haven't added this; I'm not aware of an implementation reason why it'd be hard.

Seems useful! I'll update the issue to make it clear that it's actionable.


Native profile

Hi @calebjacob , can you check the changes?

@matiasbenary Also, we need to make sure we're only using pnpm on this project - not yarn. Please remove the yarn.lock file and only use pnpm to install dependencies.

Hi @calebjacob , I take all your recommendations. i start to develop for the changes.

Nice work here @matiasbenary. One your future PRs, please be sure to add a Label. The "Check Label's check runs to verify that all PRs get a label before they are merged. These labels are used to generate descriptive release notes, see https://github.com/near/near-discovery/releases.   + @gagdiez so you're aware of this as well


Add support for if - else if - else conditional chains

Context
Currently, Catalyst has native support for conditionals via the catalyst.cond function, a decorator for defining functional if-else conditionals with a similar meaning to JAX's lax.cond :
from catalyst import qjit, cond

@qjit
def test(x: float):

    @cond(x > 1.4)  # provide Boolean predicate to decorator
    def multiply():
        return x * 2

    @multiply.otherwise  # define an alternative branch
    def multiply():
        return x

    return multiply()  # call the conditional function and obtain return values from the appropriate branch

>>> test(0.1)
Array(0.1, dtype=float64)
>>> test(2.1)
Array(4.2, dtype=float64)

The decorator form is meant to resemble Python block conditionals, however, branching into more than 2 options can became quite cumbersome since it requires nesting conditionals. If we add another range (2.7, ∞) to our example above:
@qjit
def test(x: float):

    @cond(x > 2.7)
    def multiply():
        return x * 4

    @multiply.otherwise
    def multiply():

        @cond(x > 1.4)
        def inner():
            return x * 2

        @inner.otherwise
        def inner():
            return x

        return inner()

    return multiply()

we can see that the readability suffers.
Goal
We would like to extend the catalyst.cond function to support branching into an arbitrary number of cases without having to resort to nesting conditionals, but rather via if - else if - ... - else chains. The following example should then be supported:
@qjit
def test(x: float):

    @cond(x > 2.7)
    def multiply():
        return x * 4

    @multiply.else_if(x > 1.4)
    def multiply():
        return x * 2

    @multiply.otherwise
    def multiply():
        return x

    return multiply()

>>> test(0.1)
Array(0.1, dtype=float64)
>>> test(2.1)
Array(4.2, dtype=float64)
>>> test(3.1)
Array(12.4, dtype=float64)

Technical details
The implementation of catalyst.cond relies on several elements:

the user-facing function:
https://github.com/PennyLaneAI/catalyst/blob/09fd0be62e9718801a45c3969c656f62a6880974/frontend/catalyst/pennylane_extensions.py#L438-L439
This function exists to define the user interface of the Catalyst conditional. It generates an object that can be further modified by the user and then called (CondCallable).

the representation stored on PennyLane's tape class:
https://github.com/PennyLaneAI/catalyst/blob/09fd0be62e9718801a45c3969c656f62a6880974/frontend/catalyst/pennylane_extensions.py#L293-L294
As part of the program tracing step in the Catalyst frontend, quantum operations (as well as Catalyst control flow operations) are stored in a data structure called the quantum tape. We store the conditional here and retrieve it later to convert it to its JAXPR form.

the representation stored in the JAX Program Representation (JAXPR):
https://github.com/PennyLaneAI/catalyst/blob/09fd0be62e9718801a45c3969c656f62a6880974/frontend/catalyst/jax_primitives.py#L186-L187
Elements (operations) of the JAXPR are called primitives. They store the input and output types of operations, and define new values to be used by other operations in the JAXPR.

and its lowering to MLIR:
https://github.com/PennyLaneAI/catalyst/blob/09fd0be62e9718801a45c3969c656f62a6880974/frontend/catalyst/jax_primitives.py#L1035-L1041
JAXPR is converted to MLIR to be used as input to a compiler. In JAX's case this is usually XLA, and PennyLane is able to use the Catalyst compiler to produce binary code for Python functions. Custom conversion functions can be registered in the JAX framework for primitives, which need to generate MLIR from Python via the use of MLIR's Python bindings. These bindings are automatically generated during Catalyst's build process.

In order to implement the proposed feature on the catalyst.cond function:

the UI needs to be modified by adding a new else_if member to the CondCallable class, which will allow the user to successively add new branches to a @cond decorated function,
the lowering strategy towards MLIR needs to be updated to express the new if - else if - ... - else structure using MLIR operations, preferably from the SCF dialect,
and other classes/functions may need adjusting as appropriate.

Hi @pengmai, thank you for tackling this issue and welcome to the Catalyst project! :)

Is there a specific desired strategy when lowering to MLIR? The SCF dialect doesn't contain an else if construct with the scf.if op, so it seems to me that the desired feature would boil down to syntactic sugar over nested scf.if ops.

This is a reasonable suggestion. Unless you are aware of other possible lowering strategies, I would support this approach.

If this is the case, there must be some point at the pipeline that is aware of the nested chains (with n - 1 predicates to support n child regions) that then lowers to multiple nested if/cond operations. Assuming we target the SCF dialect, this point must be prior to emitting MLIR, but could be at different points between the UI and final MLIR lowering.

Agreed!

My gut feeling right now is that pushing that point as far down as possible would be best with respect to maintainability because the notion of a cond with multiple predicates would be consistent throughout the lowering pipeline, rather than something like a CondCallable supporting chains but the tape/JAXPR cond objects only supporting one level. However, pushing it further down would also be more "invasive" in requiring changes to implement. I'm open to any thoughts regarding this.

Great analysis! I believe the best approach would be add/modify some attributes to the callable, quantum tape, and JAXPR objects that represent the cond operation, and implement the translation to nested scf.if in the MLIR lowering function (_qcond_lowering). For example changing the JAX primitive to store a list of branch JAXPRs rather than storing the true/false JAXPR individually.
Please don't hesitate to reply with any further questions or discussion points :)


Migrate membership, nicks, scored-pool and session to decl_error

Part of the #4365 issue.

Fixed.


Request to add SuperPNG as an option

Super PNG has this great option to export with Alpha Channels

https://github.com/fnordware/SuperPNG
Would it be possible to utilize this export option in this script?

For clarification, are you looking to have this script support exporting with Alpha Channels, or to support exporting with the SuperPNG plugin itself?

Either? Is that a valid answer? 😅 I have good experience using the SuperPNG options - but if it's achievable without, I don't see any harm


command line help for available cross-compile targets

I'm trying to compile from linux to osx ... but with little success ... a bit of extra docs would be nice
crystal build hello.cr --cross-compile --target "x86_64-apple-macosx10.7.0"

current:
Error: File x86_64-apple-macosx10.7.0 does not exist

better:
Error: File x86_64-apple-macosx10.7.0 does not exist
available targets are x,y,z from folder xyz
install xyz to get more targets

Try this crystal build --cross-compile --target "x86_64-apple-macosx10.7.0" hello.cr instead

same: Error: File x86_64-apple-macosx10.7.0 does not exist
... must be missing some basic packages ... running this in
manastech/crystal docker container ... ideally a "complete" crystal docker
container would be great, that has latest crystal + cross-compile tools for
all platforms ...
On Sun, Aug 28, 2016 at 11:32 AM, Kepler Sticka-Jones <
<EMAIL_ADDRESS>wrote:

Try this crystal build --cross-compile --target
"x86_64-apple-macosx10.7.0" hello.cr instead
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/crystal-lang/crystal/issues/3200#issuecomment-242991014,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZ8Wdur-DCFgHeW6Q6UaWqXon0Yqzks5qkdQpgaJpZM4Ju-OL
.

Hello @grosser
The target specified in --target needs to be a target supported by LLVM and Crystal
I believe the target is x86_64-macosx-darwin:
$ crystal build test.cr --cross-compile --target "x86_64-macosx-darwin"

If I'm not mistaken that will only produce an object file, which you will need to use the proper linker for that platform.
Hope that helps somehow.

Same :)
Error: File x86_64-macosx-darwin does not exist
... a docker image that can build everything would be handy :D
... not a big issue atm since I'm just playing around, but kind of a sad
showstopper ... having to figure out these dependencies is not fun ...
On Sun, Aug 28, 2016 at 3:13 PM, Luis Lavena<EMAIL_ADDRESS>wrote:

Hello @grosser https://github.com/grosser
The target specified in --target needs to be a target supported by LLVM
and Crystal
I believe the target is x86_64-macosx-darwin:
$ crystal build test.cr --cross-compile --target "x86_64-macosx-darwin"
If I'm not mistaken that will only produce an object file, which you will
need to use the proper linker for that platform.
Hope that helps somehow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crystal-lang/crystal/issues/3200#issuecomment-243002810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZ5i6kpw27S7FFQGtTOcW_OTO6cxOks5qkggcgaJpZM4Ju-OL
.

There is no way to get the list of targets from LLVM —see this stackoverflow answer for details.
Cross compilation in Crystal won't build an executable but only compile an object file (.o) that must be linked into an executable on the target platform itself. In order to build an OSX executable from the object file, you need an OSX host (because we need the OSX linker).
Cross compilation is thus only meant to cross compile the compiler itself (to be eventually linked on the target arch), or to achieve some hacks (eg: compile a static/shared library). This may change in the future, when we'll support ARM or Android that come cross compilation toolchains, but for now cross compilation won't achieve much, except allow to port the compiler to new archs.

Thanks for the details ... was hoping to generate a binary for each system and then make these downloadable ... not a common issue I guess ... but useful if you want to write tools in crystal ... generating the object file is not really helping much there ...
crystal build test.cr --cross-compile --target "x86_64-macosx-darwin" worked find on the crystallang/crystal docker image, so I think not easy fixes to be had here ... I'll close ...
Just as a crazy idea: have a compile as a service thing that pulls a repo from github and creates the binary ad-hoc ... crystaliz.me/ysbaddaden/foobar -> detects what OS you are on, downloads the repo and responds with a compiled binary :)

The issue is the presence of a tool capable to produce to link an executable for a target. Some targets always provide a toolchain so we can cross compile (eg. mobiles), but most OS don't, so it's hard.
A possibility is using Travis or another CI to build a binary automatically when a tag is created, then uploading it as a GitHub release file, for example.

travis has some mac build service I think, so that might work ...
On Mon, Aug 29, 2016 at 12:08 PM, Julien Portalier<EMAIL_ADDRESS>
wrote:

The issue is the presence of a tool capable to produce to link an
executable for a target. Some targets always provide a toolchain so we can
cross compile (eg. mobiles), but most OS don't, so it's hard.
A possibility is using Travis or another CI to build a binary
automatically when a tag is created, then uploading it as a GitHub release
file, for example.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/crystal-lang/crystal/issues/3200#issuecomment-243223370,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZ_GT-WGILY7XsMQnna0VT61F_Czzks5qky4lgaJpZM4Ju-OL
.

for followers, you can see the list of "triple options" crystal actually supports (and you practically have to use those exact names) here: https://github.com/crystal-lang/crystal/tree/master/src/lib_c

Not exactly. One should always refer to LLVM for the correct triple to use. The targets defined in src/lib_c may be tweaked and not exactly reflect the correct LLVM target machine triple.
For example, we have C bindings under src/lib_c/x86_64-portbld-freebsd, but the LLVM triple must reflect the ABI version; for example x86_64-portbld-freebsd10.1 is correct. Same for OpenBSD, we have bindings under amd64-unknown-openbsd, but we must specify the ABI, so amd64-unknown-openbsd6.0 is correct.
A solution to know the correct triple is to ask LLVM itself. For example on the the target machine:
$ llvm-config --host-target

It's harder from the local machine to determine the correct triple for the destination. llc can be used to determine a few parameters, but you should refer to documentation to build the correct triple.

OK that's good.  Initially on OS X I tried that:
$ llvm-config --host-target
x86_64-apple-darwin16.0.0
which failed as a target, but then when I specify --target "x86_64-macosx-darwin" it worked, I guess that's just a bug and should work.  I might look into it sometime, thanks!


#68 allow namespace CSS class

This will allow users to disable any of the supplied animations by instantiating the component like so:
{{ember-notify classPrefix=“custom-namespace”}}

I will polish this documentation for inclusion in the README once the PR is finalized.

All good, just needs docs. Nice one.

Thank you! Added some basic documentation for how to acheive custom positioning/animation. I'm working on custom styles for a project, so I can possibly provide those as an example file for a more detailed styling example.

Yes that'd be good, thanks.
On Tue, 24 Nov 2015 at 01:25, Eli Flanagan<EMAIL_ADDRESS>wrote:

Thank you! Added some basic documentation for how to acheive custom
positioning/animation. I'm working on custom styles for a project, so I can
possibly provide those as an example file for a more detailed styling
example.
—
Reply to this email directly or view it on GitHub
https://github.com/aexmachina/ember-notify/pull/70#issuecomment-158948576
.

I added an example file for custom positioning and animation and updated the docs. Depending on demand or anticipated usage, I can publish the LESS file for that styling as an addon or something.

Nice one, thanks.

Published v5.2.0

my pleasure. it is a helpful plugin, so thanks for publishing it.


Implement String#lchomp

This PR adds String#lchomp method which removes given String | Char from the beginning of the string.
It's quite handy method, many times requested to be included in Ruby's stdlib.
See for instance https://www.reddit.com/r/ruby/comments/19khox/cmon_ruby_we_need_stringlchomp/
Other solutions to this issue are way less optimal:

"hello".reverse.chomp("hel".reverse).reverse
"hello".starts_with?("hel") ? "hello"["hel".size..-1] : "hello"
"hello".sub(/\Ahel/, "")

I like it, thank you! I think it's symmetry with chomp makes it a good thing to have in the standard library.


Propagate CS0618 (obsolete) for API's within ReactiveUI-Events that are obsolete.

This warning is for missing XML documentation, so leaving it enabled results in a plethora of warnings.

Same goes for CS0618 (obsolete), and possibly more.

Documentation is nice.
xml-doc documentation is not something I miss.
Unnecessary warnings are just annoying.
:thumbsup: on :fire:
Not sure how I feel about CS0618 being disabled - is now a good time to review and clean those up? Do you have some examples which shouldn't be?

@shiftkey note that I'm only talking about events projects here, which is entirely generated code. Moreover, it is somewhat obliged to use obsolete APIs because it's simply wrapping all APIs and surfacing an observable variant of the underlying API.

Moreover, it is somewhat obliged to use obsolete APIs because it's simply wrapping all APIs and surfacing an observable variant of the underlying API.

So our generated APIs should then propagate the [Obsolete], right? Or does that just seem not worth the investment?

I would agree with that (if it's not already doing so - I haven't checked). But I would also consider that a separate issue :)

suppress CS1591 =  :+1:  - let's leave it open for a newbie #1005
propagate CS0618 (obsolete) = :+1: - that might be too much for a newbie?

This was fixed in pharmacist.


regular report - property 'payments' of undefined

pox invalid 361 55deecdea89178421dbf0e8a0fa16ea20d5d3540aeb43f1acf9505a6c8b40fe4 55deecdea89178421dbf0e8a0fa16ea20d5d3540aeb43f1acf9505a6c8b40fe4
(node:7166) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'payments' of undefined
at process_payments (file:///home/tom/stacks-dump/report.js:555:55)
at file:///home/tom/stacks-dump/report.js:685:3
at file:///home/tom/stacks-dump/report.js:830:3
at ModuleJob.run (internal/modules/esm/module_job.js:146:23)
at async Loader.import (internal/modules/esm/loader.js:165:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:7166) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:7166) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'll need a zip of the data folder so I can debug this.


Added shorthandFirst option to jsx-sort-props rule. (Fixes #391)

I think callbackLast having precedence is a better fit than the other way around.

Merged, thanks!


Specify what is going to be achieved by creating this specific xacml policy

Description:
Document: Enabling Role-Based Access Control Using XACML
Section: Enabling role-based access control
Step 6
Provide a description what will this policy does and what would be the expected behavior before creating it in order to get a clear idea to the user.
Suggested Labels:
Type/Docs
Severity/Major
Priority/Normal
Suggested Assignees:
N/A
Affected Product Version:
AM2xx docs

We will not be fixing this as this issue is based on an older version of the product


For both examples in the roxygen header, added the following:

#'     set_values_to = vars(
#'     PARAMCD = "BSA",
#'     PARAM = "Body Surface Area (m^2)"
#'     ),
Previous to this, when running the example, PARAM was returning as NA for the BSA records.
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

Note that Issue #960 needs fixes to three files (derive_param_bsa, bmi, map) and this PR is just for the BSA one; this is why I do not want 960 to automatically close.
NOTE: The change I made for this PR was done on R v4.1.2.

Could we just update all three files for this Pull Request to fix the documenation issue?

Closing this PR. I had done the code modification with R 4.1.2 and will, instead, do it with R 3.6.3 and create a new PR.


Build failing on Linux when building LLVM from source

I'm attempting to build this on Ubuntu 22.04 having issues with a custom built LLVM and emscripten version.
Installed emscripten and LLVM from source from this repo: https://github.com/satoshinm/emscripten/commits/netcraft
My build fails with this output:
[ 96%] Building C object CMakeFiles/craft.dir/deps/tinycthread/tinycthread.c.o
[100%] Linking C executable craft.html
INFO:root:generating system library: libc.bc... (this will be cached in "/home/argosopentech/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/home/argosopentech/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/home/argosopentech/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
/home/argosopentech/emscripten/system/lib/libc/musl/src/math/nearbyintf.c:7:15: error: '#pragma FENV_ACCESS' is not supported on this target - ignored [-Werror,-Wignored-pragmas]
        #pragma STDC FENV_ACCESS ON
                     ^
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
Traceback (most recent call last):
  File "/home/argosopentech/emscripten/emcc.py", line 2391, in <module>
    run()
  File "/home/argosopentech/emscripten/emcc.py", line 1541, in run
    extra_files_to_link += system_libs.calculate([f for _, f in sorted(temp_files)] + extra_files_to_link, in_temp, stdout_=None, stderr_=None, forced=forced_stdlibs)
  File "/home/argosopentech/emscripten/tools/system_libs.py", line 405, in calculate
error: unable to open output file '/tmp/tmpnNxLL7/jnf.c.o': 'No such file or directory'
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
    libfile = shared.Cache.get(name, do_create, extension=suffix)
  File "/home/argosopentech/emscripten/tools/cache.py", line 96, in get
    temp = creator()
  File "/home/argosopentech/emscripten/tools/system_libs.py", line 403, in do_create
    ret = create(name)
  File "/home/argosopentech/emscripten/tools/system_libs.py", line 123, in create_libc
    return build_libc(libname, libc_files, args)
  File "/home/argosopentech/emscripten/tools/system_libs.py", line 69, in build_libc
    run_commands(commands)
  File "/home/argosopentech/emscripten/tools/system_libs.py", line 28, in run_commands
    pool.map_async(call_process, commands, chunksize=1).get(maxint)
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
Exception: Command '/usr/bin/python2 /home/argosopentech/emscripten/emcc /home/argosopentech/emscripten/system/lib/libc/musl/src/math/nearbyintf.c -o /tmp/tmpnNxLL7/nearbyintf.c.o -I /home/argosopentech/emscripten/system/lib/libc/musl/src/internal -I /home/argosopentech/emscripten/system/lib/libc/musl/arch/js -Werror -Wno-return-type -Wno-parentheses -Wno-ignored-attributes -Wno-shift-count-overflow -Wno-shift-negative-value -Wno-dangling-else -Wno-unknown-pragmas -Wno-shift-op-parentheses -Wno-string-plus-int -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-visibility -Wno-pointer-sign -Wno-error=absolute-value -Os' returned non-zero exit status 1
error: unable to open output file '/tmp/tmpnNxLL7/nextafter.c.o': 'No such file or directory'
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
error: unable to open output file '/tmp/tmpnNxLL7/ldexpf.c.o': 'No such file or directory'
1 error generated.
error: unable to open output file '/tmp/tmpnNxLL7/cbrt.c.o': 'No such file or directory'
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
make[2]: *** [CMakeFiles/craft.dir/build.make:491: craft.html] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/craft.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

emsdk also no longer supports 1.37.12 and only has versions after 1.38.33.

Had the same problem with compiling from source. But did you try ./emsdk install emscripten-1.37.12 to get 1.37.12 ? It seems to download fine. Where does the problem arise going that route?

When I installed emsdk it didn't support versions earlier than 1.38.33, maybe I need an earlier version of emsdk.


ros2_planning_system: 0.0.10-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros2_planning_system to 0.0.10-1:

upstream repository: https://github.com/IntelligentRoboticsLabs/ros2_planning_system.git
release repository: https://github.com/IntelligentRoboticsLabs/ros2_planning_system-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.9.7
previous version for package: 0.0.9-1

plansys2_bringup

No changes

plansys2_domain_expert

No changes

plansys2_executor
* Upgrade to behavior_tree_v3 3.5.1
* Contributors: Francisco Martin Rico

plansys2_lifecycle_manager

No changes

plansys2_msgs

No changes

plansys2_pddl_parser

No changes

plansys2_planner

No changes

plansys2_problem_expert

No changes

plansys2_terminal

No changes

Hi @mjcarroll
After receiving these weeks a lot of messages from ROS 2 Buildfarm, I decided to make a PR with these changes. The error has a relation with a change in the API of behavior-tree-cpp-v3. In my updated Eloquent installation from packages, the version of behavior-tree-cpp-v3 is 3.1.1. In your CI, you are requesting 3.5.1.
This PR fixes PlanSys2 for using behavior-tree-cpp-v3 3.5.1, to pass your CI, but now it isn't the current version. Does this mean that in the next sync, the  behavior-tree-cpp-v3 version for eloquent will be 3.5.1?
Best

This PR fixes PlanSys2 for using behavior-tree-cpp-v3 3.5.1, to pass your CI, but now it isn't the current version. Does this mean that in the next sync, the behavior-tree-cpp-v3 version for eloquent will be 3.5.1?

Yes, that's the case.  You can see what the latest version will be by looking at https://github.com/ros/rosdistro/blob/6ae977e0fb98d7e903f63ceb849017e89db6ee2e/eloquent/distribution.yaml#L256


Blocked days can still be selected via input box

A blocked day can't be selected by clicking on the day, but still can be selected by manually typing in the input box

What did you expect?
It's a form component, you need to handle validation.

It's part of the component and not a custom input so I expected the input will also apply the same validations/options that I passed via props.

+1, there should be error state for date-picker, maybe with red border-bottom to represent an error, it can also provide error as the second param on date change describing the type of error.
We did something similar with our components, https://innovaccer.github.io/design-system/?path=/story/organisms-datepicker-variants--with-input


[Feature Request] I want to add Settings for the Tree component to

Existing Component
是
Component Name
El-Tree
Description
I want to add Settings for the Tree component to expand and close events. For example, setCheckedKeys() or setCheckedNodes(). I don't know if anyone else has the same needs as me.
Thanks.

没太明白，请用中文描述。

示例：https://jsfiddle.net/leopoldthecuber/j5999vwo/3/
如果有更多用户需要，我们会考虑将方法写进文档。


Modernize

@pdefreitas @annyhe @laurieboyes hopefully you can use the updated package is now released as v1.0.1 :)
I burned v1.0.0 on no files filter.


fix(Question 31): add code syntax to Fragment, delete redundant word

"< Fragment>" is not currently rendering in the Preview in GitHub, it needs the code syntax with tildes `
deleted redundant "unless" word and kept "until", i think it makes it clearer

Thanks @oscartorres-10 for PR


Built binary depends on template path

Right now the built binary depends on the template path to execute properly as mentioned in #275. One way to solve this is to define a path to look for it, something like $XDG_CONFIG_HOME/vim-bootstrap/template would be really helpful.

Solved in https://github.com/avelino/vim-bootstrap/pull/281


server/src/locales/en-US.json will be updated every time composer build & run.

Describe the bug
After I pull the main and build and run it. the en-Us will be updated. Are these changes need to be checked into main branch?
FYI.

Version

Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Additional context

@beyackle can you comment here?

related in https://github.com/microsoft/BotFramework-Composer/pull/4225


Remove test files from the built gem

When the test/spec directory is mentioned on the gemspec it actually
bundles the gem with those files.
There's also no reason to send the test files to production.
Before

After

This has merge conflicts, closing until @Davidslv is back from holiday.


Allow to use privateKey as senderKey and recipientKey parameter.

Codecov Report

Merging #9 (dec26b8) into main (59d5d6b) will increase coverage by 0.91%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   87.13%   88.05%   +0.91%
==========================================
  Files          15       15
  Lines         474      477       +3
  Branches       54       54
==========================================
+ Hits          413      420       +7
  Misses         52       52
+ Partials        9        5       -4

Flag
Coverage Δ

unittests
88.05% <100.00%> (+0.91%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/kemContext.ts
84.33% <100.00%> (+5.58%)
:arrow_up:

Continue to review full report at Codecov.

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


Illegal characters in column names in SummarizeData

When I use the SummarizeData transformer and try to save results in parquet I get an error from org.apache.parquet.ParquetOutputCommitter:
Exception in thread "main" org.apache.spark.sql.AnalysisException: Attribute name "Unique Value Counts" contains invalid character(s) among " ,;{}()\n\t=". Please use alias to rename it.;
By using of foldLeft I can replace all spaces by "_" but it seems that that behavior is not obvious and can be fixed by simple renaming of columns in source code: https://github.com/Azure/mmlspark/blob/44735200184151e180a3188fa315fa15a7fd18fa/src/summarize-data/src/main/scala/SummarizeData.scala#L203-L235

@SemyonSinchenko thank you for finding this issue, I've created a PR to fix it by using _
#587


On mobile device (like iPad 2), when there is an element that has action (like button or list item) and it is displayed on top of a paper-input, tapping on the action element will also trigger tap on the  paper-input

Description
I encounter the following Polymer issue:
On mobile device (like iPad 2), when there is an element that has action (like button or list item) and it is displayed on top of a paper-input, tapping on the action element will also trigger tap on the  paper-input.
Example 1:

Click on the "Dialog" button, the dialog is opened and display two buttons.
Notice that in the screen the "Button 2" is located on top of "text input2"
Tap on the "Button 2", and the dialog is closed
But "text input2" get the focus and keyboard is opened (as if I tap on it).

Example 2:

Click on the "List" paper-dropdown-menu, the list is displayed
Notice that the last item in the list in over "text input3"
Tap on the last item in the list, the item is selected
But "text input3" get the focus and keyboard is opened (as if I tap on it).

Tapping on button in a dialog or select item from a list should not trigger tapping on element that it is covered.
Live Demo
see video https://goo.gl/photos/YUsm1GFfJXLsvoPh9
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-dropdown-menu/paper-dropdown-menu.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-listbox/paper-listbox.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../iron-dropdown/iron-dropdown.html">
<link rel="import" href="../paper-dialog/paper-dialog.html">

<dom-module id="tri-people-view">

	<template>

    <paper-button on-tap="openDialog"  style="width:200px">Dialog</paper-button>

    <paper-dialog id="dialog"  class="size-position">

Dialog Title

test.

        <paper-button on-tap="func1">Button 1</paper-button>
        <paper-button on-tap="func1">Button 2</paper-button>

    </paper-dialog>

    <paper-dropdown-menu label="List" horizontal-align="left">
      <paper-listbox class="dropdown-content">
        <paper-item>AAAA</paper-item>
        <paper-item>BBBB</paper-item>
        <paper-item>CCCC</paper-item>
        <paper-item>DDDD</paper-item>
        <paper-item>EEEE</paper-item>
        <paper-item>FFFF</paper-item>
        <paper-item>GGGG</paper-item>
        <paper-item>HHHH</paper-item>
        <paper-item>IIII</paper-item>
        <paper-item>JJJJ</paper-item>
      </paper-listbox>
    </paper-dropdown-menu>

    <paper-input label="text input1"></paper-input>
    <paper-input label="text input2"></paper-input>
    <paper-input label="text input3"></paper-input>
    <paper-input label="text input4"></paper-input>

	</template>
</dom-module>

Steps to Reproduce
See example 1 & 2 above
Expected Results

Actual Results

Browsers Affected

[x] Chrome on Mobile device such iPad 2 mini
[ ] Firefox
[ ] Edge
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions

Polymer: v1.2.4
webcomponents: v0.7.20

Chrome on iOS devices is no more than a webview running webkit (WKWebWiew since iOS8).
I ran into the same king of issues and it appeared to be the 350ms tap delay on mobile WebKit.
In iOS 9.3 they added a way to remove such delay. But it is only valid in safari >= 9.1 not WKWebView.
Did you get a chance to try your case on safari 9.1 using the fast tap feature ?

Any updates on this issue?
Issue still exist on Devices / Touch screen  Android and iPad with Chrome, Safari, Desktop (device simulator: iPhone, Galaxy).
The touch screen action on one element trigger a touch screen event on the element that it covers.

I'm experiencing the same problem, I have added a on-tap on the underlying input field, but no event is trigger although the input field automatically gets a focus.


azure resource graph : fetch virtual machines

Is something pending ?
Looks like this has not passed :
Build and Test / Services Tests (pull_request)

@giridharmb thanks for the contribution!


MAISTRA-1897: Allow disabling IngressClass support

This adds an option to istiod that allows disabling reading
IngressClass resources, which are cluster-scoped.  When this is
disabled, processing of Ingress resources that use the new (as of
Kubernetes v1.18) ingressClassName field in their spec is not
supported.  Only resources that use the deprecated annotation will be
processed.
Cherry-pick of abb958783e for Maistra 2.1 / Istio 1.8 rebase.

/retest


Change types for NEP-11 standards checking

Summary or solution description
It's now possible to use just bytes or str when trying to implement a ByteString parameter.
How to Reproduce
https://github.com/CityOfZion/neo3-boa/blob/9e242717637d5045ab069f454134691e183921f2/boa3_test/test_sc/metadata_test/MetadataInfoSupportedStandardsByteStringAsBytes.py#L51C1-L54
https://github.com/CityOfZion/neo3-boa/blob/9e242717637d5045ab069f454134691e183921f2/boa3_test/test_sc/metadata_test/MetadataInfoSupportedStandardsByteStringAsStr.py#L51-L54
Tests
https://github.com/CityOfZion/neo3-boa/blob/9e242717637d5045ab069f454134691e183921f2/boa3_test/tests/compiler_tests/test_metadata.py#L295-L311
Platform:

OS: Windows 10 x64
Python version: Python 3.8

Task linked: CU-861muyw9f Change types for (NEP-17(?)/NEP-11 standards checking

coverage: 91.248% (-0.04%) from 91.292% when pulling 40af26d992d754ff911cb3cebacf87ff00a0f4c5 on CU-861muyw9f into e1d58502970a376dfa099852c96e043c1c352f36 on development.

Could you include the revert of this commit to the changes? The version before the linked commit should compile with the changes in this pull request


[Feature] Split Panel up so that applications can do their own rendering into Panels

I've been told by one of the graphics wizards at oculus that the ideal way to render text on Quest is to use composition layers, which avoids some error from distortion correction, or something along those lines. However, it seems like Hololens specifically recommends against it, and the simulator might not support it? This seems like something that it'd be nice for the engine to abstract over and handle for the application, and I think the first step is to split up Panel into the part that provides a texture to draw into and does raw input handling, and the part that uses egui to draw stuff, and passes inputs into egui.

This was closed in #189


Update to es6 and Deploy instructions

replaced var with let.
used consistent ' instead of "
Added Deploy instructions

This is my first pull request to any open source project so any feedback will be appreciated

moved away from this as it is inactive


November Release Changes

This PR consists of some renames that are to be included in the search documents SDK for November release.
@xirzec Please review and approve the PR.

API changes have been detected in @azure/search-documents. You can review API changes here


[Feature]: Update outdated and vulnerable crypto-es module

Is your request related to a problem?
The latest possible version of crypto-es that can be installed is 1.2.7.
The earliest fixed version is 2.1.0.
Summary
Crypto-js PBKDF2 is 1,000 times weaker than originally specified in 1993, and at least 1,300,000 times weaker than current industry standard. This is because it both (1) defaults to SHA1, a cryptographic hash algorithm considered insecure since at least 2005 and (2) defaults to one single iteration, a 'strength' or 'difficulty' value specified at 1,000 when specified in 1993. PBKDF2 relies on iteration count as a countermeasure to preimage and collision attacks. Remediation of this issue might be very difficult, as the changes required to fix this issue would change the output of this method and thus break most, if not all, current uses of this method as configured by default.
Potential Impact:
If used to protect passwords, the impact is high.
If used to generate signatures, the impact is high.
Probability / risk analysis / attack enumeration:
For at most $45,000, an attacker, given control of only the beginning of a crypto-js PBKDF2 input, can create a value which has identical cryptographic signature to any chosen known value.
Due to the length extension attack on SHA1, we can create a value that has identical signature to any unknown value, provided it is prefixed by a known value. It does not matter if PBKDF2 applies 'salt' or 'pepper' or any other secret unknown to the attacker. It will still create an identical signature.
crypto-js has 10,642 public users as displayed on NPM, today October 11th 2023. The number of transient dependents is likely several orders of magnitude higher.
A very rough GitHub search shows 432 files cross GitHub using PBKDF2 in crypto-js in Typescript or JavaScript, but not specifying any number of iterations.
Affected versions
All versions are impacted. This code has been the same since crypto-js was first created.
Further Cryptanalysis
The issue here is especially egregious because the length extension attack makes useless any secret that might be appended to the plaintext before calculating its signature.
Consider a scheme in which a secret is created for a user's username, and that secret is used to protect e.g. their passwords. Let's say that password is 'fake-password', and their username is 'example-username'.
To encrypt the user password via symmetric encryption we might do encrypt(plaintext: 'fake-password', encryption_key: cryptojs.pbkdf2(value: 'example username' + salt_or_pepper)). By this means, we would, in theory, create an encryption_key that can be determined from the public username, but which requires the secret salt_or_pepper to generate. This is a common scheme for protecting passwords, as exemplified in bcrypt & scrypt. Because the encryption key is symmetric, we can use this derived key to also decrypt the ciphertext.
Because of the length extension issue, if the attacker obtains (via attack 1), a collision with 'example username', the attacker does not need to know salt_or_pepper to decrypt their account data, only their public username.
Feature Description
Description
PBKDF2 is a key-derivation function that is used for two main purposes: (1) to stretch or squash a variable length password's entropy into a fixed size for consumption by another cryptographic operation and (2) to reduce the chance of downstream operations recovering the password input (for example, for password storage).
Unlike the modern webcrypto standard, crypto-js does not throw an error when a number of iterations is not specified, and defaults to one single iteration. In the year 1993, when PBKDF2 was originally specified, the minimum number of iterations suggested was set at 1,000. Today, OWASP recommends 1,300,000:
https://github.com/entronad/crypto-es/blob/aa48d48413549addc06cd737a272466d5fc1b5e6/lib/pbkdf2.js#L35-L39
Alternative Solutions
Consult the OWASP PBKDF2 Cheatsheet. Configure to use SHA256 with at least 250,000 iterations.
Anything else?
The latest possible version of crypto-es that can be installed is 1.2.7.
The earliest fixed version is 2.1.0.
Coordinated disclosure
This issue was simultaneously submitted to crypto-js and crypto-es on the 23rd of October 2023.
Caveats
This issue was found in a security review that was not scoped to crypto-es. This report is not an indication that crypto-es has undergone a formal security assessment by the author.

Bump, any update on this @aaronbarnardsound @Adamj1232 @leightkt

FYI I've made a PR for the package in question https://github.com/blocknative/sdk/pull/244


Assign a new child id if the none is already assigned to the child.

This commit changes the MleRouter::SendChildIdResponse() so that a new child id (and rloc16) is assigned to the child if it does not already have one. This ensures that it we receive multiple MLE ChildIdRequest from the same child, the child id remains the same on all the responses.

Wait! This won't work. In HandleChildIdRequest() we always set the state to child->mState = Neighbor::kStateChildIdRequest; so when we get to theMleRouter::SendChildIdResponse() the state won't be valid!.... Need to change this logic as well.

Current coverage is 73.62% (diff: 85.71%)

Merging #907 into master will increase coverage by 0.42%

@@             master       #907   diff @@
==========================================
  Files           111        112     +1
  Lines         16661      16671    +10
  Methods        2310       2314     +4
  Messages          0          0
  Branches       2004       2005     +1
==========================================
+ Hits          12196      12274    +78
+ Misses         3782       3722    -60
+ Partials        683        675     -8

Powered by Codecov. Last update a21db36...70459b8


framework laptop 11th gen: Improve sleep power efficiency

Description of changes
Change mem_sleep_default=deep kernel parameter to acpi_osi="!Windows 2020" (fixes a regression in s2idle, making it more power efficient than deep sleep). It's also a good idea to get rid of deep sleep on the 11th gen anyway, as it doesn't function correctly and takes 10-15 seconds to wake back up.
Things done

[x] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

I haven't tested it using my own fork, as I just started using NixOS yesterday, but I've been using this kernel parameter on my Arch Linux install for a while now.

@Pacman99 maybe. Don't have the hardware but I can ask around for people to test.

I'm testing that on my gen12 frawework.
After applying this PR, the powertop/cpupower idle output looks pretty similar to what I had before. That being said, this only test the idle power draw, not the suspend one.
I don't really know how to test the suspend power efficiency. I'll daily drive this for a couple of days and see if I see a massive change.

I'm testing that on my gen12 frawework.
After applying this PR, the powertop/cpupower idle output looks pretty similar to what I had before. That being said, this only test the idle power draw, not the suspend one.
I don't really know how to test the suspend power efficiency. I'll daily drive this for a couple of days and see if I see a massive change.

This PR won't affect power draw. To test suspend power efficiency, I usually leave the laptop unplugged overnight (in suspend), writing down the battery % and time before and after. Then I do hours ÷ % lost to get % drain/hour

:+1: Will do that for the next two nights (with and without this patch). I'll post the results here.

Well regardless of hardware, rn i think your change affects both laptops profiles because it's in default.nix. but the 12th Gen also has the deep sleep kernel param which could conflict with s2idle. I don't fully know how all this works but I don't think those two should be set at the same time.

Well regardless of hardware, rn i think your change affects both laptops profiles because it's in default.nix. but the 12th Gen also has the deep sleep kernel param which could conflict with s2idle. I don't fully know how all this works but I don't think those two should be set at the same time.

Currently the 12th Gen profile does not import the other file.

👍 Will do that for the next two nights (with and without this patch). I'll post the results here.

This PR only affects 11th gen, so you'll have to enter the kernel parameters manually. You should test deep sleep one night and s2idle with these two kernel parameters the other night, to see which one is more efficient

In the lack of a better test, here's what I got after suspending the laptop with and without the windows 2020 interface disabled:
Windows 2020 disabled: 21:30 -> 8h05: 100% -> 82%
Without patch : 22:20 -> 9:20: 98% -> 76%

Looking at this dubious test, it seems like the 12th gen implements the Windows 2020 operating system interface just fine. Or at least, disabling it doesn't significantly improves the sleep power efficiency.
I don't think we need to apply this patch to the 12th gen profile.

In the lack of a better test, here's what I got after suspending the laptop with and without the windows 2020 interface disabled:
Windows 2020 disabled: 21:30 -> 8h05: 100% -> 82%
Without patch : 22:20 -> 9:20: 98% -> 76%

Looking at this dubious test, it seems like the 12th gen implements the Windows 2020 operating system interface just fine. Or at least, disabling it doesn't significantly improves the sleep power efficiency.
I don't think we need to apply this patch to the 12th gen profile.
Edit: forgot to note that I tested this with the unpatched HDMI adapter attached to the laptop.
Dongles connected during the test:
* USB-C

* USB-A

* Ethernet gen 1

* HDMI gen 1

I think it's just an 11th gen bug, as without Windows 2020 kernel parameter the power button and keyboard backlight stay on during s2idle

On 12th gen, the power button turns off and pulsates, keyboard backlight turns off when in s2idle w/ ACPI windows 2020 interface enabled.

On 12th gen, the power button turns off and pulsates, keyboard backlight turns off when in s2idle w/ ACPI windows 2020 interface enabled.

Does it still do so without it enabled?


Allow silo/bindflt to be turned off via an annotation

This should fix regression #1699, but I haven't built the full Kubernetes/containerd/hcsshim stack myself and tested it manually.
To turn off silo/bindflt on a job container, set the pod annotation microsoft.com/hostprocess-no-silo: true.

@microsoft-github-policy-service agree

@hach-que added comment to the github issue you opened here https://github.com/microsoft/hcsshim/issues/1699#issuecomment-1944574926 .

We haven't received further engagement on the response in github issue here https://github.com/microsoft/hcsshim/issues/1699#issuecomment-2065456341. We do not want to provide an annotation to switch back to JO desgin.


chore(e2e): skip "Change app-config" e2e test case.

Description
Please explain the changes you made here.
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/approve

/lgtm


Attestation fails to generate key pair after factory reset and restore from backup

After doing a factory reset through recovery, I restored the device using a seedvault backup. After doing this, I am unable to complete local or remote attestation. The pairings have been cleared and the device has been rebooted. Fails with:
java.security.ProviderException: Failed to generate key pair.
Included Auditor's verbose log
Auditor log cec7810070dd.txt
First time submitting an issue, please go easy on me.

Understood, I will try it again after disabling my firewall. It's possible that it wasn't able to update the keys. Do you know the IP address(es) that would be contacted for this process?

No luck still with remote or local attestation on a clear network.

Also tried Google's key provisioning server, no luck.

I have the same problem. Factory reset device, installed Seedvault Backup. Attestation fails. Internet connection is fine. I removed the device from attestation server and did a reset von the attestation app. Tried to enable it again, still the same.

I am hitting the same issue with a new pixel8Pro..
Installed GrapheneOS
Factory Reset after I missed the restore option at install
Initial setup after reset, and restored from seedvault backup.
Device has wifi connection.  I have tried rebooting.
When I try to run as auditee:

Error encountered generating attestation
java.security.ProviderException: Failed to generate key pair

Do we have any suggestions on a workaround? I am due to travel internationally shortly, and I would like to have this sorted out before then.

Some extra data to this:

I was able to reset to factory without restoring data from seedvault

This allowed me to run auditor as per normal.
I believe this might indicate it is a data problem with the seedvault backup, and not a firmware problem? (unsure)

Per This forum post I tried restoring from seedvault on first setup, then deleting the auditor and keychain data via ADB. This did NOT resolve the issue

adb shell pm clear com.android.keychain
adb shell pm clear app.attestation.auditor

Just chiming in, I have this exact same issue. Same apparent cause too: restoring from a seedvault backup


feat: petrinet validator utility function

Description
Added a utility function that checks if the petrinet in the TA2 playground is valid. This works by checking the node IDs linked by I and O in the petrinet object. The Lotka Volterra example will be recognized as valid as long as you make the function accept unbounded petrinets. For unbounded petrinets we should probably add a toggle to the playground for that in the case we want to accept those. You'd just have to put that toggle value as a parameter in the validator function.
There are 4 checks for a valid petrinet that I made:

At least one edge
Every node should be at least either a source or a target
In the case the petrinet is bounded (it is by default) every transition must be recognized as a source and a target
Make sure there is only one petrinet body

Cancelled check: It's a bipartite graph (place -> transition -> place...)
This will be handled another way since false edges aren't recorded in the petrinet object
Resolves #122
Type of change

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

How Has This Been Tested?
A new unit test has been written called petrinet-validator.spec.ts. This tests various valid and invalid petrinets. I made some examples in the playground and copied the data representation of those to be tested. The petrinets I made for testing test every requirement needed for validity (list above).

[ ] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Can you briefly explain what you mean by a bounded and unbounded petri-net here?


Bluetooth: Mesh: Fix fix mod_sub_get_vnd

Signed-off-by: Nicolas LANTZ<EMAIL_ADDRESS>

@ubicore please provide some content in the commit message (I think the compliance check will fail without it, and in general it's good practice to be more verbose in commit messages, explaining what was wrong, etc). Also, if you have more of this kind of fixes, no need to submit individual PRs for each one but you can bundle multiple patches into a single PR.

@ubicore please provide some content in the commit message (I think the compliance check will fail without it, and in general it's good practice to be more verbose in commit messages, explaining what was wrong, etc). Also, if you have more of this kind of fixes, no need to submit individual PRs for each one but you can bundle multiple patches into a single PR.


Empty hand displays selection "preview"

It doesn't happen when you have some item in your hand, only when it's empty.

Found the cause: By default, it seems like global_angel_block == null, which is the same as an empty hand, therefore the condition is true.


Grafana ( and prometheus )

I have some issue with calculation query with wmi\node exporters from Prometheus to grafana. I have a multi graph with wmi, and now I have more new Linux instances. How can I add the ” label_values (node_boot_time, name)” with the wmi together?

Hello @roiromanoclick
General prometheus usage questions belong elsewhere, see https://prometheus.io/community/


Extension issue

Issue Type: Bug
Extension Name: vsliveshare
Extension Version: 1.0.1783
OS Version: Windows_NT x64 6.1.7601
VSCode version: 1.44.0-insider

:warning: We have written the needed data into your clipboard. Please paste! :warning:

My vscode cannot start, nor can I close the live share audio plug-in, which is always shown as "Disconnecting audio..." in the status bar below.

Thanks for reporting this issue!
Can you please share your Live Share logs. This will help us investigate. You can get the logs by running Live Share: Export Logs command.

Closing due to age. Please feel free to reactivate with more details so we can repro the problem!


Overeager autocomplete: in keyword

let x = 2 in

Press return, in gets autocorrected to ionide-run and then expanded.
Expected behaviour: hitting return should result in a newline.

This is connected with #141. It will be resolved when we provide keywords in completion list.


Add performance metrics to tasks and node

Fixes #215
This PR exposes two metrics to the user about throughput and execution time:

The throughput in batches or points per second per taks is calculated depending on task type
The average execution time per node is calculated.

These values are exposed via the Kapacitor show command and in the internal statistics Kapacitor emits. As a result it is possible to graph throughput and execution times or other stats a node exposes.

Hi @nathanielc ,
I am just wondering why put the metrics values and key concatenated in the label attribute and don't create new attribute for each metric?
For example:
Instead of:
digraph testTaskName {
graph [label="Throughput: 0.00 points/s"];
stream0 [label="stream0 0"];
stream0 -> stream1 [label="0"];
stream1 [label="stream1 0"];
}

Do something like this:
digraph testTaskName {
graph [throughput="0.00"];
stream0 [processed="0"];
stream0 -> stream1 [processed="0"];
stream1 [processed="0"];
}

The throughput will be a well known format - "points per second"
I have omitted the "stream0" / "stream1" since I don't know what they mean.

This way the DOT graph will be much easier to parse and show in a UI for example and it's valid syntax (DOT Attributes)

Both locally and via g.gravizo.com those attributes are ignored. They need to be label attributes. I am open to suggestions to make it better but it needs to remain valid/useful DOT syntax.
![Alt text](http://g.gravizo.com/g?
digraph testTaskName {
graph [label="Throughput: 0.00 points/s"];
stream0 [label="stream0 0"];
stream0 -> stream1 [label="0"];
stream1 [label="stream1 0"];
}
)
vs
![Alt text](http://g.gravizo.com/g?
digraph testTaskName {
graph [throughput="0.00"];
stream0 [processed="0"];
stream0 -> stream1 [processed="0"];
stream1 [processed="0"];
}
)

You want it to be valid for view and for parsing, so let's merge our solutions: both label and attributes.

@yosiat I think you are right, but the labels will clutter it up too much. I think by default I will do it your way as that is more human readable which is the common use case. And then a flag can be specified to use labels instead so it renders correctly. Thoughts?
I don't like the complexity of something that should be so simple :(
Maybe there is another graph language that is easier to read and still renders well? I'll take a look around.

Looking through all of these https://gephi.org/users/supported-graph-formats/ I still like DOT the best as it reads well. For now I guess we can add the flag and revisit later if it becomes cumbersome to set the flag when its needed.

@nathanielc  I agree with this option of flags.
About graph formats - if you don't need the "renderabillity" you can use your own json format.