dynamic parameter value

          1. I think that we might want to split `***Limits` into it's constituents

I think that having Numeric is sufficient because values should be loosely typed and checked in executor

Given the previous 2 points, I think that instead of ParameterValueBox we could just have StringWithJson as we do for permission tokens. This is because the value for parameters defined in executor can indeed be anything. Even though there are some hard coded, I don't think it's necessarily worth to have them strongly typed inside an enum
This is something I think should be explored in a separate PR
Originally posted by @mversic in https://github.com/hyperledger/iroha/pull/4305#discussion_r1515992597

Relevant here #4028.
We should consider that there might be arbitrary parameters used by executor and we have hard-coded parameters used by wasm engine, sumeragi.
Maybe we can define all on-chain parameters which look like smt like this:
struct Parameters {
    block_time: Option<Duration>,
    commit_time: Option<Duration>,
    wsv_asset_metadata_limits: Option<MetadataLimits>,
    // ...
    /// Can contain arbitrary key-value pairs to be used by executor
    executor_params: Map<Name, StringWithJson>,
}

What do you think @mversic @0x009922?
I should notice that executor already can kinda have arbitrary parameters by either using Parameters as they exist right now or executor can create domain and use it's metadata for storing it's state.

We should consider that there might be arbitrary parameters used by executor and we have hard-coded parameters used by wasm engine, sumeragi.

what's the problem here?

what's the problem here?

It's not exactly a problem, but it would be nice if crucial on-chain parameters would be strongly typed with exact types (not stored as random JSON strings)

Are you saying that we can just reuse Domain::Metadata or any other metadata for custom parameters?

Yes, it can place them in any metadata, since permissions for the executor aren't checked.

I don't mind any format for executor parameters as long as WASM/Sumeragi parameters are strictly specified and typed.

what's the problem here?

It's not exactly a problem, but it would be nice if crucial on-chain parameters would be strongly typed with exact types (not stored as random JSON strings)

that's internally, no? Externally (from the client side), we should do it in the same way, i.e. as JSON string?

Not sure, i think if we expect for commit_time u64 for example that is the thing client should send us not arbitrary JSON string which would require second round of parsing.

Not sure, i think if we expect for commit_time u64 for example that is the thing client should send us not arbitrary JSON string which would require second round of parsing.

if performance is a concern, I expect updating a parameter to be really a rare operation. If the fallibility is concern, I your operation across network can fail for miriad of reasons.
I'm trying to formulate the simplest API, and not have specialized API for different edge cases unless really needed. It also complicates the code base

if we store parameters in metadata then we would have two different ways to update parameters SetKeyValue for custom and SetParameter for hard-coded. Seems kinda confusing. That's why I'm more for having a separate storage for parameters apart from metadata

For context, what I think hard-coded configuration should look like, in a form of structures in the data model:
struct ConfigurationState {
  max_transactions_in_block: U32,
  block_time_ms: u64,
  commit_time_ms: u64,
  // metadata limits, wasm limits...
}

struct ConfigurationStatePartial {
  max_transactions_in_block: Option<u32>,
  block_time_ms: Option<u64>,
  commit_time_ms: Option<u64>,
  // ...
}

enum InstructionBox {
  // ...
  Configure(ConfigureBox)
}

struct ConfigureBox(ConfigurationStatePartial);

And also to patch the ConfigurationEvent from:
pub enum ConfigurationEvent {
    Changed(ParameterId),
    Created(ParameterId),
    Deleted(ParameterId),
}

to
pub enum ConfigurationEvent {
    Changed(ConfigurationState),
}

As for current parameters, I don't understand what is going to happen to them yet. It seems we need to clearly distinguish "static parameters" from "dynamic, custom parameters" (maybe call it "executor parameters" explicitly?). Both sets are a part of "chain wide configuration".
What are your guys opinion on the data model changes I would like to introduce, and on how we can distinguish these two sets of parameters?

Assigned to myself, as I see it as a natural part of #4028.


Adds a mechanism to manually promote constants to inputs in Lazy Tensor.

Adds a _concreteInputLazyTensor property to the tensor-related types in the library. This provides temporary mechanism to promote constants to inputs manually in trace. Here is an example use case:
import TensorFlow

let a = Tensor<Float>(10.0)
let b = Tensor<Float>(5.0)
let w = a._concreteInputLazyTensor * b
print ("\(w)")

This will result in the following trace for w:
lazyTrace_3(%0: float) -> (%2) {
  %1 = Const[dtype: float, value: 5.0]()
  %2 = Mul[T: float](%0, %1)
}

Note that the slot for a got promoted to an input. This is added to experiment with the lazy tensor implementation and is mostly intended to be used within the TensorFlow module.  If this turns out to be useful, we should provide a cleaner user-visible API.
This PR also adds a helper file for tests related to lazy tensor.

+1 for needing a motivating example. Also, could we start with this being _-prefixed? I'm making a few guesses, but we might want to express these concepts in a slightly different way. I'd like us to carefully think through the API design space here. Does that make sense? Thanks!

@pschuh @saeta @rxwei I scaled back this PR to publicly expose only what I needed. I also underscored it.
I moved the _LazyTensorCompatible protocol to a test helper.I don't think it is useful outside of the tests  for the time being. If we have a need, we can reassess and design the API properly.

Constants in the example don't match up.

Thanks for flagging it. Fixed now.


Reduce default logging in Mixer.

This PR reduces the verbosity level from 4 down to 2. This should generally reduce the amount of log lines generated by Mixer, while still preserving a bit of debuggability.
Release note:

Reduce default Mixer logs verbosity.

Lets collapse these onto the same line like our other flags:
-v=2 rather than
- -v
- 2

/lgtm


Page By

Add ability to create a page-by group that subsets the content on a page.

Added page_by() function and changed all the line counting calculations to get the pages coming out correctly.  Still more testing needed, however, but will probably open a separate issue if needed.  As it stands, it's working.


re-enable supplycontroller test

re-enable https://github.com/AdExNetwork/adex-protocol-eth/blob/new-token/test/TestADXToken.js#L86 once https://github.com/trufflesuite/ganache-core/pull/601

This was actually done

This was actually done


CPU kernel launcher spins when FlashAttention kernel is running on GPU

Hi, I observed a phenomenon that CPU kernel launcher spins when FlashAttention kernel is running on GPU. More specifically, I rewrote code of function compte_attn_1rowblock in flash_fwd_kernel.h as running meaningless calculation for 0.5s, the CPU kernel launcher will also spin for 0.5s until kernel completes. So the kernel code is not the reason for spin.
I use Nsight system by NVIDIA to visualize this phenomenon as below:

In this picture, The bottom blue block is CPU kernel launcher, the kernel it launches is the blue block directly above it. Under normal conditions, kernel launcher will return as soon as the launch is complete, and leave kernel running on GPU to complete asynchronous execution. However, FlashAttention seems not like that. This may lead to performance degradation.
Do you know what the cause might be? Thank you very much!

Sorry It's my fault....I set os.environ['CUDA_LAUNCH_BLOCKING']='1' in the testfile, so sorry for disturbing you


Merge route and prefix attributes

Merge prefix and route attributes, because it's absolutely not necessary to have both. It's more understandable to have one attribute like route/prefix instead of two.

Hi @ton31337
Can you catch this branch up to current master? I can see about merging this before release as well.

Just a moment.
On Wed, Jun 17, 2015 at 9:13 PM, Aaron Kalin<EMAIL_ADDRESS>wrote:

Hi @ton31337 https://github.com/ton31337
Can you catch this branch up to current master? I can see about merging
this before release as well.
—
Reply to this email directly or view it on GitHub
https://github.com/aetrion/exabgp-cookbook/pull/5#issuecomment-112900509
.

--
Donatas

Done.

Sweet, thank you @ton31337! Will merge and make sure you are in the change log. :heart:


[Question] How to persist (string) result of a lane between different runs of fastlane?

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Context: I am trying to improve my Fastfile by taking a lane with several actions and breaking it up into smaller, retry-able lanes. Here is the current lane (the important bits, anyway):
lane :beta do
    increment_build_number

    changelog = changelog_from_git_commits(
        pretty: '- (%ae) %s',
        include_merges: false)

    gym(
        silent: true,
        verbose: false,
        scheme: "STAGING",
        use_legacy_build_api: true)

    crashlytics(
        api_token: "[redacted]",
        build_secret: "[redacted]",
        groups: "[redacted]",
        notes: changelog)
end

The problem with this setup is that the steps tend to fail. For example, after gym has run for ~ 15 minutes to complete, crashlytics can randomly fail due a flaky connection. When that happens, I would like to be able to run crashlytics again, without needing to run gym again. So I'm trying to split it up into lanes like these:
lane :beta_changelog do
   changelog_from_git_commits(
      pretty: '- (%ae) %s',
      include_merges: false)
end

lane :beta_build do
   gym(
      silent: true,
      verbose: false,
      scheme: "STAGING",
      use_legacy_build_api: true)
end

lane :beta_upload do
   crashlytics(
      ipa: "./build/STAGING.ipa"
      api_token: "[redacted]",
      build_secret: "[redacted]",
      groups: "[redacted]",
      notes: changelog)
end

The main issue I'm facing is that fastlane is no longer passing the result of each action on the next, so I need to make sure each action has all the parameters it needs. I can tell crashlytics where the .ipa file is that it should use quite easily. I'm getting stuck on the changelog though. What I need is to persist the result of changelog_from_git_commits in a way that will allow me to access it the next time I run fastlane, so that if I run
fastlane beta_changelog
fastlane beta_build
fastlane beta_upload

then the crashlytics action in :beta_upload will know what the changelog was that was generated by :beta_changelog.
I can read bash environment variables using sh($ENV_VAR), but I can't seem to set them using sh("export ENV_VAR='" + changelog +"'"). I'm not generally familiar with Ruby but this seems to be a restriction of the language. I can use sh("echo \""+ changelog + "\" > ~/tmp/changelog") and changelog = sh("cat ~/tmp/changelog"), but that's sort of clunky. Any native solutions?
Environment
fastlane version (run fastlane -v): 1.102.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

You can solve this by using Ruby exception handling
lane :beta do
  begin
    gym
  rescue => ex
    beta # endless recursion
  end
end

basically in your rescue block you can call whatever you want 👍

Handy! 😸
In case someone else is doing the same, I had a concern that if my lane looks something like this:
lane :beta do
   begin
      gym
   rescue => ex
      beta
   end

   crashlytics
end

then, if gym fails once and then succeeds , crashlytics will be called twice - once after the successful gym, and then again when the recursive call returns to the rescue block and continues. In fact, a quick test seems to confirm that this will happen. So I added exit(0) right at the end of the lane, so that the first recursive call to complete the entire lane will stop all the others. Fastlane doesn't love this (it always says "fastlane finished with errors", but it looks pretty safe.


Addition of the command roomlist

Hello again, today I come to enter the command roomlist, that shows a complete list of the rooms available at the server and the amount of users that there are in it, apart from that I also take the opportunity to set the background color of the icons, which used to be white and transparent to better adapt to the server css
I hope you like it, bye :yum:

Sorry for the mistake, already or correct

No worries. Good looking code. Just one white space issue nothing major.

Ready to arrange the small error :yum:

What happened... something this bad?, have taken too long to respond

I should have never shared that command...


About the music dataset in OpenAQA dataset.

This paper augmented openAQA with 4 music datasets: MusicCap, MusicQA, Nsynth and Magna. Can you release the related question-answer pairs?

Thank You for the question! We will upload our entire OpenAQA dataset in a few hours!

We have upload the dataset on our common drive! The dataset is named openaqa_gama.json
Thank You and feel free to reopen if you find any difficulty!

We have upload the dataset on our common drive! The dataset is named openaqa_gama.json
Thank You and feel free to reopen if you find any difficulty!

Thanks a lot. Where can I find the openaqa_gamma.json?

Here:
https://drive.google.com/file/d/1UL7sRSkqlmk9H2NuANoCqAkd9ixS-vbn/view?usp=drive_link


Fix for instances where Boolean is returned as translation. #15

Some translations like
python translate.py -t RU -f EN doc
Resulted in an error being raised as a Boolean was being returned by the translation service.
This is a fix for that and provides the next best translation for the given word.

Hi theSage21,
Sorry for the late response. Has been travelling last week. Thanks for the contribution.
terry


Feature/GitHub action

All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you read and signed the automated Contributor's License Agreement?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

[ ] Does your submission pass tests?
[ ] Have you lint your code locally prior to submission?

Changes to Core Features:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

Closing this repo since coverall does not work on forked repo. Raising the PR on main repo


fix field currency

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #5   +/-   ##
=======================================
  Coverage       100%   100%
  Complexity      288    288
=======================================
  Files            44     44
  Lines           822    822
=======================================
  Hits            822    822

Impacted Files
Coverage Δ
Complexity Δ

src/Transformers/Entities/ItemTransformer.php
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


BBPBGLIB-1061 SONATA conf: Dont map to internal connectivity

Context
Address BBPBGLIB-1061 partially, ensuring, for the moment that we instantiate all projections.
Scope

Consider only some specifically-named edge populations as internal connectivity
Other populations shall go as projections

Not all populations should go as projections since circuits still respect order, which is important for the case of e.g. NGV.
Testing
Existing CI tests
Review

[x] PR description is complete
[x] Coding style (imports, function length, New functions, classes or files) are good
[ ] Unit/Scientific test added
[ ] Updated Readme, in-code, developer documentation

@matz-e there's doubt that's useful information, but if you look of a log produced with such run we have
[STEP] Circuit NodeB
[INFO] Init SynapseRuleManager. Options: {'load_offsets': False}
[INFO] Loading connections to population: <ConnectionSet: 1761-1761 (NodeB->NodeB)>
[INFO] No matching Connection blocks. Loading all synapses...

|-------20%-------40%-------60%-------80%------100%| [Time taken: 0.00 s]
[INFO]  * [ALL]. Created 2 connections
[STEP] Handling projections...
[INFO] Processing Edge file: /home/runner/work/neurodamus/neurodamus/tests/simulations/usecase3/edges_AB.h5
[INFO]  * NodeA__NodeB__chemical__NodeA-NodeB (Type: Synaptic, Src: NodeA, Dst: NodeB)
[INFO] Loading connections to population: <ConnectionSet: 4058-1761 (NodeA->NodeB)>

So for projections already print all information nicely. True I overlooked internal connectivity, which I was trying to get rid of in the first place 🤔
Since we will keep it for the moment, then I guess we are willing to have the duplicated info for projections.

@jorblancoa @matz-e could you take another review pls?


Support sub-graph zoom in of Scan operator

Scan operator is introduced in ONNX spec to do loop through sub-graphs. Currently netron treat Scan operator as one node, and there is no way to zoom into Scan to see what the sub-graph look like.
Is there any plan to support sub-graph zoom in of scan operator?

#168


date/time picker for create silences page

/silences/new and editing of silences currently has a string input for time fields. A timepicker like the one in the Prometheus graph UI is better.
goutham@iithserver1:~/alertmanager$ ./alertmanager --version
alertmanager, version 0.10.0 (branch: HEAD, revision: 133c888ef3644b47a52acbaeffb09f4cc637df1b)
  build user:       root@01302b7cd08a
  build date:       20171109-15:34:53
  go version:       go1.9.2

It's probably an unpopular opinion, but I find the current datetime selection for silences to be fairly simple and unambiguous, especially thanks to the duration selection. This is something we can definitely evaluate if it's desired, but I'm not sure we can unequivocally say that the prometheus datetime picker is better. But, as mentioned, just my opinion.

I'm not sure about this too. My hope is that the default startsAt=now and the duration field is good enough.  Datetime pickers are usually pretty complicated:

the ui has a lot of elements and it is hard to make it accessible
it may not be the best way to input UTC timestamps
this brings in some localisation challenges (e.g. what is the first day of week, AM/PM or military)

Please don't dismiss a feature enhancement because you personally prefer a different way of doing things.  For different people in different circumstances different options will be better.  Last night I was dealing with a page at 1 in the morning.  I had worked with another team to determine the cause and impact, and we had decided they would work on fixing it after the weekend.  I tried to enter something like "3d 12hrs" as a duration, but I got an error that my input was invalid. I then had to use a calculator to figure out the exact timestamp of when I wanted the silence to end in three and a half days.  It would have been much easier with a date/time picker.

Also, this may be a duplicate of https://github.com/prometheus/alertmanager/issues/2226

@solongtony https://github.com/prometheus/alertmanager/pull/2262 has been merged. I think we can close this issue.


[release-1.12] Force gzip to overwrite existing archives in docker.save target

This is an automated cherry-pick of #35823

Adding a hold until rc1 is confirmed for release


New Projectors not entering rear table position prior to the start of a scheduled show

We've identified a problem with the way that new projectors are initialized prior to the start of a scheduled show.  It may take a moment for the projector to reset before it can process our next command to put the projector into the rear table position.   We need to ensure there's sufficient time between projector commands in order to ensure smooth operation for pre show set up.

This was resolved by #26


Analyzer dependencies conflicts

In moor_generator (and maybe others), there's the following dependency: analyzer: ">=0.40.0 <0.43.0".
This has conflicts when upgrading other packages to null safety because they depend on analyzer: ^1.1.0.

Yes, unfortunately we also depend on analyzer_plugin which doesn't support the latest analyzer yet (well, it does, it's just published very infrequently).
I've applied a workaround for that in d279f1cdffeb48235db6be41f6adf756af96f6f0.

How to fix ? I don't understand how to apply it

@tony123S
moor_generator:
    git:
      url: git@github.com:simolus3/moor.git
      path: moor_generator
      ref: d279f1cdffeb48235db6be41f6adf756af96f6f0

@MiguelSOliveira
Git error. Command: `git clone --mirror git@github.com:simolus3/moor.git /home/xxx/Desktop/flutter_linux_1.22.6-stable/flutter/.pub-cache/git/cache/moor-f3c1a9b90345ae935196e3531c15f1a51bfef385`

stdout:

stderr: Cloning into bare repository '/home/xxx/Desktop/flutter_linux_1.22.6-stable/flutter/.pub-cache/git/cache/moor-f3c1a9b90345ae935196e3531c15f1a51bfef385'...

<EMAIL_ADDRESS>Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

exit code: 128

@tony123S Try using https instead of ssh:
  moor_generator:
    git:
      url: https://github.com/simolus3/moor.git
      ref: d279f1cdffeb48235db6be41f6adf756af96f6f0
      path: moor_generator

This is fixed in version 4.2.0 of moor_generator.

I had this issue in 4.2.2 but not in 4.2.1.

@bernaferrari Can you post the output pub gives you when using moor_generator version 4.3.2? There might be another dependency not supporting the latest analyzer, the error message should tell you which.


update np package to solve dependabot alerts

Solves https://justifi-ai.atlassian.net/browse/FE-82
Dev QA plan:

git checkout the branch origin / update-np-pkg
Run yarn install in both stencil-library and react-library just to be safe.
yarn build the stencil library, then yarn build the react library.
Expect everything to work and build properly (other than the known issue with JustifiPaymentForm)

Dev QA 👍


added change_name and change_password

basically title explains it all also self.password is a safe method

masha'allah merge complete


added issue and pr templates

issue: #11
@purnima143

Good looks for me, @purnima143 Merge it.

@all-contributors please add @sachinsom93  for doc

@all-contributors please add @Sloth-Panda  for doc


#58 Implement seller update product functionalities

What does this PR do?
This PR enables sellers to update specific items in their collection by implementing the necessary functionality and user interface.
Description of Task to be completed?
The task involves:

Allowing sellers to access a form with prefilled values for the item's details.
Clearly marking the editable fields in the form.
Implementing an interface for uploading images  clips of the item.
Providing error handling for failed image/video uploads.
Implementing a simple and intuitive form for editing item details.
Including a remove/update interface for existing images.
Adding optional fields such as file upload, item description, and available stock quantity.

How should this be manually tested?
To test this feature manually, follow these steps:

Log in as a seller.
Navigate to the item's page in the collection.
Click on the "Update" / Pencil icon button.
Verify that the form is displayed with prefilled values.
Attempt to edit the item details and ensure the changes are reflected.
Attempt to remove or update existing images and verify the changes are applied correctly.
Test the optional fields, such as file upload, item description, and stock quantity,... if applicable.

Any background context you want to provide?
This PR addresses the need for sellers to have the ability to update specific items in their collection easily. It enhances the user experience and ensures that sellers can keep their product information up-to-date.
What are the relevant pivotal tracker/Trello stories?

[Trello Card ID: #58]

Screenshots (if appropriate)

Questions:
If you have any questions or need further clarification, please let me know.

 A seller should be able to update an product item from their collection


Click to open and it will not respond and crash after installed of ARM(M3 pro) for macbook pro

Description
Click to open and it will not respond and crash after installed of ARM(M3 pro) for macbook pro
DBeaver Version
24/3/0
Operating System
Sonoma 14.4.1
Database and driver
any databases
Steps to reproduce
No response
Additional context
No response

It's been a while since there has been an update here. If the issue is still present, please let me know and provide log files.


Steps were in the wrong order

Made the naming of GitHub Organization consistent (github app, github team etc)
Removed the text referencing to add a new github app in case one didn't exist before. You can't do that without first completely configuring SAML as mentioned in the prerequisites.

The document is missing an important element:

To use SCIM with your organization, you must use a third-party-owned OAuth app. The OAuth app must be authorized by, and subsequently acts on behalf of, a specific GitHub user. If the user who last authorized this OAuth app leaves or is removed from the organization, SCIM will stop working. To avoid this issue, we recommend creating a dedicated user account to configure SCIM. This user account must be an organization owner and will consume a license.

This is mentioned in the Okta docs over in GitHub, but is missing from the EntraID docs. Since the integration relies on a similar OAuth app, the same guidance should be provided.

@twimmers
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@v-missam, can you please review the proposed changes in PR?

#sign-off

@jessehouwing, we have created separate PR for your changes in our private repo for better content validation- https://github.com/MicrosoftDocs/entra-docs-pr/pull/2076
#please-close


Make use of node --expose-gc when outputting --diagnostics, and use for CI

Search Terms

diagnostics, memory, expose
Suggestion

Node/v8 expose a gc() global function when run with --expose-gc. This can be used to give more stable memory usage statistics for --diagnostics.
Use Cases

Running tsc multiple times with --diagnostics can give wildly different memory usage statistics since gc is random.
Running with node --expose-gc, and triggering gc() can give much more stable numbers.
This would also be a really good fit for perf runs btw :-)
Examples

See https://github.com/microsoft/TypeScript/pull/33431 for an experiment that uses this.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Another interesting flag to investigate might be node --no-opt, which disables the jit and thus gives a measure for how much speedup you get from it, which btw is not that much actually.
I do see quite a lot of deopts when running with --trace-deopt, which means the jit throws away optimized code and re-optimizes again later…
measures:
# no-opt:
Parse time:    46.72s
Bind time:      9.51s
Check time:    70.23s
Emit time:      0.00s
Total time:   126.46s

# normal:
Parse time:     9.95s
Bind time:      2.90s
Check time:    28.25s
Emit time:      0.00s
Total time:    41.09s

No idea since when, but there is a call to gc there:
https://github.com/microsoft/TypeScript/blob/64a6e6c30d4c65c6afb514e3eed957ccf96407f7/src/compiler/sys.ts#L1266-L1271


Fixed block sorting in snippet form

tasks:

[ ] gather feedback for my changes

informations:

q
a

Fixed tickets
fixes #1396

BC breaks
none

Documentation PR
none

@wachterjohannes Merged to master instead of develop

@danrot thanks (:


When the code will be released?

Hi @xuuuuuuchen ,
I really enjoy your paper on active contour loss.
When the code will be released?
Best,
Jun

Dear Jun,
The code is released now.
Best regards,
Xu

Hi @xuuuuuuchen ,
Thank you very much.
I will try it.


No ability to sync?

It seems that there is no ability to sync subscriptions for users who have already taken out a subscription.
I'm updating my app, originally written in Swift/StoreKit, to KMP/RevenueCat and I will not be able to release the app until I have the ability to sync with existing subscriptions.
Could you please add the necessary call to the RevenueCat function to do this?
Thanks!

@realcbnewham What are necessary functions for that in RevenueCat?

This is under "Client-side Migration" here:
https://www.revenuecat.com/docs/migrating-to-revenuecat/migrating-existing-subscriptions

Thank you, this will be added in version 0.3.0 version of library

This is implemented in 0.3.0 version


stat: use more efficient sort routines

This PR introduces a modernization change that is not necessarily related to #617 but which was spun out from my attempts at generifying the leaves of graph. Benchmarks to follow.
Blocked by https://github.com/gonum/gonum/pull/1940.

@sbinet Yeah, the .yml changes are supposed to be merged in through PR https://github.com/gonum/gonum/pull/1940 first, I intend to rebase/tweak things afterwards. Sorry for the confusion!

Codecov Report
Attention: Patch coverage is 76.92308% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 72.34%. Comparing base (d532ec5) to head (4a07943).

Files
Patch %
Lines

stat/roc.go
0.00%
0 Missing and 2 partials :warning:

stat/combin/combin.go
0.00%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1956   +/-   ##
=======================================
  Coverage   72.34%   72.34%
=======================================
  Files         555      555
  Lines       65005    65005
=======================================
  Hits        47026    47026
  Misses      15380    15380
  Partials     2599     2599

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

@sbinet Yeah, the .yml changes are supposed to be merged in through PR #1940 first, I intend to rebase/tweak things afterwards. Sorry for the confusion!

no confusion.
rather, it was a mental note for future self :}

Please provide benchmarks for affected code.

On it!

@kortschak The benchmarks were taking a few hours to run, so I manually checked all functions that were changed and none of them are exercised by the benchmarks directly or indirectly, funnily enough. Would you like me to double-check and run the benchmarks anyway?

If there are no benchmarks that exercise this code, they should be added. The issue here is that the change is framed as an efficiency improvement. I don't see a code-clarity argument supporting this change, so if there is not an efficiency improvement, leaving this as is would be appropriate.

If there are no benchmarks that exercise this code, they should be added. The issue here is that the change is framed as an efficiency improvement. I don't see a code-clarity argument supporting this change, so if there is not an efficiency improvement, leaving this as is would be appropriate.

Makes sense to me! It will be my first time writing benchmarks, but I've found some useful advice, so please bear with me whilst I find the time to create them.

I've just included the latest changes from master.

As of Go 1.22, it looks like the legacy sort/"is sorted" functions delegate to the ones in slices, so I doubt there'd be any performance improvements after all. Therefore I'm closing this PR.


Improve UI-thread animation performance

The following PR (https://github.com/flutter/flutter/pull/138481) got split in 2, this is part 2.
We now have the microbenchmarks to compare this change against (and hopefully see improvements).
Close: https://github.com/flutter/flutter/issues/146211
Part 1: https://github.com/flutter/flutter/pull/153368

I took the same benchmark I used for https://github.com/flutter/flutter/pull/159757 and ran it against this branch. Much to my chagrin, I only saw a performance improvement of 0.1 ms, i.e. within the margin of error.
But after reading through https://github.com/flutter/flutter/pull/138481, it turns out that we had different use cases: I was just checking the ability to send a bunch of notifications whereas @ignatz was repeatedly adding & removing listeners.
So the good news is: this PR vastly improves performance for their use case without making mine any worse!


With this in place the flow would be:

Client gets token from the bridge using inxt-js
The mnemonic is encrypted using a client-generated code
The share is created in photos-server with the encrypted mnemonic, the token, the bucketId, the photoIds and the views
A share link is created with the form: s/photos/${shareId}?code=${code}

And to retrieve the files by an unauthenticated user:

Share is retrieved from the server using the id in the url and the views are decremented
The bucketId, photoIds and decrypted mnemonic are used to download the shared photos into a zip


Unrecognized format error: could not open file /var/cache/pacman/pkg/*

Describe the issue
When attempting to run sudo pacman -Syu or sudo pacman -S I receive

could not open file /var/cache/pacman/pkg/pkg.pkg.tar.zst: Unrecognized archive format
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.

To Reproduce
I have fresh installed from zip to both Documents and a folder on the desktop.
1.) Run Arch.exe as administrator
2.) set root passwd and default user per wiki
3.) Logged in as created user, run sudo pacman-key --init   and sudo pacman-key --populate
Expected behavior
after refreshing keys, pacman should be able to install and update packages
Actual behavior
Run sudo pacman -S libusb
[user@user ~]$ sudo pacman -S libusb
resolving dependencies...
looking for conflicting packages...
:: systemd-libs and libsystemd are in conflict. Remove libsystemd? [y/N] y

Packages (3) libsystemd-238.133-4 [removal]  systemd-libs-245-3  libusb-1.0.23-2

Total Download Size:   0.55 MiB
Total Installed Size:  1.94 MiB
Net Upgrade Size:      0.32 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'systemd-libs-245-3-x86_64.pkg.tar.zst' from mirrors.evowise.com : The requested URL returned error: 404
 systemd-libs-245-3-x86_64                      504.7 KiB  59.9K/s 00:08 [########################################] 100%
 libusb-1.0.23-2-x86_64                          57.0 KiB  77.3K/s 00:01 [########################################] 100%
(2/2) checking keys in keyring                                           [########################################] 100%
(2/2) checking package integrity                                         [########################################] 100%
(2/2) loading package files                                              [########################################] 100%
error: could not open file /var/cache/pacman/pkg/systemd-libs-245-3-x86_64.pkg.tar.zst: Unrecognized archive format
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.

Running sudo pacman -Syu will also prompt to replace libsystemd with core/systemd-libs,
it will proceed to update the packages then not be able to install them with the same error as in the title. Do I have a permissions issue going on? Thanks in advanced.

After following
wget https://pkgbuild.com/~eschwartz/repo/x86_64-extracted/pacman-static chmod +x pacman-static sudo ./pacman-static -S libusb
I was able to install libusb, currently running sudo ./pacman-static -Syyu (very slow internet speed... as you can tell. 77.3kb/s lol)
Wondering if this will fix it or if I will need to mess around with this pacman-static some more. Forgive me, I'm not very familiar with Arch's package manager.

Not working.
$ wget https://pkgbuild.com/~eschwartz/repo/x86_64-extracted/pacman-static chmod +x pacman-static sudo ./pacman-static -S libusb
--2023-01-10 14:02:54--  https://pkgbuild.com/~eschwartz/repo/x86_64-extracted/pacman-static
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving pkgbuild.com (pkgbuild.com)... <IP_ADDRESS>, 2a01:4f8:c2c:51e2::1
Connecting to pkgbuild.com (pkgbuild.com)|<IP_ADDRESS>|:443... connected.
ERROR: The certificate of 'pkgbuild.com' is not trusted.
ERROR: The certificate of 'pkgbuild.com' has expired.
--2023-01-10 14:02:55--  http://chmod/
Resolving chmod (chmod)... failed: Name or service not known.
wget: unable to resolve host address 'chmod'
--2023-01-10 14:02:55--  http://+x/
Resolving +x (+x)... failed: Name or service not known.
wget: unable to resolve host address '+x'
--2023-01-10 14:02:55--  http://pacman-static/
Resolving pacman-static (pacman-static)... failed: Name or service not known.
wget: unable to resolve host address 'pacman-static'
--2023-01-10 14:02:55--  http://sudo/
Resolving sudo (sudo)... failed: Name or service not known.
wget: unable to resolve host address 'sudo'
--2023-01-10 14:02:55--  http://./pacman-static
Resolving . (.)... failed: No address associated with hostname.
wget: unable to resolve host address '.'
--2023-01-10 14:02:55--  http://libusb/
Resolving libusb (libusb)... failed: Name or service not known.
wget: unable to resolve host address 'libusb'
$ ls
$

Also the pacman-static link is dead.

I don't this so:
" Last Updated: 	2022-11-18 16:51 (UTC)"

Ok i know how repair this for any person who will be read this:
Must add in pacman.conf this:
[pacman-static]
SigLevel = Required
Server = https://pkgbuild.com/~morganamilo/$repo/$arch

form https://aur.archlinux.org/packages/pacman-static
but because you get error when try pacman -Syu:
]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
pacman-static                                                                                544.0   B  0.00B/s 00:00 [####################################################################################] 100%
pacman-static.sig                                                                                566.0   B  0.00B/s 00:00 [####################################################################################] 100%
error: pacman-static: key "F850562FCDA369F80D33000AE48D0A8326DE47C5" is unknown
error: key "F850562FCDA369F80D33000AE48D0A8326DE47C5" could not be looked up remotely
error: failed to update pacman-static (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases
You must replace "SigLevel = Required" for "SigLevel = Never".
And...
]$ sudo pacman -S pacman-static
resolving dependencies...
looking for conflicting packages...
Packages (1) pacman-static-6.0.1-2
Total Download Size:    2.76 MiB
Total Installed Size:  16.79 MiB
:: Proceed with installation?
And now test pacman-static -Syu
[...]
Total Installed Size:  8033.99 MiB
Net Upgrade Size:      2322.55 MiB
:: Proceed with installation? [Y/n]
(1127/1127) checking keys in keyring                                                                                [####################################################################################] 100%
(1127/1127) checking package integrity                                                                                [####################################################################################] 100%
(1127/1127) loading package files                                                                                [####################################################################################] 100%
(1127/1127) checking for file conflicts                                                                                [####################################################################################] 100%
error: failed to commit transaction (conflicting files)
imath: /usr/lib/libImath.so exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/Iex.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexBaseExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexErrnoExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexExport.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexForward.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexMacros.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexMathExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexMathFloatExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexMathIeeeExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexNamespace.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IexThrowErrnoExc.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThread.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadExport.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadForward.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadMutex.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadNamespace.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadPool.h exists in filesystem (owned by ilmbase)
openexr: /usr/include/OpenEXR/IlmThreadSemaphore.h exists in filesystem (owned by ilmbase)
openexr: /usr/lib/libIex.so exists in filesystem (owned by ilmbase)
openexr: /usr/lib/libIlmThread.so exists in filesystem (owned by ilmbase)
Errors occurred, no packages were upgraded.
...and near success but still get error.


Pass generators to dict() and tuple() instead of coercing to a list

Avoids storing temporary lists in memory.

Instead of passing generators you could go a step further for lists, dicts and sets and use comprehensions.

Thanks @zeebonk . That suggestiion is included in #916.

Merged as d05afabcc038764d4edfe5040c4ce783da691724


test: prefer dl.k8s.io over storage.googleapis.com/kubernetes-release

The latter has been deprecated, and doesn't provide binaries for the latest releases.
Also see https://github.com/kubernetes/k8s.io/issues/2396.

/test

This should be covered in https://github.com/cilium/cilium/pull/36235 as well

@sayboras was way ahead of me, as usual :tada:


Backport build for non x86_64 to 0.8

Is your feature request related to a problem? Please describe.
0.8.1 is currently broken on non x86_64 due to missing import for AtomicUsize in src/indexer/stamper.rs
Describe the solution you'd like
I'd like the fix (74f70a5c2ccb229142b7416fe33d5cba246042c6 I believe) to get back-ported as a 0.8.X, without having to wait for an 0.9 to come out

That does seem to be the problem indeed.
Fix is on the way.
Waiting for android CI to finish to publish.

Published as 0.8.2 . @fdb-hiroshima can you confirm that your problem is fixed.

I can confirm this fixes @fdb-hiroshima 's report.

Thanks, that solved the problem (tested on arm)

Awesome thanks!

@mcrosson Please any bug you encounter too! If you can share what apps you work on I am interested :)

Im not working on any specific rust apps actually. Im one of the founders of https://lollipopcloud.solutions . We are focused on providing docs, docker containers and more for others who would like to self host but don't want to sort out the finer details. At the moment we are building plume and bitwarden_rs which is how I came across the bug.

Cool! Thanks for the info!


Remove deprecated invoice fields, use new fields

app/code/community/Bitpay/Core/Model/Invoice.php, line 34-47:
Remove fields btcPrice, btcPaid and rate (as they will be removed from the invoice).
Store new field transactionCurrency.

Fixed in PR #147


How can I completely delete a function from my cloud resources?

Which Category is your question related to?
amplify remove function
Amplify CLI Version
4.27.3
What AWS Services are you utilizing?
Function
Provide additional details e.g. code snippets
Would the following delete the function from my cloud resources?
amplify remove function
amplify push

Would the following delete the function from my cloud resources?
amplify remove function
amplify push

That should do it.


doc: add 7.0.2 release notes

Closes osism/release#1305

Can be merged & tagged tomorrow morning.


Fronts plots

Adds more abilities to the scripts/output_utils.py plotting tools. Specifically, adds:

ability to plot fronts
ability to plot layer depths with fronts
ability to plot layer type with depths and fronts

If your files have a lot of data in them (i.e. long time range), the initial plot will be too busy to be useful, but the interactive zoom tools let you view just a subset, and then things are usable.
Here is an example using the data that @rarutter sent me last week from an extensive fronts debugging session.
Initial view (too messy, but gets you oriented):
$ ./scripts/output_utils.py --yx 0 0 --stage tr --timeres monthly fronts /home/vagrant/better_fronts

Zoomed way in, also with layers and layer colors display enabled (see args on command line):
$ ./scripts/output_utils.py --yx 0 0 --stage tr --timeres monthly fronts /home/vagrant/better_fronts --show-layers --layer-colors

Fix sign error for coloring the front markers:


Feature: resolve conflict (stage merged file) on successful merge

check helper methods return value and abort merge on fails
store temp. backup of merge target file and revert to it on merge fail
if mergetool..trustExitCode is true simply resolve
otherwise, resolve only if file changed from original
(git would normally prompt if unchanged as well, we simply revert)

Great - thanks!


The migration was not applied because it triggered warnings and the force flag was not passed.

Command: prisma db push
Version: 3.15.2
Binary Version: 461d6a05159055555eb7dfb337c9fb271cbd4d7e
Report: https://prisma-errors.netlify.app/report/14090
OS: x64 linux 5.10.76-linuxkit
JS Stacktrace:
Error: Error in migration engine.
Reason: [/root/.cargo/git/checkouts/quaint-9f01e008b9a89c14/682520f/src/connector/result_set/result_row.rs:59:64] index out of bounds: the len is 1 but the index is 10

Please create an issue with your `schema.prisma` at
https://github.com/prisma/prisma/issues/new

    at handlePanic (/usr/local/share/.config/yarn/global/node_modules/prisma/build/index.js:93373:25)
    at ChildProcess.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/prisma/build/index.js:93382:15)
    at ChildProcess.emit (events.js:376:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

Rust Stacktrace:
Starting migration engine RPC server
The migration was not applied because it triggered warnings and the force flag was not passed.
[/root/.cargo/git/checkouts/quaint-9f01e008b9a89c14/682520f/src/connector/result_set/result_row.rs:59:64] index out of bounds: the len is 1 but the index is 10

@pimeys do you have further context for this issue?


Error when make

I cloned it and downloaded all the required packages. when I try to run make, it give me this error. I looked at some solutions online, they seem to be related to "link". I'm new to this and have no idea what to do with this error. Can I get some help please? thanks a lot!
g++ -o ../../../Bin/x86-Release/libOpenNI2.jni.so ./../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/OpenNI.jni.o ./../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o  -L../../../Bin/x86-Release -lOpenNI2 -Wl,--no-undefined -shared
/usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/libOpenNI2.jni.so] Error 1
make[1]: Leaving directory `/home/Waffle555/OpenNI2/Wrappers/java/OpenNI.jni'
make: *** [Wrappers/java/OpenNI.jni] Error 2

Hi, and apologies for the late answer.
Your problem is related to Java bindings not building,
Are you still getting this with the latest unstable branch, where they are disabled by default?

Please use the develop branch, and follow the README, for your development efforts.


Dev 0.11.0

This version has passed the complete functional and non functional tests and meets the release requirements. The test report is shown in the attachment. Welcome to review.（本版本已经经过了完整的功能性和非功能性测试，满足release要求，测试报告如附件所示，欢迎大家审阅。）
Linkis0.11.0TestReport.docx

The test report is too simple, could you please give a more detailed version, which contains some specific use cases :)


Adapt NetworkPolicys

How to categorize this PR?

/area security networking
/kind enhancement
What this PR does / why we need it:
This PR adapts the NetworkPolicys as following:

The custom pod label selectors for Prometheus is adapted similar to https://github.com/gardener/gardener/pull/7907/commits/b14706780cb74902404aa44351bd39124aee48ae.

Which issue(s) this PR fixes:
Related to https://github.com/gardener/gardener/issues/7352
Release note:

NONE

/test pull-gardener-extension-registry-cache-verify-image-build

/test pull-gardener-extension-registry-cache-verify-image-build

/test pull-gardener-extension-registry-cache-verify-image-build

/test all
to test the new test definition

The test was running a couple of times successfully 👍
The PR looks good too.
/approve


Polish: Display Receipts in-Chat Design Edits

We've created the ability to display receipts in chat, however we need a few design elements updated to reflect our standards. See below:

For the scanning label, can we make sure that everything is aligned to the left? There should be 12px of gap between the badge and the text:

Also notice that we want to keep a smaller gap between the bottom of the header avatar and the badge, it should be just 12px apart

The text in the Scanning banner shouldn't be right-aligned:

The receipt thumbnail in the request view on desktop/web shouldn't be full width:

Margelo is working on this, no more proposals please 🙇♂

Hi, it's Lucas from Callstack. Happy to have a go on that!

Will it be opened to all contributors or via agency @dylanexpensify

Also some of the images are broken

thanks for everyone's interest! We have an agency hired for this, so no new proposals please - ty!

@lukemorawski mind giving an ETA on when you'll have a PR raised? 🙇♂

@dylanexpensify Should be today

@lukemorawski mind giving us an update? 🙇♂

bump @lukemorawski 🙇♂

Hey, still working on this. Should have it today!

@lukemorawski any update?

@lukemorawski this is quite a big add on the UI front, so if we can please get this ready for merge tomorrow, that'd be great!

@lukemorawski did you get that PR up, I can't see it linked?
This is a very important polish issue we're looking to get completed ahead of the SaaStr conference early next week.

Hey, I have a draft PR internally. Should be out and open today! Sorry for keeping you waiting!

@lukemorawski sorry for the change here, but since this was high important @luacmartins has raised a PR internally https://github.com/Expensify/App/pull/26509 we are just waiting for a design sign off there now. I think we will take care of this now. Thanks

@mountiny Cool and sorry for the inconvenience again.

@lukemorawski no problem, let's just try more communication and updates in case previous ETA wont be met especially when the issues are pressing time-wise. Onto next one 🚀

Merged 🚀 leveing it open for payment to @ntdiary

payment time!

I think we're just waiting on payment here

@ntdiary sent invite!

offer sent @ntdiary!

done!


Can't Create folder?

This looks super exciting! I was a little disappointed I couldn't get it working.

It throws this error when I try and create a new profile. It seems to be failing to make the required folder? Running the program as an administrator seems to keep it from complaining about the inability to create folders.
Also, I have version 1.4.5 of KSP installed, but 1.4.1 is the only option under "Version".

Creating a profile, when run as an administrator, doesn't seem to do anything beyond create a few folders in %appdata%... Maybe this is because my initial "copy everything over" profile failed to be created...?

Also, settings on the main interface is mis-spelt (needs two 't's).

Is there a way to delete Profiles?

I'll be a bit busy for the next couple of days, so a proper fix to the bug may be delayed.
The version numbering inconsistency is because I do not yet auto-detect a version, so the setup defaults to 1.4.1. This will be updated in the future, once I decide on a means of handling version changes from automatic updates.
Thanks for pointing out the spelling of "Settings", I have a tendency to overlook typos when testing.
As for profile deletion, I do not currently have proper implementation as of yet, but it should be in the next update

It appears that in the new UI I forgot to actually get the versions when you open the new profile dialog.
Downloading the newest version should fix the issue.
If you want to delete a profile, you can do so by removing it from config.json

I got v1.2.5 installed, and it creates a profile from my existing install!
Creating a new profile works, but it copied over all my saves from the first profile. Otherwise, switching between profiles seems to work.
I created a pull request to fix the spelling of "Settings", because, Why not? Plus it helps me get my Hacktoberfest shirt.
You probably need an "Uninstall" option somewhere too, so return the KSP folder to it's original, unlinked status.

I have KSP through Steam, and earlier this week Steam updated KSP to version 1.5.1 automatically. When I went to launch your profile manager afterwards, it broke, throwing up and error (I forgot to take a screen shot of it), and made my profiles disappear.

I'll try to find the cause tonight. If its a quick fix I should have a patch soon, otherwise it may be awhile. Unfortunately school is becoming more and more demanding, so the project will be mostly frozen for the near future. However if when you have issues please continue to report them as I only have one machine to test on, so many go unnoticed.

School is of course the priority; don't worry about this on my account.
To be clearer, the folders containing the profiles were still on my hard disk, but they were no longer listed on the UI.


Mandatory Attributes

The latest UML2YANG tool will include mandatory substatement to attributes that has "Multiplicity 1 + no default values defined".
The following attributes which are formerly optional will be changed to mandatory in the upcoming YANG.
Further , if an attribute is decided to be optional , we shall handle it in the UML modelling by either introducing a default value or by modifying the Multiplicity to 0..1.

S.No
Grouping/Datatype
Attribute
Mandatory
Optional

1
object-creation-notification
object-id-ref

2
object-deletion-notification
object-id-ref

3
attribute-value-changed-notification
object-id-ref

4
tdm-container-configuration
tdm-container-kind

5
tdm-container-kind
tdm-container-name
X 1)

It is a key attribute of tdm-container-capability/supported-tdm-container-kind-list

Potential Proposal to the 5G-xhaul call on 25th of October 2023:**
UML2YANG tool will include mandatory substatements to attributes marked as mandatory.

S.No
Grouping/Datatype
Attribute
Mandatory
Optional

1
object-creation-notification
object-id-ref
X

2
object-deletion-notification
object-id-ref
X

3
attribute-value-changed-notification
object-id-ref
X (alike hybrid-mw-structure-configuration :: tdm-structure-kind)

4
tdm-container-configuration
tdm-container-kind
X

5
tdm-container-kind
tdm-container-name
X 1)

1) It is a key attribute of tdm-container-capability/supported-tdm-container-kind-list


No Codspace kernels after continuing onto Codespaces

Testing #13974
Once I have continued onto codepspaces from via the new feature, I do not see any option to select code space kernels in the kernel picker.
Hence continuing onto codespaces is actually not a good thing

Duplicate of https://github.com/microsoft/vscode/issues/189280


How to Set the feature image in xxxx/post and xxx/tags ?

How to Set the feature image in xxxx/post and xxx/tags ?
Just those two pages :
menu=>post=>all posts
menu=>posts=>all tags
How to Set the feature image in those two pages?
Thinks...

You can set the feature image for these 2 pages the same way you would for any other post or page. Add the relevant YAML Front Matter to either posts/index.html or tags/index.html.
Example:
image:
  feature: filename.jpg
  credit:
  creditlink:

Oh yes, Thinks very much ...


Replaced Bluebird Promise.mapSeries with sequence util

Refactored code for #14882
Removed Bluebird Promise.mapSeries and used sequence util.

The changes in listeners.js were casing regression tests to fail so reverted those changes from this PR. I'll refactor this file in another PR.

Thanks @vershwal! 🕺🏻


refactored pip package to fix installation bugs

What
Fixed issues with the pip client not installing correctly. Originally the client was packaged using a setup.py script that used setuptools under the hood. It attempted to share code between the main vectorflow repo and the pip client. There were substantial issues with:

Using this command, python setup.py sdist, it created a tar zip folder but no wheel file, which is used by more modern python packages. In the command line output, it also appeared to create then delete some of the files, with output like removing 'vectorflow_client-0.0.1' (and everything under it)
The setup.py file had to be located in the project root rather than in the client directory for the shared code to get packaged. And MANIFEST.in file had to be added to package the SRC directory into the pip package but all that actually did was copy it into client from src/shared before creating the tar zip file
The package did not install, despite including the raw python files in the zip file (which I verified manually before pushing the latest version to pypi). The package when installed via pip only included the metadata in the .egg-info folder, not any usable python files

In order to fix this, I did the following:

Following this tutorial here swapped setup.py for pyproject.toml
Swapped setupttools for hatchling as the backend tool used to create the package
Made copies of the enums in the src/shared and placed them into the client to avoid packaging issues

Verification
You can see in the screenshot below that the test_vectorflow_client.py script succeeds on both the single-file embed and the multi-file jobs endpoint:

Since that script is part of the main vectorflow repo, I also made a new project and tested the client in a completed isolated python environment to demonstrate that it installs correctly from pypi.

As a follow up note. Building now occurs with:

cd to the client directory
run python -m build
run python -m twine upload dist/*
user __token__ as the username for pypi


fix: SOF-858 mini rundown filtering and scrolling

Fixes the following issues:

Segments with isHidden: true(e.g. segments with no parts or floated segments) were shown
When refreshing the page, current/next segment would not be scrolled into view
It used a magic number that made the offset right only for one scale value

Codecov Report

Merging #130 (5c8ca7a) into staging (4704de9) will decrease coverage by 0.89%.
The diff coverage is n/a.

:exclamation: Current head 5c8ca7a differs from pull request most recent head 47e1551. Consider uploading reports for the commit 47e1551 to get more accurate results

@@             Coverage Diff             @@
##           staging     #130      +/-   ##
===========================================
- Coverage    66.73%   65.83%   -0.90%
===========================================
  Files          267      255      -12
  Lines        18752    17740    -1012
  Branches      4038     4042       +4
===========================================
- Hits         12514    11680     -834
+ Misses        6195     6018     -177
+ Partials        43       42       -1

Impacted Files
Coverage Δ

...es/server-core-integration/src/lib/ddpConnector.ts

...ckages/server-core-integration/src/lib/timeSync.ts

...server-core-integration/src/lib/corePeripherals.ts

.../server-core-integration/src/lib/coreConnection.ts

packages/server-core-integration/src/index.ts

packages/server-core-integration/src/lib/queue.ts

packages/server-core-integration/src/lib/random.ts

.../server-core-integration/src/lib/configManifest.ts

...ckages/server-core-integration/src/lib/watchDog.ts

...kages/server-core-integration/src/lib/ddpClient.ts

... and 2 more

Continue to review full report at Codecov.

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


Stale bot

Set up a stale bot to automatically tag issues as stale, allowing us to triage issues that have stagnated.

Rather than the external bot, we can use actions/stale for this.
It's intended to be setup locally in each repo, but to DRY things up it should be possible to override the env var it pulls repo context from, centrally define one config here and then iterate over all of our repos as a jobs matrix.
We can pull a list of these via a similar approach to the label sync action.

Current processes are adequate in identifying residual/stale issues.


Add check for updates when client starts

This behavior can be opted out of before the first login screen appears, and then opted back in from preferences.
Will try to use a tokenless GitHub API to fetch the latest release tag.

This API endpoint can be used without authentication: https://api.github.com/repos/DiscordMessenger/dm/releases

Implemented in e701778f0


Zookeeper doesn't deploy into virtualbox minikube

Virtualbox appears to have an issue with mounting hostPath PVs in a writeable/accessible state. As a result, zookeeper fails to get started in minikube
I hacked my way around it by using emptyDir: {} for my datadir.  not a great solution. I'm happy to open PR to fix if I can get some guidance on an approach that would be acceptable.
Startup logs:
2017-04-28T13:30:58.695403610Z ZK_MAX_CLIENT_CNXNS=60
2017-04-28T13:30:58.696127763Z ZK_MIN_SESSION_TIMEOUT= 4000
2017-04-28T13:30:58.696131577Z ZK_MAX_SESSION_TIMEOUT= 40000
2017-04-28T13:30:58.696134032Z ZK_HEAP_SIZE=256m
2017-04-28T13:30:58.696136340Z ZK_SNAP_RETAIN_COUNT=3
2017-04-28T13:30:58.696138699Z ZK_PURGE_INTERVAL=1
2017-04-28T13:30:58.696141223Z ENSEMBLE
2017-04-28T13:30:58.696143672Z server.1=zk-kafka-zookeeper-0.hs-zk-kafka-zookeeper.default.svc.cluster.local:2888:3888
2017-04-28T13:30:58.696146303Z Enviorment validation successful
2017-04-28T13:30:58.696158215Z Creating ZooKeeper configuration
2017-04-28T13:30:58.696161196Z Wrote ZooKeeper configuration file to /opt/zookeeper/conf/zoo.cfg
2017-04-28T13:30:58.699766539Z Creating ZooKeeper log4j configuration
2017-04-28T13:30:58.699829100Z Wrote log4j configuration to /opt/zookeeper/conf/log4j.properties
2017-04-28T13:30:58.699880471Z Creating ZooKeeper data directories and setting permissions
2017-04-28T13:30:58.701553986Z mkdir: cannot create directory '/var/lib/zookeeper': Permission denied
2017-04-28T13:30:58.704557792Z chown: cannot access '/var/lib/zookeeper/data': Permission denied
2017-04-28T13:30:58.709345143Z mkdir: cannot create directory '/var/lib/zookeeper': Permission denied
2017-04-28T13:30:58.710343958Z chown: cannot access '/var/lib/zookeeper/log': Permission denied
2017-04-28T13:30:58.710618048Z /usr/bin/zkGenConfig.sh: line 125: /var/lib/zookeeper/data/myid: Permission denied
2017-04-28T13:30:58.710661909Z Created ZooKeeper data directories and set permissions in /var/lib/zookeeper/data
2017-04-28T13:30:58.711457677Z Creating JVM configuration file
2017-04-28T13:30:58.711466891Z Wrote JVM configuration to /opt/zookeeper/conf/java.env
2017-04-28T13:30:58.717536771Z ZooKeeper JMX enabled by default
2017-04-28T13:30:58.718452575Z Using config: /usr/bin/../etc/zookeeper/zoo.cfg
2017-04-28T13:30:58.721629296Z mkdir: cannot create directory '/var/lib/zookeeper': Permission denied

I'm having a similar issue, but how have you confirmed that this is a VirtualBox bug? Have you tried other vm driver?

@aschepis can you please log this issue against minikube? I believe the it should use host path PVs.

you can close this issue.  it is not specific to the chart

I'm hitting this problem too, and I can't figure out where to put the emptyDir: {} to hack it. Also, I can't find a corresponding issue in minikube, was one logged?

This is the relevant minikube issue, though the underlying problem appears to be in k8s: https://github.com/kubernetes/minikube/issues/956

See also: https://github.com/kubernetes/kubernetes/issues/2630

Another way to make this work is to remove the "runAsUser" in the ss.yaml file.


Common way to deal with electron desktop integrations

We currently handle electron desktop integrations differently:

Open, save, close actions vs.
newer show message box action.

Closed through #71 and #65


Signature verification pre-"release"

One of the main uses for the Parsec service is signature generation and verification. When it comes to generation, we normally perform a series of checks on the inputs to the operation, perform the signature, and send it back to the client if successful. However, another type of check that we could perform would be a post-signing, pre-"release" (i.e., release of the signature to the client): simply verify the signature using the public part of the key that was just used to sign. For example, this step is suggested in FIPS 186-4 as "signatory may optionally verify the digital signature using the signature verification process and the associated public key".
This verification step can be added conditionally (through a configuration). An issue may exist in PKCS11 if the token does not support public key operations - this new configuration option cannot be independent of the one switching on software public-key ops.

FWIW the notion of signature "middleware" is something we've previously discussed adding to the RustCrypto signature crate.
I can't find a specific tracking issue for this, although somewhere I have a rough implementation in a local branch.
The pattern I was implementing was roughly modeled after tower::Service (sans Futures), where a caller calls a generic "next" middleware in a pipeline, handling the return value from the call to the next middleware with middleware-specific logic.

Thank you for the idea and insight! It would, indeed, make more sense to make this a middleware over the Parsec providers instead of implementing it in each one individually. I was thinking we could defer the verification to the client libraries, but it seems more consistent with the Parsec value proposition to do it at service level (instead of asking for each client library to implement it).
If we do go ahead and add this feature, we could always perform the tests in software (by using some implementation underneath signature, for example) - my only worry there is in packaging the service for some distros like Fedora, where non-FIPS-certified implementations are a no-no. I guess we could have a Cargo feature to remove this check for those distros. Funny how that requirement could end up resulting in worse security... :)


India' is missing from the list

In your Asia Pacific I didn't find the name of country like India. Really you don't have Indian map?

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

ID: 8fd8f5a8-7ecb-9ee8-0bc9-53b1c5949e41
Version Independent ID: 32eb1cc8-893b-eb61-df92-717bf9f8d4a7
Content: Geocoding Coverage in Azure Maps
Content Source: articles/azure-maps/geocoding-coverage.md
Service: azure-maps
GitHub Login: @dsk-2015
Microsoft Alias: dkshir

@archergod Thanks for the feedback! We are currently investigating and will update you shortly.

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

@walsehgal Hey Waleed can you please look into this issue?

@archergod, currently we don't have a high fidelity map for India and we are working on to have that soon.

That is embarrassing for Microsoft, that they don't cover India yet. However, don't you think you still should have mention that in your Page, maybe a separate section where you mention the same information so people like me can read it there rather than wait 2 month on thread like this for information?

Hi @archergod, the high fidelity map for India should be available soon; anyway, I suggest you to subscribe to Azure Updates notifications to stay informed about important Azure product updates, roadmap, and announcements, so you don't need to wait on this thread. Here's the link: https://azure.microsoft.com/en-us/updates

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


support/wallet api e2e llm

test: add account.request flow
trying env var

📝 Description
trying stuff
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo
pnpm mobile e2e:build -c ios.sim.debug
pnpm mobile e2e:test -c ios.sim.debug apps/ledger-live-mobile/e2e/specs/wallet-api.spec.ts

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

The doc doesn't match with its type definition 😅
https://wix.github.io/Detox/docs/api/webviews/#runscriptwithargsscript-args


feat: local plugins

replaces https://github.com/latticexyz/mud/pull/1025
fixes https://github.com/latticexyz/mud/issues/746
fixes https://github.com/latticexyz/mud/issues/700
new issues we should add if this PR is merged as-is (the first two to replace a general #700):

plugin hooks
plugin cli
mudup command to handle .mud
tsgen should be part of mudup, not in userland with a hardcoded .mud/expandedConfig.ts
reconsider AsDependent and its need in StoreConfig
better errors when something gets an incorrect config (especially if it's an unexpanded config, this can probably be generalized with an extra option expandConfig injects)
docs

Should mudConfig be in world and include storePlugin, worldPlugin by default?
(not very related to this PR) I really dislike how as const forces incorrect type highlighting to spread onto the entire config, rather than a specific line

Closing for now since this is very outdated and we'll likely start fresh when we get to the config overhaul.


Login Screen: The white text in grey background is just a bit too hard to see so we should up the contrast.

Small enhancement. Low priority. Text color just needs to be more prominent. I think we can just up the opacity on the text or shift to a darker grey.

The current blue/turquoise color for text is still kind of hard to read against the background.


[5.6] Add withDefault() support to MorphTo relationships

Adds withDefault() support to MorphTo relationships:
public function commentable()
{
    return $this->morphTo()->withDefault();
}

The tests are taken from DatabaseEloquentBelongsToTest.
Fixes #24055.

Hi,
I am the person who originially opened #24055.
I fail to understand how calling ->withDefault() could determine how to create the related model instance.
According to me, this should throw an exception because the Comment class has no idea what to create as default (a video or a post?)
So the only valid use case of withDefault for MorphTo is when you provide a dynamic callback.
For instance:
FooModality extends Model

BarModality extends Model

Mission extends Model
    has attributes : 'template', 'modality_type', 'modality_id'

    public function modality() : MorphTo {
        return $this->morphTo('modality')
                ->withDefault(function() {
                    // Eloquent needs to update our 'modality_type', 'modality_id' columns
                    if ($this->template==='foo') return new FooModality();
                    if ($this->template==='bar') return new BarModality();

                    throw new IllegalArgumentException("Mission type is not handled");
                });
    }

If we want to be able to use withDefault() then we need to introduce somehow a mecanism to decide which class of related model to instanciate.


Todo App

In this pull request, I performed  the following:

Set up React
Added React form and handling event
Implemented CSS
Added editing to to-dos items
Added React lifecycle methods
Added React hooks
Added SVG icons

Thank you very much for the review 😄


Fix bug that crashes old Sample Upload page.

If the user selects a file before they input a sample name in the old sample upload flow, the page would crash.
Verified that after this fix, the page no longer crashes.

My bad. Thanks for the fix.


Improve documentation about APEX Launch-Readiness

Current app says:

Looking at the page: https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37799/APEX-Launch-Readiness-(PLR) I am lost at what should I do when looking at this page. It will be good to improve the documentation to explain what APEX Launch-Readiness is and steps or other information

This UI is not in Beta V1 or Beta V2.  It may surface again when we support non-APEX products.  The page you found is the table for all of our APEX launch criteria (not APEX program).  We can add information at the top of the page that directs to the APEX wiki.

We can close this issue for now. If needed in the future, we can re-open


rclip: 1.8.8 -> 1.8.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rclip is: AI-Powered Command-Line Photo Search Tool
meta.homepage for rclip is: https://github.com/yurijmikhalevich/rclip
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.10 with grep in /nix/store/v8ggn11fya4wmzp2740ggdxg06ml1z5y-rclip-1.8.10
found 1.8.10 in filename of file in /nix/store/v8ggn11fya4wmzp2740ggdxg06ml1z5y-rclip-1.8.10

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

rclip

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v8ggn11fya4wmzp2740ggdxg06ml1z5y-rclip-1.8.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rclip https://github.com/r-ryantm/nixpkgs/archive/23edadfa2c41ce32f11620389f5305c654c09739.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/23edadfa2c41ce32f11620389f5305c654c09739#rclip

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v8ggn11fya4wmzp2740ggdxg06ml1z5y-rclip-1.8.10
ls -la /nix/store/v8ggn11fya4wmzp2740ggdxg06ml1z5y-rclip-1.8.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

rclip
rclip.dist

Maintainer pings
cc @iynaix for testing.

@NixOS/nixpkgs-merge-bot merge


Submit 0.25 version of Intel Device Plugins Operator to https://operatorhub.io/

https://github.com/k8s-operatorhub/community-operators/pull/1921


Prefetcher busy_o

Two asserts that check that busy_o in the prefetch_buffer can change its state are failing. The assert that checks that once busy_o is low it can go high in future is failing in two clock cycles; this one I'm more inclined to say it can be a setup issue, as I'm still not fully familiar with the design; the interfaces are not fully specified either so difficult to say. However, the assert that says once you're busy you should become not busy eventually is also failing at 6 clock cycles suggesting it is possible to put the prefetcher in the busy state forever.

I can't find these assert statements, they seem no longer to be there. We have clarified how the instruction interfaces work some time ago. I am thus closing this issue now.


Convert this site into a documentation site

Organization site should be moved to mumuki/mumuki-organization-site.
This repo, instead, should contain tech information about the following items

Architecture
Installation overview - particular installation details should be on each repository
Gems description
Links to main projects
Runners status, by hitting thesaurus.

It should also be linked from README's and from organization site.

The runners architecture could be extracted from this old post:
Introduction
Mumuki language definitions are pluggable: you can add a new language at any moment. For security reasons adding a language to the main platform is enabled only to admins, so if you have a runner that you want add to it just create an issue.
In order to add a new language plugin, you must tell mumuki the following things:

Language name
Language file extension
Language icon url
Test Runner Server

The first items are really straightforward. But the latter requires further explanation.
Test Runner Server API
A Test Runner Server is an HTTP written in any language, that supports a test operation:
POST /test

It expects a JSON as body, and must return a JSON too, and a status 200.
Expected input:
{
 "content": "...the submission...",
 "test": "...the test code ...",
 "extra": "...extra code...",
 "expectations": [
    {"binding":"..the binding...", "inspection": "...the inspection..."},
    ...
 ]
}

Some details:

content is just the plain submission of the user, as-is.
test is just the plain test code associated to the exercise
extra is just the plain - optional - extra code associated to the exercise.

That means that in most cases the test runner will have to concatenate those three portions of text and send the result - aka compilation - to the underlying test runner. In other the compilation is more complex and requires the addition of imports or special directives. Eg:

Haskell tests require some import statements - that placed before the code portions - and a main method - that must be placed after the content in order to allow content to declare extra imports.

Expected output:
{
  "exit":"passed/failed",
  "out":"....the test runner raw output ...." ,
  "expectationResults": [
    {"expectation":{"binding":"..the binding...", "inspection": "...the inspection..."}, "result":true/false},
    ...
  ]
}

Servers are required to process content and test; extra code processing is important but not essential. Finally, processing expectations is optional. Returning an empty expectationResults array is fine in those cases.
Bootstrap the process
Developing a server is not complex, but a little tedious. If you just need to concatenate strings for compiling your submission, and running a command for running the tests, then you should use MumuKit. It is a gem for building simple test runner servers, using sinatra.
There are several samples of runners developed using mumukit: rspec-server, pluint-server, cspec-server.
Bootstraping the expectations
If you want to process expectations, there is another gem you can include into you runner: mumukit-inspection, which helps with parsing the Mumuki inspection language.

Other useful old posts:

https://github.com/mumuki/mumuki.github.io/blob/old-master/_posts/2015-06-29-empezando-a-desarrollar.markdown
https://github.com/mumuki/mumuki.github.io/blob/old-master/_posts/2015-06-16-el-lenguaje-de-expectativas.markdown
https://github.com/mumuki/mumuki.github.io/blob/old-master/_posts/2015-06-22-extendiendo-mumuki-runners.markdown
https://github.com/mumuki/mumuki.github.io/blob/old-master/_posts/2015-07-10-escribiendo-guias.markdown

Done


Client API checks - adding checks - future releases

Dear authors,
do you plan to add Sensu API calls to add checks on the fly without restarting server or client?
Anyway Sensu is what I was looking for ;-) Nagios never more.

+1. It'd be great if we could post to the API to create checks automatically rather than writing config. The new checks could be either added to the config directory as separate json files or stored in redis similarly to stashes. With the http check plugin, sensu could be a Pingdom replacement.
Not too sure how reloading could be done without restarting the server though as it runs in a different process than the API.
I wouldn't mind sending a PR if you'd be willing to consider this. If ok, would you have suggestions re: config dir vs redis, server reload?

+1 for such feature.

I'm just using Sensu with the server, api and client on the same box at the moment. Obviously writing on the disk cannot work with a distributed setup as the API can be on a different machine than the server(s) so it's just a hack. Actually even writing to redis wouldn't work unless you have a way to restart the servers remotely so this feature is probably really hard to implement properly. That said, modifying the API to do that wasn't very hard, I'll push to my fork later.

:+1: I have not seen that thread (so I opened one recently)
https://github.com/sensu/sensu/issues/935

any eta when this feature will be released ? Its a must feature in my setup.

It requires a bit of logic in my opinion.
Clients will have to pull down configuration and in best case plugins from sensu server where they will be stored in Redis or on disk.

We think about having consul for this specific solution - we will add check results into sensu client via 3030 port of sensu-client.
It is little bit crazy, but it can work.

@david-strejc hi there! My apologies for the radio silence on our end.
It looks like https://github.com/sensu/sensu/issues/935 is a duplicate or very similar to this issue, which I have presumptuously tagged for potential inclusion into 0.24. Make sure to check on #935 for updates. :smile:

Removing this from the 0.24 release for reasons mentioned in PR #935. We'll keep this issue open for ongoing conversation related to overall API improvements in #1220

We do not plan to introduce/implement this feature with Sensu's current design. Sensu Inc. is currently working on Sensu's next generation architecture, for 2.0, which will support check creation and check dependency management via its API. Closing this on :+1:


Allow for alternate key bindings

Category

[ ] fzf binary
[ ] fzf-tmux script
[x] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Two out of three of fzf’s key bindings conflict with OS X features:

Ctrl-T clobbers the “transpose” function of the Cocoa text system ordinarily bound to that key; too useful a feature to simply lose for fzf usage.
Alt-C does not work at all, as Alt+letter combinations insert special characters (“ç” on a German keyboard); disabling that is not even an option for anybody writing in a language other than English on OS X.

Providing either a way to configure these bindings (not just opt out on install – the hotkeys are useful after all), or saner defaults on OS X would be much appreciated.

Technically CTRL-T is not an OS X feature, but a default key binding of bash that is mapped to "transpose-chars" (see bind -p to confirm). I was well aware of the feature but as I hardly used it – and I figure not many others use it judging from the fact you're the first one to mention it – so I decided to override the key. But I guess that it makes sense to provide an option or suggest a way to configure the key without too much hassle.
Excerpt from https://www.iterm2.com/faq.html:

Q: How do I make the option/alt key act like Meta or send escape codes?
A: Go to Preferences->Profiles tab. Select your profile on the left, and then open the Keyboard tab. At the bottom is a set of buttons that lets you select the behavior of the Option key. For most users, Esc+ will be the best choice.

I use Esc+ setting as suggested above so it works for me, but since you said it's not an option, ESC-C should do the trick. If you weren't aware of this, I can say you are missing out. ALT-B (backward-word), ALT-F (forward-word), ALT-Backspace (backward-kill-word), ALT-D (kill-word), and ALT-. (insert-last-argument) are just indispensable. Likewise, they are available to you via ESC-B, ESC-F, etc. Note that iTerm allows you to choose the option for left option key and right option key separately, so it's something you can consider.

Well, if we want to get all technical, these are Emacs-style readline bindings, but the Cocoa text system makes a slightly modified subset of them available in all Cocoa text fields (no Meta combinations, but Ctrl-W is backward-kill-word, for instance), which is where I first encountered Ctrl-T. For me, that one has become essential, and having to decide between it and fzf’s hotkey functionality is a rather unpleasant dilemma.
As to the meta key configuration, I’m not using iTerm (and don’t intend to – there are only so many configuration time sinks I am willing to invest into ;)), but I think Terminal.app allows for usage of Escape as Meta too. Thanks for the hint!

You use bash so you can do this:
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

# Remap CTRL-T to CTRL-X CTRL-T
bind "$(bind -s | grep __fzf_select | sed 's/\\C-t/\\C-x\\C-t/')"
bind '"\C-t": transpose-chars'

Yeah, I can hack my way around this (in fact, the first thing I did before posting this issue was looking into key-bindings.bash), but this is both brittle (it depends on internal implementation details) and non-portable (I’ll have to redo it should I switch shells, say to zsh), hence me posting this issue.
I’m wondering if a possible way to address this might be introducing an intermediary binding (e.g. C-xC-t) which could be unconditionally rebound by the user with a more straightforward bind command than what we have now. The current default bindings could still be installed, but opting out and re-configuring would be a much mot painless process. I could submit a PR if you are willing to entertain this?

Interesting idea but the suggested approach does not solve the problem of portability you mentioned. bash, zsh, and fish all use different syntaxes for binding keys. Changing the binding is much more pleasant on zsh:
bindkey '^X^T' fzf-file-widget
bindkey '^T' transpose-chars

on bash 4 (I'm stuck with bash 3)
bind -x '"\C-x\C-t": "__fzf_select_tmux_auto__"'
bind '"\C-t": transpose-chars'

and on fish
bind \cx\ct __fzf_ctrl_t
bind \ct __fzf_ctrl_t

Looking at the above snippets, it looks like what we can do is to use the consistent name fzf-file-widget (no underscore prefix, already known by zsh users so we should be using this) across all three shells.

Looking at the above snippets, it looks like what we can do is to use the consistent name fzf-file-widget (no underscore prefix, already known by zsh users so we should be using this) across all three shells. Explicit names are better than some obscure key bindings that we hope no one uses.

Sounds good; I’ll take straightforward, stable configurability over portability if I have to choose.

Updated the code. Now on bash 4+ you can
bind -x '"\C-x\C-t": fzf-file-widget'
bind '"\C-t": transpose-chars'

However, unfortunately, CTRL-R and ALT-C are left untouched for the following reasons

CTRL-R: Couldn't find a way to trigger history-expand-line
ALT-C: The prompt is not updated when we change the directory within the function

I'll close the issue for now as we still have workarounds. But pull requests are appreciated.

FWIW, I too found it a bit annoying that fzf clobbered ctrl-t. Having to recreate the mapping after fzf clobbered it seems a bit roundabout.
Maybe there could be some env var that when set prevents fzf from overwriting ctrl-t in the first place?

FYI, to bind (aka shortcut or remap) keystrokes in bash follow: https://stackoverflow.com/questions/4200800/in-bash-how-do-i-bind-a-function-key-to-a-command/4201274#4201274

These bindings work great for me:
bindkey -v
bindkey -M viins '^r' fzf-history-widget # r for reverse history search
bindkey -M viins '^x^f' fzf-file-widget # f for file
bindkey -M viins '^x^j' fzf-cd-widget # j for jump
bindkey -M viins '^t' transpose-chars # t for transpose
bindkey -M viins '\ec' capitalize-word # c for capitalizae

I have the best of vim and emacs/readline in my terminal!
My .zshrc: https://github.com/mskar/setup/blob/master/macos/.zshrc#L408

For those using bash with vi bindings, and who don't like it that ESC c now triggers fzf.
You can disable the binding like this in your .bashrc after setting up fzf:
bind -r '\ec'

FWIW, I too found it a bit annoying that fzf clobbered ctrl-t. Having to recreate the mapping after fzf clobbered it seems a bit roundabout.

How to revert Ctrl-T back to the Bash default? I'm on Fedora 38, can't immediately see what would be the most direct solution.


transformixImageFilter gives no bspline transformation

Hi,
I'm trying to perform a non-rigid transformation between two CT scans (healthy_1_V.nii and  healthy_2_V.nii). After registration and inspection of the obtained images with elastix, everything is fine, I obtain a correct non-rigid registration.
However, when I use transformix to apply the transformation to my set of points, I just obtain my input set of points shifted from a few millimeters.
When I impose manually the transformation by e.g.:
elastixImageFilter.SetParameterMap(sitk.GetDefaultParameterMap("bspline") )
I notice in the outputpoints.txt file that my Deformation matrices are full of zero.
Can you help me out ?  Here is the code I run:
fixedImage = sitk.ReadImage("healthy_1_V.nii")
movingImage = sitk.ReadImage("healthy_2_V.nii")
Compute the transformation
elastixImageFilter = sitk.ElastixImageFilter()
elastixImageFilter.SetFixedImage(fixedImage)
elastixImageFilter.SetMovingImage(movingImage)
elastixImageFilter.Execute()
sitk.WriteImage(elastixImageFilter.GetResultImage(), "OutputImage_Non_rigid_registration.nii")
Apply transformation
transformixImageFilter = sitk.TransformixImageFilter()
transformixImageFilter.SetTransformParameterMap(elastixImageFilter.GetTransformParameterMap())
transformixImageFilter.SetFixedPointSetFileName("Healthy_1_L.asc")
transformixImageFilter.SetMovingImage(movingImage)
transformixImageFilter.Execute()

I don't think transformix recognizes the .asc extension. Feel free to reopen if this is still an issue.


Fix an issue that caused integer comparison to fail

This fixes the situation where the controller is comparing what is in
the policy versus what already exists, and the object being compared
contains an integer.
The code in the mergeSpecs function marshals and unmarshals the existing
object and the object in the policy. Presumably this is to create a copy
of the objects before modification. By doing so with the encoding/json
package, it converts any integers to float64.
This caused an issue in the checkFieldsWithSort function which compared
the existing object with the merged object, since the existing object
referenced here did not go through the marshal and unmarshal process,
but the merged object did. This meant that the integers in the merged
object were of type float64, but they remained integers in the existing
object. When checkFieldsWithSort converts both integers to strings to
compare, if the one of type float64 is a large enough number, it gets
printed in scientific notation where as the one that remained of type
integer does not. This would cause a mismatch even though it should have
matched.
The solution is quite simple. Just start using the json package from
Kubernetes so that the same unmarshaling process occurs in all cases.

/lgtm

/cherry-pick release-2.3


Add flag to disable inclusion of type reference directives in .d.ts files

v2 of Typescript adds type reference directives to the top of .d.ts files.   This was not the case earlier.  Please enable a flag to disable the inclusion of these directives, for backwards compatibility purposes.
The feature was added in this commit, here: https://github.com/Microsoft/TypeScript/commit/376c493e678ca702f9f0f87779ce320f437b3132#diff-657ea90f8012478deead7d95becb96e4R161

The output will not be correct though. your package depends on another .d.ts file that was imported using @types. if this is a point-in-time issue, i would recommend adding a post build step that strips the comment out.

Since this was acore-js issue for ES2015 types, we'll include the --lib ES2015 options during our build to avoid this issue... thx.


need requirepass

if i need requirepass,  what should  i do ,thanks.

Apart from the fact that your issue is not very descriptive, I'm assuming you need to update the redis.conf inside the ConfigMap definition.


Click on Skeleton Node with large number of bones crashes editor

Godot version:
v3.2.rc4.official
OS/device including version:
Windows 10 x64
Issue description:
Click on a Skeleton Node with large number of bones ( 186+ for a complex 3d character ) leads to console spam with "Object was deleted while awaiting a callback" followed by lockup/editor crash.
Bug happens consistently for all Skeletons in the project that use a high number of bones.
Tested and does not happen on previous versions v3.2 rc1, rc2 and rc3 for the same project.
Steps to reproduce:
Load scene with skeleton node from a 3d character with 100+ bones and play clickerheroes
Minimal reproduction project:
Assets are to big in filesize to share rightnow but if required for testing I could try to extract them from the project.

Duplicate of #35652.


Add tool version to tool buttons

cc @nomadscientist @lldelisle  we've discussed this in the past but it continues to be an issue so time to finally do it. It's a bit more verbose, but tutorials are already verbose, and reproducibility of using the correct tool version is more important.

This is such a good idea

@hrhotz following DESeq2 issue...


Whatsapp share

Code by @vipertecpro

Hi @jorenvh, any updates on this?

Hi @pqrs sorry for the delay, it was a busy period with the holidays etc.
I finally got some time to review your PR, it looks good and works as expected. I just pushed some minor changes to fix some code styles and I also added whatsapp to the combined share test so that this is also covered.
Thank you for contributing to this package, I will be tagging a new release later today.

Thank you for adding it :)


4:3 screen

Describe your problem here.
Does anyone know how to put the game screen in 4:3? something like vs koi
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

both Main.hx and Project.xml have configurations for screen width and height, but a lot of things need to be changed so that ui and stuff works properly


Missing LICENSE

Hi folks,
this is real good software. Is it open source? If so, could you please add an open source license so that I know how I may use this library?
Best...
Matthias

Hi Matthias,
Yes it's open source :)
I'm currently out of home for several days but if you want to submit a PR with a licence file don't hesitate. Otherwise i'll check this topic next month.

Solved by https://github.com/redouane59/twittered/pull/85


Making docstring of UnivFinite exportable

Codecov Report

Merging #9 into master will increase coverage by 7.32%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   91.46%   98.78%   +7.32%
==========================================
  Files           7        7
  Lines         164      165       +1
==========================================
+ Hits          150      163      +13
+ Misses         14        2      -12

Impacted Files
Coverage Δ

src/data_utils.jl
100% <0%> (ø)
: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 b69f767...5ff4be7. Read the comment docs.


Can not get the thumb[BUG]

I use the v0.5.3, I find the function 'imageEntity.thumbDataWithSize(w, h)' can not return the image data. The thumb data is null. But the function 'imageEntity.thumbData' is correct. Before i use the version v0.4.8, it dose not have the issue.
Thank you for your efforts

Same error here. It is related with codec.

AssetEntity asset = AssetEntity(id: id);

// TODO remove after fix photo_manager fetch issue˝
asset.typeInt = 1;

set typeInt to 1 before load image. This issue happen after flutter upgrade

Is this still reproducible on the latest version?

Closing with stale state.