Feature/toasts

Description

Closes #495 (for feature implementation)

Reason for this PR

Toasts improve the user experience

Changes in this PR

add "vue-toastification"
implement global toasts that are usable from within the setup method and ts helper files

Dependency update

add "vue-toastification": "^2.0.0-beta.5"

Type of change (remove all that don't apply)

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Manually tested all use cases this could alter

Test Configuration:

OS: Windows Mac Linux

Browser: Firefox Chrome Safari Chromium

Frontend: (remove all that don't apply)

[x] Development build

Backend: (remove all that don't apply)

[x] No backend needed to test this
[x] deployed development build

Checklist: (remove all that don't apply)

[x] I have performed a self-review of my own code
[x] My changes generate no new linting warnings or console warnings
[x] I have updated the CHANGELOG.md to include any changes made in this PR (add WIP to the top, if there is none already)

Notes:

the timeouts of the toast did not work on my local setup for some reason. I haven't found a solution for that yet, but I think it has sth to do with the CSS

* there are a lot of "warning" toasts, which are used to display errors.. why not use the error toast?

Warning toasts are removed

* We should talk about (next meeting) how many toasts we really want to use. In my opinion, these are too many.

number of toasts is reduced significantly.

* toasts not closing as an open issue (with a pending PR) [Maronato/vue-toastification#137](https://github.com/Maronato/vue-toastification/issues/137) - we should wait for the fix

fixed.

* Personally, I would change "showAPI400Toast(), showAPI404Toast()" etc to

  * a enumeration (there is probably already a HTTP status code enum we could use)
  * a generic function showToast(code: HTTPStatusCodeEnumStuff), which then uses a switch case, but this is a minor opinionated change.

I implemented a generic function and extended generec response handlers by a dataType: string that describes its usage for showing 404 error messages. The generic showAPIToast(code: string, msg?: string) function supports HTTP codes 400 and 404 atm.
We decided to not use an HTTP code enum as it would just map eg. "404": 404

* HTTP Bad Request is not an adequate user feedback, when we fucked up. "Something went wrong on our side. Please consider to report this bug" + a clickable report button similar to the one on our about page (toasts can carry arbitrary vue components)

Implemented with a custom component with the functions from the about page

* Same for HTTP not Found, "Could not find user/course/whatever) might be more suitable, but not as generic, so we would need to pass some more information

see above

* Things like toast.warning("Error: could not delete profile picture.");

  * This does not help a user in solving the problem. I think toasts like this should only be issued inside the response handlers, as this is either

    * a network problem
    * a 404
    * a 403
    * ...? (refer to swagger API, which always lists all error codes, you can ignore authentication)
  * all of which should be handled in a generic way, not on a per API call basis. In the current case, this would just spam the user with toasts: "Network error, bla bla" "Could not delete profile picture"

I removed the error toasts that were not need because of existing UI error feedback.
here screenshot of the existing toasts.

* You use e.g. toast.success("Password updated."); (multiple locations where you directly invoke toasts), while you have defined showUpdateSuccessToast(subject: string) to abstract this

* In those abstraction methods, you directly inject a string into the sentence, so when adding a new feature, we would always need to remember how the sentence is structured, would it make sense to use an enumeration here? So I only need to worry about "showUpdateSuccessToast(Enum.COURSE)"? This would also allow us to change the sentence later and just adjust the enumeration, instead of changing the parameter in all components.

* Maybe we should also add abstraction for toast.success("Course '" + course.value.courseName + "' created."); etc, I think if we keep all sentences that are shown to the user in one place will make it much easier to change things consistently in all components (also with regards to translation, but thats post PG talk)

This could be a nice idea to keep in mind. But with enums, we will not be able to show the name of the created in the toast. Using enums, we could just display eg "Course created". Additionally, I do not think, that we will have multiple appearances of such success messages.

@bastihav @theovier This branch is now ready to be reviewed and merged. The usage of the custom component for an api code 500 is replaced by a placeholder for now until #696 is fixed.


chore: add release CI

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

v3.0.0
GitHub release

Your semantic-release bot :package::rocket:


Atlas -503 error

Hi Team,'
I have deployed odpi/apache-atlas image in my docker environment and logs showing it is running on port 21000 but when i hit the url in browser or when i curl the url in container i am getting below error.
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable

Powered by Jetty:// 9.3.14.v20161028
Please help

when i cat atlas.20201215.out i got below error

Caused by: org.janusgraph.core.JanusGraphException: Could not register new index field with index backend
at org.janusgraph.graphdb.database.management.ManagementSystem.addIndexKey(ManagementSystem.java:531)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphManagement.addMixedIndex(AtlasJanusGraphManagement.java:202)
at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.createVertexIndex(GraphBackedSearchIndexer.java:518)
at org.apache.atlas.repository.graph.GraphBackedSearchIndexer.initialize(GraphBackedSearchIndexer.java:269)
... 87 more
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent failure in storage backend
at org.janusgraph.diskstorage.solr.Solr6Index.register(Solr6Index.java:309)
at org.janusgraph.diskstorage.indexing.IndexTransaction.register(IndexTransaction.java:96)
at org.janusgraph.graphdb.database.IndexSerializer.register(IndexSerializer.java:105)
at org.janusgraph.graphdb.database.management.ManagementSystem.addIndexKey(ManagementSystem.java:529)
... 90 more
Caused by: org.apache.solr.client.solrj.SolrServerException: <IP_ADDRESS>:9838_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://<IP_ADDRESS>:9838/solr: Error CREATEing SolrCore 'vertex_index_shard1_replica_n1': Unable to create core [vertex_index_shard1_replica_n1] Caused by: no segments* file found in LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@/opt/apache/atlas/solr/server/solr/vertex_index_shard1_replica_n1/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@7541d801; maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock]
at org.janusgraph.diskstorage.solr.Solr6Index.createCollectionIfNotExists(Solr6Index.java:1090)
at org.janusgraph.diskstorage.solr.Solr6Index.register(Solr6Index.java:307)
... 93 more
08:28:30,633  INFO AbstractConnector:278 - Started ServerConnector@38bc5ac0{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:21000}
08:28:30,634  INFO Server:414 - Started @49602ms
08:28:52,983  INFO ZooKeeper:684 - Session: 0x1766582dc910009 closed
08:28:52,983  INFO ClientCnxn:512 - EventThread shut down

Hi,
We originally create the Apache Atlas image to use in our 'vdc' helm chart which was to demo a virtual data connector
environment with Egeria. An egeria connector was built. However As priorities evolved we didn't persue that further. There is an intent to revisit Hadoop integration very soon, likely making use of some new APIs available for integration. As part of this we plan to move the atlas and ranger related code/images out of the core repo & into the egeria-hadoop-ecosystem repository
As such the docker image for atlas has not been checked closely.
Can you expand on your interest in the image? Is it to run standalone? Are you trying out the existing atlas egeria connector? Are you looking for atlas integration with egeria? Or integration with other hadoop components? Are you trying to run our VDC demo? Knowing this may help me point you in the most fruitful direction :-)
Back to the actual problem you mention. I did see this in #3118 but in cursory usage it appeared to have gone away.
If it was necessary to get this working, I'd be inclined to
a) check both the docker builds are current (we have a base image then a customized image - only the latter is being built automatically)
b) Look at the version of solr being used - can we update
c) Consider updating the level of atlas being built
d) If required, look to test the existing connector works

Closing for now. please re-open if you have further information

Closing for now. please re-open if you have further information


Does it support Chinese?

when using 2 speaker voice concat extremly closely, would DiaPer able to seperate it out?

Hi,
Diarization should be language agnostic so in principle it should work on any language. But, we have a few models particularly fine-tuned with data in Mandarin:
On AISHELL-4
On AliMeeting (close-talk)
On AliMeeting far-field
On MagicData-RAMC
Regarding separation, this is a diarization system, not separation. So it will not separate but it can pretty accurately find the parts where the speakers overlap.

Thanks! this is exactly what I want!
I have voice such like: speaker1_speaker2, they are extremly close, which could be easist code I can borrow to resole this issue? (I just need get the time of speaker1 and time of speaker2, it might not just speaker 1 and 2, even might not acurrate before and after had overlap)

I recommend you take a look at this script
You will need to modify this file to have n_attractors: 20, put in models_path the model you want to use (you can try them all). Also rttms_dir: to set the path where you want the output to be generated. If your data are not 16kHz, also modify sampling_rate: 16000
If your data are not far-field, then probably the "close-talk" version will work the best.

Hi, I use this model:
models_path: models/20attractors/SC_LibriSpeech_2spk_adapted1-10_finetuneAISHELL4mix/models
# n_attractors: 10
n_attractors: 20

also, changed into 20,
But got:
rror: Error(s) in loading state_dict for DataParallel:
size mismatch for module.latents2attractors.weights: copying a param with shape torch.Size([128, 10]) from checkpoint, the shape in current model is torch.Size([128, 20]).

Hi @lucasjinreal sorry for the delay.
You can see here that Y needs to be (n_frames, n_bins)-shaped
I don't know where the error starts but here you should be getting something of two dimensions so you can start checking there.
I hope this helps

Hi, I solved the error earlier, but the result is poor.

I could recommend you DiariZen developed by a colleague of mine


running with --san --test works fine, i get certificates created but fails when remove --test

Firstly great app, it has taken me some time to learn the basics of LE and this app for use with exchange 2013, but now I understand it, the app appears to work fine in testing until I remove the --test .... then it does nothing.
App version: <IP_ADDRESS>
OS: Win 2012R2
Exchange: 2013 latest RU
IIS version: 8.5
running
C:\programs\letsencrypt\letsencrypt.exe --test --san --centralsslstore C:\Central_SSL
creates multiple SAN certificates in the C:\Central_SSL\ directory (one *.pfx for each hostname in the SAN) and different version of the SAN certificate in the C:\Users<user>\AppData\Roaming\letsencrypt-win-simple\httpsacme-staging.api.letsencrypt.org\ (but funily no *.pfx certificate)
running
C:\programs\letsencrypt\letsencrypt.exe --san --centralsslstore C:\Central_SSL
I get the following response from every hostname listed in CSV format

The ACME server was probably unable to reach http://<sub>.<domain>.com.au/.well-known/acme-challenge/hIRtOVde_yDjrMqrhiFMeJDGWl-IUD5K7ZtW8ZyaC08
Check in a browser to see if the answer file is being served correctly.

When running in --test I can see the data flowing through my external firewall (in have logging enabled for testing this problem), but when running without test, the outbound servers don't event show as trying to connect ... not sure if its a problem with LE, or your app, but appears to be somewhere between them.
thanks for producing a great free & open source app. I contributed more information to the Exchange 2016 wiki page to hopefully assist others in locating the information quickly.

From what I've gathered --test mode does less extensive validation than regular mode. The latest releases of LEWS give better feedback about why validation fails. You can try and open a new issue if you still run into problems.


Missing files

I am trying to reproduce demo with cub-200-2011 dataset.
readAnnotation tries to open two files that are not part of dataset: image_class_labels.txt and train_test_split.txt
Could you please share the files or the code to create them?
Looking forward to your comments

The files were found here: https://github.com/IBM/cdfsl-benchmark/tree/master/filelists/CUB/CUB_200_2011


Multi-forking

Closes #600
Introduced changes

test can now store multiple forks
forks can be changed during the test execution

Breaking changes

Checklist

[x] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

The state between tests stays persistent which means after changing the fork, previously loaded contracts are still present. Afaik Foundry splits the state between forks but enables contract persistence.


Update paths to include <IP_ADDRESS>-2

On-disk paths are /usr/hdp/<IP_ADDRESS>-2 not /usr/hdp/<IP_ADDRESS>

:+1:


feat(api): Optionally suppress warning about logger being overwritten

Which problem is this PR solving?
We use pino as logger, meaning we want it instrumented. And once it is instrumented, we'd like to use it as the logger for open telemetry. But up until instrumentation is done, we'd like to have a logger active.
diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.INFO);

// create provider

registerInstrumentations({
  tracerProvider: provider,
  instrumentations: [new PinoInstrumentation()],
});

provider.register();

const pino = require('pino');

const logger = pino();

diag.setLogger(
  {
    error: (msg, ...args) => logger.error(util.format(msg, args)),
    // etc.
  },
  DiagLogLevel.INFO,
);

However, this triggers the override warning. This PR adds an optional flag to suppress this warning when the caller knows it'll override one.
Fixes # N/A
Short description of the changes
This PR adds an optional flag to suppress a warning about overwritten logger when the caller knows it'll override one.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?

[x] Made the change in my node_modules and verified warning is no longer printed

Checklist:

[x] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

Maybe we could have an options object instead of a single param ? That would avoid breaking changes later on

Sure 👍  log level should probably be merged with that in a future major?

Sure +1 log level should probably be merged with that in a future major?

I admit i'm not sure if its something that we want actually, we'll see other opinion on this

Where should I add a changelog entry? https://github.com/open-telemetry/opentelemetry-js/blob/main/api/CHANGELOG.md seems autogenerated

Where should I add a changelog entry? main/api/CHANGELOG.md seems autogenerated

It was, but now we have to manually add entries. Add an ## Unreleased section at the top for these changes.

changelog entry added

Could we not just lower the log level to debug/trace for that message? Is it easy to accidentally overwrite the logger?

@naseemkullah Could we not just lower the log level to debug/trace for that message? Is it easy to accidentally overwrite the logger?

I'd find the example shown in the OP is persuading to suppress the message entirely: the override is intentional so there is no need to log anymore.

hi @dyladan, as @SimenB requested at https://github.com/open-telemetry/opentelemetry-js/pull/3388#issuecomment-1305594137, do you think it is possible for us to include this PR in https://github.com/open-telemetry/opentelemetry-js/pull/3340? Or should we go ahead as the release has been proposed for weeks?

Let's include it

I updated some of the typedoc comments.

🎉

@naseemkullah Could we not just lower the log level to debug/trace for that message? Is it easy to accidentally overwrite the logger?

I'd find the example shown in the OP is persuading to suppress the message entirely: the override is intentional so there is no need to log anymore.

Intentional things can be debug logged though, just wondering if there is any reason it was logged as warn


I want the interface request of dreamview

I am researching the dreamview function. I want to see the interface between the front-end and the back-end. I want to know where I can view the interface and data structure of these interactions. It is similar to the rest request of OpenApi. Can someone help me solve it? ,Grateful

i suggest you refer to the follow video
https://live.baidu.com/m/media/pclive/pchome/live.html?room_id=4186435259&source=h5pre

Briefly speaking, the front-end and back-end communicate through websocket.
Therefore, it can be considered as an http request. At present, this interface will transmit basically all sensor data to the front-end display. If you want more detailed documents, we may need to summarize it.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2402 ms

Resolved: Bofrost.at performance has improved in 70faa1d after 10 minutes.


Uploading files can change your "Last Seen" IP temporarily to the media repo's server

This was best reproduced as:

Upload a new avatar
Close the settings
Open the settings
Note the IP

This is an indication that we're not sending the correct headers.

This is because of the /account/whoami call - I don't think there's much that can be done to avoid this?

We might be able to lie and ensure we send an X-Forwarded-For header


add a back to home button

It would be much better and comfortable for user to use if there will be go back to home button in sign up and login page. Please assign this task to me. I will create it.

like this

/assign


[Feature]: Dynamic I18n

Function description and necessity description
Necessary support for dynamic I18n design
Suggestions and solutions
Design using MySQL storage

Using Redis+cache for three-level cache design

complete


Getter to fetch line metrics from RenderEditable

I have a TextField for which I want to render line numbers. The TextField is wrapping long lines automatically, thus I cannot just count the newline characters and call it a day. I have access to the RenderEditable of the TextField where I want to extract the Paragraphs line metrics. Unfortunately there is currently no way to access that information from RenderEditable. This PR is adding a Getter to fetch the line metrics.
This would allow me to fix a line numbering bug in the code_text_field package: https://github.com/BertrandBev/code_field/issues/6
I am not sure whether this change needs any tests.

I'm working on exposing more text layout information from TextPainter (and in higher level things including render editable): https://docs.google.com/document/d/12iEpfcqnHMIV6slNPrbaEkWih5cuSkH-si_OTiZ9RLw. I believe Line metrics is one of them. Would that cover your use cases?

@LongCatIsLooong It sounds like a perfect match indeed. So I guess I can close this PR? Is there a tracking issue I can subscribe to?

So I guess I can close this PR?
Yeah since the information will be made available on RenderEditable/RenderParagraph

Is there a tracking issue I can subscribe to?
There isn't one, but I'll post updates in that doc.

@LongCatIsLooong this document is not public.
Can you please create an issue here and self-assign it? Or link existing issues? So we can check status and have a better discussion place than a closed PR.


Fix pre-norm weight conversion for nmt

For nmt model, if it uses pre-norm architecture, then it will have final layernorm. (Ref: fairseq encoder init, forward and fairseq decoder init, forward).
We don't need to modify the rest of the script since fairseq will use the original final_layer_norm before ffn despite they call it final_layer_norm. (Ref: https://github.com/facebookresearch/fairseq/blob/main/fairseq/modules/transformer_layer.py#L212)

hi @Pzzzzz5142 ， thanks for your contribution, this PR has been merged and will upstream to main branch next week,


Update Plugin for Plugin Manager 2.0

With the introduction of the Binary Ninja Plugin Manager 2.0 we will be releasing a installation UI for all plugins in the community repository. Please check https://binary.ninja/2019/07/04/plugin-manager-2.0.html for the latest information about how to submit your plugin. If you no longer want your plugin in the repository please disregard this issue

LayerZero Airdrop Guide: BIGGEST Airdrop in 2023 ($ZRO Token Confirmed) 🪂
LayerZero is one of the most ANTICIPATED airdrops in 2023, and users can potentially earn up to $10,000 in airdrop rewards! This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Claim Now on Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Share on Social Media:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Reddit

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.


ISPN-13291 Upgrade to console 0.15.2.Final

https://issues.redhat.com/browse/ISPN-13291
depends on https://github.com/infinispan/infinispan/pull/9519

Merged, thanks Katia!


ds-z3-init and prepending ds env variables with ACCELERATE_

What does this PR do?

Addresses #922

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[SchemaRegistry] remove pinned azure-schemaregistry in dev reqs

The verifytypes check is failing in the CI currently for azure-schemaregistry-avroencoder, as azure-schemaregistry==1.2.0 is pinned in the dev_requirements.txt. It was originally pinned since Windows was picking up 1.2.0 in the mindependency check and Mac/Linux were picking up 1.3.0bx, so api-version in the recordings did not match.
This can be unpinned now as 1.3.0 has been released, so all platforms should be picking up 1.2.0.
Changes:

New recordings with azure-schemaregistry 1.3.0
Unpinned azure-schemaregistry in dev_requirements.txt
Scrubbed api-version from azure-schemaregistry-avroencoder, since mindependency was installing SR 1.0.0, which was api-version=2021-10, and the recordings use 2022-10. This caused CI to always fail mindependency check. Similar to KV.
Updated the request_options test for the avroencoder package to pass in one of the set of expected http request kwargs, rather than "fake_kwarg". Since we added a check to filter out non-http request specific kwargs after 1.2.0, the new package will not pass "fake_kwarg" through. Passing through a duplicate/(unexpected for aiohttp) value "files", which will raise an error from the core request() method.

/azp run python - schemaregistry - ci

API change check
API changes are not detected in this pull request.


Fix shortcuts on launcher

You can't actually open the shortcut in BB

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @tneot01 in #requests.

Dupe of #295?

Dupe of #295? @tneotia

Dupe of #295? @tneotia

Yes


Community page for the website

Contributors interested in working on the community page can take up this issue. You can have a look at the wireframes here.
The community page needs to have the following components:

top navigation bar (the top nav bar needs to have dropdowns. Please refer the wireframes and build accordingly)
a button over the backdrop of an image with a hyperlink to the discord server
a button over the backdrop of an image with a hyperlink to the github repository
'meet the founder' section
'notable members of the community' section
'meet the contributors' section
'testimonials' section
footer (the footer also needs to have a button that takes the user back to the top of the page when clicked)

Some of these components (top navbar, footer etc.) will stay the same irrespective of the page that they exist on. You may refer to #56 and reuse the same code.
Contributors are requested to strictly adhere to the format followed in the wireframes. Please go through Contributing.md and the basic skeleton before contributing.
Also join the Discord server so that communication can be done smoothly.
For an overview of the project, see here

Hi, can I work on this?

@talhaabbasi yeah sure! Go ahead.

@umang-sinha Please review :)


Enum fields not resolving when split across multiple files

Issue
When I create a consumer test that has a request with an enum field, the pact protobuf plugin is failing with the following error:

Failed to set the interaction: Failed to process protobuf: Protobuf enum value .some.package.name.TEST_ENUM has no value TEST_ENUM_VALUE_1

Technical details
In utils.rs, the find_enum_by_name and find_enum_by_name_in_message functions only look at the first descriptor that matches the package name. If there are multiple top-level descriptors with the same package name, the plugin doesn't look at each of them.

The PR to fix this is https://github.com/pactflow/pact-protobuf-plugin/issues/30


Update mongo-connector dependency to 2.5.0

Before mongo-connector 2.5.0 the solr-doc-manager was packaged with mongo-connector itself.

LGTM


Simplify tsvtool - getlabels, split, analysis

The goal of this PR is to simplify some tsvtools.
Indeed the names of the columns vary depending on the dataset: for example the score MMSE can be named MMS, mmse, mmse_bl...
The user had to know what was the name of the column to launch the tool, now it will be found automatically.

Hello @14thibea! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file clinicadl/clinicadl/tools/tsv/data_split.py:

Line 15:1: E302 expected 2 blank lines, found 1


bug(MatDialog): When opening multiple dialogs in a short amount of time, some of them do not open

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
12.2.0
Description
When opening multiple dialogs in a short amount of time, some of them do not open
Reproduction
The bug can be noticed with the example below, when clicking the "Open Fast" button.
import { Component, TemplateRef, ViewChild } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';

@Component({
  selector: 'app-root',
  template: `
  <button (click)="openFast()">Open Fast</button>
  <button (click)="openSlow()">Open Slow</button>
  <ng-template let-data #template>
    {{data.message}}
    <button mat-dialog-close>close</button>
  </ng-template>
  `
})
export class AppComponent {
  @ViewChild("template") template?: TemplateRef<any>;
  constructor(private matDialog: MatDialog){}
  openFast(){
    this.open('1');
    setTimeout(() => this.open('2'), 1);
    setTimeout(() => this.open('3'), 50);
    setTimeout(() => this.open('4'), 100);
    setTimeout(() => this.open('5'), 150);
    setTimeout(() => this.open('6'), 200);
  }
  openSlow(){
    this.open('1');
    setTimeout(() => this.open('2'), 300);
    setTimeout(() => this.open('3'), 600);
    setTimeout(() => this.open('4'), 900);
    setTimeout(() => this.open('5'), 1200);
    setTimeout(() => this.open('6'), 1500);
  }

  private open(message: string){
    this.matDialog.open(this.template!, {
      disableClose: true,
      data: { message }
    });
  }
}

Expected Behavior
"Open fast" button should open 6 dialogs, just like the "Open slow" button.
Actual Behavior
The "Open fast" button opens only 2 dialogs.
On most attempts it opens (1) and (5), but in some cases (1) and (6) are open.
Environment

Angular: 13.0.0
CDK/Material: 13.0.0
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

We encounter the same issue, If we call open in ngOnInit like below:
  ngOnInit() {
      setTimeout(() => this.open('2'), 0);
  }

The dialog dose not open anymore, it is fine in previous version.

We've also hit this issue. I'm sure it was introduced with this commit. There's a comment on it that points to the underlying issue.
The commit message says the goal is to [a]void opening multiple of the same dialog before animations complete by returning the previous MatDialogRef, but the change does not check whether the two dialogs are the same. This leads to really weird behaviour, which took us a long time to figure out. Here's our use case (which was working fine before):
// injected in real code
declare const dialog: MatDialog;

// somewhere in the codebase
const dialogA = dialog.open(DialogA); // dialog that shows a spinner while async thing A is happening

// somewhere else in codebase, gets executed as part of A succeeding but can fail independently
const dialogB = dialog.open(DialogB); // dialog that shows an error
dialogB.afterClosed().pipe(/* do stuff according to user response */);

The way the timing works out in our case, dialogB will sometimes be a reference to DialogB (MatDialogRef<DialogB>, as guaranteed by the typing of open()), but mostly it will be a reference to DialogA.
Any chance you could take another look at this, @Splaktar?

Thank you for the example code. It would be great if you could provide a runnable StackBlitz to help us investigate this more efficiently.

Does this still happen when you import NoopAnimations instead of BrowserAnimations?
https://github.com/angular/components/blob/0b02322b68ef340aa3dc4b9909324ac8e4b165b9/src/material/dialog/dialog.ts#L467-L468

@lephyrus there is a lot of discussion about the tradeoffs and issues that we faced here in the following PRs

https://github.com/angular/components/pull/23228
https://github.com/angular/components/pull/23085

If I had a StackBlitz for this, I could try out a few quick things right now and see if I can provide a workaround, but since I don't, I probably won't have time to look into this again this week.

Thank you for the example code. It would be great if you could provide a runnable StackBlitz to help us investigate this more efficiently.

I tried but couldn't. I think StackBlitz has some issue with Angular 13:
https://github.com/stackblitz/core/issues/1657

PR https://github.com/angular/components/pull/13466 could potentially help, so you could disable the animation or at least know how long they would run in these cases. However, it's not clear if or when that will land.

@Splaktar Can you provide an option to disable this behavior, this impacts our product so much, many dialog does not open correctly after upgrade the version.
Thanks!

I've could make a stackblitz example, it can be forked.

My case is very similar to @lephyrus 's:
a busy indicator that may be followed by an error message. To work around I ended up changing the busy indicator to not use MatDialog.
I still have to review our applications for specific cases. I think there might be some form dialog that opens another prompt/alert dialog when opening. If I find this case, I'll add some delay.

@lephyrus there is a lot of discussion about the tradeoffs and issues that we faced here in the following PRs

fix(material/dialog): improve screen reader support when opened #23228
fix(material/dialog): improve screen reader support when opened #23085

Thanks, @Splaktar. Here's what I'm not clear on: The current behaviour is that no dialog will be opened while another one is opening. Is that the intention of the change? In the PR discussion, there is talk of componentOrTemplateRef === this._lastDialogOpenType (which isn't part of the code now), the commit message says "avoid opening multiple of the same dialog", and the test for the behaviour uses the same component:
https://github.com/angular/components/blob/699e19b8eba8d5554e44ae4fba6e828a86c7ac64/src/material-experimental/mdc-dialog/dialog.spec.ts#L2010-L2012
Currently, this would pass but seems very strange (i.e. the reference I get from open() might be totally unrelated to the component I passed, which also violates the return type):
fooRef = dialog.open(Foo);
barRef = dialog.open(Bar);
expect(barRef).toEqual(fooRef);
expect(barRef.componentInstance instanceof Foo).toBe(true);

adding a delay as @guimabdo says works as workarround

FYI, StackBlitz now supports Angular 13:

Great news! Support for Angular 13 has finally rolled out.
...
For the next day or two (until 12 December 2021), there is a possibility of an initial slow down in starting up the dev server or running NGCC (or potentially even timeouts) as the packages repopulate into the cache as they are used, but it should come right after a refresh or two if you do have any issues. Anything else should be reported as a new issue.

Related StackBlitz issue comment: https://github.com/stackblitz/core/issues/1657#issuecomment-989779722

The current behaviour is that no dialog will be opened while another one is opening. Is that the intention of the change?

Yes.

In the PR discussion, there is talk of componentOrTemplateRef === this._lastDialogOpenType (which isn't part of the code now)

Yes, per code review feedback and due to breaking existing tests we moved away from that.

the commit message says "avoid opening multiple of the same dialog",

I think that part of the commit message just didn't get updated before the final merge of the PR. Sorry about that.

Currently, this would pass but seems very strange (i.e. the reference I get from open() might be totally unrelated to the component I passed, which also violates the return type)

Wouldn't that trigger a TypeScript compiler error?

We're facing the same issue in our application since Angular 13. Rolled back to version 12.x. This is a breaking change! If this is the intended behaviour we've to do a very large refactoring just to update to version 13 again. Very bad.

@marsc can you please share your use case and a reproduction?

@marsc can you please share your use case and a reproduction?

Sure:
https://stackblitz.com/edit/angular13-mat-dialog?file=src/app/app.component.ts
https://stackblitz.com/edit/angular12-mat-dialog?file=src/app/app.component.ts
As you will notice "Open Dialog Async" doesn't work in version 13 but in version 12. Opening a dialog directly after another one closes is a very common use case in our app since we started using Angular years ago.

Also on the topic of opening multiple dialogs at the same time, the Material Design guidelines for Dialogs include this description:

A dialog is a type of modal window that appears in front of app content to provide critical information or ask for a decision. Dialogs disable all app functionality when they appear, and remain on screen until confirmed, dismissed, or a required action has been taken.

We have the same problem here. I do not know how to solve the following example:

User decides to delete a file
A MatDialog is opened "Are you sure you want to delete file XY?"
After clicking "Yes, delete" another MatDialog needs to popup instantly with "Unable to delete File. No permission!"
(In both cases the described behavior is needed and the two different dialogs will popup instantly, not needing arbitrary animation time)

How should I implement this usecase without using MatDialog two times directly after another?

Also on the topic of opening multiple dialogs at the same time, the Material Design guidelines for Dialogs include this description:

A dialog is a type of modal window that appears in front of app content to provide critical information or ask for a decision. Dialogs disable all app functionality when they appear, and remain on screen until confirmed, dismissed, or a required action has been taken.

We have the same problem here. I do not know how to solve the following example:

User decides to delete a file
A MatDialog is opened "Are you sure you want to delete file XY?"
After clicking "Yes, delete" another MatDialog needs to popup instantly with "Unable to delete File. No permission!"
(In both cases the described behavior is needed and the two different dialogs will popup instantly, not needing arbitrary animation time)

How should I implement this usecase without using MatDialog two times directly after another?

@Kademlia in this case you can do something like this:
this.matDialog.open( ... ).afterClosed().subscribe(() => {           this.matDialog.open( ... );         });

@marsc there lies the problem. If the task from the first dialog finishes before the first dialog is fully opened, the second dialog won't show up.

PR https://github.com/angular/components/pull/24121 has been tested and reviewed. It should land shortly and fix this.

Any ETA? This is the only thing that is blocking our upgrade.

@aikrez there is nothing blocking the PR from being merged. It's been fully reviewed and approved. I can't give an ETA though.

@aikrez okay, I do have an update. There have been some undesirable side effects of this change in the presubmit tests. They are being investigated and potential solutions and workarounds are being evaluated.

@aikrez okay, I do have an update. There have been some undesirable side effects of this change in the presubmit tests. They are being investigated and potential solutions and workarounds are being evaluated.

Any updates?

Would like to know too when this PR is getting merged. We're having a lot of problems with this issue at the moment 😢

It seems like opening a dialog from within another dialog also fails if there happened to be an error within the animation duration. I cannot listen on "dialogOpened" observable, as this only triggers once, but the error will trigger the dialogContainer.start animation again.

I reworked the fix for this on Friday to make it easier to merge and got it passing all the internal checks. It'll be merged in on Monday and should be out in the next patch release.

The fix will be in @angular/material, but we haven't made a release with the new code yet. It should be out later today/tomorrow.

This fix is included in 13.2.6 and 14.0.0-next.6.

We have updated our applications to the new patch and everything seems to work as intended. Thanks!


Optimize code of handling touch event.

In this modifying, I removed mEnableTouch as its value is always the same with the value of isMoving.
Then I put some code which in onInterceptTouchEvent to onTouchEvent, in order to be easy to read and modify.

Fixed #15


Fix jal.

This fixes the nightly run.

So @chriseth, do you agree the special instruction load_dynamic can be removed? Do you plan on doing it on this PR?


Bug with plot_topomap and coordinate transformations following #11081

Description of the problem
Following #11081, topomaps created with digitization points provided as Info don't look the same.
It has to do with dev_head_t (I think). Now that info is not None, sphere value is replaced from None to 'auto' here https://github.com/mne-tools/mne-python/blob/4310c92b85fa7dcc77ffe322501037e5ad82372d/mne/utils/check.py#L848-L857
which means that we now enter this statement https://github.com/mne-tools/mne-python/blob/4310c92b85fa7dcc77ffe322501037e5ad82372d/mne/utils/check.py#L859-L869
Steps to reproduce
from mne.datasets import testing
from mne.io import read_raw_fif

from mne.viz import plot_topomap

directory = testing.data_path() / "MEG" / "sample"
fname = directory / "sample_audvis_trunc_raw.fif"
raw = read_raw_fif(fname, preload=False)
raw = raw.crop(0, 10).pick("eeg").load_data().apply_proj()

plot_topomap(raw.get_data()[:, 101], raw.info)

Expected results
On mne-stable 1.1.1, a nice looking topographic map:

Actual results
On mne-main 1.2, a weird looking topographic map:

Can you share the info?

It's the MNE sample dataset "MEG" from which I picked only the EEG sensors. In the example above, I used the testing dataset instead of sample, but it's the same. e.g.
from mne.datasets import sample

directory = sample.data_path() / "MEG" / "sample"
fname = directory / "sample_audvis_filt-0-40_raw.fif"

With the filtered file above, the info representation is:
<Info | 15 non-empty values
 bads: 1 items (EEG 053)
 ch_names: EEG 001, EEG 002, EEG 003, EEG 004, EEG 005, EEG 006, EEG 007, ...
 chs: 60 EEG
 custom_ref_applied: False
 dev_head_t: MEG device -> head transform
 dig: 146 items (3 Cardinal, 4 HPI, 61 EEG, 78 Extra)
 file_id: 4 items (dict)
 highpass: 0.1 Hz
 hpi_meas: 1 item (list)
 hpi_results: 1 item (list)
 lowpass: 40.0 Hz
 meas_date: 2002-12-03 19:01:10 UTC
 meas_id: 4 items (dict)
 nchan: 60
 projs: Average EEG reference: on
 sfreq: 150.2 Hz
>

@mscheltienne I am lost. I see a PR in pycrostates.
what is the bug to fix?

Sorry, if that was not clear. Let's start over ;)
A while ago, I fixed a bug in mne-python, sphere='eeglab' was not working. PR: https://github.com/mne-tools/mne-python/pull/11081 But that PR had a side-effect that we did not notice at the time, namely, it messed up how the plot looks (c.f. the 2 screenshots and the code snippet with the MNE sample dataset in the first post).
I noticed this visualization issue because the CI testing pycrostates against mne-main started failing. As far as this CI is concerned, there are 2 issues: one in pycrostates (an oversight that I'll fix) and one in mne-python, the visualization issue I described here. Thus the x-ref since pycrostates fix depends on this one as well.

I did not dig up enough yet to figure out why the topoplot is messed up now that https://github.com/mne-tools/mne-python/pull/11081 has been merged.

ok I'll let you look into it.

Message ID: @.***>

Closing, as this is not a bug but an unforeseen bug fix by #11081.
Previously (MNE 1.1), if sphere=None was provided; the default sphere size 0.095 was used.
After (MNE 1.2), the sphere is set to 'auto' and is fit to the electrode location. As the sample dataset does not have template but true EEG sensor location, the auto fit yields a different head-circle position, which is the correct behavior and was ignored.


Ability to add Glyphs to collections

When using Character-Map for development it would be nice to be able to make collections of the different Glyphs to make it fast and easy to go to a self made collection of glyphs which were organized for a purpose.

I'd like this feature too. Even just a simple favouriting of the glyphs.

Related PR #59

Microsoft Store is preventing apps that using Microsoft.UI.Xaml >= 2.3.200213001 from validation. I'll close this issue for now since the code is merged into master. After the store issue is fixed from Microsoft we can download a new version of this App.


Increase max size of DB Scoped Config table to remove table scrollbar

Fixes https://github.com/microsoft/azuredatastudio/issues/24193
I increased the max number of rows in the table before it will create an internal scrollbar. The dialog instead becomes scrollable if the table is too large. This prevents the table from "flickering" after updating due to having to reselect the previously selected row after updating it, causing the whole table to refresh and then immediately scroll down for items at the bottom.
Screenshots:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 41.761%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
30829

Relevant Lines:
69082

💛  - Coveralls


Display negative remain time

Sometimes will display negative time when the current time is in the class interval.
See below image.


Add binaries to releases

Is it possible to provide binaries to releases ?

Hi @patrickelectric,
Which targets do you have in mind?
We can eventually give https://github.com/rust-build/rust-build.action a try.

Hey @yamafaktory, I believe that x86-32/64 and armv7/arm64 would be great!

Closing since @kmaasrud 's latest PR has been merged and should have addressed this issue (see https://github.com/yamafaktory/jql/releases/tag/v3.2.3).

THATS AWESOME!

Thanks @yamafaktory and @kmaasrud


Delete redundant parameter copy

No need to pass the  s.env.PushContext parameter here.

[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: ijsnellf
If they are not already assigned, you can assign the PR to them by writing /assign @ijsnellf 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:

pilot/OWNERS

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

Hi @fisherxu. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram
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:

pilot/OWNERS [rshriram]

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

@fisherxu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
305354b94f43f22820bb00821945592908115b9d
link
/test istio-unit-tests

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

@fisherxu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
305354b94f43f22820bb00821945592908115b9d
link
/test istio-unit-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
305354b94f43f22820bb00821945592908115b9d
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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

/retest


Document PUPPETEER_SKIP_DOWNLOAD

I needed to add PUPPETEER_SKIP_DOWNLOAD=true to the .npmrc. Maybe you want to add to the documentation that this might be needed in ci environments?
2023-06-09 09:32:19,231 - xmake-core - ERROR - ERROR: Failed to set up Chrome r113.0.5672.63! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.

Addressed in 3.3.5


IOSAccessibility.passcode

Hey guys,
when writing with IOSAccessibility.passcode , it means it will use kSecClassGenericPassword right? It shouldn't be able to retrieve the item without device authentication being performed?
I am able to return the item, without doing any authentication, I'm getting it wrong?

@TMSantos No, it means it will use kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, which means

The data in the keychain can only be accessed when the device is unlocked. Only available if a passcode is set on the device.

So I suppose this is an expected behavior.


npm install incompatible module error

node v10.13.0
I cloned the repo as instructed and then ran yarn inside the cloned project.  The install failed with the following errors.
$ yarn
yarn install v1.12.3
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning production > cheerio > cheerio-select ><EMAIL_ADDRESS>the module is now available as 'css-select'
warning production > cheerio > cheerio-select > CSSselect ><EMAIL_ADDRESS>the module is now available as 'css-what'
warning<EMAIL_ADDRESS>to-markdown has been renamed to Turndown, with a new API. Please update to turndown v4.0.0 or above and see the migration guide for details: https://github.com/domchristie/turndown/wiki/Migrating-from-to-markdown-to-Turndown
warning<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning babel-preset-es2015-native-modules ><EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning css-loader > cssnano > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^4". Got "10.13.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Ok, haven't tried this with yarn before. It Looks like the module "to-markdown" could use an upgrade. Could you try using the latest version and running it again?
In any case, unless you are developing on the frontend, you should use the "production" flag, like so: yarn install --production.
If all else fails, run npm install --production

npm install --production ...worked.
yarn install --production ...did not work.
That said, there appear to be security vulnerabilities (would you like me to create a ticket with the audit?).
found 4 vulnerabilities (3 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details

Also, node hashbrown.js does not seem to work (should I create a ticket?).
$ node hashbrown.js
/Users/guyjacks/projects/practice/headless_cms/hashbrown-cms/node_modules/bluebird/js/release/async.js:61
        fn = function () { throw arg; };
                           ^

Error: MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED <IP_ADDRESS>:27017]
    at MongoClient.connect (/Users/guyjacks/projects/practice/headless_cms/hashbrown-cms/src/Server/Helpers/DatabaseHelper.js:245:28)
    at connectCallback (/Users/guyjacks/projects/practice/headless_cms/hashbrown-cms/node_modules/mongodb/lib/mongo_client.js:527:5)
    at /Users/guyjacks/projects/practice/headless_cms/hashbrown-cms/node_modules/mongodb/lib/mongo_client.js:418:11
    at process._tickCallback (internal/process/next_tick.js:61:11)

These instructions do not mention configuring MongoDB: http://hashbrown.rocks/getting-started/

That's great, the dependencies were definitely due for an update.

Related to #252


Invalid or corrupt jarfile fatty-client.jar

I got this error "Invalid or corrupt jarfile fatty-client.jar" while executing apktool compiled .jar file
root@kali:~# apktool d fatty-client1.jar
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.4.1-dirty on fatty-client1.jar
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
root@kali:~# ls
fatty-client1.jar  fatty-client1.jar.out
root@kali:~# cd fatty-client1.jar.out/
root@kali:~/fatty-client1.jar.out# ls
apktool.yml  META-INF  original  unknown
root@kali:~/fatty-client1.jar.out# cd ..
root@kali:~# apktool b fatty-client1.jar.out -o fc.jar
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.4.1-dirty
W: Could not find sources
W: Could not find resources
I: Copying libs... (/META-INF/services)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
root@kali:~y# ls
fatty-client1.jar  fatty-client1.jar.out  fc.jar
root@kali:~# chmod +x fc.jar
root@kali:~# ls -al fc.jar
-rwxr-xr-x 1 root root 14564635 Jul 30 13:51 fc.jar
root@kali:~# java -jar fc.jar
Error: Invalid or corrupt jarfile fc.jar
please help me to solve this problem

We don't have your file, so we cannot help you.

fatty-client.jar.zip
This is my jar file.
Rename this file fatty-client.jar.zip to fatty-client.jar

Correct me if I'm wrong, but I don't think you can use Apktool on this JAR.
This tool was made for Android apps and not for simple JAR files.
If your end goal is to simply extract the files, use the jar command or any other zip extraction tool like 7zip.
If your end goal is to modify/patch the jar, you should extract and modify the class files using other tools. Search for "Java Bytecode Editor" or "Java Class Editor" or something like this.

Yeah Apktool is meant for Android applications - not generic Java jar files. While it might decode - it won't be usable.


swipeout-opened and swipeout-closed events not fired

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.4

Platform and Target: Just web for now, later Cordova

Live Link or JSFiddle/Codepen: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP). You can start from forking one of the templates: iOS JSFiddle/Codepen, Material JSFiddle/Codepen

What you did
Just listening to the events swipeout:opened and swipeout:closed.
Expected Behavior
I expect that the callbacks linked to the events were called.
Actual Behavior
Nothing happens, the events are not triggered. I found why ... in the code there are more events : opened and closed.
Line 7711 : swipeOutEl.trigger(action === 'open' ? 'opened' : 'closed');
Only those events are used ... The events swipeout:opened and swipeout:closed are missing ...
The documentation only tells us about swipeout:opened and swipeout:closed events ...

Where did you find such swipeout-opened/closed events? Correct events are here http://framework7.io/docs/swipeout.html#swipeout-events

Sorry i have put '-' instead of ':'. I edited my description accordingly.


Production sourcemaps not working with uglifyjs

Laravel Mix Version: 1.6.0 (npm list --depth=0)
Node Version (node -v): 8.9.0
NPM Version (npm -v): 5.0.3
OS: Ubuntu 16.04

Description:
Mix will not output a sourcemap for javascript files when running:
npm run production

Steps To Reproduce:

Create a new laravel installation
Update the webpack.mix.js file:

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css');

mix.webpackConfig({
    devtool: 'source-map'
});

Run:
npm run prodution

As soon as you add:
mix.options({
    uglify: false
});

Everything seems to work fine.
It seems as the devtool option from Webpack does not play nice with the uglifyjs-webpack-plugin. Since almost nobody uses source maps in production I am guessing this does not come up often.

ref
#1344


Allow forecasting beyond the 100 days enabled by serial_interval.csv

Issue #77 outlines a problem arising from the length of the epidemic as we are
reaching the 90 days modelling window for Italy.
This proposes a long term fix by padding serial interval data with 0s and increasing
the value of N2.

Hi @payoto, thanks for this :)


Not working the minify

Hello,
I was trying to install the binb app on my local.
But I got the error when run the 'npm run minify'.
So hope you to notice how to fix the issue.
Looking forward to haring from you.
Regards,
Salient

What's the error?

Thanks for your respond quickly.
Please look at the below image.

Hmm weird what shell are you using?
It looks like shell expansion does not work.

I am just using the Ubuntu shell.
Also I don't understand the shell expansion, so could you explain how I should do?

Can you try to write this command in your shell?
$ echo public/js/{app,home,leaderboards}

The output should be like this:
public/js/app public/js/home public/js/leaderboard

I will try

I got the same results

So brace expansion works, I'm not sure why the npm script fails. Try to run this:
for f in public/js/{app,home,leaderboards}; do ./node_modules/.bin/uglifyjs $f.js -o $f.min.js; done

great, it is running the command.

ok, good. The app is working properly.
Thank you very much.
Also there is CSS issue in the leaderboard when don't have the table data.
Could you explain about it?

Yeah, that's expected when there are no users. I didn't handle the case with 0 users.
Try to add some users and the leaderboard should work as expected.

Closing, please post back if needed.

Hello,
Thanks for your much helping.
I tried to run the app on local port 80, but it is not working now.
Hope to help about the issue.
Thanks

You can't bind the server to port 80 as a regular user.
If you want to do that you have to use sudo or use the root user.
Anyway it is not recommended.

I see, thanks

I had the same issue with the brace expansion for the minify, had to change the code to do them individually.


Hide service channel label by default

Codecov Report

Merging #109 (f9011d3) into main (6996963) will increase coverage by 63.19%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #109       +/-   ##
=============================================
+ Coverage     10.31%   73.50%   +63.19%
  Complexity      298      298
=============================================
  Files            39       39
  Lines          1057     1057
=============================================
+ Hits            109      777      +668
+ Misses          948      280      -668

Impacted Files
Coverage Δ

...n/Field/FieldFormatter/ServiceChannelFormatter.php
6.45% <0.00%> (+6.45%)
:arrow_up:

..._tpr/src/Plugin/migrate/source/ServiceRegister.php
53.57% <0.00%> (+53.57%)
:arrow_up:

...ntrib/helfi_tpr/src/Entity/OntologyWordDetails.php
55.17% <0.00%> (+55.17%)
:arrow_up:

...i_tpr/src/Plugin/migrate/source/ServiceChannel.php
61.90% <0.00%> (+61.90%)
:arrow_up:

...helfi_tpr/src/Plugin/migrate/source/ServiceMap.php
73.68% <0.00%> (+73.68%)
:arrow_up:

...b/helfi_tpr/src/Plugin/DataType/ConnectionData.php
75.00% <0.00%> (+75.00%)
:arrow_up:

...r/src/Plugin/Field/FieldType/SchoolDetailsItem.php
75.00% <0.00%> (+75.00%)
:arrow_up:

...i_tpr/src/Plugin/migrate/process/PublishByUnit.php
80.00% <0.00%> (+80.00%)
:arrow_up:

...les/contrib/helfi_tpr/src/Entity/TprEntityBase.php
80.95% <0.00%> (+80.95%)
:arrow_up:

.../src/Plugin/migrate/source/OntologyWordDetails.php
85.71% <0.00%> (+85.71%)
:arrow_up:

... and 14 more

Continue to review full report at Codecov.

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


does this model include face and hands?

does this model include face and hands?

HybrIK only supports SMPL now, i.e., body only.


⚠ Bofrost.fr has degraded performance

In 5b09032, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 4786 ms

Resolved: Bofrost.fr performance has improved in b341b3a.


chore: remove unnecessary files from NPM package

This pull request is for: (mark with an "x")

[ ] examples/*
[ ] modules/next
[x] packages/next-drupal
[ ] starters/basic-starter
[ ] starters/graphql-starter
[ ] Other

GitHub Issue: #556
Describe your changes
The NPM package has the src/ and tests/ files included and they are just bloat when downloading the package from npmjs.org.
Fixes #556

Sorry, @robdecker. I rebased this branch and it dismissed your review. Can you review again? There are no changes.


Updated Transformer's generic parameters

Return type Transformer<T, T> was updated to Transformer<? super T, ? extends T> to support Kotlin type inference.
This should fix #44 issue.

Thanks! Also, if you want to submit a PR to upgrade onAttach() I'd take it, too. (I can do it myself, too.)

I actually don't know how to correctly change it. Looks like onAttach(Context) appeared in 23 SDK. If I change it for both RxFragment and support.RxFragment, the former one doesn't pass the test. When fragment.onAttach((Context) null) is called from within the test, it fails with NoSuchMethod exception.

Yeah, back-compat can be tricky. I doubt that it's strictly necessary here, but for correctness' sake probably worth it. I'll make an issue.

Unhappy with that as compiler can't infer type now, have to write it every time :(
myTypeObservable.compose(RxLifecycle.<MyType>bindView(view));

vs.
myTypeObservable.compose(RxLifecycle.bindView(view));

You could write a wrapper around the current RxLifecycle that uses <T, T>.

To be honest, the 0.3.1 seems like a step backwards for what I suspect is the predominant platform -- Java 7 + Retrolambda -- because of the fact that it won't infer types properly with these updated signatures. The change may have made Kotlin support cleaner, but it seems to be at the expense of standard Java which is likely to have many more users. But yes, a wrapper is easy enough to write but the same could be said for Kotlin users, no?

This change also broke the existing code in our applications.

Because I'm obsessed to use the newest rev of every library, I'm working on this alternative bind wrapper function in my base activity. Here's what I've come up with -- any comments as to whether this is the best possible?
  @SuppressWarnings("unchecked")
  @Nonnull
  public final <T> Observable.Transformer<T, T> localBindToLifecycle() {
    return (Observable.Transformer<T, T> )this.<T>bindToLifecycle();
  }

I reverted back to 0.3.0. Currently I don't have the time to deal with those changes.

Another fix is to use the Java 8 compiler, since it can infer the types correctly.
It's perfectly safe to use Java 8 on Android (just avoid using any newer constructs like lambdas unless you're using something like retrolambda).

I am using the Java 8 compiler + Retrolambda to rehost onto Android/Java 7 and it's not inferring properly for me. The 0.3.0 works fine, but 0.3.1 forces me to use the this.<T>bindToLifeCycle to compile.

I've made #58 to discuss this further, instead of polluting an old PR.


Why does config-ini-<IP_ADDRESS> exclude ghc-8.6.1?

The latest release of config-ini has a constraint containers ==0.5.* that prevents us from building the package with ghc-8.6.1. When that constraint is lifted, however, the build succeeds just fine. Could you please lift that constraint on Hackage?

Ping, any plan for a fix & release ?


Clarify retry semantics w.r.t. HTTP auth and redirects

Since the Activate-Storage-Access: retry header can be provided on any HTTP response, it's possible to provide it on a response that would otherwise be considered an HTTP redirect (3xx w/ Location) or HTTP auth challenge (401 w/ WWW-Authenticate). We should therefore be explicit about how the retry is handled relative to both auth and redirects.
Idea
Redirects
In order to allow servers to achieve any kind of fallback behavior in clients that do not support Storage Access Headers, the browser should handle Activate-Storage-Access: retry before handling redirects. That way, a server can respond with a 3xx redirect and include the retry token, and know that some browsers will retry the request (with unpartitioned cookies), and some browsers will follow the redirect.
Auth
Auth is slightly more sensitive, due to the possibility of auth responses from proxies. A proxy may respond with an auth challenge (and include the retry token), but in such a case, we want to honor the auth semantics before retrying the request. So, the browser should handle auth challenges before looking for the retry token.
If these semantics seem reasonable to folks, I'll include them in the eventual spec for this proposal.

Closing this, since the interactions with Fetch are now formally defined in the spec (index.bs).


Added Sankaku Recipe

Added a recipe for sankakucomplex.com

I also want to commit some plugins. But how?!

In the Plugin tab select what you like to Export, create a file and Commit it. Then create a pull request


New extension: Touches

This may not be final yet, but I've been wanting to share it for a little while. It's a multi-touch extension.
Here's a picture that shows the Scratch versus Touches extension equivalents to a few scripts:

For this extension, I tried to add blocks that reduce the amount of coding you need to do to implement multi-touch. Here are all of them:

That creates some repetition and adds to the learning curve, but means you don't have to do everything yourself, and I also made a sample project to go with it. You can download and try it or watch the video. My plan is to publish the sample project via a separate PR if and once this PR is merged.
This extension uses the Pointer events web API, so it accepts both mouse and touch input events.
In a way, this extension is a superset of Scratch's mouse and click sensing blocks. They both work very similarly, it's just that one can deal with multiple pointers at a time.
Technical notes

When a finger touches the screen, it is assigned a unique numerical ID. Touch IDs start at 1 and each new touch will get an ID that isn't assigned to an active touch. For example, if two fingers touch the screen one after another (or at the same time), one will have an ID of 1, and the other, 2. If the first finger is then lifted, its ID of 1 is freed up for the next touch.
When a finger is released, the ID of its touch is actually reserved for one extra frame. This gives code time to respond to that touch being released, as if it were reassigned in-between two executions, code would just think the finger had moved. Subsequent touches that start on that same frame will instead be reassigned a new ID, which avoids problems like dragged objects jumping from one finger to another. However, this might mean that technically more than 10 touches can be "detected" at once, so just be aware that you might have touches with an ID greater than 10. These reserved IDs, however, don't count to the total number of current active touches, and aren't considered to be "pressing" anything.
If the user's device or browser doesn't support touch input, the (max touch points) block will return 1, because the mouse can still be used.

https://github.com/TurboWarp/extensions/pull/1432 is a similar extension.
I like this PR though, matches category styling, and more, comprehensive blocks.

something I must alert any "touch" based extension about, not every device with a touch screen is a mobile device. there are even windows 11 computers with touch screens. please keep this in mind when creating/editing extensions like this.

something I must alert any "touch" based extension about, not every device with a touch screen is a mobile device. there are even windows 11 computers with touch screens. please keep this in mind when creating/editing extensions like this.

Thanks.
The is touch screen? block was not intended to be a surefire method to determine whether a device would be considered a mobile device. This would be worth pointing out if this extension ever gets documentation.


Feature request: package manager

I think some languages are great, and onyx too! The only problem i have with it is that if you want to add a functionnality to it, you need to create a pull request and it would be integrated by default with the language. I think we should build a package manager for onyx, like pip for python. Why not call it onf (Onyx Fetch)? I cant wait to see it implemented!

I just realized we have onyx package. Sorry !


[BUG]Checkout- the page 'Personal details' is filled in with one user data

Describe the bug
Checkout- the page Personal details is filled in with one user data. It is always the same user - 'John Doe'. It is happening for logged in and not logged in users.
How to reproduce
First scenario:
Not logged in user

Go to any product page
Add that product to the cart
Go to the cart
Click 'Go to checkout' button
See the error

Second scenario:
Repeat the steps from 1 to 5 for logged in user
Expected behavior
For not logged in user- after clicking the 'Go to checkout' button, the page 'Personal details' should have all the input fields empty
For logged in user- after clicking the 'Go to checkout' button, the page 'Personal details' should be field in with data of the user who is logged in
Actual behavior
After clicking the 'Go to checkout' button, the page 'Personal details' is filled in with one user data.
Screenshots

Devices (please complete the following information):
All devices

done with internal checkout


fix(designer): fix linebreak issues (#5392)

fix linebreak issues

Is this already in main?

Is this already in main?

Yup it is - https://github.com/Azure/LogicAppsUX/pull/5392
I was talking Carlos earlier today and it seems like if we start from current designer, it should be fine but if we are moving from legacy to current, that’s when the line-break breaks.
We will put it in hotfix pipeline and have the build ready in case we need to hotfix. Otherwise normal deployment is going to begin tomorrow anyways.


Environment variables will not load correctly

Let's assume you have a simple structure like this:
C:\temp\k
|
+---p1
|    |-- http-client.env.json
|    \-- p1.http
|
\---p2
    |-- http-client.env.json
    \-- p2.http

and you open nvim from a different dir.
When starting nvim require('kulala').setup() is called which itselfs requires env.lua (and calls load_envs).
While loading env.lua the file based vars are calculated once
local FS = require("kulala.utils.fs")
local GLOBAL_STORE = require("kulala.global_store")
local DYNAMIC_VARS = require("kulala.parser.dynamic_vars")
local DB = require("kulala.db")

local M = {}

local http_client_env_json = FS.find_file_in_parent_dirs("http-client.env.json")
local dotenv = FS.find_file_in_parent_dirs(".env")

M.get_env = function()
  local env = {}
  for key, value in pairs(vim.fn.environ()) do
    env[key] = value

that means http_client_env_json is fixed to the file found (or not in case opening vim from a different dir).
If called from "p1" dir it is set to that env file.
When loading another buffer and running a kulala with env variables used, they will be parsed and get_env is called.
But here http_client_env_json is been used which still stays on the content calculated at the startup.
Maybe the filepath where the variables are once calculated must be stored, too, and when differs in get_env they need to be calculated again.

This is indeed a bug, it should load the http-client.env.json next to the *.http file.
And on switching buffers, it might reload that file, you're totally right!


olympics-2-create-qa: That model does not exist

I'm attempting to run olympics-2-create-qa.ipynb, but I'm getting the not-very-helpful error "That model does not exist", presumably referring to davinci-instruct-beta-v2.

Use text-davinci-002 - some things in those examples are outdated. Search endpoint is deprecated and no more usable. Somebody should make an update to those examples.

looks like we are suppose to use the code in this example https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb

I highly recommend following the ideas in this notebook: https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb
The fine-tuned Q&A example isn't great and relies on some out of date APIs. Sorry you ran into issues.


I can't get Bootstrap Tour working in Rails 5

For the life of me, I can't get it to work any at all.
What I want to happen is, when a user visits my Profiles#Show page, they should see the tour, but it isn't being triggered at all.
This is how it is setup:
This is my application.html.erb:
<%= stylesheet_link_tag "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tour/0.11.0/css/bootstrap-tour.min.css", 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-tour/0.11.0/js/bootstrap-tour.min.js", 'application', 'data-turbolinks-track': 'reload' %>

This is my application.js:
$(document).on('turbolinks:load', function() {
  var tour = new Tour({
    backdrop: true,
    steps: [
    {
      element: "#ratings-controls",
      title: "Ratings Controls",
      content: "Here you can rate this recruit so you can easily remember how they performed."
    },
    {
      element: "div.action-buttons a#favorite-btn",
      title: "Favorite",
      content: "Here you can easily favorite a player"
    },
    {
      element: "a.my-favorites",
      title: "My Favorites",
      content: "After you favorite a player, they automagically get added to your list of favorites -- which you can easily view here."
    }
  ]});

  // Initialize the tour
  tour.init();

  // Start the tour
  tour.start();
});

I initially had this in my app/assets/javascripts/profiles.js but when it stopped working, I moved it to application.js just to make sure something else wasn't overriding it.
In my Profiles#Show, I have all of those 3 elements for sure, as you can see in the rendered HTML below:

                    <button type="button" class="btn btn-success m-r-sm slider-step-value" id="slider-step-value-speed-wacky-dip-st-george-s-college-bcdda202-c498-4baa-867d-200662fc785b" data-speed-value="0">0</button>
                    Speed

                    <button type="button" class="btn btn-info m-r-sm slider-step-value" id="slider-step-value-tackling-wacky-dip-st-george-s-college-bcdda202-c498-4baa-867d-200662fc785b" data-tackling-value="0">0</button>
                    Tackling

                    <button type="button" class="btn btn-primary m-r-sm slider-step-value" id="slider-step-value-dribbling-wacky-dip-st-george-s-college-bcdda202-c498-4baa-867d-200662fc785b" data-dribbling-value="0">0</button>
                    Dribbling

                    <button type="button" class="btn btn-warning m-r-sm slider-step-value" id="slider-step-value-passing-wacky-dip-st-george-s-college-bcdda202-c498-4baa-867d-200662fc785b" data-passing-value="0">0</button>
                    Passing

                       Favorite

                 My Favorites

Also, the Bootstrap Tour CSS & JS are being included in my rendered HTML.
What am I missing that is causing this not to work?

I got it.
It was the ordering of the bootstrap-tour.js. It needs to be  one of the last ones loaded after Bootstrap & Jquery.


Similar movies and tv shows?

Themoviedb has a built in way to do this but the only way to verify popcorn api has all the same results is with additional requests which would be slow. It would be much faster for you guys to locally check the similar results before returning them

append_to_response: similar

Trakt also seems to have an option: https://api.trakt.tv/movies/{id}/related


High memory usage even with low batch size and support set size

Hi. I am trying to replicate the method on a 4 (24G each) GPU system. According to table 7 of the paper, it is possible to run with the following config on 8 16G GPUs:
unsupervised_batch_size=32, classes_per_batch=70, supervised_imgs_per_cls=3, multicrop=6, unique_classes_per_rank=true
I use the following configuration:
unsupervised_batch_size=32, classes_per_batch=35, supervised_imgs_per_cls=3, multicrop=6, unique_classes_per_rank=true
This setting occupies nearly 24GB on each of the 4 gpus. Is there any reason why I see such a high memory usage despite using lower configuration?

hi @klnavaneet, are you using mixed precision training (i.e., setting use_fp16: true in your config)?

Yes just tried and unsupervised_batch_size=32, classes_per_batch=70, supervised_imgs_per_cls=3, multicrop=6, unique_classes_per_rank=true fits for me on a 16G-GPU with a ResNet50, but it is important to set use_fp16: true
Please try this and let me know if you still have issues.

Hi, thanks for the quick reply! I do have use_fp: true, but I get an apex related warning:

Warning:  using Python fallback for SyncBatchNorm, possibly because apex was installed without --cuda_ext.  The exception raised when attempting to import the cuda backend was:  No module named 'syncbn'

Could this be the sole reason? I also see that a single epoch training with the above config takes >4 hours on RTX 6000 gpus.

I think this warning is saying that you installed apex without the cuda extension, but you need it to run the code, so I think this could be it? Maybe try uninstalling apex, and then re-installing it with the cuda extension, and see if you still get the issue?

I am facing compatibility issues with CUDA and apex and currently unable to eliminate the warning. I will close the issue if I cannot solve it soon. Thanks for helping out!

oh I see, in the meantime i'll look into removing NVIDIA-apex from the code to use the newer version of PyTorch tools, maybe this could help you

oh I see, in the meantime i'll look into removing NVIDIA-apex from the code to use the newer version of PyTorch tools, maybe this could help you

That would be great, thanks! I faced a number of dependency issues with apex, this would be helpful
I was able to resolve the apex warning, the memory usage and training times are now similar to what were reported. Thanks for the help.

hi @klnavaneet! could you explain how you solved the apex warning? i've started using a new cluster and i'm having the same issues

@klnavaneet yeah, from what I read online is the same issue i'm having. thanks for the response =)


feat: add remaining instance policies

Description
adds instance policies available in the provider
remove deprecated RestAPI provider
Types of changes in this PR
Changes that affect the core Terraform module or submodules

[ ] Bug fix
[x] New feature
[ ] Dependency update

Changes that don't affect the core Terraform module or submodules

[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other

Release required?
Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
If a release is required, replace this text with information that users need to know about the release. Write the release notes to help users understand the changes, and include information about how to update from the previous version.
Your notes helps the merger write the commit message for the PR that is published in the release notes for the module.

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

@MatthewLemmond can you resolve conflicts please?

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


Does the ReorderList support model binding in Web Forms

I am using AJAX Control Toolkit version 18.1. I forget the details of how I installed it except I am nearly certain I installed it from a website. I think I did however submit a comment for Microsoft suggesting they update their page saying how to get started with it and I think they did that surprisingly quickly.
Does the ReorderList support model binding in Web Forms? In particular, I mean the ItemType, SelectMethod and UpdateMethod attributes. Apparently it does, at least somewhat. The SelectMethod does get the data and the bindings work in the ItemTemplate. The problem is that the UpdateMethod is not called. I am able to do the drag and drop during execution but the update does not happen. It is possible that it is my fault but if it is then it would help to at least know that it should work.
I do have a complete sample web app showing the problem but I have difficulty getting Git and GitHub to cooperate. The following is one complete Content portion of an aspx page. As I said, the SelectMethod works but the UpdateMethod is not called.
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
	<asp:UpdatePanel ID="UpdatePanel1" runat="server">
		<ContentTemplate>

	<ajaxToolkit:ReorderList ID="ReorderShows" runat="server" PostBackOnReorder="false"
		DragHandleAlignment="Left" ItemInsertLocation="Beginning"
		DataKeyField="Id" CallbackCssStyle="callbackStyle"
		SortOrderField="ListIndex"
		ItemType="Web2017.OnDemandShow"
		SelectMethod="ReorderGetShows"
		UpdateMethod="ReorderUpdateShow">
		<ItemTemplate>

				<%# Item.Name %>

		</ItemTemplate>
		<ReorderTemplate>
	<asp:Panel ID="PanelReorder" runat="server" CssClass="reorderCue" />
	</ReorderTemplate>
	<draghandletemplate>

	</draghandletemplate>
	</ajaxToolkit:ReorderList>

		</ContentTemplate>
	</asp:UpdatePanel>
	<asp:ValidationSummary ShowModelStateErrors="true" runat="server" />
	<asp:Label ID="LabelStatus" runat="server" Text="?" />
</asp:Content>

I apologize that the preceding code is not formatted correctly. What can I do to get it formatted?

As you correctly noted, only SelectMethod works because it's inherited from DataBoundControl. UpdateMethod requires explicit support, and is available starting with .NET 4.5. AJAX Control Toolkit is built against .NET 4.0.
That is, ReorderList cannot be used with WebForms model binding. Use ObjectDataSource as demonstrated in the Sample site.
P.S. I fixed the code formatting. Use GitHub's triple backticks for code blocks.

Thank you. Using |ObjectDataSource| is an option. I almost have
something working without drag-and-drop so I will continue with that.
At least now I am familiar with the AJAX Control Toolkit and I will
learn more about it.

AlekseyMartynov<EMAIL_ADDRESS>Monday, March 18, 2019 7:25 AM
As you correctly noted, only |SelectMethod| works because it's
inherited from |DataBoundControl|. |UpdateMethod| requires explicit
support, and is available starting with .NET 4.5. AJAX Control Toolkit
is built against .NET 4.0.
That is, |ReorderList| cannot be used with WebForms model binding. Use
|ObjectDataSource| as demonstrated in the Sample site
https://github.com/DevExpress/AjaxControlToolkit/blob/18.1.1/AjaxControlToolkit.SampleSite/ReorderList/ReorderList.aspx.
P.S. I fixed the code formatting. Use GitHub's triple backticks
https://help.github.com/en/articles/basic-writing-and-formatting-syntax#quoting-code
for code blocks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DevExpress/AjaxControlToolkit/issues/476#issuecomment-473931453,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJWtRzzufCqAVvwjqCYuP4VhBYsjd7-aks5vX6HdgaJpZM4b3ESX.


buildah bud --isolation functionality missing

Description
buildah bud --isolation is missing and needs to be provided.  This is functionality that Docker has.
#599 is the parent issue for this issue.
Output of buildah version:
Buildah v0.16

This seems to be mainly a Windows thing.  Although it is close to the --runtime flag that we use.  So maybe we should document in the man page --isolation should use --runtime.
default | Use the value specified by the Docker daemon’s --exec-opt . If the daemon does not specify an isolation technology, Microsoft Windows uses process as its default value.
-- | --
process | Namespace isolation only.
hyperv | Hyper-V hypervisor partition-based isolation.


C# Migration: Initially migrated C# codebase by Han

Description of the changes:

C# codebase migration by Han
Before shipping to master, scan the comment 'CSHARP_MIGRATION: TODO:' and resolve all of them

How changes were validated:
Waiting for changes in CalcViewModel. Tests are not applicable at this stage.

Hi @tian-lt , could you please review again when you are free?


CHAOS-3927 Add info about linux resilience probes

Add info about linux resilience probes

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65bb471f022182440061b562--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65bcd04b8013bb74c80e4602--harness-developer.netlify.app


Feature request: Init commands

Is your feature request related to a problem? Please describe.
It would be nice to be able to set init commands using the console, if you for example want to use keycloak with the start command.
Describe the solution you'd like
A text field similar to the one in the ImageManager would be nice, that on save updates the initCommands field on the deployment.
Describe alternatives you've considered
It could work like the EnvManager otherwise, where the user can insert each command manually and it being displayed as a Table.
It could look something like this

I have made a component for this: InitCommandManager.tsx it is pretty similar to ImageManager.tsx but it splits the commands by space into a string array and warns the user if they exceed 100 commands (100 was specified as max in the go-deploy model).
I'm just unsure if splitting by space is correct,
should mongod --auth be treated as one command or as two commands?
If i split by space the it becomes
...
"initCommands": [
  "mongod",
  "--auth"
]

Here's how it looks:

The text should probably be changed to be more descriptive, let me know what you think.
Also let me know if you think if it is better to handle it like the EnvManager does with environment variables (in a table)

I believe this is a duplicate of https://github.com/kthcloud/console/issues/198?

oh yeah, sorry

The current version is pretty bare bones however so feel free to refine it :D

I'll merge it to main so you can check it out on a local branch


⚠ Fortnite has degraded performance

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

HTTP code: 200
Response time: 1567 ms

Resolved: Fortnite performance has improved in 68a51f7.


Stua0000/issue490 map image layer

@anttikajanus  can you review please?

See comments in https://github.com/Esri/arcgis-runtime-samples-dotnet/pull/99


cannot restore purchase except auto-renewable product

Version of react-native-iap
Version of react-native
Platforms you faced the error (IOS or Android or both?)
Expected behavior
Actual behavior
Tested environment (Emulator? Real Device?)
Steps to reproduce the behavior
why i cant get my restore purchase except only auto-renewable product?
i testing with consumable and non-renewable
but when i want to restore purchase it doesnt return and return only auto-renewable
thanks

if you consume your products you can't restore them (if you have not any back-end logic to store consumed items) afaik


Support the site download of the MOOC  https://www.icourse163.org

Can you support the download of MOOC in Chinese.  The site web address is for https://www.icourse163.org,
Thanks!

？


Optimization of LogMessageTime::CalcGmtOffset

Hi,
I was doing code profiling of our application and found that "google::LogMessageTime::CalcGmtOffset" function is taking close to 15% of total application time. This is after minimizing logging wherever possible. I thought I should post here in case this had been already observed and addressed before. Any help on this would be greatly appreciated.
My apologies in case there is a separate forum to report this kind of issue which I am not aware of.
Thanks,
Pabitra

How does 15% translate into absolute times (e.g., average)? Using what operating system and compiler do you observe the behavior? Did you compile glog with optimizations? If so, which ones?
Please provide more information otherwise it is just guesswork at this point.

@sergiud Appreciate your help on this.
I did a load testing of our application for 3 minutes, so this 15% is CPU consumption for that period. I am using gcc(g++) 11 with C++20 on Red Hat Enterprise Linux 8. Yes, I turned on optimization while building glog library, the compiler flags while building the same are as below:
"-O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++20"

You lost me now. First you mentioned

15% of total application time

but then

15% is CPU consumption

So which one is it? Would you please share your exact profiling findings including absolute times related to the CalcGmtOffset performance.

Let us know once you can provide the details.


Support externally managed configmap.

This PR enables an externally managed configmap to be use with the csi driver.
This works with the rook-ceph operator
Related issues
fixes #927
Signed-off-by: Kevin Fox<EMAIL_ADDRESS>(cherry picked from commit d4c4954c9d8007e071696e64901b04cb6fa55c65)

@nixpanic commented it out, @humblec PTAL

@MergifyIO backport release-v2.1


[BUG] Installation Issues Encountered by New Users and Developers

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

What version of camel are you using?
0.1.1
System information
python 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)] win32
Problem description
I have tried two different roles in attempting to install the camel-ai package and have encountered the problem described below. I hope any expert can help address this issue.
To differentiate between a normal user and a developer user, I refer to the normal user as 'User' and the developers of our camel project as 'Developer'. The main issue concerns dependency problems; strict environments might affect both user and developer experiences.
I followed the instructions in the wiki or readme and tested the installation on two different PCs, and encountered the problems described below: (Note: The use of an ipynb file is just to facilitate showing the problem and is not related to actual development.)
Reproducible example code
For Beginner User
I followed the installation instructions as a user:
https://github.com/camel-ai/camel/wiki/Installation-and-Setup and https://github.com/camel-ai/camel

pip does not work with Python 3.12 and above.

Solution: Install the Python 3.11 version of the kernel; it is not a significant problem.

After executing 'pip install all', normal users are still unable to use the library; they cannot run 'role_playing.py'. It seems that pip alone might not be sufficient for normal users. Executing pip install 'camel-ai[all]' results in the same problem. (ModuleNotFoundError: No module named 'docstring_parser')

$\textcolor{red}{\textsf{Solution: So far, I have not been able to find an alternative. I believe the only way forward is to install from the source.}}$

For Beginner Developer
I followed the instructions to install as a developer.
https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md
# Clone github repo
git clone https://github.com/camel-ai/camel.git

# Change directory into project directory
cd camel

# Activate camel virtual environment
poetry shell

# Install camel from source
# It takes about 75s to resolve dependencies and 10s to install them, depending on your hardware and network,
poetry install --with dev,docs

# Or if you want to use all other extra packages
poetry install --with dev,docs -E all  # (Optional)

# The following command installs a pre-commit hook into the local git repo,
# so every commit gets auto-formatted and linted.
pre-commit install

# Run camel's unit tests
pytest test

# Exit the virtual environment
exit

You might encounter a poetry problem after performing a git clone.

Solution: For Windows users, you cannot install your Python kernel via the Microsoft App Store, and installing Conda will not resolve the issue either. Simply installing Python 3.11 directly from python.org is sufficient.

I encountered a Torch library error when executing code, even after successfully initiating a Poetry shell.

Solution Attempted: Despite running pip install torch, the problem persists.

I encountered 74 errors in pytest after successfully executing poetry install and pre-commit install.

$\textcolor{red}{\textsf{Solution: I tried to installed qdrant but same errors. At this point, I am not sure how to resolve this issue.}}$

Traceback
No response
Expected behavior
No response
Additional context
No response

issue solved by cleaning python env

This problem is not related to the cleanliness of the environment, as I am using two newly formatted PCs. The issue arises from the numerous specific environmental restrictions, such as the requirement to use Python 3.10 to run Poetry, which is supported by another kernel.


mini.pairs: Triple quotes / backticks

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.pairs
Description
When typing triple quotes / backticks (e.g., raw string in Python, code block in Markdown), mini.pairs writes only one quote / backtick behind the cursor.
mini.pairs seems to be understanding each symbol separately; when three symbols are entered, it adds one symbol after the first one, thinks the second symbol is the closing symbol for the first one, and adds one symbol after the third one.
Neovim version
0.10.0
Steps to reproduce

Open a file.
Enter insert mode.
Write three quotes / backticks.

Expected behavior
Three quotes / backticks are generated behind the cursor.
Actual behavior
Only one is generated behind the cursor.
https://github.com/echasnovski/mini.nvim/assets/70371393/970e09bf-edf4-4568-83de-dbd34be01b32

Thanks for the issue!
This is an intended behavior because pair can consist only from two characters and customization can be done only based on two-character cursor neighborhood . See #31 for more details.
Closing as duplicate.