Error in example_detection

Running example_detection in Matlab 2015b, I get this error message:
Training the 1-th weak regressor ...
Undefined function or variable 'extractHOGFeatures'.
Error in obtain_features (line 28)
hogf = extractHOGFeatures(tmp);
Error in train_sdm (line 42)
feature_matrix(:,flag)  = obtain_features(train_img(i).data, current_shape(:,flag),
cr_model);
Error in example_detection (line 95)
cr_model.model = train_sdm(train_img, train_init_shape, train_gt_shape, cr_model);
Looks like this code requires the Computer Vision System Toolbox?

HI, to avoid using any external toolbox, I just simply used the function 'extractHOGFeatures' from the Matlab computer vision system toolbox in this code.
You can just simply replace the feature extraction function using any other features you can obtain, such as the vlfeat toolbox that is free, by modifying the obtain_features.m file.


feat: temp fixed Could not parse LLM output on agents folder

when connecting the app into a fastapi project, it normally gives that error

thanks @vortex-hue!


[WIP] UniFFI support

Ideally this will close #34.
I'm trying out cargo-swift using cargo swift package -p ios -p macos -n LiveViewNativeCore

The documentation for UniFFI has changed dramatically over the last 2 months and is worth revisiting. When Elle originally tried swift-bridge, UniFFI was without an async section in the guide book and the recommendation was to define types using a UDL file, but there is now procedural macro support and it is all kinds of awesomeness. Hopefully UniFFI is able to replace core-jetpack because JNI is truly awful to work with and lacks async support.
One thing to consider with UniFFI is that types wrapped in Arc by the constructor will need interior mutability. It should be possible to use qcell to provide mutability and in doing so it's conceivable Morph could also be used in a way that doesn't necessitate collecting patches by applying iteratively as to avoid heap allocations. The key here is that by separating the borrow-owner any Cursor that referenced a document could be held beyond the lifetime of the call to get the next patch so that the document editor can take a mutable borrow when otherwise the Cursor borrow would prevent this.


The PR was successfully tested on the robot,
cc @S-dafarra @kouroshD

See https://github.com/dic-iit/component_wholebody-teleoperation/issues/156#issuecomment-461797009 for an explanation on the modifications.


sqs get_queue_attributes() has the wrong type for AttributeNames

Describe the bug
The boto3 documentation clearly state that AttributeNames has over 20 valid values, but mypy_boto3 is giving it the QueueAttributeFilterType literals which only has 10 different values.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sqs.html#SQS.Client.get_queue_attributes
To Reproduce
Steps to reproduce the behavior:

Install boto3-stubs[sqs]
Run mypy/pyright on the following code sample

import boto3

import mypy_boto3_sqs

sqs_client: mypy_boto3_sqs.Client = boto3.client('sqs')
sqs_client.get_queue_attributes(
    QueueUrl='anything', AttributeNames=('LastModifiedTimestamp')
)
)

Argument "AttributeNames" to "get_queue_attributes" of "SQSClient" has incompatible type "str"; expected "Sequence[Literal['AWSTraceHeader', 'All', 'ApproximateFirstReceiveTimestamp', 'ApproximateReceiveCount', 'MessageDeduplicationId', 'MessageGroupId', 'SenderId', 'SentTimestamp', 'SequenceNumber', 'SqsManagedSseEnabled']]"  [arg-type] (7:41)

In mypy_boto3_sqs.client.pyi:
```python
    def get_queue_attributes(
        self, *, QueueUrl: str, AttributeNames: Sequence[QueueAttributeFilterType] = ...
    ) -> GetQueueAttributesResultTypeDef:

should be:
    def get_queue_attributes(
        self, *, QueueUrl: str, AttributeNames: Sequence[QueueAttributeNameType] = ...
    ) -> GetQueueAttributesResultTypeDef:

Additional context
macOS 12.5.1, Python 3.10.6.
pip install boto3==1.24.59 'boto3-stubs[sqs]==1.24.59'

Thank you for the report! Will check.

I tried the example on an older machine with mypy-boto3-sqs==1.21.34 and did not get an error, so it seems to be a regression.

This is related to https://github.com/aws/aws-sdk/issues/310 botocore bug. I will try to provide a better temp fix on my side.

Fixed in mypy-boto3-sqs1.24.60.
Please check and let me know if it works as it should.

@vemel it worked for me. Thanks for the quick turnaround!


MINOR: Docs for ACLs over SSL auth and KAFKA_OPTS

Motivation.
Adds two distinct notes to the Security documentation, that seek to explain how Kerberos JAAS configurations can be used with Kafka's inbuilt command line tools (Console Producer/Consumers as examples) via $KAFKA_OPTS, and a better example of how the User principals for ACLs should appear in the kafka-acls.sh commands when Kafka is set to use client authentication via client SSL certificates instead of Kerberos+SASL.
This contribution is my original work and I license the work to the project under the project's open source license.

@gwenshap would it be possible for you to review this?

@gwenshap @SinghAsDev - Let me know if any more changes are required.

LGTM. Thanks for contributing @QwertyManiac and for reviewing @SinghAsDev.

Ick! Looks like we have a conflict.
Can you guys rebase?

Thanks for the PR. I left one comment, looks good otherwise (it also needs to be rebased as Gwen said).


Use SpatialBundle/TransformBundle in examples

Does what it do

I think I would prefer examples to avoid chaining insert commands on the same entity, as that's currently not a great pattern in Bevy

#2975 just got merged :)
Am I correct in thinking that will solve your issue with this @mockersf?

yup, once this PR is update to only issue one command each time 👍

This has been rebased on top of the recent changes to spawning/inserting

@devil-ira can you fix up these merge conflicts?

bors r+


Bokeh backend table editing broken?

The plot on the left disappears as soon as I click on an item in the table:

Maybe an issue with bokeh 0.11?

Sounds like a bug in bokeh. Will have to confirm though.

Works again as of bokeh 0.12.3:
%%opts Layout [shared_datasource=True]
data = pd.DataFrame(np.random.rand(10,2), columns=['x', 'y'])
hv.Points(data) + hv.Table(data)


Question: How to use it?

I need to get Saxon/C working on a CentOS 7 machine. So far I did not succeed.
So, I thought I'd give a Docker solution a try and thus came across your git repo.
Thanks for sharing your Dockerfile! However, I might need a few words of instruction maybe.
What I got so far:

I set up a CentOS 7 VM with Apache2 and PHP 7. That works
I pulled and started your docker file with docker run hubdock/php7-apache-saxonhe
The output I get is

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
[Sun Dec 23 16:35:14.198751 2018] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.2.0 configured -- resuming normal operations
[Sun Dec 23 16:35:14.198789 2018] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Now, how do I proceed from here? I don't have much experience with Docker so far. However, I can tell that Saxon is not yet working with this setup.

This repository contains Saxon-HE compiled as a PHP extension, intended for use as a base for Docker images containing PHP applications that use Saxon, e.g. https://github.com/hubgit/xsweet-docx-html/blob/master/Dockerfile

Hi Christian,
Have you tried downloading Saxon/C from the website?
i.e.:  https://www.saxonica.com/download/c.xml
Also you can try the following docker file which should work for CentOS machine:
https://dev.saxonica.com/repos/archive/opensource/latest9.8/hec/Dockerfile

On 23 Dec 2018, at 16:37, Christian Schwaderer<EMAIL_ADDRESS>wrote:
I need to get Saxon/C working on a CentOS 7 machine. So far I did not succeed.
So, I thought I'd give a Docker solution a try and thus came across your git repo.
Thanks for sharing your Dockerfile! However, I might need a few words of instruction maybe.
What I got so far:
I set up a CentOS 7 VM with Apache2 and PHP 7. That works
I pulled and started your docker file with docker run hubdock/php7-apache-saxonhe
The output I get is
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
[Sun Dec 23 16:35:14.198751 2018] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.2.0 configured -- resuming normal operations
[Sun Dec 23 16:35:14.198789 2018] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
Now, how do I proceed from here? I don't have much experience with Docker so far. However, I can tell that Saxon is not yet working with this setup.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/hubgit/php7-apache-saxonhe/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5MHUSUDV051JORC1XVDsTE-18bOlrks5u77FWgaJpZM4Zf6G6.

Hi O'Neil,
thank you so much for trying to help me again!
After having commented out the line ADD web /var/www/html I was able to build the Dockerfile. However, when I run it, the output I get is almost the same I get for the other docker container:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
and then the session seems to be crashed. No reaction to any input, not even Ctr+C
Maybe I'm missing something essential, I'm quite a Docker newbie.

Hi,
Have you tried running php from the command line. Also using gdb debugger? Sometimes I find running a php script that way helps to find out what is going on.
kind regards,
O'Neil

On 28 Dec 2018, at 10:34, Christian Schwaderer<EMAIL_ADDRESS>wrote:
Hi O'Neil,
thank you so much for trying to help me again!
After having commented out the line ADD web /var/www/html I was able to build the Dockerfile. However, when I run it, the output I get is almost the same I get for the other docker container:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
and then the session seems to be crashed. No reaction to any input, not even Ctr+C
Maybe I'm missing something essential, I'm quite a Docker newbie.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/hubgit/php7-apache-saxonhe/issues/1#issuecomment-450338058, or mute the thread https://github.com/notifications/unsubscribe-auth/ADd5ME9-i4e6DCE3Ddga0WwGmXZE-juYks5u9fOsgaJpZM4Zf6G6.


coprocessor/dag/expr: add to_days

What have you changed? (mandatory)
implement builtin function: ToDays in coprocessor.
#3275
What are the type of the changes? (mandatory)
Improvement
How has this PR been tested? (mandatory)
Unit Test
Does this PR affect documentation (docs) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

Thanks @GinYM
Please sign off your all commits. See https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md#signing-off-the-commit
If you have already pushed some commits before, you can use git rebase -i master --signoff to resign them off.

/rebuild

/rebuild


How to run example in macos

Describe the bug
Failed to run example in macos when run pod install.
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/ios/Desktop/temp_code/fvp-master/example/macos/Pods/mdk/mdk-sdk/lib/mdk.xcframework)
Other
Example project can run successfully on iphone device.
Log
$ pod install
Analyzing dependencies
Downloading dependencies
Installing FlutterMacOS (1.0.0)
Installing fvp (0.0.1)
Installing mdk (0.24.0)
Installing video_player_avfoundation (0.0.1)
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/ios/Desktop/temp_code/fvp-master/example/macos/Pods/mdk/mdk-sdk/lib/mdk.xcframework)

Flutter version
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (4 months ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0

Someone can help me how to solve the problem and run successfully on macos

flutter run -d macos, not pod install. to run you own examples, see flutter run -d macos, not pod install.

resolve it when update gem, ruby and reinstall cocoapods, Too bad i don't know why.


In-situ tombstone metrics

Testing marking metrics even on non-successful range scans

can you post a grafana link here for the metric wherever you've been testing?

https://pl.ntr/2oh


pk: impl ECDHBase key property setter

On a side note, as far as I am concerned, chacha/poly (your previous patch) is enough to grant a new release. Do you plan on adding more functionality soon or is it ok to prepare a new release next week?

Casting to the private key to MPI is probably smarter than statically requiring an MPI as in my patch. Please just:
    def _private_key(self, priv):
        cdef _mpi.MPI c_priv = _mpi.MPI(priv)
        _mpi.mbedtls_mpi_copy(&self._ctx.d, &c_priv._ctx)

or something. Thank you.

Thanks for the advice. Your approach is much better. I didn't know we could use c style typed argument directly in cython, and now I've learnt.
Feel free to arrange the release at your convenience. I think all my needs are met now.
I mainly do some prototype of server apps and embeded system client. Your library is really handy to learn and test mbedtls. Thank you for your work.


VUEX Base state is wrongly initiated or cashed

Version
5.0.3
Browser and OS info
Chrome 73 / macOS Mojave 10.14
Steps to reproduce
Open vue dev tools and check VUEX.
VUEX shows sometimes few minutes old state, even the page/application show correct data from VUEX. Also at first load VUEX shows init data of state, even there was triggered commits on VUEX using middleware in NUXT. After clicking trough application is VUEX updated correctly. Wrong is only base state of VUEX.
What is expected?
Probably to show missing actions and set correctly VUEX preview.
What is actually happening?
Showing only init state from VUEX - ignoring store actions from middleware in Nuxt on first load.

I'm not sure about how vue devtools is constructing current state, but this sounds like what may be the issue I'm facing. When I'm trying to look at current state it just infinitely spins. I also get an error in the console where it's trying to resolve a promise that functions as a blocker, but is no longer a promise (after initial page loads).
If I don't attempt to load state, the application works as normal. This leads me to believe that the way it is being init'd for loading state is somehow not creating the blocking empty promise correctly.
Hope this helps, thank you for the fantastic tool and let me know if you want more info on this.

@samuells Please provide a runnable reproduction demonstrating the issue.

@Akryum I am also having problems with the new dev tools taking a very long time to load things if I do not open them before performing any actions. I am using an automatic module registration function you can see here: https://codesandbox.io/s/l2x44nj71l, unfortunately it does not work in codesandbox as require.context is not functioning but maybe this will help. If I open my application, perform a few actions and then attempt to load the vuex state it goes into a loop and logs do not mutate store state outside of mutation handlers loop indefinitely.  Here is the error at cancel time:
Error: Script terminated by timeout at:
reactiveGetter@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:4642:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2122:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2118:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2122:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2122:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2118:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2122:19
_traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2122:19
traverse@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2099:3
get@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4478:7
run@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4542:22
update@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4530:10
notify@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:731:13
reactiveSetter@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:1056:11
reactiveSetter@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:4665:16
mapOrganizationChildSitePI@webpack-internal:///./src/vuex/modules/organizations.js:343:5
mapOrganizationSpecialtiesAndChildSitesPI@webpack-internal:///./src/vuex/modules/organizations.js:361:118
organizations@webpack-internal:///./src/vuex/modules/organizations.js:382:14
wrappedGetter@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:742:12
resetStoreVM/</computed[key]@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:542:42
get@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4467:25
evaluate@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4572:21
computedGetter@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4822:17
get@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:544:26
studies@webpack-internal:///./src/vuex/modules/studies.js:551:25
wrappedGetter@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:742:12
resetStoreVM/</computed[key]@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:542:42
get@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4467:25
evaluate@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4572:21
computedGetter@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4822:17
get@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:544:26
contactStudyAffiliations@webpack-internal:///./src/vuex/modules/contacts.js:473:19
wrappedGetter@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:742:12
resetStoreVM/</computed[key]@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:542:42
get@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4467:25
evaluate@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4572:21
computedGetter@webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:4822:17
get@webpack-internal:///./node_modules/vuex/dist/vuex.esm.js:544:26
stringify@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:2419:14
stringify@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:250:65
replayMutations@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:12129:84
initVuexBackend/<@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:12032:22
emit@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:3205:5
_emit@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:3028:12
Bridge/</<@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:2953:42
Bridge/<@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:2953:18
listener@moz-extension://f7d7caeb-5cf3-4729-80a5-3513509b6525/build/backend.js:2675:13

To follow up on my issue, I had a mutation what was modifying the state but I did not see any errors until attempting to load the state, where it would go into a loop and print the "do not mutate store state" error indefinitely.  I attempted to reproduce using a simple store here: https://codesandbox.io/s/l2x44nj71l and if you open the webpage in a new browser window and access the store state there are no errors despite modifying the store state in the getter.

Something similar started happening to me with the newest update. It seems to be caused by my use of custom saveState and restoreState with Vuex:
const vuexStorage = new VuexPersist({
  supportCircular: true,
  storage: window.localStorage,
  async saveState (key, state, storage) {
    await storage.setItem(
      key,
      CircularJSON.stringify(saveClasses(cloneDeep(state)))
    )
  },
  restoreState (key, storage) {
    let state = storage.getItem(key)
    if (state && CircularJSON.parse(state)) {
      state = restoreClasses(CircularJSON.parse(state))
    }
    if (state) {
      return state
    }
  }
})

Everything works fine with my application itself if I don't use the dev tools.
When I go on the Vuex tab in dev tools, it's stuck on Loading state . There are some errors in the console that seem to be caused by the state being recreated but my custom restoreState function not applied.

@abelgoodwin1988 Upgrading to 5.0.6 fixes the issue for me.

@quannt Still a no-go on 5.0.6 for me.

@abelgoodwin1988 try fixing the TypeError shown on your console. I got the same issue after upgrading to 5.0.6, fixed my TypeError and all was good. Seems like the Devtools was trying to re-run all the mutations?

I can't get nuxt.js & vue.js devtools to work - every commit I have to click Load State


Create video tutorials

Video tutorials are a great onboarding for new users and developers. They can be integrated into the documentation as an easy starting-point for each chapter:

[ ] Typemill setup (typemill setup, settings, plugins, themes)
[ ] Short demonstration for authors (editors, page creation)
[ ] Tutorial theme development
[ ] Tutorial plugin development

My english is not good enough, so one idea is to hire a professional (e.g. codecourse) and finance it with a campaign (kickstarter or something similar).

Thank you all again, some videos are online: https://www.youtube.com/channel/UCyghKiX2kK9QIqTf1WT1Xxw


brightness++ or brightness--

Hi, nice plugin - thank you - without this I might have stuck with deconz.
Looking for a way to increase or decrease brightness, maybe by a percentage amount - any ideas?

Figured it out - the hue lights I have support ' brightness_step' - so  brightness_step: -30 and  brightness_step: 30 does the job!


Header style is not defined correctly by using anchors in getting started in Bit.Platform.webSite.

Header is shown like this

rather than

by using anchors .

Because the design of the header is gonna be changed, this issue is not valid anymore.


Not able to override collpase icon

can we modify the collapse icon to add our own custom icon, if yes HOW

I added an option to pass custom icons to the tree constructor in version 0.7 that can be used as follows:
const tree = new SortableTree({
  nodes,
  element,
  icons: {
    collapsed: '+',
    open: '-',
  },
});

You can check out a full example on the demo page.

I need to add my own svg file for collapse and open, How can I pass that

can we add line Tree functionality here, can you suggest how can I add that

Lines can be easily added using plain CSS. I have added tree lines to the theme that is used on the demo page. You can use that one as a starting point.


Place alerts in center of screen or in center of top of screen

I would like functionality in react-s-alert to place alerts in the center of the screen, but not with full width.
The modes
top-center and center-center would be very good!
Maybe one of the states could be done with an offset..
But a "top-center" would be great to have.

It is planned, there is even a PR which probably resolves some of these, but I had a very little time for this lib lately :/ I still plan to back to the development. Maybe on this weekend. I hope :)

Great! :)

Is this resolved?


Update README to direct users to googleapis/googleapis instead of googleapis/api-common-protos

There protos in the googleapis/api-common-protos are not updated automatically and may not be outdated. This issue tracks updating the README to direct users to the protos in googleapis/googleapis instead which are updated regularly.

thanks for pointing this out! this helped me


Extend request-pattern schema with currently not specified properties

Proposal
Based on com.github.tomakehurst.wiremock.matching.RequestPattern there are a couple of JSON properties that are available to be specified in a JSON stub mapping, but are not included in the request-pattern.yaml schema.
The ones I see that could be included are: scheme, host, port, customMatcher, multipartPatterns.
I'm planning on including them in the WireMocha IntelliJ plugin as well, but first, I want to make sure that they are correctly specified, and that they would be in sync with the schema in WireMock.
The schema update could look something like this:
definitions:
  request-pattern:
    ...
    properties:
      ...
      scheme:
        type: string
        description: The URI scheme
      host:
        type: object
        description: 'URI host pattern to match against in the "<predicate>": "<value>" form'
      port:
        type: integer
        description: The HTTP port number
      customMatcher:
        type: object
        description: Custom request matcher to match against
        properties:
          name:
            type: string
            description: The matcher's name specified in the implementation of the matcher.
          parameters:
            type: object
      multipartPatterns:
        type: array
        description: Multipart patterns to match against headers and body
        items:
          type: object
          properties:
            name:
              type: string
            matchingType:
              type: string
              default: ANY
              enum:
                - ALL
                - ANY
            headers:
              type: object
            bodyPatterns:
              type: array
              items:
                type: object

References
No response

No objections from my side. WDYT @tomakehurst ?

Closing as this has already been released in 3.0.0-beta-12.


[upstream] Bump up otel col contrib to v0.88.0

This PR is auto create by a version bump up script, if there are other PRs create by the scripts, please approve the oldest one.

combine https://github.com/openinsightio/OpenInsight/pull/86, https://github.com/openinsightio/OpenInsight/pull/85 in this one PR


Vulnerability disclosures WG meeting 01/11/2020

Time
Monday January 11th, 2021 4:00 PM GMT / 8:00 AM Pacific
Links

Zoom link: https://zoom.us/j/99945119899?pwd=WWl6V3dmaGMrWC9RYlp2ZWtPVDJVUT09

The invite is also available on the OpenSSF Community Calendar.
Agenda

@JasonKeirstead Continue discussion about "scenario 2" from the slide deck we discussed in the last meeting
Vulnerability disclosures whitepaper (#88)

Notes

Google Doc with meeting minutes

We are using a new link: https://zoom.us/j/93780393562?pwd=ZzNmYjg4Y1JHREtWNnNCUUZIVXlKZz09.

We are using a new link: https://zoom.us/j/93780393562?pwd=ZzNmYjg4Y1JHREtWNnNCUUZIVXlKZz09.


Flow crashes with "Unhandled exception: Worker_failed"

After upgrading to Flow 0.91.0, we've seen the Flow process crash every other build or so on CI with the following error:
Worker interrupted with signal: sigkill
Subprocess(363): fail 2Unhandled exception: Worker_failed (process_id = 363): (Worker_quit WEXITED 2)
Raised at file "src/core/lwt.ml", line 3008, characters 20-29
Called from file "src/unix/lwt_main.ml", line 42, characters 8-18
Called from file "src/commands/checkCommands.ml", line 135, characters 27-86
Called from file "src/commands/commandUtils.ml", line 13, characters 4-32

See example: https://circleci.com/gh/facebook/jest/46156
Not sure what other details you need. .flowconfig:
[ignore]
.*/examples/.*
.*/node_modules/metro-bundler/.*
.*/node_modules/metro/.*
.*/node_modules/module-deps/.*

[options]
module.name_mapper='^pretty-format$' -> '<PROJECT_ROOT>/packages/pretty-format/src/index.js'
module.name_mapper='^types/\(.*\)$' -> '<PROJECT_ROOT>/types/\1.js'
module.name_mapper='\(jest-[^/]*\)' -> '<PROJECT_ROOT>/packages/\1/src/index.js'
include_warnings=true
emoji=true

[strict]
nonstrict-import
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.91.0

I'm getting the same error when running inside a docker container both locally and on gitlab ci, the max workers fix doesn't seem to help.
docker run -v $(pwd):/mnt -w /mnt --entrypoint ./node_modules/.bin/flow node:8 check

This is likely fixed in newer versions.


Windows problems

$Home not set on Windows, small workaround found by modifying netrc library to use os.expanduser instead, but this is not permanent.
URL has double slashes when using os.path.join ; use urljoin from urllib.parse instead. However, this method joins 2 or 3 arguments only.
There are likely others, will update as they are found.

requests_retry_session returns NoneType, somehow gets around while loop in m2m.py

@s-kganz Is this using PR #33

@lsetiawan yes, on branch fix_windows

issue with NoneType data request resolved, requires using own creds


The stm32 SPI driver seems to not work properly, when DMA is enabled, for the stm32h7 series

@r-neal and I have found a problem when trying to use DMA with SPI in STM32H7.
Problem description
Configuring SPI2 to be used with DMA, streams 1 and 2, and DMAMUX requests 39 and 40, for tx and rx respectively, the following error is thrown:
[00:00:00.000,000] <err> spi_ll_stm32: DMA callback channel 0 is not valid.

Target platform is nucleo-h743zi2.
An initial investigation has revealed that the problem comes from the fact that the DMA stream provided in DT is modified at runtime by subtracting 1 to it. The error is thrown by the SPI DMA callback, when the received stream id (0) does not match with any of those configured in devicetree (1 and 2, see below).
This offset (which is subtracted to the channel specified in DT) seems to exist to convert DMAMUX stream IDs from 1..n to 0..n-1, according to the comment /* Give channel from index 0 */ in dma_stm32.c. This seems to not be correct, since the DMAMUX channels in stm32h7 go from 0 to n, not from 1 to n-1. See the stm32h7 datasheet  capture below:

Is this the right interpretation of what this offset does? If so, I'm happy to create a PR to fix this problem.
How to reproduce
This issue contains an attached file which is a Zephyr application called 'dma-test' that can be placed in zephyr/samples/basic, then built and run to reproduce the error. It has been tested on a nucleo-h743zi board.
dma-test.tar.gz
The command to build it is: west build -p always -b nucleo_h743zi zephyr/samples/basic/spi-test
Below you can fine a code summary about the above:
Overlay file
&dmamux1 {
	status = "okay";
};

&dma1 {
	status = "okay";
};

&spi2 {
	status = "okay";
	pinctrl-0 = <&spi2_sck_pd3 &spi2_miso_pb14 &spi2_mosi_pb15>;
	pinctrl-names = "default";
	cs-gpios = <&gpiog 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;

	dmas = <&dma1 2 39 0x480 0x3>, /* 39 = DMA_REQUEST_SPI2_RX; 0x480 = periph-to-mem | mem-increase-addr | mem-size-byte | periph-size-byte; 0x03 = fifo-threshold-full */
		   <&dma1 1 40 0x440 0x3>; /* 40 = DMA_REQUEST_SPI2_TX; 0x440 = mem-to-periph | mem-increase-addr | mem-size-byte | periph-size-byte; 0x03 = fifo-threshold-full */
	dma-names = "rx", "tx";
};

Requests are 39 and 40 as specified by the stm32h7 datasheet:

Config file
CONFIG_SPI=y
# CONFIG_SPI_STM32_USE_HW_SS is not set
CONFIG_PINCTRL=y
CONFIG_SERIAL=y
CONFIG_SPI_STM32_DMA=y

As explained above, if an spi transaction is sent, an error regarding a non-existing channel will be thrown.

Because the stm32h743 has a DMAMUX in front of dma1 & dma2, when transferring on the SPI2, the DMAMUX instance is the phandle ; did you  try with  :
&spi2 {
	dmas = <&dmamux1 2 39 0x480 0x3>,
		   <&dmamux1 1 40 0x440 0x3>;
	dma-names = "rx", "tx";


The package version of Azure.AI.AnomalyDetector starts from 3.0.0 instead of 1.0.0

In sdk\anomalydetector\Azure.AI.AnomalyDetector\CHANGELOG.md, the version starts from 3.0.0-preview.1 (2020-08-18)

I'm not sure what this issue is supposed to be tracking nor what actions you believe should be taken.   The package versions on NuGet for the package mirrors the change log.

@pshao25 technically we should have started at 2.0.0-beta.1 since the track 1 library is at 1.0.0 GA.  The general rule is start at track 1 version + 1.
Since we are already out at 3 lets not confuse customers but we should update the version in the csproj to release as 3.0.0-beta.7 for the next release.


Support CAST expressions

It's the portable way to cast SQL values between types.
Postgres: https://www.postgresql.org/docs/11/sql-expressions.html#SQL-SYNTAX-TYPE-CASTS
SQLite: https://www.sqlite.org/lang_expr.html#castexpr
MySQL: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html
The CI failure doesn't seem related.

The CI failures may be due to the MySQL version: the tests passed with the mysql 5.7 I tested with locally but fail on CI with mysql:latest.
I'll think a bit more about how to insert the type in a safer way. It seems that at least in postgres, passing a type as a parameter doesn't work:
postgres=# PREPARE prep1 AS SELECT CAST($1 AS $2);
ERROR:  syntax error at or near "$2"
LINE 1: PREPARE prep1 AS SELECT CAST($1 AS $2);

We could still have an enum with the supported types to introduce some safety there.

Closing this because problems surfaced when writing tests, and this is not needed immediately.


run: add command_cls arg to allow for custom Command class

i want to use this library, but would like to make some modifications to Command that may not be for everyone. this seems like a fair way to allow for that without having to monkey patch.

thoughts?

The delegator.run() function is pretty small.
Is there a particular reason why you want to use it like that and not just create your own function?
def my_run(...):
    cmd = YourCommand(....)
    cmd.run(...)
    return cmd

that's an option.. this just seemed benign and i figured it would be nicer to hook into existing implementation rather than copying and potentially diverging in the future.
in my case, i have a few different command classes which i want to run with, but i don't think that really changes anything (i.e. could just have multiple wrapper functions as you mentioned)


StoreId other than 1

Related issues
Related to https://github.com/DivanteLtd/vue-storefront/commit/5032eb9cb64ce0f4c38d37a752d68513867d14c2#diff-53eb0dcbb2c62c8af0204c3f9aaf84fc
Short description and why it's useful
It's just a proposal. I'm working on a store where 1 is not the default store. I think it might be a good idea to take the store id from the config rather than hard-coded it. I'm not sure this is the best solution what do you think of?
Screenshots of visual changes before/after (if there are any)

Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[ ] I read and followed contribution rules
[ ] I read the TypeScript Action Plan and adjusted my PR according to it
[ ] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Irene, could You please update the changelog by this change?

Sure. In 1.9.0 or 1.10.0-rc.1?

1.9 would be better :) to be released shortly

This is a PR with functionality from 1.10. Also PR is to develop, so definitely it should be 1.10:)
I've changed that in changelog.md. Thank you @nuovecode for improvements! :)


Empty Transfer Ownership breaks form

Summary
Clicking transfer ownership with no input breaks the form.
https://user-images.githubusercontent.com/104132113/177100766-c681ebb2-eccb-4295-9d8b-01911e271e5a.mov

I can grab this one


Custom RPC: Handle check

Goal
The goal of this PR is to implement a handle-checking custom RPC which applies the same validation as used by claim_handle extrinsic.  The purpose is to help Providers do a pre-flight check before submitting user signatures. This will help minimize round trips during the new user flow.
Closes #1284
Discussion
To Verify:
Check out this branch and make start.
This should return false in the JSON RPC output:
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "handles_validateHandle", "params": ["Bobbay😀😀"]}' http://localhost:9944/

This should return true in the JSON RPC output:
 curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "handles_validateHandle", "params": ["BobbyTables"]}' http://localhost:9944/

Checklist

[x] Chain spec updated
[x] Custom RPC OR Runtime API added/changed? Updated js/api-augment.
[x] Tests added

So one comment, is that whitespace doesn't seem to be trimmed so I can get a handle of "     "

do we also want to validate that the handle is available?

@enddynayn maybe check that later?  Just wanted to get the low-hanging fruit on this one.  I'll defer to @wilwade

@saraswatpuneet funny you should ask, see the ticket @rlaferla just filed: #1673


Draft UI supporting UD and absence of reverse records

This PR is based on #38
I'm sharing my changes I've made to the app to test #38 PR. It's far from being polished (especially the UI), and probably you imagine the UX differently (this is why I didn't dwell into it too much), so I'm creating this as a draft PR.
One of the significant changes is making the demo app work without reverse records, suggesting user to enter their domain manually (in case the domain can't be found automatically). Since Unstoppable Domains doesn't have the concept of reverse resolution, this feature was needed to make the app work with our domains.
For supporting both ENS and CNS resolution, the proposed DomainService from the core library is actively used.

While having a separate module is useful for users that target only CNS domains, such structure might be inconvenient for users that want to support both ENS and CNS for stealth payments. For this purpose I introduced another class DomainService, which basically wraps both ens and cns utils into an universal interface. Storing both provider and Resolution instances in DomainService and deciding which method to call based on domain extension makes it possible.

P.S. I don't know what's wrong with app/package-lock.json changes, probably it's caused by changing umbra-js dependency to
"umbra-js": "file:../umbra-js",

I guess we could change it to 0.0.2, once a new version of the core library releases.

Closing since this PR is outdated—the app folder no longer exists and replaced by a rewritten frontend in the frontend folder


Reporting

Ok, this is basically of topic from the get go, but i am just wondering if any others have the same thoughts:
The same way schema form validates and enables inputting data using the schema and forms, the same way, it should be possible to turn that process around, and use forms to layout JSON data.
There are some nice plug-ins for making charts, and plugins for making pdfs and other stuff.
So I have seen fng-reports but that seems to depend on forms-angular, and I am thinking that there might be something from schema-form that is usable here.
As we now are considering a schema-form-builder, I am thinking about a reporting framework and visual builder.
I can't see that something like that exists for angular. Which was somewhat unexpected to me.

Interesting idea! Schema form is designed to use different "decorators", I don't want bootstrap 3 to be the only one (been tinkering with material, but hitting snags). And there should be  nothing in the building part to stop this. Maybe just that right now you need a schema, but that could be made optional.

Ok. What I was thinking about was not that schema form uses bootstrap, I am thinking generally about the fact that angular-schema-form renders a layout.
And that means it at some level has some kind of engine that takes the form structure and the data and translate that into markup.
It is at that level I am thinking that reporting could converge and use the same code base. Because a report does the same thing, with the exception that it doesn't allow editing.
There are some things that I think could be useful for both schema form and reporting
For example, layout features, like different kinds of positioning and visual stuff.
What is needed by reporting is the ability generate headers, footers, lists and stuff like that.
It is not very useful for schema form to be able to edit long arrays of complicatedly laid out data directly. Or perhaps that could be cool. I don't know.
Looking at the "decorators", I think that is an attractive and extensible solution, I see no problem with adding labels, layout-elements and stuff like that. I am thinking that much of the builder code as well can be used for both as long as the base is the same. Or maybe even the same.
Anyway, the thing is that I come from backend and applications development, and there, reporting is a huge thing, and we had expensive reporting systems that could to lots of stuff. Especially, I was in the financial sector and there it was this major revenue stream. It amazes me that there aren't a multitude of them at the front end.

Ok. What I was thinking about was not that schema form uses bootstrap, I am thinking generally >about the fact that angular-schema-form renders a layout.
And that means it at some level has some kind of engine that takes the form structure and the data >and translate that into markup.

Yeah, I didn't explain myself the right way :) What I meant to say was that the design decisions I did to support more than bootstrap 3 in the future probably should let you use it more generally than for just forms.

It is at that level I am thinking that reporting could converge and use the same code base. Because a > report does the same thing, with the exception that it doesn't allow editing.

Exactly at least static reporting that don't allow you to drill down etc.

There are some things that I think could be useful for both schema form and reporting
For example, layout features, like different kinds of positioning and visual stuff.
What is needed by reporting is the ability generate headers, footers, lists and stuff like that.
It is not very useful for schema form to be able to edit long arrays of complicatedly laid out data
directly. Or perhaps that could be cool. I don't know.
Looking at the "decorators", I think that is an attractive and extensible solution, I see no problem with > adding labels, layout-elements and stuff like that. I am thinking that much of the builder code as well > can be used for both as long as the base is the same. Or maybe even the same.

I think this is possible too. Schema form basically builds it forms by looping through the form definition and creating a directive for each form object. Currently that directive is always the same the "decorator" directive, and that chooses and $compile's a template depending on the form definition type. (This might change though, since it turns out that its bad for performance, better to have one directive per type. Note that this is a flat structure, any tabs, fieldset or array type directive in turn renders the directives needed for its items. The validation part is all in the template so if you leave it out schema form don't complain, it just doesn't validate.
Actually it's basically a for loop for directives, so maybe it won't help that much... :)

Ok.
Oh, I am thinking completely static reports, drill-down and dynamic reporting is according to me of limited use in practice. Maybe I am a bit boring, but either I wan't reports that look good to capture a certain state for displaying to customers or management, or I want populated spreadsheets that people can play around with. The drill-down is more an interface feature, like part of a presentation.
Flat? You mean that it isn't nested or something? Isn't it nested if the things it loops calls their own, effectively creating a tree? Perhaps I don't understand?
Anyway, I don't think that anything more than a loop is needed, what I am after are that all the solutions a reporting engine needad, all the basic issues should be solved.
This as reporting, with the lack of input and validation, would seem to be a subset of current functionality.
Yeah, perhaps one would want a  some more stuff, but I'd just think that it could be built on top of this.

Heavily edited my latest post, might not wan't to go by e-mails.

Flat? You mean that it isn't nested or something? Isn't it nested if the things it loops calls their own,
effectively creating a tree? Perhaps I don't understand?

What I mean is that the nesting is done by the directives, not by the "building" part of schema form, let me  give you an example: The "building part" is here: https://github.com/Textalk/angular-schema-form/blob/development/src/directives/schema-form.js#L94
A form definition like this:
[
 {
   type: 'fieldset',
   items: [
     {key: 'name', type: 'test'}
   ]
 }

Becomes something like this:
<sf-decorator form="schemaForm[0]"></sf-decorator>

That's what I meant that it was flat :), the building part that is. But that might need to change, this way is a bit slow. It would be more performant to render the entire tree using transclusion for fieldsets etc.
The fieldset has a ng-repeat that renders its children, see https://github.com/Textalk/angular-schema-form/blob/development/src/directives/decorators/bootstrap/fieldset.html#L4 so that's how tree structures are done.

I see, that it is like super-un-flat to me. :-)
However, I kind of like that items are themselves responsible for themselves and their children and their scopes. Are there performance issues now? I have not encountered any serious ones?

i hadn't either... until now. We did a largish form that is actually more of an entire admin page... we styled the tabs type to look like a menu and made another one for each tab that looks like a side menu. The entire schema + form is something like 3000 rows of indented and prettified JSON. It takes many seconds to render.
I did some profiling and testing to get it faster and one big culprit is that I use one directive with a manual $compile inside the link. Every time a template uses an ng-repeat, like the fieldset or the tabs type, that link function and that $compile gets called. A "ordinary" directives template is only compiled once then cloned inside the array, much faster. But to do that I need to generate different directives depending on type.
I got an idea on how to do it, the working plan is to generate as much as possible up front and let transclusion to the heavy lifting, so the fieldset in the example above should instead be something like this when generated:
<sf-fieldset form="schemaForm[0]">
   <sf-text form="schemaForm[0].items[0]"></sf-text>
</sf-fieldset>

But that basically means that I need to find another solution for my $$value$$ hack, probably an extra watch per directive with inputs in them. I'm not sure how yet, but I need to speed it up :-)

Aha, and I suppose those seconds are at 100 percent CPU, too.
You can't just simply memoize some of those functions?

@nicklasb is this at the point of being an enhancement now based on the discussion? Worth raising a more detailed issue specifically for an enhancement?

I don't know. If is a discussion, if would be nice to be able to have some kind of reporting format.


Anonymous functions

In dev mode React returns: "Anonymous arrow functions cause Fast Refresh to not preserve local component state", It's a not so potential warning but I want to send PR to Make all anonymous functions to Named arrow functions. Can I take its PR?

I can make the code better in other places of the source if you like.

In dev mode React returns: "Anonymous arrow functions cause Fast Refresh to not preserve local component state", It's a not so potential warning but I want to send PR to Make all anonymous functions to Named arrow functions. Can I take its PR?

@Aslemammad please do! But please make the limited amount of changes required to fix the error message.

OOh, Yes, Thanks for your permission.

@Aslemammad feel free to work on fixing this, but no need to keep this issue open, as it is not actually a bug in Carbon.


go mod无法拿到最新版本

指定commit
go get github.com/360EntSecGroup-Skylar/excelize@475fbf3856dd83c4813874570ae5ae2cb48ed421
go: finding github.com/360EntSecGroup-Skylar/excelize 475fbf3856dd83c4813874570ae5ae2cb48ed421
go<EMAIL_ADDRESS>go.mod has post-v0 module path "github.com/360EntSecGroup-Skylar/excelize/v2" at revision 475fbf3856dd
go get github.com/360EntSecGroup-Skylar/excelize@latest
拿到的是v1.4.1

Hi @ivalue2333, please delete go mod cache $GOPATH/pkg/mod/cache and try again. Ref #393  and #403.

You can use the following command to get the latest version 2:
go get github.com/360EntSecGroup-Skylar/excelize/v2@master

You can use the following command to get the latest version 2:
go get github.com/360EntSecGroup-Skylar/excelize/v2@master

thanks

Hi @ivalue2333, please delete go mod cache $GOPATH/pkg/mod/cache and try again. Ref #393 and #403.

thanks

go get<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/xuri/excelize/v2
but was required as: github.com/360EntSecGroup-Skylar/excelize/v2

Hi @lililiSir, please reference the issue #522, using go clean -modcache or $GOPATH/pkg/mod/cache to delete go mod cache and try again.


Job is still running and has a next_result_uri after reaching LIMIT

Hello,
Currently jobs keep running even after reaching the SQL LIMIT. What would be a way to detect the end of a query? (when all the results have been sent)
SELECT * FROM default_database.Fares LIMIT 3
`http://<IP_ADDRESS>:8083/v1/sessions/0e3930af55b0a3730ad605c18166e9d7/jobs/6baf6aa22f35c1dae4a07d5f762d3019/result/1

{"results":[{"columns":[{"name":"rideId","type":"BIGINT"},{"name":"payTime","type":"TIMESTAMP(3)"},{"name":"payMethod","type":"STRING"},{"name":"tip","type":"FLOAT"},{"name":"toll","type":"FLOAT"},{"name":"fare","type":"FLOAT"}],"data":[[65,"2013-01-01T00:00:36","CSH",0.0,0.0,3.5],[137,"2013-01-01T00:01:00","CSH",0.0,0.0,3.5],[77,"2013-01-01T00:01:22","CSH",0.0,0.0,4.0]],"change_flags":[true,true,true]}],"next_result_uri":"/v1/sessions/0e3930af55b0a3730ad605c18166e9d7/jobs/6baf6aa22f35c1dae4a07d5f762d3019/result/2"}`

`GET None http://<IP_ADDRESS>:8083/v1/sessions/0e3930af55b0a3730ad605c18166e9d7/jobs/6baf6aa22f35c1dae4a07d5f762d3019/status

{"status":"RUNNING"}`

and next call to fetch results have data":[] (which makes sense)
Thanks!

Maybe it is a Flink concept that I don't know, but even a basic LIMIT 2 returns a lot more rows:
e.g.
SELECT rideId, rideTime FROM default_database.Rides ORDER BY rideTime DESC LIMIT 2 ;
http://<IP_ADDRESS>:8083/v1/sessions/95bef00f61a61b5db4ac2c16058722b2/jobs/f0b3577aa44fa147397a84d7cd22f763/result/1  returned in 14ms 200 170903 {"results":[{"columns":[{"name":"rideId","type":"BIGINT"},{"name":"rideTime","type":"TIMESTAMP(3)"}],"data":[[1,"2013-01-01T00:00:00"],[2,"2013-01-01T00:00:00"],[2,"2013-01-01T00:00:00"],[60,"2013-01-01T00:00:01"],[1,"2013-01-01T00:00:00"],[61,"2013-01-01T00:00:02"],[60,"2013-01-01T00:00:01"],[62,"2013-01-01T00:00:03"],[61,"2013-01-01T00:00:02"],[63,"2013-01-01T00:00:08"],[62,"2013-01-01T00:00:03"],[64,"2013-01-01T00:00:09"],[63,"2013-01-01T00:00:08"],[65,"2013-01-01T00:00:09"],[65,"2013-01-01T00:00:09"],[66,"2013-01-01T00:00:10"],[64,"2013-01-01T00:00:09"],[67,"2013-01-01T00:00:11"],[66,"2013-01-01T00:00:10"],[68,"2013-01-01T00:00:13"],[67,"2013-01-01T00:00:11"],[69,"2013-01-01T00:00:14"],[68,"2013-01-01T00:00:13"],[70,"2013-01-01T00:00:14"],[70,"2013-01-01T00:00:14"],[71,"2013-01-01T00:00:16"],[69,"2013-01-01T00:00:14"],[72,"2013-01-01T00:00:16"],[72,"2013-01-01T00:00:16"],[73,"2013-01-01T00:00:18"],[71,"2013-01-01T00:00:16"],[74,"2013-01-01T00:00:19"],[73,"2013-01-01T00:00:18"],[75,"2013-01-01T00:00:19"],[75,"2013-01-01T00:00:19"],[76,"2013-01-01T00:00:20"],[74,"2013-01-01T00:00:19"],[77,"2013-01-01T00:00:20"],[77,"2013-01-01T00:00:20"],[78,"2013-01-01T00:00:21"],[76,"2013-01-01T00:00:20"],[79,"2013-01-01T00:00:22"],[78,"2013-01-01T00:00:21"],[80,"2013-01-01T00:00:23"],[79,"2013-01-01T00:00:22"],[81,"2013-01-01T00:00:23"],[81,"2013-01-01T00:00:23"],[83,"2013-01-01T00:00:24"],[80,"2013-01-01T00:00:23"],[84,"2013-01-01T00:00:25"],[83,"2013-01-01T00:00:24"],[85,"2013-01-01T00:00:27"],[84,"2013-01-01T00:00:25"],[86,"2013-01-01T00:00:27"],[86,"2013-01-01T00:00:27"],[87,"2013-01-01T00:00:28"],[85,"2013-01-01T00:00:27"],[88,"2013-01-01T00:00:30"],[87,"2013-01-01T00:00:28"],[89,"2013-01-01T00:00:31"],[88,"2013-01-01T00:00:30"],[90,"2013-01-01T00:00:32"],[89,"2013-01-01T00:00:31"],[91,"2013-01-01T00:00:33"],[90,"2013-01-01T00:00:32"],[92,"2013-01-01T00:00:34"],[91,"2013-01-01T00:00:33"],[65,"2013-01-01T00:00:36"],[92,"2013-01-01T00:00:34"],[93,"2013-01-01T00:00:36"],[93,"...
and keeps having more new rows

is a Flink stream job ?

Still learning the Flink terminology but it is the dataset from:
https://github.com/ververica/sql-training/wiki/Setting-up-the-Training-Environment#running-a-simple-query
Opened via a execution_type/streaming & planner/blink session.

Maybe LIMIT is invalid but we don't tell the user: https://ci.apache.org/projects/flink/flink-docs-master/dev/table/sql/queries.html#orderby--limit


RichEditBox TextCommandBarFlyout UI glitches

Describe the bug
I am trying to migrate my custom RichEditBox.ContextFlyout to a TextCommandBarFlyout, mostly to get advantage of proofing menu, but I'm encountering a lot of problems in doing so.
I don't want to have primary commands for text formatting, so I disabled key accelerators for them using DisabledFormattingAccelerators.
Now the problem is that CommandBar primary part isn't visible, but it's still in the visual tree, and it is hit test visible. This causes the whole flyout to appear shifted up/down by the bar height.
Also, position is shifted horizontally, by flyout width/2 (That's it, it doesn't appear corner aligned with the mouse pointer, but center aligned).
I also found one more bug, this time when primary commands are available:

Last one is: having a secondary command with a Flyout assigned, the flyout often closes by itself when moving the pointer from the CommandBar to it.
Version Info

NuGet package version:
[Microsoft.UI.Xaml 2.4.2]

Windows 10 version
Saw the problem?

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@FrayxRulez It sounds like you have 3 issues

You set DisabledFormattingAccelerators and expected the formatting commands in the primary bar (Bold, Underline, etc) to go away and they did not.
After setting DisabledFormattingAccelerators you are seeing a gap between the two components of the flyout.
Nesting a flyout within your command bar makes for a bad experience because the flyouts are easily dismissed.

Can you confrim this description?
Would it be possible to provide a repro app?

@StephenLPeters in the first case, CommandBar primary bar isn't visible, but it's there. I can see a invisible occluded rectangle, and I cant click on that area of the screen (I can't dismiss the flyout by clicking there). I actually noticed this as the flyout did appear shifted, and when I tried to capture a screenshot the snipping tool recognized the non-clickable rectangle as a window.
Other two are correct, sorry for the confusion :)
I will try to provide you a repro app ASAP!

this shouldn't be closed, should it?

@FrayxRulez did you ever get that repro app?  @Poopooracoocoo we have a bot which closes issues with NeedsAuthorFeedback tag on them after a few weeks automatically because we assume that the issue has been resolved if they never report back. Is this turning out to be an issue for you as well?

I moved away from TextCommandBarFlyout and I forgot about the repro. I'm sorry, I will try to get something today.

Is this fixed as part of this PR ?
https://github.com/microsoft/microsoft-ui-xaml/pull/3594

I don't think it would be fixed by #3594 though that's hard to tell without a repro.

uh should this be closed????

Please reopen once there is a repro or more details.


New Feature : Display selected Item in the Modal as it is in renderItem

Hi,
Thanks for the good repository.
I want to request a new feature.
Please provide the renderedItem as it is to the Model after selecting a item.
e.g.
If I made a custom renderItem with Image and Text as dropDown Item, then same rendered Item should be displayed in Model after selecting a specific item from drop-down. Currently, it is showing only text from the rendered Item.

Currently there is a buttonText in the state, that gets rendered and receives changes on selection.
This would need a change. It could be an optional choose for a user, so it would need conditions in ModalDropdown. On the other hand it can be the default way of the implementation. Need to care of backwards compatibility!


When a video closes in single mode, it does not stop playing

When a video opens in modal and closes, it still keeps playing in the background. We can either set the modalOpen animated value to unload the video(preferred) or use useAnimatedReaction to listen to value change in modalShown and unload and load video as needed

I am interested to work on this one


create data model

create ruby on rails app connected to postgres database
create models for each table to manage data
tables includes users, comments, posts and likes
create the foreign keys to the tables
migrate the data for schema update

@TedLivist @sumairq  Thank you for the good code review 🙏🏾🙏🏾


<Foo object at ...> is not JSON serializable

Model cluster does not support primary keys that are not of simple types.
If you have a primary key that uses something like this CashField from django's tests that doesn't inherit from one of the basic types known to the DjangoJSONEncoder then you get <Foo object at ...> is not JSON serializable.
The Cash object I linked to inherits from decimal.Decimal but that is because it is only a simple example for testing.
ModelCluster needs to do some sort of is_serializable check at https://github.com/torchbox/django-modelcluster/blob/c72110e7789415196336584c70b2706fe74dbc2d/modelcluster/models.py#L44 and use Field.value_to_string or the like if the object isn't serializable

I just submitted a pull request.  All tests pass for me locally.  This issue isn't just for primary keys.  That is just what I ran into first.  It would be for any field that returns a value that cannot be directly converted to json.  Not sure how you would want to test it.  I can put together a quick test if you want with a custom field like the CashField in the django tests if you like


{{from.last_name}} doesn't work

When you use the {{from.last_name}} or the {{from.name}} variable, it prints Google+ Profile–Privacy, instead of the last name / full name of the user.
It's probably linked to an update in Gmail's dom.

@ghinda make sure it works with other languages than english as well. Gmail translates the titles so it's not a good idea to base our code on them.

Fixed in 5.6.7


⚠ Fortnite has degraded performance

In b6a070e, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1445 ms

Resolved: Fortnite performance has improved in b148cef.


Symbolic link to Git-controlled source file; follow link?

Obviously the answer will always be yes, so Emacs should not be asking me.

Resolved in 7e640adab48b836978f75892a4ceee2809c275b8.


⚠ Mysql - Hydeos has degraded performance

In 0948371, Mysql - Hydeos (https://phpmyadmin.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 1606 ms

Resolved: Mysql - Hydeos performance has improved in 85b9cc2 after 5 minutes.


Investigate issues with emoji

@kaunteya reported that there are issues with handling emoji. I think these are all typically multi-point characters in UTF16, which is on the rare side. But, it would mean there are encoding/decoding issues and need to be investigated.

The reported problem is tripping the assertion within func data(at byteOffset: Int, limit: Int, using encoding: String.Encoding, chunkSize: Int) -> Data?

I've added a test, but I'm now suspecting this bug is entirely within https://github.com/ChimeHQ/Neon. I found an issue with TextViewHighlighter's handling of multi-point characters.

@kaunteya are you using TextViewHighlighter in the places you have reproduced this problem?

Can you try out the main branch of Neon and see if it addresses the issue?

Hey Matt.
I updated Neon Package in my code and it seems the issue has not been fixed yet.
Getting this error
SwiftTreeSitter/String+Data.swift:19: Fatal error: location is greater than end

I am using this commit 2e947934a75108a06fa42db84f69101d08a46f5c from the main branch

Ok well I’ll keep at it! Have not been able to reproduce the issue with the neon example project yet…
Do you happen to know of any steps I can do it make it happen there?

I was able to reproduce it while inserting an emoji in a String.
Attaching a screen recording for reference
https://user-images.githubusercontent.com/2352321/211006519-17bf175a-a301-4efc-91e2-37c4113720a2.mov

Hmmm. I cannot cause this to happen. What OS are you running? Are you using a x86_64 machine?

Yes

Ok, so I tried to reproduce this on the only Intel machine I could get access to, which was running 12.6. I was unable to cause the crash. However, since you seem to be able to do it, maybe we can work together to try to debug?

Ok, so the first thing to do is to check out the latest version of this repo and run the unit tests. I added a bunch to try to exercise this area. If any of those cause problems, it will help us focus.

The Unit tests run fine. No issues there. I am on this commit d015661
Did you add any new tests? I am not able to see any new tests added recently.

Yeah there is a new parsing test called testParseEmojiInEdit I’d like to try. And if it passes, I think the next step is to figure out how to take whatever is going wrong in Neon and capture that as a test here.

I can confirm, testParseEmojiInEdit() is passing successfully in my mac

Huh, ok well that's good to know, but it surprised me. This test was supposed to exactly emulate what you did.
So, I looked more closely at your screen recording, and it looks like you first insert an emoji without issue. But, then you insert a second, and that's what crashes. First, is that right? And if so, we can try expanding the test to cover that.

Yes. That's right. It works fine for the first emoji

Hmm ok, well that's a clue. I'll make another test that does two edits.

While I do that, it would also be helpful to understand the state in that function at the time of the first edit and the second. Could you set a breakpoint on that assertion, and provide the values of:
byteOffset, limit, encoding, chunkSize, location and end every time it gets hit? I know this is a pain...

(And that test is now ready I think)

Ok, this is useful. The limit is 40, and that is incorrect. That's quite surprising. Are you certain you are using the latest main branch?

Oh my bad. Got confused while working between Neon and SwiftTreeSitter.
On the latest pull in Neon repo, the above crash does not happen

Hooray, we figured it out!! Thanks for reporting this and all your help along the way.


Update communication-compliance-configure.md

Added mail enabled security groups to the non supported list

@JohanFreelancer9 please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3258

@robmazz Please merge this PR. Thanks.


Is a Gazetteer a list of places, or place-names?

In the Place Name ontology, Place (a sub-class of geo:Feature with a type and geometry) is differentiated from PlaceName (a formal name for the place, assigned by some authority).
So what is the membership of a Gazetteer? is it Place or PlaceName?

Irina and I think they are placenames, not places. The dataset has uri links to all the data sources, so you can check the various 'jurisdictions' to see what the data looks like. This puts a tension between a 'feature' and the names of that feature - as I see it. One feature can have many names (although there is generally just one 'official name' in our dataset. We have only one name for each 'placename'.

According to the documentation (https://s3-ap-southeast-2.amazonaws.com/fsdf.placenames/DPS/Composite+Gazetteer+DPS.pdf) this is:
The purpose of this document is to specify a harmonised data specification for official place
names. It specifies the format, content, and characteristic detail necessary to combine
jurisdictional data for the production of a place names database. This specification also
provides a guideline for the preparation and use of place name information.
The thematic scope of this data specification is towards providing a framework for naming of
features.

Reopening until I fixed the ontology

fixed by #9


should we add a markup option?

Should we add an option that pre-configures the DOM (maybe just the head?) with elements as if they had been parsed from the markup?
Notably, some elements like <script async> behave differently if parsed in markup as opposed to being added via API calls in code. This option would allow you to mock out what the initial state of that part of the DOM was and have it behave as markup instead of API calls. It would go ahead and "request" any resource URLs from <script>, <link> or <img> elements.
This would then maybe become the preferred way to emulate markup <link rel=preload> elements over what's currently required: to artificially create those with DOM API calls. The timing would of course still be controlled by resources entries.

One element that would definitely need to be "parsed" from such an option: <base>. It would of course have to change the document.baseURI setting. Perhaps this would mean we should then remove that baseURI option, so there's no confusion if those two are allowed mismatch.

Also: a challenge here is that any resource requests, except <script async>, that are encountered during the "initial DOM parsing" delay the DOMContentLoaded event.

https://jakearchibald.com/2017/es-modules-in-browsers/

We can parse the markup with https://github.com/jsdom/jsdom


Shut down the old Matrix room

Gitter is now natively bridging Matrix (as first steps on the roadmap of making Matrix the backbone of Gitter, and blending the Gitter and Matrix ecosystem together). There is now a native Gitter - Matrix bridge at gitter.im, which provides beautiful native-feeling bridging experience.
https://matrix.org/blog/2020/12/07/gitter-now-speaks-matrix
This means that the old bridge is not needed, and will only cause confusion and may destroy the room.
Currently, there are 3 Elvish rooms on Matrix.

Native bridged at gitter.im (now preferred) #elves_elvish:gitter.im
Old Gitter bridge at matrix.org (will be shut down by matrix.org team) #gitter_elves=2Felvish:matrix.org
Manualy created room with mesajor bridge: #elvish:matrix.org

The old Gitter bridge at matrix.org will be shut down automatically, but you should shut down #elvish:matrix.org, and bring the bridge into #elves_elvish:gitter.im

The manually created room #elvish:matrix.org is no longer bridged with the rest of the IM channels. Instead, the matterbridge instance is now configured to just bridge between Gitter, IRC and Telegram. Matrix users can just use the native bridge. I'll update the website too.

@xiaq
Is #elvish:matrix.org still needed?
I see it's not listed in the directory, but if someone knows the address, they can still join it.
You can remove the alias and deprecate the room with @room-deprecation-bot:systemtest.tk.
The displayed text of the matrix link at elv.sh still shows #elvish:matrix.org, but correctly points to https://matrix.to/#/#elves_elvish:gitter.im

You can remove the alias and deprecate the room with @room-deprecation-bot:systemtest.tk.

That's just a bot that says that the room is deprecated, right? :) I saw you tried to use it in the room without success. Given that the room already says that it's deprecated in the description and not many people use the Matrix room anyway I feel it's not worth bothering.

The displayed text of the matrix link at elv.sh still shows #elvish:matrix.org, but correctly points to https://matrix.to/#/#elves_elvish:gitter.im

Thanks for catching that, fixing.

You can remove the alias and deprecate the room with @room-deprecation-bot:systemtest.tk.

That's just a bot that says that the room is deprecated, right? :) I saw you tried to use it in the room without success. Given that the room already says that it's deprecated in the description and not many people use the Matrix room anyway I feel it's not worth bothering.

The displayed text of the matrix link at elv.sh still shows #elvish:matrix.org, but correctly points to https://matrix.to/#/#elves_elvish:gitter.im

Thanks for catching that, fixing.


[web3torrent] It's hard to use the Peer identifiers

It's not clear who I am (i.e., I need to access channelProvider.signingAddress)
Viewing prefixes of addresses is less user friendly than seeing a unique color / Blockie

@geoknee we could add Blockies to show who I am and for each Peer


Use Case: Given a DOI, directly download & verify an RO-Crate

As a researcher (or aggregation service), when given a DataCite DOI, I'd like to be able to directly download & verify (e.g. by comparing checksums) an RO-Crate so that I can (for example) use it in a downstream workflow without having to parse the DOI landing page
Realizing this use case is beyond scope of this spec, but it should inform the spec and guidelines, so that RO-Crate can satisfy this use-case for third-parties. For discussion/examples of the need for direct download from a Persistent Identifier see:

Freya Project Use-Case
RDA PID Kernel Information Working Group
MINIDs linked to BDBags

I have been giving it a thought, about a practical way to do it. If the DOI landing page of a dataset can contain schema.org annotations, a way to automate the discovery of the download links for automated systems could be through an specific annotation containing it, which should be agreed by the different actors.


bug(tooltip): tooltip caret always positioned at the top

Detailed description

Describe in detail the issue you're having.

When changing the placement of the tooltip to left, right or top and caret it always positioned at the top and does not readjust.

Is this a feature request (new component, new icon), a bug, or a general issue?

bug

Is this issue related to a specific component?

tooltip

What did you expect to happen? What happened instead? What would you like to see changed?

caret should readjust instead of staying at the top of the tooltip. For example, if its placement is to the left and caret should be on the right of the tooltip.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

10.0.0
Additional information
storybook

style reference: https://www.carbondesignsystem.com/components/tooltip/style
Seems like only top/bottom are supported

'bottom' works fine, however when 'top' is used the caret position is not correct:

I can't seem to reproduce the "blink" in the storybook ... a codesandbox that showcases the issue would be awesome :+1:

Hi team,
Seems like issue still persist.
https://codesandbox.io/s/carbon-angular-tooltip-w0gym


All CLI downloads aren't available :-/

See here: https://dockware.io/cli

Hi
oh thats weird
thank you
i've just fixed it, and its available again


Bug: Water sources don't automatically flow when world is generated

OTG Plugin or Mod
Forge mod
OTG Version
v8_r6
Forge or Spigot Versions
<IP_ADDRESS>38
What other plugins are you running?

Description
IIRC, this happens in the released version as well, especially in places where the edge of a body of water is interrupted by a ravine, cave, etc.
Here's an example:

EDIT: I found some that flow on their own, and some that eventually flow after an abnormally long delay. It seems inconsistent?

I found some better examples (caves generated in a swamp biome) and was able to look at it in more detail.

Loading the game in and out or leaving and coming back to the area doesn't cause the source blocks to flow.
I made sure the game had 110% fully loaded the surrounding chunks and wasn't 'caught on' anything (mobs all moving around fine, I take damage without weird delays, etc)
Breaking a block near to a source, obviously, causes it to flow
If it's just a delay, it's SUPER delayed - I messed around in this swamp for ~10 minutes and it still didn't update on its own.
I installed Better Foliage, Dynamic Surroundings and Quark in between the original issue submission and this, but there's no apparent change in behaviour.

Hey @inkdear , we've had this behaviour for a while. There's a number of different mechanics at work related to placing and updating the water blocks and their neighbours, so unfortunately I can't easily point to a culprit. If this behaviour doesn't happen for vanilla, then OTG is doing something wrong when placing / updating (or neglecting to update) blocks. This may also explain some of the lighting bugs we're seeing. Will need to look at this for a future release.

*if localworld.setblock is used to place these blocks, that explains the missing block updates. Could make all resources except bo4's do setblock with updates. For BO4's this shouldn't be a problem, since all their blocks should be spawned in their proper updated state and shouldn't care about neighbouring blocks (or lack thereof).

Fixed with 1.16.5 0.0.8!


GPU support for sde_gan.py

I am trying the run the example sde_gan.py with GPU support.
I have run the code directly as it is in a Google Colab session (with GPU execution) as well as in local and in both cases, there is almost no improvement in the running time in comparison with CPU execution.
I have looked up the code but I did not find any problem in sde_gan.py; maybe the problem is in the source files for torchsde and torchcde.

I have looked up the code but I did not find any problem in sde_gan.py; maybe the problem is in the source files for torchsde and torchcde.

Have you taken a look at GPU utilization?
@patrick-kidger might have better ideas.

I have looked up the code but I did not find any problem in sde_gan.py; maybe the problem is in the source files for torchsde and torchcde.

Have you taken a look at GPU utilization?
@patrick-kidger might have better ideas.

Yes, and GPU utilization is quite low (but not zero). The GPU is far from being fully used.

I don't think this reflects an issue in torchsde. Rather, it generally seems to be the case that pytorch + diffeqs are overhead-bound so GPU utilisation can be quite low.

I think this makes sense. Size of the model is also a factor. For small models, the Python overhead can be large compared to the computation on the GPU.
JAX's JIT would alleviate this.


Build/installation on macOS Big Sur 11.4

Hey, I am trying to set up Flamerobin on my macOS Big Sur 11.4. 🍏
The compilation process went fine, except small edit of CMakeLists.txt, where I needed to do this
if (UNIX)
        if (NOT APPLE) # ADDED THIS CONDITION
                # UNIX (Linux) specific details
                list(APPEND SOURCE_LIST
                        ${SOURCEDIR}/gui/gtk/StyleGuideGTK.cpp
                )
        endif (NOT APPLE)

        add_definitions(-DIBPP_LINUX)
        add_definitions(-DFR_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
        # Need to link the fbclient lib in *nix systems
        list(APPEND FR_LIBS -lfbclient)

        # Create the revision include file
        execute_process(
                COMMAND "${CMAKE_SOURCE_DIR}/update-revision-info.sh"
                WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
        )

        # Util script to help run FR in build dir
        file(COPY utils/run_flamerobin.sh  DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

endif (UNIX)

then it compiles successfully, but after running make install, the Flamerobin is installed to /usr/local/bin which is not desired on macOS, it should be Flamerobin.app, which contains everything inside it (this was working in older versions of Flamerobin, probably before CMake).
I see that you have a configuration for it in Makefile.in, but it looks like that it was not executed at all.
https://github.com/mariuz/flamerobin/blob/1b4bafbfdc34ee14ed1156229535bb113074670c/Makefile.in#L280-L311
Can you please give me some advice on how to edit CMakeLists/Makefile to achieve it?
Thanks.

Hello @Tomas2D, sorry, I'm not used to work with Mac
I know that @blumf  did the port to Cmake, and he asked for mac users here #120
You can take a look at: https://github.com/mariuz/flamerobin/blob/1b4bafbfdc34ee14ed1156229535bb113074670c/CMakeLists.txt#L360-L378
And https://github.com/mariuz/flamerobin/blob/1b4bafbfdc34ee14ed1156229535bb113074670c/CMakeLists.txt#L406
if it's this lines to improve, and you know how do change, can you make a pull with the fix?

After a quick bit of Googling, maybe the changes in PR #221 might help.
Tightened up the platform detection (plain 'UNIX' covers Linux/BSD/etc. and Apple)
Used MACOSX_BUNDLE properties too, hopefully, they do the right thing.
Working in the dark here, does it make any sense to you @Tomas2D ?

Hey, thanks for a quick reply, I was quite busy, but today I had time to look at it and created a pull request with related changes. Quite a pain to make it work I must say 😄
But thanks for getting me on the right track and for working on this software.

We can probably close this for now, or?


Remove mkdirp with fs.mkdir recursive ?

What / Why
Hi, would you be ok for a pull-request to replace mkdirp with the new native fs.mkdir recursive method ?
This is a Node.js 10.12.0 addition and Node.js 8 is EOL now so i guess the timing is ok.
Best Regards,
Thomas

mkdirp v1 uses fs.mkdir when available, and also polyfills for windows errors and returning the first made directory in versions that don't support that by default.
So, what's there is ideal.  Especially since this module supports node versions from 10.0 through 10.11 as well.


[CS2103T-T13-4] Common Cents

Common Cents helps university students who manage small-scale businesses to manage their finances. It is customized for students who have difficulty keeping track of their finance and prefer a visually appealing app to organize and plan expenses.

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage     72.31%   72.31%
  Complexity      400      400
=========================================
  Files            70       70
  Lines          1228     1228
  Branches        124      124
=========================================
  Hits            888      888
  Misses          308      308
  Partials         32       32

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/address/AppParameters.java
75.00% <ø> (ø)
9.00 <0.00> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #5 into master will decrease coverage by 41.10%.
The diff coverage is 13.97%.

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


Add custom snippets

Would it be possible to add a way to import custom snippets?

@brendancarlson
You can add those on your own. This package ships only React related snippets
https://code.visualstudio.com/docs/editor/userdefinedsnippets


Error in 0.18, works in 0.17

After upgrading to 0.18 I ran in the following error:
Wrapped type resolvers should maintain the existing execution dynamics of the resolvers they wrap (i.e. async vs sync) or introspection types should be excluded from wrapping by checking them with `graphql/type`s, `isIntrospectionType` predicate function prior to wrapping.
    at Object.generateSchemaHash (/node_modules/apollo-server-core/dist/utils/schemaHash.js:18:15)
    at ApolloServer.generateSchemaDerivedData (/node_modules/apollo-server-core/dist/ApolloServer.js:273:41)
    at new ApolloServerBase (/node_modules/apollo-server-core/dist/ApolloServer.js:187:38)
    at new ApolloServer (/node_modules/apollo-server-micro/dist/ApolloServer.js:18:1)
    at createHandler (webpack-internal:///./pages/api/graphql.ts:10:24)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: The introspection query is resolving asynchronously; execution of an introspection query is not expected to return a `Promise`.

Fixed after 0.2.0!

👍


w.WaitTimeSecond not available

Im getting the following error while trying to set a different WaitTimeSecond:
w.WaitTimeSecond undefined (type *worker.Service has no field or method WaitTimeSecond)
code:
    w, err := worker.NewService(QueueName)
    if err != nil {
        log.Printf("Error creating new Worker Service: %s\n", err)
    }

    w.WaitTimeSecond = 10
    w.Start(worker.HandlerFunc(Process))

What is wrong?
I don't know a lot about golang, but looking into code, there isn't a part of the code replacing the default value
https://github.com/bufferapp/sqs-worker-go/blob/master/worker/worker.go#L56
https://github.com/bufferapp/sqs-worker-go/blob/master/worker/worker.go#L101

I think it should be:
worker.WaitTimeSecond
If you see at worker.go  Service struct does not have a WaitTimeSecond property. It is an exported variable WaitTimeSecond.


fix(nasdaq): fetch index based on last weekday (#22)

Changed in nasdaq_requests.py to allow the date where the weighting of the index is retrieved to the last weekday.
Did this by calculating using timedelta with the difference between todays day and the latest weekday.

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

Files
Coverage Δ

finq/datasets/custom.py
100.00% <100.00%> (ø)

finq/datautil/nasdaq_requests.py
97.50% <100.00%> (+0.06%)
:arrow_up:

tests/datasets/custom.py
100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.

Also added some branch protection rules to main:

Require a pull request before merging

Require approvals

Require status checks to pass before merging
Require conversation resolution before merging
Require signed commits

thoughts? @AugustSoderlund

Also added some branch protection rules to main:

Require a pull request before merging

Require approvals

Require status checks to pass before merging

Require conversation resolution before merging

Require signed commits

thoughts? @AugustSoderlund

This sounds good! 👍

I removed "Require signed commits"; i thought it only meant the latest commit had to be signed, but it meant ALL commits had to be signed. we can't do this, so lets suffice with the merge being signed is good enough :P

I removed "Require signed commits"; i thought it only meant the latest commit had to be signed, but it meant ALL commits had to be signed. we can't do this, so lets suffice with the merge being signed is good enough :P

Alright, it will probably suffice to have at least 1 reviewer.


ci(docker): improve release tagging order and display on ghcr.io

Summary
Closes https://github.com/astral-sh/uv/issues/7458
This change adds a new job at the end of docker publish which adds annotations the primary image digests in order to make ghcr.io rank ghcr.io/astral-sh/uv at the top once again. The solution is to annotate the index at the end during a re-publish to make ghcr.io consider it a more updated entry than the others and rank it at the top once again.
Test Plan
Tested on release run on my own fork

Packages: https://github.com/samypr100/uv/pkgs/container/uv will show ghcr.io/astral-sh/uv first once again
Run: https://github.com/samypr100/uv/actions/runs/10951404736

CC @zanieb


Memory Leak!

When I used the curvelops in a loop, I found the memory used by the program was increasing rapidly. I try to delete python object and gc.collect(), but useless. Therefore, has it bugs about memory leak? @cako

@mrava87

@cako

Thanks for reporting this. We did some test ad a previously developed version was leaking memory and actually did not see this behavior here, but I pinged @cako as he wrote this code and may be able to say more. If you copy-paste your code that would help us troubleshoot

Hi @hexiangdong2017, thanks for reporting. Following @mrava87, could you please share a snippet of the offending code?

@cako @mrava87
You can see my project in https://gitee.com/hexiangdong2019/curve-edge. And can run optimize.py. You can find the memory used by it increasing and not decreased after one iteration.

Therefore, when the iteration becomes larger, it can't finish. I want to use this library in deep learning as preprocessing, but this bug prevent this.

Thank you @hexiangdong2017, I haven't been able to get to this yet, but I will make an effort to have a look at it asap!

Has any progress or planning recently? @cako

Hi @hexiangdong2017, thanks again for reporting this and sorry for taking so long to address the issue. Profiling these kinds of bindings are quite tough!
I managed to run your code through a profiler, like this:
mprof run --include-children python optimize.py
mprof plot --flame -o plot.png

For testing, I used maxfev = 100 on the call to pdfo to make it faster, I think it should be alright. Running these gives me a linearly increasing memory profile:

Then, I changed your code in eval.py to remove any call to FDCT and setting out = img. This gave me the following profile:

It's much faster, but more importantly, it is not linearly increasing. So clearly the FDCT codes are leaking memory.
After a lot of research and testing, I believe the problem is that NumPy is not taking ownership of the arrays created by CurveLab. This was a bug in the original code that stemmed from my own misunderstanding of how pybind11 (what I use to wrap the C++ code) worked. So, to fix it, I used a technique that attaches a cleanup function to the NumPy array. When the array gets destroyed, the function is now called to deallocate the memory. Running the test again gives me the following profile:

To finalize the test, I ran your optimize.py with the original maxfev = 2700, which gave me this profile:

Success!


fix: Clean up imports so that code runs with core dependencies. Updat…

…e tests to enforce this
Need to be more careful with imports in the future!

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

There are still some end-to-end-tests failing

OK, end-to-end-tests are working now


a patch to evade unnecessary AssertionError on KList when kompile

@andreistefanescu please review.

is this actually correct, though? fail() isn't really an error; it just means that the two terms don't match. an assertion error means that calling the function in this particular way is not valid. where is the context where the error happened that you are trying to fix, and which interpretation is correct in that case?

The assertion error made the following fail to kompile. It used to kompile before.
syntax KListWrap ::= "[" KList "]"
syntax KItem ::= getLastKListElement( KListWrap )                       [function]
rule getLastKListElement([Ho:K,, Hd:K,, Tl:KList]) => getLastKListElement([Hd,,Tl])
rule getLastKListElement([Hd:K,, .KList]) => Hd
rule getLastKListElement([.KList]) => .K

This is not allowed in KORE anyway. KLists are not first order terms anymore so you can't have a KList variable. If you replace this code with something legal that uses a List type, do you still get the error?

@dwightguth the assertion violation occurs at add call sites from the code inherited by PatternMatcher from AbstractUnifier. Changing how add works is simpler then duplicating the code from AbstractUnifier and adapting it to fail instead of calling add.
@laurayuwen looks good


Documentation updates

After the many changes made to lettre in the last few months, parts of the documentation are out of date or completely missing. This tries to track it

[x] Features (documented in lib.rs)
[x] Usage of AsyncStd1Transport for sendmail and file transport
[x] Usage of Tokio02Transport for sendmail, file and smtp transport
[x] Doc tests for Address, Mailbox and Mailboxes (PR #475)
[x] Doc tests for Message (showing how to send plain text and html emails for example)
[x] MessageBuilder::body says "WARNING: Generally not what you want" but we use it everywhere in examples?
[x] Decide which modules should be private
[x] Decide what makes sense to re-export as top-level
[x] Maybe use the unstable rustdoc doc_cfg feature, like tokio does, to document what is behind what feature? requires: 1 and 2 + this over everything we want to document.       result (PR #483)
[x] Update changelog
[x] Improve examples based on real world questions (see https://github.com/LemmyNet/lemmy/issues/789#issuecomment-716171855 for example)
[ ] Fix broken examples in smtp module

If anybody wants to work on any of these points or anything else that would be welcome :)
Building docs locally:
 cargo doc --open --no-deps --all-features

Building docs locally on nightly:
RUSTDOCFLAGS="--cfg docsrs" cargo doc --open --no-deps --all-features

On "Doc tests for Message", would you prefer to have them combined with the current module examples?

So turns out for Message it is a bit more complicated, you can see from #495 it required an entire issue just for all of the current issues with it.
But if you are interested in doing more documentation tasks, what I'm doing is looking at thing like #492, or going around GitHub  1, 2 and getting an idea of issues users are having with us. For example, you can see from https://github.com/LemmyNet/lemmy/issues/789#issuecomment-716174406 we really need more complete examples and a changelog for upgrading from 0.9
We may also want to backport some changes just to allow users to upgrade to something like 0.9.4, which is going to contain deprecations for some of the changes who are most going to affect projects.

Does anyone know how different an example would be for async_std from tokio?

Does anyone know how different an example would be for async_std from tokio?

Very similar @kennetpostigo.
async-std is already supported for file and sendmail transports, while SMTP Transport support will be added in #531

Very similar @kennetpostigo.
async-std is already supported for file and sendmail transports, while SMTP Transport support will be added in #531

Awesome, looking forward to that landing!

Awesome, looking forward to that landing!


chore(deps): update dependency org.asciidoctor:asciidoctorj-diagram to v1.5.18

This PR contains the following updates:

Package
Type
Update
Change

org.asciidoctor:asciidoctorj-diagram
build
patch
1.5.8 -> 1.5.18

Release Notes

asciidoctor/asciidoctorj-diagram (org.asciidoctor:asciidoctorj-diagram)
v1.5.18
Compare Source
v1.5.16
Compare Source
v1.5.12
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (1.5.18). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


uboot: 2022.10 -> 2023.01

Description of changes
Updated u-boot to the latest stable release, due to a bug in u-boot which led the booting process hang usb SSD connected.
After updating the new 2023.01 version and removing rpi specific patches from the nix file temporarily for testing. And It does compiles and raspberrypi4 tested booting from the USB SSD that previously made the u-boot hang.
Things done

Changed u-boot version and updated checksum.
Removed Rpi specific custom patches done to u-boot
These two files seems to obsolete, but until further testing I won't remove

0001-configs-rpi-allow-for-bigger-kernels.patch
0001-rpi-Copy-properties-from-firmware-dtb-to-the-loaded-.patch

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I was informed that the patches are necessary for recent boards so I will make sure to modify them if needed


GDPR guidance?

Hello, the beginning of the article states this document can support GDPR obligations by deleting PII data however that doesn't appear anywhere in the text. Either please remove this note or provide this guidance.
Thanks

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

ID: e5064e69-1fb5-5f59-222c-ee4a9487bd7f
Version Independent ID: 53c1e7d8-2e36-89da-6a1b-524bdef81007
Content: Change automated backup settings - Azure SQL Database
Content Source: azure-sql/database/automated-backups-change-settings.md
Service: sql-database
Sub-service: backup-restore
GitHub Login: @SudhirRaparla
Microsoft Alias: nvraparl

@hurtn
Thanks for your feedback! We will investigate and update as appropriate.

Duplicate of #


use Ubuntu ca-certificates package to setup TLS connection with CA

https://github.com/istio/istio/issues/5903

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @wattli

/test e2e-bookInfo-envoyv2-v1alpha3

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
Great fix!

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: myidpt, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [myidpt,wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @justinburke


Add Swift/Xcode icons

Type

[X] File icon
[X] Folder icon

Context and associations

.swiftformat (https://github.com/nicklockwood/SwiftFormat)
*.xcsettings, *.xcworkspacedata
*.xcodeproj/, *.xcworkspace/, xcshareddata/, xcschemes/ (directories all starting with xc basically)
*.entitlements (https://developer.apple.com/documentation/bundleresources/entitlements, icon looks like:
)

References
https://developer.apple.com/xcode/:

Perhaps we should also add icons for SwiftPM-specific files/directories, such as Package.swift, Package.resolved, .swiftpm, and .build (although that could probably just use the existing folder_dist icon)?
I'm no icon designer, but in Xcode:

Package.swift uses a normal Swift icon, but with a tan color instead of the usual orange.
Package.resolved simply uses a generic JSON icon (though we could probably do better... perhaps an icon with a lock badge in the vein of cargo-lock or ruby-gem-lock?).
.swiftpm has no special icon, by virtue of not showing up in Xcode at all, but we could probably just use a folder icon with a Swift badge.


[0.99] List style fixes

Current list style forced a 20% margin on the left which is a bad idea on non-PC browsers. New list style will adjust its width to fit the window.

New list style implementation is responsive to width change, and add hover animation