uniform clang-format version

format.yaml and pre-commit-config.yaml use different version of clang-format (12 and 14)
set clang-format into format.yaml to version 14

Addressed via 971fe1313a15e20628051afdfdb631f3bbb96642.


feat: update standalone to 1.86.0

Please expose the --log-dir and --log-level options to the native API.

Not sure what's going on with appveyor and the checksum.


[Compile Cache] Dont pass None args to Compile Cache

@Chillee What do you think here?
Basically, we send only the non-None args to the cache. Our cache supports scenario where same function can have different number of arguments. So, it recompiles when it all args are Tensor the next time.

What happens if the user has something like
f(None, a)
f(a, None)

?
More generally, I think this logic is starting to make unclear what invariants we're expecting at each layer. It's probably worth documenting those.

What happens if the user has something like
f(None, a)
f(a, None)

?
More generally, I'm worried this logic is starting to make unclear what invariants we're expecting at each layer. It's probably worth documenting those (perhaps with type hints).

You are right. Your example would cause failure here.

I am trying to train the HuggingFace model using AOTAutograd. So I am interested in this issue. What if I pass fn(input_ids, None, attention_mask) to a function like fn(input_ids, layer_past, attention_mask) ?

I am trying to train the HuggingFace model using AOTAutograd. So I am interested in this issue. What if I pass (input_ids, None, attention_mask) or (input_ids, layer_past, None) to a function like fn(input_ids, layer_past, attention_mask) ? Doesn't AOTAutograd also allow non tensor inputs like torch.jit.trace?

Thanks Kevin. Yes, your scenario also falls in the same category that this PR is trying to solve.
Yes, currently there is a bug that we can't handle None args. I will work on it to get it resolved. If you have a small unit test case, I will be happy to add it to our harness.

@Chillee This is ready. CI failures are unrelated.

Could you measure the overhead and post it before you land?

Oh yes, I measured that.
For a function with 3 args, cache lookup latency is as follows
This PR : 1.33 us
Main branch : 1.29 us
I didn't see any noticeable change in latency.

@hyunwoongko You can try your test case with this PR.

It's great! Thank you so much


Disable broken one-click-diff-options on GitHub Enterprise

For #5820

The feature actively breaks GitHub’s UI on Enterprise, so I had to disable it there. An actual bugfix would be ideal.
@ELLIOTTCABLE @nicolasff @busches

What version is it broken on? It was working on Friday for the latest GHE.

See https://github.com/refined-github/refined-github/issues/5820#issuecomment-1201897111
It felt like too much of a breaking to leave it unfixed. It can be restored on GHE when it's past our support window, or when the selector is updated by someone on GHE.

I'm on 3.6 series and it's working fine there. 3.3 series is likely supported through December, unsure of when they changed the markdown to the new layout.


Linux : NativeULong as System.UInt32 causes error while accessing CK_GCM_PARAMS structure from PKCS11 standards

One occurrence of NativeULong as System.UInt32 can be found at https://github.com/Pkcs11Interop/Pkcs11Interop/blob/5.1.0/src/Pkcs11Interop/HighLevelAPI40/MechanismParams/CkGcmParams.cs
due to which it always returns 4 bytes whereas in Linux the size of the long is 8 bytes.
And hence all the members of the CK_GCM_PARAMS structure from PKCS11 are getting filled with garbage values.
PKCS11 structure
typedef struct CK_GCM_PARAMS {
CK_BYTE_PTR       pIv;
CK_ULONG          ulIvLen;
CK_ULONG          ulIvBits;
CK_BYTE_PTR       pAAD;
CK_ULONG          ulAADLen;
CK_ULONG          ulTagBits;
} CK_GCM_PARAMS;
Pkcs11Interop structure
public struct CK_GCM_PARAMS
{
public IntPtr Iv;
public NativeULong IvLen;
public NativeULong IvBits; // TODO - Fix description when fixed in PKCS#11 specification
public IntPtr AAD;
public NativeULong AADLen;
public NativeULong TagBits;
}
Console.WriteLine("sizeof(UInt32): {0}", sizeof(UInt32));
Console.WriteLine("sizeof(long): {0}", sizeof(long));
====OUTPUT===========
sizeof(UInt32): 4
sizeof(long): 8

Please read this 👉🏻 https://github.com/Pkcs11Interop/Pkcs11Interop/blob/master/doc/ARCHITECTURE.md

Thanks,
We fixed it in our samples.


The project has no README

There should be a README describing:

what the crate is for
the current state of the crate
how to install and use the crate
how to contribute

Resolved in d3c6cf73d431282714eb28d4212955837dcdca2e.


Drone build page display empty build log on IE 11

Thank you for taking the time to use Drone and file an issue or feature request. Before filing an issue please ensure the following boxes are checked, if applicable:

[ y] I have searched for existing issues
[ n] I have discussed the issue with the community at https://gitter.im/drone/drone
[ n] I have provided a sample .drone.yml file to help the team reproduce
[ n] I have provided details from the build logs
[ n] I have provided details from the server logs by running docker logs drone
[ y] I am not using the issue tracker to ask why my build failed

Hi, this is reported by @mkae in https://github.com/TeaCI/tea-ci/issues/9
I've reproduce the same problem with upstream Drone 0.4.2.
On Windows 10 + Internet Explorer 11, drone build pages always show empty log, while other browser like Firefox/Chrome works fine.
Here is a screenshot:

Here is an exception show in debug console:

Could someone have a look if it is a browser bug or Drone UI bug?
Thank you!

0.4.2 is frozen with 0.5 now in master. We are working on a new set of designs for 0.5 and this issue is unlikely to get fixed / backported.


Added my name is contributors.html

To be on the contribution list you actually have to contribute with something :)
Closing this but you can make a new pull request when you contributed.


Session handler and samesite cookies.

Hello,
Appreciate your hard work on this library.
Do you have any suggestion on how this can be used with Samesite cookies set as Strict?
I found that in our Session implementation with Laravel, when cookies are stored as LAX it will Authorize fine, however when Samesite Cookies are set as Strict, I get an Unauthorized response back.  I assume because of the offsite transfer the session is lost.
Is there any other suggestion on how to still use this Library with Samesite cookies set as strict or an alternative way of handling this from within the session handler?
Again, your work and time on this is greatly appreciated, hoping some simple way around this.

I don't seem to have a problem on my sites, but not using Laravel.  This is how I set cookies:
	public function set(string $name, string $value = '', bool $permanent = false) : static
		{
		$permanent ? \time() + 32_000_000 : 0; // expires in about a year if permanent
		$options = [
			'expires' => $permanent ? \time() + 32_000_000 : 0, // expires in about a year if permanent
			'path' => '/',
			'domain' => $_SERVER['SERVER_NAME'],
			'secure' => true,
			'httponly' => true,
			'samesite' => 'Strict',
		];
		\setcookie($this->prefix . $name, $value, $options);

		return $this;
		}

You might want to check the Constant Contact API docs to see what they say about cookies. Let me know what you figure out.

I would suspect a Laravel issue. I do the initial authorization in the
normal UI, but the real work is done as a cron job.
On Sun, Feb 5, 2023, 4:31 PM pixelone @.***> wrote:

I think the problem presents itself on the initial redirect to
authenticate and get the first access_token and redirect_token.
For example: Once the user is redirected to constant contact (the first
time) to login and validate, (header('location: ' .
$client->getAuthorizationURL());), the session is then lost on the return
back to the redirect_url.
Once redirected back from Constant Contact we can typically grab the
access_token and refresh_token and save them, however by having cookies
with samesite set as strict the below values are empty.
$client->acquireAccessToken($_GET);
echo $client->accessToken;
echo $client->refreshToken;
Setting the cookie to LAX corrects the problem, but really need to keep
them as strict.
I will see what I can find, appreciate the help.
—
Reply to this email directly, view it on GitHub
https://github.com/phpfui/ConstantContact/issues/14#issuecomment-1418270438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYW6S37N6OEPYYH7MBBJELWWAL4RANCNFSM6AAAAAAUR5ENKA
.
You are receiving this because you commented.Message ID:
@.***>


[SPARK-45481][SQL] Introduce a mapper for parquet compression codecs

What changes were proposed in this pull request?
Currently, Spark supported all the parquet compression codecs, but the parquet supported compression codecs and spark supported are not completely one-on-one due to Spark introduce a fake compression codecs none.
On the other hand, there are a lot of magic strings copy from parquet compression codecs. This issue lead to developers need to manually maintain its consistency. It is easy to make mistakes and reduce development efficiency.
The CompressionCodecName, refer: https://github.com/apache/parquet-mr/blob/master/parquet-common/src/main/java/org/apache/parquet/hadoop/metadata/CompressionCodecName.java
Why are the changes needed?
Let developers easy to use parquet compression codecs.
Does this PR introduce any user-facing change?
'No'.
Introduce a new class.
How was this patch tested?
Exists test cases.
Was this patch authored or co-authored using generative AI tooling?
'No'.

Can we retrigger tests?

ping @dongjoon-hyun @srowen @wangyum

The GA failure is unrelated.

cc @dongjoon-hyun

cc @viirya

The GA failure is unrelated.
Merged to master
@srowen @LuciferYang Thank you!


data function is executed before machine enters final state.

Description
data function is executed before machine enters final state.
Expected Result
data function should be executed after machine enters final state.
Reproduction
https://codesandbox.io/s/vibrant-chandrasekhar-v8q61
Additional context
Maybe this behavior is expected. I'm trying to validate output data here. But it is impossible if this function is executed earlier.
Thanks

Is there any other way to send such data? Right now I have to fill whole context object to avoid errors while reading nested objects.
Thanks

Please be patient, you have opened your issue yesterday - we all have lives and are doing this in our free time, getting an answer might take a couple of days (and that's normal).
I'll look into this in the following days to see what's going on.

@Andarist Sorry if my comment sound this way. I was just wondering if there is any quick workaround that you are aware of. It was not my intention to rush anyone.
Thank you for your help and have a nice day :)

@RafalFilipek No workaround yet; you can set a small delay to go to the final state, although that might not be the ideal solution.

I am having exactly the same issue, and it's quite blocking :-( I tried to use master to see if that fixes it, but I am still seeing that it's executed before the machine enters final state?


Build is not working on Sharehoster (localhost no problems)

Hallo Guys,
i set my minting dapp all up and run it with "npm run start" everything works just perfect.
On my Localhost:3000 I can connect with Metamask and Walletconnect on Desktop or Mobile. No problems at all.
When I run "npm run build" and put my build on a sharehoster to get public access to my minting dapp WalletConnect wont work.
The WalletConnect Pop up works fine and it gives my a QR-Code (like on Localhost) but after that I cant connect my Wallet with that QR-Code. It takes a few Seconds and i get "connecting failed" in my wallet.
Is there a problem with "npm run build"? Or do I need do make same changes on my sharehoster? Any Ideas? I cant find the Issue because on Localhost there is no Issue :(

me too

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


request:  The lifetime of deployments is not clear to me

Is there an existing feature request for this?

[X] I have searched the existing issues.

Description
As a developer, when I deploy a version of my backend it is not clear to me what the lifetime of that deployment is, and whether I can delete the old deployments from having to show up in my console.
Reasoning
I think it would make sense to have only a handful of environments that are active at any point in time. And I cannot see a way to understand (from the console or from docs) on what the lifetime of my deployments are. Will the links created by Globe continue to be alive at all times?
Additional context and comments
No response

All deployments exist forever. Each deployment has its own uniquely generated URL, which you could use to test against for example or verify changes are working before pushing to production.
Deployments marked as production still have a unique URL, but also get assigned the project domain(s) when successfully deployed.
Its possible for us to prevent deployments from being accessible after a certain time frame, but this isn't implemented.

I believe that from a DevOps and security perspective, it would make sense that a developer can turn off access to and completely delete previous deployments. What happens if I have a vulnerability for example that was previously deployed that I want to delete? Would you also charging in the future for these environments existing (Especially if I have data or other things as part of my deployment)?

Makes sense, we can quite easily delete those deployments - just not possible at the moment (will make a feature request).
Could you clarify on what you mean by "data" in the deployment here:

Especially if I have data or other things as part of my deployment

There will be no change keeping old deployments around on our side, it's part of the architecture decision we made and built.

I am interested in the "easily delete those deployments" feature as well.  Is there an option to delete a project entirely (not just a deployment)?

Thanks for the feedback, once we complete the road map it'll give more insight into what we're working on.
Yeah project and account will be implemented - deleting a project is partly done but needs more tests on our side.

Project Deletion has been implemented.
Our Releases and Roadmaps can be found here: https://docs.globe.dev/releases/roadmap


⚠ Bofrost.es has degraded performance

In 55f4184, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1390 ms

Resolved: Bofrost.es performance has improved in 318fd82 after 7 minutes.


Updates to Build System

These are a first set up updates to libkatherine which allow building with a modern compiler and C++17. Changes:

Some CMake issues solved with the installation of headers
Some tidying of methods suggested by clang-tidy
Update of the target C++ version

(cc) @schuetzepaul

Hello, thanks for the PR!
I can see that these changes correct some of my early mistakes and make libkatherine generally more usable on modern systems. The bump from C++14 to 17 is long overdue at this point. With all that said, I am pleased to approve this without any additional requests.
Cheers, P.


again

Unresolvable dependency resolving [Parameter #1 [  $namespace ]] in class PragmaRX\Support\Config

Could you give some more info about this error?


Adapt Network extension API

What this PR does / why we need it:
Adapt the network extension API to be cloud provider agnostic, also rename clusterCIDR to podCIDR.

Cherry-picked to gardener-extensions-fixes branch with dce146ef6efb76bd89b07ba002bacd38b2876820.


Is this project supported?

Hello,
I have multiple issues on both Android and iPhone.
On android, the library returns same image thumbnail for all returned media.
On iOS, returned thumbnail is always empty string.

Hello, it's quite an old project, not supported any more. It worked 2 years ago, I don't know nowadays how it looks on modern device / OS as it changes a lot in a few months ;-(
Feel free to fork it if you want, or look at the other forks, maybe there is a more recent code source.

Try this one : https://github.com/SuryaL/cordova-gallery-api it look quite recent.

Cool. Thanks.
I started to implement my own library, but I will take a look at that one.
Mine is here (work-in-progress): https://github.com/terikon/cordova-plugin-photo-library
I want it to work on iOS, and be memory-friendly and fast, so I took approach of getting a Blob object from the plugin, instead of managing files or returning data url. Looks like it works.

I don't believe @SuryaL's fork is really stable. In the current state, the code does not seems to fill the data of images.

Sorry, I'll have to correct myself. @SuryaL's fork is working perfectly, but you need to call getMediaThumbnail and getHQImageData to actually get the image data.

Hi,
I'm using @SuryaL's folk but facing the following error.
index.js:7 Uncaught ReferenceError: galleryAPI is not defined(…)(anonymous function) @ index.js:7Channel.fire @ cordova.js:777(anonymous function) @ cordova.js:231
Here are my step :

cordova create hello com.example.hello HelloWorld
cd hello
cordova platform add android --save
cordova requirements
cordova plugin add https://github.com/subitolabs/cordova-gallery-api.git

use config.xml and www under demo folder to run.
Anyone can help?
Thank you very much.


YOLO 3D paper?

Hi,
I've been playing around with the object detection models, and I am struggling to figure out exactly what everything does in the 3D YOLO model. I haven't been able to find a paper describing the architecture, is there one? It would be very helpful.
Thank you,
Josh

YOLO 3d is a custom model.
It's best to wait for official confirmation!


Swagger UI link

I am not able to access the swagger UI..................
what is url for swagger UI???

Hi,
Please try

Hoping this will help you.


Total energy usage for today only

I may be missing something obvious, but is it possible to get the energy used today only?
I can get the current energy usage, and the total energy usage. But the total seems to be for all time (I'm currently showing 8kwh total where my actual usave is about 2.5kwh for today.
Is there a way to get it to reset this total value at midnight?

Hi,
Thanks for adding the new-feature flag.
If you're adding this as something new, it might be handy to be able to state when the count resets. Like midnight, or 4am etc...

I never added the day entity because the total kWh entity for the energy dashboard is enough, but can still add it eventually. The reset happens by default at midnight, I don't know if we can change that much 🤔

Is there a way for us to manually reset the value? An API call or something?
It's an excellent product. So easy to get running :)

Maybe we can make an extra reset service for the day entity 😄

I'm trying some things out with the new options in 2021.12


Use VexRiscv, Accelerator Proposal

NOTE: this is a draft PR since the VexRiscV commit does not exist in the upstream repository
Change RiscV CPU from PicoRV32 to VexRiscv

obtained 2.77 speedup in FPGA profile

Accelerator Proposal

Proposal to accelerate SHA256 application using Versat
check document/acceleration_plan/acceleration_plan.pdf

I don't know what to do with a draft PR ...

IObundle/iob-vexriscv#5 accepted, this PR can be merged.

this is barely related to accelerator proposal -- merging without reviewing, will look for proposal after


NetBSD package now available

Hi,
I've just packaged fitme for NetBSD and merged the package into our main branch.
Merge log for your reference, http://mail-index.netbsd.org/pkgsrc-changes/2023/10/02/msg283142.html
The package will be available for users of the current branch straight away. While users of the stable branch will get access to it by the end of December, as we cut the stable branches every quarter.
To install it on NetBSD users will simply need to run pkgin install fitme.
Regards

Thanks!

👍


Better default values in the README.md file

This improves the option documentation for #672 and adds the default
information gleaned from the getOptions functions and their defaults
from the prior README.md

Tagging the original requestor: @sindresorhus
@am11, saw this in the bug queue, thought it might be a nice thing to revise before the 3.0 release.

Wow, I was just thinking about that while making other refinements in README. :smiley:
Thank you @Jakobo! :)

:tada: happy to help :)


[MM-3996] Improved (add/join/leave/remove from channel/team) system messages

Summary
The redux PR will:

combine all system messages of type "add/join/leave/remove from channel/team".
Such system messages will be marked as deleted at redux store with "delete_at: 1, "state": "DELETE".
Those consecutive system messages will combine into a single post with following new/modified fields:

"message": "",
"type": "system_combined_user_activity",
"user_activity_posts": [post1, post2],
"system_post_ids": ["post_id_1", "post_id_2"],

This webapp PR will ignore those deleted system messages, and will render the single combined post, considering the following fields:

system_post_ids is used for deleting system post. Will just loop through all of these system IDs when deleting a system post. If still necessary, P2 will have multiple post delete (will require server API and redux change)
user_activity_posts is used for rendering on client side.

Note: There will be a related PR to be submitted for mobile RN.
@esethna  The mattermost-redux of this PR points to unmerge 07dbb428eb9e43e563ae3aae4c9730bc12a28f44. Therefore, PM review should be possible.

known isssue: not yet implemented highlighting of action (e.g. added to the channel). I'll try to see how to better implement it.

Ticket Link
Jira ticket: MM-3996
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has redux changes (https://github.com/mattermost/mattermost-redux/pull/456)
[x] Has UI changes
[x] Includes text changes and localization file (.../i18n/en.json) updates

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-08d0b1416f3585cb8.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-08d0b1416f3585cb8

Thanks Saturn! Few comments:

"You" should always be the first person in each list

user-1 and You left the channel. > You and user-1 left the channel.

There seems to be issues when User A adds some users, then User B tries to add users. The message about User B adding users does not get added to the system message. There are many other cases where I am having trouble getting the system message to update after an action was taken. Can you please play around with it with two accounts open - doing actions on both (one in incognito mode)?

We should keep the order of the message types consistent. Right now it jumps around based on which was the last action taken. Let's use the order:
a- Joined the channel
b - Added to the channel by
c - Removed from the channel
d - left the channel

Spinmint test server destroyed

@esethna Could you please give this a review? Issues found above should be good now except for item 3.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0f5ae46c286013431.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0f5ae46c286013431

Nice Saturn, getting there, still a few issues:

If the name already exists in the list it should not be added again. For example you add User X, remove them, and add them again. There should only be one added and one removed entry for User X

Item 3 from above ^. We should keep the order of the message types consistent. Right now it jumps around based on which was the last action taken. The order should be consistent and not dependednt on which actions were taken last. Proposed order:
a- Joined the channel
b - Added to the channel by
c - Removed from the channel
d - left the channel

Can we fix these two items ^ and then we'll bring in @lindalumitchell for a full pass review

@esethna Looking at your example and proposed priority, the observer seeing that combined message will assume that User X is added then finally removed. There's no way for the observer to assume that the last action is actually added. This is a good example of an edge case where the order of events matter. Not sure if we need to fix it now, but surely I'll update this PR based on your expected behavior.

@esethna @lindalumitchell
Issues above are now fixed and this is now ready for your full pass review. Please let me know issues you'll find. Thanks!

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-08c7fc732f278a2ed.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-08c7fc732f278a2ed

@saturninoabril @esethna This looks very cool! A few questions:

Ticket shows e.g. @lindsay added @asaad to the channel
a. But @ is not included in the system messages. Intentional? (Mention is still triggered, even if I de-select triggering mentions on my username, which seems desirable.)
b. Order of the terms is switched, e.g. asaad added to channel by lindsay. Is that intentional, because it's easier to handle multiple added users that way?

Per Saturn's point earlier, keeping the action types in a particular fixed order (rather than chronological) can result in a confusing visual. Add a user, remove, then add again: visually the last action in the list appears to be that he was removed, even though he's in the channel once again.

Grammar: Comparing added and removed messages for both channel and team, The is missing from added-to messages, and was/were are also missing, so could update like this:

You added to channel by sysadmin. > You were added to the channel by sysadmin.
louise.mccoy added to channel by sysadmin. > louise.mccoy was added to the channel by sysadmin.
Brandon Ford and 3 others added to channel by you. > Brandon Ford and 3 others were added to the channel by you.
You and 6 others added to team by sysadmin. > You and 6 others were added to the team by sysadmin.
kenneth.simmons added to the team by you. > kenneth.simmons was added to the team by you.

Sometimes, when either 1) I'm newly added to a channel and viewing it for the first time, OR 2) I've just changed teammate name display in Account Settings and then refresh a channel, system message can display with the first name in a sentence missing (before and 6 others):

If user1 adds people to a channel, then user2 in another browser goes to channel drop-down > Add Users, the added people still appear to be available to add. User2 can go through the motions of selecting and adding those same people to the channel. Updates to correct available users on refresh.

The other elements of the feature mentioned in the description all look good to me so far! I'm keeping more detailed testing notes including what has passed here: https://docs.google.com/document/d/1V23lNtv401sTqwQ7KL4qqEt2ceAbjLhwhV2_5fm8pjY/edit#bookmark=id.xekdxtvytj5b

Thanks for the feedback and testing LM! @saturninoabril regarding,

Yes let's fix
Let's leave as is for now and we can consider for P2 if we get feedback, but it's a good point.
Agree, let's update to LM's proposals
Please fix
@lindalumitchell can we test if this happens on a ci server and file a bug ticket if so? Agree with SA that this sounds like a separate issue and would be outside the scope of this PR.

Thanks! Yes, you're right; 5) is current behavior. Filed https://mattermost.atlassian.net/browse/MM-10337 to fix.

This PR is now updated. The failing build is due to reference error on mattermost-redux. Will update mattermost-redux commit once corresponding PR on that is merged.

Thanks Saturn! Please help update and prep for testing after the redux PR goes in. I moved to next release given we are past the deadline and this is a big change

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-06c9b7faf0df526db.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-06c9b7faf0df526db

Awesome, this is looking really good. @lindalumitchell let's please queue this for one more round of testing before we merge?

Thanks!
Can't see more info but it looks like the delete_at is related to users where this change has nothing to do with it (except for post). It's something to watch out for sure.

I've also completed reviewing the functionality in this changes. Nothing to add beyond what Lindy mentioned.

Spinmint test server destroyed


Update db.js

Better use of prepared statements. Next step - put it into a transaction ;)

Amazing thank you so much. I was looking for how to do this!!

Awesome thank you so much!! Cleaned it up quite a bit!!


support for python 3.10

add support for python 3.10 ?

Is there a plan to get python 3.10 support?

Is there a plan to get python 3.10 support?


[ARTEMIS-2873] Ensure configuation managed queues are not auto delete…

…d these should only be removed if removed in configuration.
Auto Delete Queues and Auto Delete Created Queues should only apply to NON configuration managed queues.

I was going to merge this, but the test succeeds even without the fix.

@jbertram good catch, i missed a local change, i forgot to commit, queueConfigurationManaged was under wrong address, so didnt pick up the address settings. Should be failing without the change and passing with.


Apply stamps initial dialog

We would like you to implement a dialog with a warning only the first time when we transition to the stamps screen
Figma link

🙋♂

Thanks! Assigned!

@chankiri91
https://github.com/DroidKaigi/conference-app-2023/pull/513
We've implemented the screen transition to 'Stamps' in this PR. We would appreciate it if you could merge it into the main branch at your earliest convenience. 🙏

@chankiri91 I hope all is going well. Would you have some time to update me on how this issue is progressing?

@chankiri91 @takahirom
If it seems difficult to complete the task, I would like to receive this task myself.🙋

@Corvus400 If @chankiri91 gives up or doesn't answer today, could you do it? 🙏

@takahirom
Of course you can trust me!💪

@takahirom @Corvus400
Thank you for your concern but I would like to try this.
To warn only the first time when we transition to the stamps screen, I create dataStore DAO and save a frag to dataStore.
If there are better solutions, could you teach me?🙇♂

@chankiri91 @takahirom
I was just about to implement it myself as shown in the screenshot.
I noticed after doing it myself that this task is not so easy.😅

In the meantime, I have completed the implementation on my end.
However, since you said that you will do it on your own, I will refrain from issuing a PR containing my work once I have done it.🫡

@Corvus400
Thank you so much. I will use that as a reference!🙇♂

@chankiri91
Sorry, have you made any progress on this task since then...? :eyes:
If it seems difficult, I am already in a position to submit a PR on my end, so I am thinking of submitting a PR...? :bow:

@Corvus400
I haven't made significant progress on the task as of now. I would appreciate it if you could submit PR.🙇♂

@chankiri91
Understood!🫡
@takahirom
Could you please change the assignment to yourself?

@Corvus400 We've received a lot of help! Thank you!


start jane as daemon

let jane be a daemon

There is no need to make it a daemon by itself. Its getting more modern to run stuff in foreground and let the process manager handle running it in the background (systemd, upstart, supervisord, docker). So don't worry.


Code actions for isolated constructs

Description:
Few suggestions for potential code actions for isolated constructs,

A non-final isolated variable can only be accessed within a lock statement.

isolated int i = 1;

function increment() {
    i += 1;
}

This fails with invalid access of an 'isolated' variable outside a 'lock' statement, and can be fixed using a lock statement. Can we provide a code action to do the same?
isolated int i = 1;

function increment() {
    lock {
        i += 1;
    }
}

This is also the case for accessing self in an isolated class.
isolated class Foo {
    private int i = 1;

    function increment() {
        self.i += 1; // error: invalid access of a mutable field of an 'isolated' object outside a 'lock' statement
    }
}

A field in an isolated class that is not final and/or does not have a type that is a subtype of readonly needs to be private.

isolated class Foo {
    int i = 1; // invalid non-private mutable field in an 'isolated' object
}

can be fixed by making it a private field.
isolated class Foo {
    private int i = 1;
}

An isolated function can access variables defined outside the function only if it is either an isolated variable or if it is a variable that is both final and has a subtype of readonly.

Can we provide a code action for at least marking a variable as an isolated variable?
int[] arr = [];

isolated function length() returns int {
    return arr.length();
}

Can be fixed either by doing
isolated int[] arr = [];

isolated function length() returns int {
    lock {
        return arr.length();
    }
}

or
final int[] & readonly arr = [];

isolated function length() returns int {
    return arr.length();
}

Affected Versions:
slalpha2

The progress of supporting code actions for isolated constructs is tracked with the following issues:

[ ] https://github.com/ballerina-platform/ballerina-lang/issues/31630
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/42314
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/34431
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/42324
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/42331
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/42333
[ ] https://github.com/ballerina-platform/ballerina-lang/issues/42335

Closing this issue as all the code actions are added to U10.


feat(kslideout): add persistence prop [MA-1928]

Summary
https://konghq.atlassian.net/browse/MA-1928
PR Checklist

[ ] Conventional Commits all commits follow the conventional commit standards outlined in the main README.
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs, debugger), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

@kaiarrowood fixed the spec! It actually performs a legitimate check now :)


Problems in JSON-LD download

I downloaded the schema.org Person mapping from https://tool.desmsolutions.org/mappings and found objects with null for the @id all over the place, e.g.
            "desm:mappingPredicate": {
                "@id": null
            },

That's causing me problems with other RDF tools that like their triples to have three things in them.
Can you check (1) why are there so many things with null values, (2) whether it is possible to omit the property when it has no value?

@philbarker The fix is deployed to both production and staging.

Now what I see (in this case in a download of Phil Barker - Schema.org - Organization (Schema Organization))   is
            {
                "@id": "http://desmsolutions.org/TermMapping/235",
                "@type": "desm:TermMapping",
                "dcterms:isPartOf": {
                    "@id": "http://desmsolutions.org/TermMapping/9"
                },
                "desm:mappedterm": [],
                "desm:mappingPredicate": {
                    "@id": "https://tool.desmsolutions.org/resources/predicates/Identical"
                },
                "desm:spineTerm": {
                    "@id": "https://tool.desmsolutions.org/resources/terms/founder"
                }
            },

Note: no mapped term.
The structure is also odd: the graph is broken down in to arrays of four desm:TermMapping for no apparent reason.
I also wonder why some of the  URI prefixes are desm, i.e. in
        "ceds": "http://desmsolutions.org/ns/ceds/",
        "credReg": "http://desmsolutions.org/ns/credReg/",
        "dct": "http://purl.org/dc/terms/",
        "dcterms": "http://purl.org/dc/terms/",
        "desm": "http://desmsolutions.org/ns/",
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
        "sdo": "http://schema.org/",
        "xsd": "http://www.w3.org/2001/XMLSchema#"

Why are ceds and credReg namespaces under http://desmsolutions.org?
I'll rename this issue to reflect general problems with mapping download and close #413

The CEDS namespace comes from this document, I believe:
https://docs.google.com/document/d/1tmiCsCvie350l55JTE4w4K3sYdIAk84xXBQnyGyG_QA/edit#heading=h.34u7quuurqe8
Not sure about the CredReg one, though. Please let me know what the correct value is.
Could you kindly share an example of a desired structure for a mapping download? In the meantime, I removed alignments with no mapped terms from export.

I guess we should be asking mappers / SDOs what to use for their namespace identifiers.
Will get back to you with example data, but the schema is here desmSchema.ttl and looks like this

Note: currently the mapping exports with
{
            "@id": "http://desmsolutions.org/TermMapping/16",
            "@type": "desm:AbstractClassMapping",
            "dcterms:created": "2022-11-23",
            "dcterms:dateModified": "2023-01-19",
            "dcterms:title": "Jim Goodell - CEDS - Organization",
            "dcterms:description": "",
            "desm:abstractClassMapped": {
                "@id": "https://tool.desmsolutions.org/resources/abstract-classes/Organization"
            },
            "dcterms:hasPart": [
                {
                    "@id": "https://tool.desmsolutions.org/resources/terms/address"
                },

But https://tool.desmsolutions.org/resources/terms/address is not a term mapping, it is a spineTerm

I tidied up the schema diagram:

@excelsior there is a gist here: https://gist.github.com/philbarker/759ccd36d0854995db247ab10092fe5d
It is only partial, it only covers the top four of left hand entities in the diagram above, but I hope it is enough for us both to go on for now. Those are the core of the mapping, the rest is context.
Apologies in advance for any errors, I've checked what I can but cannot be sure it is perfect.
It starts with the MappingConfiguration entity. When exporting a Config file this will be mandatory, as would all the other information that exists (bearing in mind that a Mapping Config might not have any mappings in it). For an AbstractClassMapping, you could skip over the MappingConfiguration entity, but I see no harm in including it.
Note that when you get to the end, the rdf:Property typed objects, if the original schema is RDF then use rdfs:subpropertyOf to point to the original URI, if the original schema is JSON-Schema or XSD, use whatever you can to identify the namespace and an XPath/JsonPath to identify the element. Properties in the spine don't have either.
I've added a fuller context block, I'm not sure if a full context file exists. Tell me if you know of one.
We're going to have to think more in the future about URIs. In the URIs I have used such as https://tool.desmsolutions.org/example01/terms/03 where /example01/ represents the mapping project. Putting everything into /resources/ for all projects risks some nasty collisions between different mapping projects on the same instance.
I see some of the URIs resolve, e.g. https://tool.desmsolutions.org/resources/abstract-classes/Organization but not to full JSON-LD, and there are issues with what is there (in that case there is a "triple" with a null object, and I don't know where the idea of giving an abstract class a sourceURI came from. It's safest to include all the data in the download, I expect DESM instances will come an go, and we want the actual mapping files to be more persistent (this is one reason for including the Mapping Config in the term mapping download).
There's more to do than I (and probably you) can manage during this pilot, but hopefully we can get something usable out and identify required enhancements for the future.

Thanks for the gist, @philbarker, I made the proposed changes. Only alignments with the No Match predicate have null as their mapped term now.
I use mappings' names and internal IDs in the URIs of exported entities to ensure their uniqueness. None of those can be resolved, though. Which ones of those should be resolved and what exactly should be returned?
Also, does the desm:hasDSO property in the config node have a correct value?

Thanks @excelsior we are getting there, I can now load that file into some of the tools I use for RDF. But there are a couple of problems:

I should have put  "@type": "http://www.w3.org/2001/XMLSchema#date" in the context for  dct:created and dct:dateModified (not dateTime as the time of creation/modification isn't in the data)
Good idea to use the mapping name in the URI for the things that are unique to each mapping, but the URI for the things that are shared between mappings need to be the same, otherwise they're not shared. So only what is uploaded or created by each mapper should have URIs unique to that mapping (that would be properties etc from their schema and the ClassMapping and TermMappings they create) everything else should have a URI that is shared between different mappers (especially abstract classes, mapping predicates and spine terms). The abstract classes and mapping predicates were uploaded with identifiers, so best keep them (see pilotAbstractClasses and pilotMappingPredicates).

@excelsior here is some more detailed information on the changes to URI patterns that need to be made.

anything uploaded as a concept scheme during the configuration should keep the URI it had when uploaded, these might be shared across many mapping projects. In the present case we have :
1.1  abstract classes like http://desm.org/concepts/person from pilotAbstractClasses
1.2 mapping predicates like http://desmsolutions.org/concepts/identical from pilotMappingPredicates
[aside: there were lousy choices on my part, but they are what we used, in future cases hopefully people will make better choices. The general rule is use what was provided in the config]
Everything that is shared across the whole mapping project needs to have a URI shared across all mappings in the project. Let's call this mapping project pilot01, so:
2.1 instances of MappingConfig, DSO, Agent, Schema should all have URI stems like https://tool.desmsolutions.org/pilot01/<whatever>, e.g. https://tool.desmsolutions.org/pilot01/mappingConfig
2.2 the spine is shared, let's call it https://tool.desmsolutions.org/pilot01/<class>/spine and the terms in it https://tool.desmsolutions.org/pilot01/person/spine/<nnn> e.g. https://tool.desmsolutions.org/pilot01/person/spine/123
The things created by an individual mapper (ClassMapping, TermMappings) can keep the URI pattern you have now, though it's probably overkill, I think https://tool.desmsolutions.org/pilot01/<Class>/termMapping<nnn> would do and would fit the pattern of the other URIs (I am assuming that the number you currently use after termMapping is unique across all users).

Also:

Those fixes to the context for dates mentioned in the previous post
Another error of mine from the gist: the id of the DSO used with desm:hasDSO needs not to be the id of the mapping, it should be https://tool.desmsolutions.org/pilot01/<whateverDSO> e.g. https://tool.desmsolutions.org/pilot01/CEDS
the value for desm:hasClassMapping should match the @id of the ClassMapping, i.e. http://**tool.**desmsolutions.org/...
The rdf:Property data is missing from the download (last block in the gist), it's needed for every spineTerm and mappedTerm.
The values for "dct:description" in the data I downloaded are just the placeholder text from the gist
For the full config you will need the data about the things I didn't put in the gist (rdfs:Class, DSO, Agent, Schema and ConceptScheme and Concepts)

@philbarker Thanks for the feedback. I made most the changes requested. The latest version is available on prod.
The configuration profile's slug with its internal ID is used as the URI stem instead of the mapping's slug and ID now.
I'm not sure how to call the properties of the missing things in the config (i.e. Agent and Schema, etc.).
Also not sure how should "desm:inSchema" look like (currently, I simply use the value from the gist).

Thanks, will check that later this week.

I'm not sure how to call the properties of the missing things in the config (i.e. Agent and Schema, etc.).
See diagram.

Also not sure how should "desm:inSchema" look like (currently, I simply use the value from the gist).
Do you have an object that describes the schema uploaded by the mapper? (bottom right in the schema diagram) It should be the URI for that object.

@philbarker I fixed all of the issues, please take a look.

Do you have an object that describes the schema uploaded by the mapper? (bottom right in the schema diagram) It should be the URI for that object.

We do, and I added schemas to the export. However, we don't track abstract class and mapping predicate uploads separately, so there are no such objects for them. Hence the exported concept schemes lack the desm:relatedSchema property.

Woot woot woot, it works!
See https://docs.google.com/document/d/1z11oZvgAsUBsJgVnf4-cPlG5ZzwxVZqdRB1u_qzd_N0/edit for a little of what can be done with it.
(Okay there are a couple of niggles that need thinking through about namespace URIs and getting the @context block right, but they can be carried into the next phase.)
@excelsior thank you for your patience as we worked this out.


Support fetching kerberos delegation token

Hi @zuston, thanks for the contribution. It breaks the lint check, could you fix it?

Fixed @ConeyLiu

Thanks @zuston
Hi @kira-lin, do you know why the CI is hanging?

Probably due to ray 1.4.0. I'll look into it. Please merge it and test again at that time. @zuston @ConeyLiu

Maybe, merged this.

Thanks @ConeyLiu


How to chain multiple handlers with augmented context?

Hi there, thank you very much for this awesome FOSS project, it's always been a delight to use it and educate me to what "good design" is :-) The following is a question about how to achieve some pattern in re-frame, not really an issue. If you know about any discussion rooms where I could ask it, please just tell me and close this issue.
I'd like to chain effectful handlers. For example, let's say I want to retrieve n parent commits on GitHub git repository for Linux kernel: I'll issue a request to retrieve the last commit (with the standard http effectful handler). On success I dispatch another event which gets that commit retrieved + number n-1 of commits to be retrieved. Where should I put these data? Aren't they coeffect of the next event? Once I've got all the commits I should issue a final event which takes all these commits as coeffects, right? were should I put these data?
My first attempt was to use interceptors to express we need to gather some coeffects before we update app-db. However, how can I trigger an effectful handler from interceptor? is it ill-designed? It's completely possible I'm wrong and I miss something very trivial about re-frame design.
Thank you in advance for your any kind reply. Once more, if it's not the place to ask such question, please just tell me where to I could seek help from and close this false issue.

Edit: after looking to some other (unrelated) issues I figured out I may better ask it on https://clojurians.slack.com/archives/re-frame/p1485129928004725 so you may close this issue.

Yes, clojurians is the right channel.


Use pvl for hints when enabled (2)

This is the same as https://github.com/keybase/client/pull/4325
@oconnor663 I replied to that one but accidentally closed it by deleting base branch.

:mag_right: The commits af301c7b472d...ca4191eb49ae introduced some visual changes on linux:

Changed: New_Proof_PGP_generating-Generating_PGP (before) (after)


[Feature request] Ctrl + Z

Hello! I'm trying the demo and amazing package! The only thing i'm missing is an historic and a ctrl + Z, in case you did not have it already in mind!
I will try the package and if i end up using it I migth try to build that feature myself if you accept contributors :)
Cheers for the project!

Thank you! That would be a great feature. You are welcome to build it and contribute a PR. If you do decide to, let's discuss on this issue a design for it. For example, which interactions would be undoable? I'm thinking just the move, delete and renaming.


[English] C button doesn't work

Pressing C doesn't go to comments.

Thanks for reporting!  Added to my todos to fix soon.  In the meantime opening task view via i and then pressing c to switch to comments works pretty well

Fixed in version 89!


Building

Hello,
it took me some time to understand how to build this code perhaps it would be nice to add instructions
Building
Asteroid is built using go
  go build ./cmd/asteroid

Hey @keesj
I modified the README to add building explanation
Thank you for your interest !


Migrate smrl-treasury and srml-upgrade-key to the 2018 edition

Part of the #1415 issue.
This pull request migrates only two crates to the 2018 edition, but I have also updated srml-support macros in order to simplify their import. This should fix the #1509 issue.
Additionally, srml-assets, srml-aura, srml-balances and srml-consensus were slightly updated too (better imports).

API hasn't been changed.

Merge conflicts are fixed (rebased).


[Question] How to config only one local model in app-config.json

❓ General Questions
i compiled FlagAlpha/Llama2-Chinese-7b-Chat model,and get
-- Llama2-Chinese-7b-Chat-q4f16_1-android.tar
......and then sh ./prepare_libs.sh get:
-- /mlc-llm/android/library/build/output/tvm4j_core.jar
-- /mlc-llm/android/library/build/output/arm64-v8a/libtvm4j_runtime_packed.so
i never used this two output file, there must be something wrong~~
steps:
1、first，i open ./android project by Android Studio, and run gradle sync success
2、i try to config app-config.json  this way：
this does not work, so how should i do,  absolute path？
{   "model_list": [],   "model_lib_path_for_prepare_libs": {     "llama_q4f16_1": "prebuilt_libs/Llama-2-7b-chat-hf/Llama-2-7b-chat-hf-q4f16_1-android.tar"   } }
thanks so much

Hey @kingrmb, you also need to add the model to model_list property. Something like this:
"model_list": [
    {
      "model_url": "<HF link to model>",
      "model_id": "Llama-2-7b-chat-hf",
      "model_lib": "llama_q4f16_1",
      "estimated_vram_bytes":<PHONE_NUMBER>
    },
"model_lib_path_for_prepare_libs": {
    "llama_q4f16_1": "prebuilt_libs/Llama-2-7b-chat-hf/Llama-2-7b-chat-hf-q4f16_1-android.tar"
    }
}

To download the model weights, either

you can upload the model to HF and use that url for model_url
manually push the model weights to device using adb

Closing this issue due to inactivity. You are welcome to open a new issue for further questions.


Android authentication fails

my build.gradle
plugins {
    id 'com.android.library'
}

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.3"

    defaultConfig {
        minSdkVersion 26
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles 'proguard-rules.pro'

        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    testImplementation 'junit:junit:4.13.2'
    implementation 'com.microsoft.graph:microsoft-graph:5.0.0'
    implementation 'com.google.guava:guava:30.1.1-android'
    implementation 'com.nanohttpd:nanohttpd-webserver:2.2.0'
    implementation group: 'com.azure', name: 'azure-core-http-okhttp', version: '1.7.2'
    implementation 'androidx.appcompat:appcompat:1.4.0-alpha03'
    implementation group: 'javax.xml.stream', name: 'stax-api', version: '1.0-2'
    implementation group: 'stax', name: 'stax', version: '1.2.0'

    implementation ('com.azure:azure-identity:1.3.5')
    {
        exclude group: 'com.azure', module: 'azure-core-http-netty'
    }
}

my code
    public static GraphServiceClient<Request> signInToGraph() {

        try {

            final InteractiveBrowserCredential interactiveBrowserCredential = new InteractiveBrowserCredentialBuilder()
                    .clientId("my client id")
                    .redirectUrl("http://localhost:8765")
                    .build();

            String[] scopes = new String[1];
            scopes[0] = "https://graph.microsoft.com/.default";

            final TokenCredentialAuthProvider tokenCredentialAuthProvider = new TokenCredentialAuthProvider(Arrays.asList(scopes), interactiveBrowserCredential);

        final OkHttpClient httpClient = HttpClients.createDefault(tokenCredentialAuthProvider)
                .newBuilder()
                .followSslRedirects(false) // sample configuration to apply to client
                .build();

         graphClient = GraphServiceClient.builder().authenticationProvider(tokenCredentialAuthProvider).httpClient(httpClient).buildClient();

        } catch (Exception e) {
            Log.i(TAG, "exception");
            e.printStackTrace();
        }

        return graphClient;

    }

I get the following error
Caused by: java.lang.IllegalStateException: A request was made to load the default HttpClient provider but one could not be found on the classpath. If you are using a dependency manager, consider including a dependency on azure-core-http-netty or azure-core-http-okhttp. Depending on your existing dependencies, you have the choice of Netty or OkHttp implementations. Additionally, refer to https://aka.ms/azsdk/java/docs/custom-httpclient to learn about writing your own implementation.
AB#10673

Thank you for submitting this issue @helgovic.
For the Android application you're running, does it use an uber/all-in-one JAR? If so, could you open the JAR and check the following:

There is a subfolder path of /META-INF/services which contains a file com.azure.core.http.HttpClientProvider.
The file above contains the value com.azure.core.http.okhttp.OkHttpAsyncHttpClientProvider.
The JAR contains the folder path above, com/azure/core/http/okhttp, with the class file OkHttpAsyncHttpClientProvider.


Is there an API from pdf.js that can be used to edit pdf ?

I am using pdf.js to view pdf files, however, i will have to edit them. Is there any way, they can be edited by using the API from pdf.js?
For example something similar to  :
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf
I apologise if the question is a bit inconclusive.

We do not provide such functionality. PDF.js is only a renderer and viewer. Editing PDFs is out of scope for this project.


Extensible statics

Very small change to allow statics to be copied. The motivation is to extend pinkie with Promise.try and Promise.prototype.finally.
Mutating the pinkie Promise directly is not an option for us. That technique is the exact cause of some nasty bugs. It also violates the open and closed principal.
In the end, we'd like to be able to do the following:
import Pinkie from "pinkie";

class Promise extends Pinkie {
    static try(callback) {
        // ... try implementation
    }

    finally(callback) {
        // ... finally implementation
    }
}

// Requires statics to use dynamic `this`
Object.assign(Promise, Pinkie);

export default Object.freeze(Promise);

Looks like it's a breaking change. The tests assume the statics can be invoked without context, so consumers must be doing the same.


Added Mastodon Explorer

Find people to follow across the fediverse!
Static site regenerated every hour. It scrapes the /explore of every safe mastodon instance on 2.7 and pulls down recent toots of popular tags. I even made the follow, like and reblog links work.
I also made it not show images for posts marked sensitive.

Looks like some of the other links on the site are dead so the build is failing.


[TW#14719] Cannot set up multiple GATTC connections to the same device

documentation seems to imply that multiple virtual connections to the same physical device should be possible, but in practice subsequent calls to esp_ble_gattc_open(same_if, same_addr) produce no effect whatsoever - return value is 0 (ESP_OK), but nothing happens - no events, no nothing.

hi @rojer ,you can open  multiple virtual connections to the same physical device. I will give you a example, please update the latest IDF and try.
gatts_demo.c.zip
gattc_demo.c.zip


NSInvalidArgumentException: Unsupported type type found. Use -availableMetadataObjectTypes.

Hey there...
I am using QRCodeReaderViewController in iOS 8 app and I took your sample code as-is to show the QR code reader.
But I am getting an exception:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureMetadataOutput setMetadataObjectTypes:] - unsupported type found.  Use -availableMetadataObjectTypes.'

I've seen on this article  a potential explanation but it seems that you already setup the AVCaptureMetadataOutput and AVCaptureSession correctly.

Hi,
On which device have you test it?
Note: you can check that the device supports the reader by calling the [QRCodeReader isAvailable] method.

My device is an iPhone 5s with iOS 8.1.3.
The thing is that it was working 2 weeks ago on this very device. Then, I updated my pods and got the last version of your library, and now I get this crash...

Is the example project works fine or it crashes too?
If you add the exception breakpoint to your project where the app crashes and with which metadataObjectTypes?
The error may also comes from the camera permission (I add method to check that in the next release).

Ok the example project runs fine....
And you were right, it was a permission problem. The camera permission was denied, even if after removing and reinstalling the app (the privacy settings probably remembers bundle IDs for a while).
So, the crash is gone. Thanks for the help!
I also updated the pod to your last commit (777f5ee) and implemented the QRCodeReader -supportsMetadataObjectTypes: method to check if the device is allowed or able to use the camera.
But, if the user switches to the Settings > Privacy > Camera to enable camera access for the app, and switches back to the app, the QRCodeReader method doesn't reflect the change.

Just got bit with this bug. You can check camera permission first before presenting the view controller
		AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
		if(authStatus == AVAuthorizationStatusAuthorized || authStatus == AVAuthorizationStatusNotDetermined) {
			// present QRCodeReaderViewController
		}
		else if(authStatus == AVAuthorizationStatusDenied) {
			// denied: show alert or something
		}
		else {
			// impossible?!!
		}

Hi
I am using QRCodeReaderViewController in iOS 9.2.1 at iPad mini
Example project runs fine
But in my project I am getting an exception:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVCaptureMetadataOutput setMetadataObjectTypes:] - unsupported type found.  Use -availableMetadataObjectTypes.
App crashed before request camera permission
AVAuthorizationStatus notDetermed
Everything works at other devices normally
For example: iPhone 6 with iOS 9.2.1

We are seeing this as well, good to see that there are some workarounds.

Hello guys, just catched this issue right now.
The feature is that lazy init works on some tricky way - you can't call this object till it's inited and even check it's state. It's getting inited only after getting access to camera. Until this moment you have no control on this variable.
Solved it with simple workaround - added another variable like cameraWorks = false beside my lazy controller variable, set it to true when I get access to camera, and every time I want to stop\start\call it - I check my boolean variable.


Match catch-all file extension in upstream path template

Expected Behavior
When using a reroute like the following:
{
   "DownstreamPathTemplate": "/{json}.json",
   "DownstreamScheme": "http",
   "DownstreamHostAndPorts": [
        {
            "Host": "foo.svc",
           "Port": 80
        }
    ],
    "UpstreamPathTemplate": "/foo/{json}.json",
    "UpstreamHttpMethod": [
        "Get"
    ],
    "Priority": 3
}

Ocelot should forward a request such as /foo/bar.json to foo.svc/bar.json
Actual Behavior
Ocelot forwards the request to foo.svc/bar.json.json
Log:
[09:35:30 DBG] message: ocelot pipeline started
[09:35:30 DBG] message: Upstream url path is /foo/bar.json
[09:35:30 DBG] message: downstream templates are /{bar}.json
[09:35:30 INF] message: EndpointRateLimiting is not enabled for /{bar}.json
[09:35:30 INF] message: No authentication needed for /foo/bar.json
[09:35:30 INF] message: /{bar}.json route does not require user to be authorised
[09:35:30 DBG] message: Downstream url is http://foo.svc/bar.json.json
[09:35:30 DBG] message: setting http response message
[09:35:30 DBG] message: no pipeline errors, setting and returning completed response
[09:35:30 DBG] message: ocelot pipeline finished

Steps to Reproduce the Problem

Have a reroute like /foo/{bar}.json
Try to access it
Get a 400 and the downstream service logs a message like GET /foo/swagger/v1/swagger.json.json returned 400

Specifications

Version: 13.0.0
Platform: ASP.Net Core 2.1

Same problem happened to me.
Any solutions please ?

This is actually a bug.
I think the library should support url regex instead of using { } template.

@ChrisSwinchatt commented on Jan 16, 2019:

I did some work on it today and wrote a few more tests.

Which ones?

@ChrisSwinchatt
Your route must be Catch All one!
{
   "DownstreamPathTemplate": "/{all}",
    "UpstreamPathTemplate": "/foo/{all}",
}


⚠ Thumbnails API Endpoint has degraded performance

In 1fd9f27, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1069 ms

Resolved: Thumbnails API Endpoint performance has improved in df65992.


CUDA runtime detection failure.

deploy: # API dependent on compose version.
  resources:
    reservations:
      devices:
        - driver: nvidia
          capabilities: [ gpu ]

The code above is not working in some versions of Docker Compose.
Adding the line below fixes the issue.
runtime: nvidia

Not sure if this is a Docker Compose issue. The official documentation still says that the deploy method is the correct way of specifying GPUs.

Maybe add both?


Remove redundant inverse checks in conditions

Booleans are always true if they aren't false.

:x: Build sws 497-master failed (commit https://github.com/reaper-oss/sws/commit/17f5ff1586 by @cfillion)

:white_check_mark: Build sws 500-master completed (commit https://github.com/reaper-oss/sws/commit/17f5ff1586 by @cfillion)

Windows 64-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-refactor-redundant-checks-17f5ff15.exe

Windows 32-bit

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-refactor-redundant-checks-17f5ff15.exe

macOS x86 64-bit

build/sws-<IP_ADDRESS>-Darwin-x86_64-refactor-redundant-checks-17f5ff15.dmg

macOS x86 32-bit

build/sws-<IP_ADDRESS>-Darwin-i386-refactor-redundant-checks-17f5ff15.dmg

macOS ARM 64-bit

build/sws-<IP_ADDRESS>-Darwin-arm64-refactor-redundant-checks-17f5ff15.dmg

Linux x86 64-bit

build/sws-<IP_ADDRESS>-Linux-x86_64-refactor-redundant-checks-17f5ff15.tar.xz

Linux x86 32-bit

build/sws-<IP_ADDRESS>-Linux-i686-refactor-redundant-checks-17f5ff15.tar.xz

Linux ARM 64-bit

build/sws-<IP_ADDRESS>-Linux-aarch64-refactor-redundant-checks-17f5ff15.tar.xz

Linux ARM 32-bit

build/sws-<IP_ADDRESS>-Linux-armv7l-refactor-redundant-checks-17f5ff15.tar.xz


angular2 rc6 app

How to create an rc6 app with the CLI? it creates the old version that is using nativeScriptBootstrap(AppComponent); instead of NgModule? I updated to nativescript@latest and created a project with --ng
Any help?

Hello,
I'm facing the same problem, I would like to create an Angular app but the CLI is doing it with the rc4 and I would like to creat it with the rc6 so I can follow the current Router docs: http://docs.nativescript.org/angular/core-concepts/angular-navigation

Hey @denkomanceski , @lachama
The base command with --ng will create an app with template published in npm
If you want to create an application using the latest/different template you can provide it as a param to the --template command.
e.g. (this will use the template from the link and from the release branch)
tns create my-ng-app --template https://github.com/NativeScript/template-hello-world-ng
if you want to specify a branch (e.g. master) you can do it like this
tns create my-ng-app --template https://github.com/NativeScript/template-hello-world-ng#master
You can also create your own temlpate and pass it with the
tns create my-app --template [path-to-template]
The same applies not only to Angular but for TS templates and all others.

Hi @NickIliev, thanks a lot for the explanation, I guess I'm confused because the official docs for the Navigation are not based on the rc4 and even though the official documentation recommends this:

there are some docs on the Nativescript official site that are based on the rc6 and that's a little bit confusing.

@lachama
Indeed, at this very moment, the documentation is not fully updated for the usage of RC6 - we are working on the updates but also working on integration with RC7 so the article fix might be delayed.

Obsolete, now we create apps with official release.


Fix obvious typo, that breaks idempotency of scons build process — af…

What does this PR do?
Fix obvious typo, that breaks idempotency of scons build process — after renaming .c → .cpp, in next Scons call (if we have to debug scons process, for example) it wrongly skipped .cpp files because of this typo.
Why was it initiated? Any relevant Issues?
Yes, I wish to make scons compilation reproduceable and debuggable without source code generation phase https://github.com/Nuitka/Nuitka/issues/792#issuecomment-1601361367
PR Checklist

[x] Correct base branch selected? Should be develop branch.
[x] Enabled commit hook or executed ./bin/autoformat-nuitka-source.
[x] All tests still pass. Check the Developer Manual about Running the Tests. (Actually, some test on python 2 failed, but they failed without this patch).
[ ] Ideally new features or fixed regressions ought to be covered via new tests. → I cannot generation of debug script for for Scons build without idempotency of build process.
[ ] Ideally new or changed features have documentation updates. → Not needed

Big words like idempotency used. :-)
Thanks a lot, this will go to the next hotfix directly.

This actually is kind of relevant to us for zig as well, since we cannot use C11 mode there too. Also there is the splash screen stuff for Windows, that is C++ to begin with.


Increment Pygements release to support Python 3.5 syntax

Hello,
Read the Docs offers the option to build docs with Python 2.x or 3.x, which is great.
Python 3.5 introduced some new syntax, namely the await and async keywords. Since Read the Docs runs Python 3.4, code samples that use this syntax cannot be parsed and thus aren't syntax-highlighted. See the first block on this page for example.
Have you considered making it possible to pick a specific Python version, perhaps among 2.7, 3.4, 3.5? Alternatively, do you have a rough idea of when you'll upgrade the platform to 3.5?
Thanks!

I appear to have incorrectly assumed that it was related to the version of Python running Sphinx.
Apparently the next release of Pygments (for which there's no ETA) should solve the problem.
https://bitbucket.org/birkenfeld/pygments-main/issues/1154/please-make-next-release

Regarding the Python version selection: we haven't yet, though the ability to use arbitrary versions of Python might be a good future feature.
The real issue seems to be a pending Pygments release, we'll pin the next release to come out.

Pygments 2.1 was releaseed mid-January, unblocking this issue.

Is it just a matter of bumping Pygments to 2.1.3 in requirements/pip.txt?

You'll need to update the requirements in:
https://github.com/rtfd/readthedocs.org/blob/42ab9d198494d5cf9fe320ac217d837bf480c73f/readthedocs/doc_builder/python_environments.py

I just submitted a PR with this change, I hope this helps. Thanks!


Community Progress Report - Import Spinner and success toast

As an analyst
I want to see feedback that the import is working
So that I can be confident that the changes I made are being implemented
Description:
This ticket is to implement the Spinner animation when the Save and Import Data button is pressed and a success toast to appear when it completes.
Acceptance Criteria:

Wireframe

[ ] When import is occurring, show spinner (same as the one used for SOW)
[ ] When import is occurring & spinner is showing, save & cancel buttons are disabled
[ ] When import is complete, show success toast (similar to the one used for SOW)
[ ] Success toast slides out after 5 seconds
[ ] If import is not successful do not show   spinner or success toast

Implementation Details

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @rafasdc

We won't know if the import is successful or not until it has finished verifying, should we update this acceptance criteria "If import is not successful do not show spinner or success toast" to be "If import is not successful do not show success toast and stop spinner"

updated

Works well!


add maps for each country

Add a map for each country to the project to be generated through the [id].tsx page. Source: https://www.worldometers.info/maps/

Added A-B in 752a4120b0b89d06b9b1a6d7fc27e0991246f06c

https://github.com/SchoolyB/International-Data-Matrix/issues/186#issuecomment-1537671254

Another option would be to embed a Google map into the page.

@jimbo2150 I'm considering doing this. I can pass {state.lat}  & {state.lon}  in the [id].tsx file into the object in this snippet from the Google Maps API which will then load a map that is focused in on the latitude and longitude of the capitol of the current country the user happens to be on.
`const map = () => {
const { isLoaded } = useLoadScript({
googleMapsApiKey: API_KEY || '',
})
const center = useMemo(() => ({ lat: 0, lng: 0 }), [])
`

Add D-H in #211

Add I - Z in #212


How to change backgroud color?

Thanks for your amazing work! It really helps me, I want to know how to change the background color from black to white? Could you help me?

I’ve looked into this and Im not sure its possible with the way the splats work. Any shadows in the scene aren’t black, but rather alpha and they show the background through. So changing the background color will change the color of shadows in the scene.
Perhaps there is a way but it would require adjusting how the splats themselves are rendered.

Thanks for your reply, I have found. Change 'index.html' s  background: black, to background: white, will work.


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2020-07-09T21:57:19+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

build_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test build_cni_release-1.6

install_cni_release-1.6
ce52d8795a8cc67bf0f23166e424d56c0236a4fb
link
/test install_cni_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Allow unassign of SH on SP by setting serverHardwareUri to None

Description
Fix to allow unassigning a SH by removing the serverHardwareUri key on a SP

Confirmed that setting serverHardwareUri to None or removing it and running update did not unassign the SH
Confirmed that unassign requires unsetting enclosureUri and enclosureBayUri
Added logic to remove enclosureUri and enclosureBayUri on update if serverHardwareUri is None

Issues Resolved
#300
Check List

[X] New functionality includes testing.

[X] All tests pass for Python 2.7+ & 3.4+($ tox).

[X] Changes are documented in the CHANGELOG.

This is the same behavior for a DL Server attached to a rack?

I just confirmed using an iLO that both the old and new code worked, the issue may be specific to blades then.


Fixed function name

Codecov Report

Merging #9 (7ec1222) into main (5443fef) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   33.79%   33.79%
=======================================
  Files           3        3
  Lines          74       74
  Branches        8        8
=======================================
  Hits           25       25
  Misses         49       49

Impacted Files
Coverage Δ

src/crowdin.ts
13.47% <100.00%> (ø)

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 5443fef...7ec1222. Read the comment docs.


Misaligned reference constructed by ControlMessage::ScmTimestamp

On macOS (and maybe other systems?) cmsg data is 4-byte aligned. In 64-bit macOS environments, libc::timeval contains 8-byte values, and is presumably 8-byte aligned. ControlMessage directly converts the pointer to the cmsg data into a typed reference, which is therefore apparently unaligned and incurs UB. It seems like the only safe thing to do here would be to use ptr::read_unaligned.

Do you have an example program demonstrating the bug?

No, I don't have access to a macOS machine to test on, and at any rate you can mostly get away with ignoring alignment on modern x86. The chain of logic is straightforward, though; the alignment of libc::timeval is easily observed, as is the alignment of the pointers handled by ControlMessage. See related discussion at http://austingroupbugs.net/view.php?id=978.


Fix path to search.html

I suspect this is not hte right fix - sorry about that.
This is the error:
$ ascii_binder_search
Traceback (most recent call last):
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/bin/ascii_binder_search", line 5, in <module>
    ascii_binder_search.main()
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib64/python3.5/site-packages/ascii_binder_search/ascii_binder_search.py", line 110, in main
    generate_dump()
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib64/python3.5/site-packages/ascii_binder_search/ascii_binder_search.py", line 88, in generate_dump
    copyfile(search_file_path, '_package/{}/search.html'.format(site_folder))
  File "/usr/lib64/python3.5/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib/python3.5/site-packages/static/search.html'

can you ls the site-packages and past the output, cause it is running on my end


[FLINK-18272][table-runtime-blink] Add retry logic to FileSystemLooku…

…pFunction

What is the purpose of the change
Add some retry logic to FileSystemLookupFunction, which is useful if we try to reload the cache while the underlying files are being updated.
Brief change log

Add retry logic to FileSystemLookupFunction
When we hit exceptions when loading the cache, will sleep for a while and retry. Max number of retries is 3.

Verifying this change
Manually verified the change
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? NA

My personal pipeline has passed: https://dev.azure.com/lirui-apache/flink/_build/results?buildId=144&view=results


enable internal load balancing

This option will enable internal load balancing. The client channel will build connections to all the targets that the name (like bigtable.googleapis.com) resolves to and do load balancing among them.

@lukesneeringer this sounds like a good thing. What do you think?

Coverage decreased (-4.0e-05%) to 99.988% when pulling 5e2c125fe7d62953b8eb678e846c0c820480124e on blueGinko:enable_connection_pool into ca0d96cb94f7ef4e176edf221f9ee154dcf8c850 on GoogleCloudPlatform:master.

@lukesneeringer WDYT?

It's probably best we not default anyone into anything. The user actually has control over this for most (and soon, all) of our GRPC APIs. To take Spanner for example, you can set this flag like this:
var Spanner = require('@google-cloud/spanner')

var spanner = new Spanner({
  projectId: '...',
  keyFilename: '...',
  'grpc.lb_policy_name': 'round_robin'
});

Thanks for your patience on this topic.