'down' event not firing when other service shutdown

import Bonjour from 'bonjour-service'

const instance = new Bonjour()

// advertise an HTTP server on port 3000
instance.publish({ name: 'My Web Server', type: 'http', port: 3000 })

// browse for all http services
let browser =instance.find({ type: 'http' })

browser.on('up', function (service) {
  console.log('server up:', service)
})

browser.on('down', function (service) { <---- It doesn't work when other service shutdown
  console.log('server down:', service)
})

I've got the same problem.   Have you found a solution?   What i'm doing now is calling the find() function on an interval.   Which is not ideal and seems to cause memory leaks and high cpu usage over time.


Built version for npm

:+1:

Actually, do we want to not commit the dist bundle to GitHub?

For instance, with Focss, we only commit the src files to GitHub, and only publish the lib files to npm


[SPARK-31325][SQL][Web UI] Control a plan explain mode in the events of SQL listeners via SQLConf

What changes were proposed in this pull request?

This PR intends to add a new SQL config for controlling a plan explain mode in the events of (e.g., SparkListenerSQLExecutionStart and SparkListenerSQLAdaptiveExecutionUpdate) SQL listeners. In the current master, the output of QueryExecution.toString (this is equivalent to the "extended" explain mode) is stored in these events. I think it is useful to control the content via SQLConf. For example, the query "Details" content (TPCDS q66 query) of a SQL tab in a Spark web UI will be changed as follows;
Before this PR:

After this PR:

Why are the changes needed?

For better usability.
Does this PR introduce any user-facing change?

Yes; since Spark 3.1, SQL UI data adopts the formatted mode for the query plan explain results. To restore the behavior before Spark 3.0, you can set spark.sql.ui.explainMode to extended.
How was this patch tested?

Added unit tests.

Test build #120709 has started for PR 28097 at commit 0cad76a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25407/
Test PASSed.

@dongjoon-hyun @cloud-fan @gengliangwang How about this update?

LGTM! A very useful feature!

@maropu +1 for the proposal!

Thanks, all! I'll address the @cloud-fan comment now.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25410/
Test PASSed.

Test build #120712 has started for PR 28097 at commit 35c8e5d.

Test build #120713 has started for PR 28097 at commit 750ad42.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25411/
Test PASSed.

Test build #120714 has started for PR 28097 at commit 3c684a5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25412/
Test PASSed.

Test build #120709 has finished for PR 28097 at commit 0cad76a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #120713 has finished for PR 28097 at commit 750ad42.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #120712 has finished for PR 28097 at commit 35c8e5d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120712/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120713/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120709/
Test FAILed.

retest this please.

Test build #120716 has started for PR 28097 at commit 3c684a5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25414/
Test PASSed.

Thanks for the reviews, all! Pending, Jenkins.

Test build #120721 has started for PR 28097 at commit 6ba5d18.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25419/
Test PASSed.

Test build #120721 has finished for PR 28097 at commit 6ba5d18.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120721/
Test FAILed.

Test build #120714 has finished for PR 28097 at commit 3c684a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120714/
Test PASSed.

Test build #120716 has finished for PR 28097 at commit 3c684a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120716/
Test PASSed.

retest this please

Test build #120722 has started for PR 28097 at commit 6ba5d18.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25420/
Test PASSed.

Test build #120722 has finished for PR 28097 at commit 6ba5d18.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120722/
Test PASSed.

Thank you for pinging me, @maropu . This looks super-useful. I added a few minor comments.

Thanks for the reviews, @dongjoon-hyun . Plz check again?

Test build #120740 has started for PR 28097 at commit e950c41.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/25438/
Test PASSed.

Test build #120740 has finished for PR 28097 at commit e950c41.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/120740/
Test PASSed.

Thanks, merging to master

Thanks, @gengliangwang !

I found a regression here. Before this PR, the UI shows both the logical and physical plan, now it only has the physical plan. Shall we update the formatted EXPLAIN to show both the logical and physical plan?

I think the same issue happens in df.explain(...). If I want to see the formatted result, I can't see the logical plan.

I found a regression here. Before this PR, the UI shows both the logical and physical plan, now it only has the physical plan. Shall we update the formatted EXPLAIN to show both the logical and physical plan?

okay, I'll open a PR to fix it.


Fix Aikar commands quirk

There's currently a bug with CommandManager that we haven't really encountered because we haven't been using ACF to its fullest potential. For context, ACF command contexts are command-parameter parsers. For an example, consider the following ItemExchange code:
@Subcommand("amount|num|number|a")
@Description("Sets the amount of an exchange rule.")
@Syntax("<amount>")
public void setAmount(Player player, int amount) {
    try (RuleHandler handler = new RuleHandler(player)) {
        if (amount <= 0) {
            throw new InvalidCommandArgument("You must enter a valid amount.");
        }
        handler.getRule().setAmount(amount);
        handler.relay(ChatColor.GREEN + "Amount successfully changed.");
    }
}

The int amount parameter works because there's a pre-registered context that converts the user-inputted String into an int, providing automatic errors and responses for when the given value is invalid. Which is great, but when you wish to use a custom context, say NameLayer's Group for example and starting using Group as the command-parameter instead, the init function will throw because ACF is registering the commands first, finding the parameter and having no idea how to handle that type. So this PR puts command registration last and context registration first.

Closed for GPLv3 licensing issues.


usb: USB device re-enabling does not work on Nordic devices (regression)

Describe the bug
If an application running on one of Nordic Semiconductor chips performs the following sequence:

Enable the USB stack with a call to usb_enable()
Disable the USB stack with a call to usb_disable()
Re-enable the USB stack with a call to usb_enable()

the second call to usb_enable() would fail with an -EAGAIN error code.
Failure happens when the stack enables the control endpoint in usb_enable(), calling the usb_dc_ep_enable() function.
usb_dc_ep_enable() returns -EAGAIN as the control endpoint is not disabled in usb_disable().
This is a regression introduced by the commit from the following issue: https://github.com/zephyrproject-rtos/zephyr/pull/50475
To Reproduce
Build an application that does the call sequence mentioned above.
Expected behavior
The second call to usb_enable() returns 0.

Thanks for the excellent bug report and pinpointing the actual faulty commit.

It is worth mentioning that the commit that introduced the regression, essentially uncovered USB stack issue that has always been there. That is, the usb_disable() only calls usb_dc_detach() and does not call any usb_dc_ep_disable() on any endpoint. The reason why usb_enable()/usb_disable()/usb_enable() worked before seems incorrect.
Zephyr USB device controller drivers fall into two category:

drivers that allow re-enabling already enabled endpoints (dw, native posix, rpi pico, sam usbc, sam usbhs, sam0, stm32)
drivers that return error when enabling already enabled endpoints (kinetis, mcux, nrfx)

Before the regression nrfx was in a third category: drivers that lose information about already enabled endpoints on detach and therefore allow re-enabling already enabled endpoints after detach.


i18n_yml_dir

The purpose of this PR is to add option to specify directory from where to load locale files for auto generating translations.js and default.js.
I have a rather big rails app and I don't want all the locales from rails i18n load path in my translations.js, for example I don't want rails_admin or kaminari, or other rails views stuff in there.

This change is

Coverage increased (+0.01%) to 97.911% when pulling 29d1df5e16acfec1d163e37d9962a60f95e72c96 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

@JasonYCHuang can you please review this one.

@danijel Looks great. Couple small comments.

Reviewed 8 of 8 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

CHANGELOG.md, line 7 at r1 (raw file):

## [Unreleased]
*Please add entries here for your pull requests.*

Please don't remove this placeholder.

docs/basics/i18n.md, line 29 at r1 (raw file):
Add comment line per next comment:

Indicate what the default directory is.

lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb.tt, line 70 at r1 (raw file):

  #
  # Replace the following line to the location where you keep your client i18n yml files
  # that will source for automatic generation on translations.js & default.js

Indicate what the default directory is.

Comments from Reviewable

@justin808 Thanks for quick review.
Unreleased placeholder returned and added line about what gets loaded by default without this option.

Coverage increased (+0.01%) to 97.911% when pulling d30ca6bc85af0d103673c76b2a24b7f372b502d8 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

tiny comment

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

CHANGELOG.md, line 8 at r2 (raw file):

## [Unreleased]
*Please add entries here for your pull requests.*
Add option to specify i18n_yml_dir in order to include only subset of locale files when generating translations.js & default.js for react-intl

Please format like the others. and blank line after placeholder.

Comments from Reviewable

@justin808 ok now?

Coverage increased (+0.01%) to 97.911% when pulling 256ad297f1a7b39764cfbea03a1cb30cbc444e12 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

Coverage increased (+0.01%) to 97.911% when pulling 256ad297f1a7b39764cfbea03a1cb30cbc444e12 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

one comment

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

CHANGELOG.md, line 10 at r3 (raw file):

### Added
- Add option to specify i18n_yml_dir in order to include only subset of locale files when generating translations.js & default.js for react-intl

missing the PR and author.
See formatting of other entries.

Comments from Reviewable

@justin808 added

Coverage increased (+0.01%) to 97.911% when pulling 8499818fad72712724b47a45341637df4e380e10 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

Coverage increased (+0.01%) to 97.911% when pulling 8499818fad72712724b47a45341637df4e380e10 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.

Review status: 7 of 8 files reviewed at latest revision, 6 unresolved discussions.

CHANGELOG.md, line 10 at r4 (raw file):

### Added
- Add option to specify i18n_yml_dir in order to include only subset of locale files when generating translations.js & default.js for react-intl

period.
:-)

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

Comments from Reviewable

@justin808 added, damn, what's wrong with me :-)

Coverage increased (+0.01%) to 97.911% when pulling 76be2ba502a0df31b5b9d25e88379754b4169ea4 on danijel:i18n_yml_dir into cca135100d64c2833b84dff52efb33527d7a9365 on shakacode:master.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1719 ms

Resolved: Bofrost.at performance has improved in 4b22c42 after 6 minutes.


Documentation running in production not working

Issue Type

[x] Bug
[ ] Enhancement

Description
Could not make it run following the instructions on the documentation of production environment.
Operating System
Ubuntu 18.04.2 LTS
Linux 4.15.0-20-generic x86_64
Install

[x] setup.bash
[ ] docker

DefectDojo Version
Latest pull from git repository (e8c152a)
Steps to Reproduce
I did follow steps on running in production
tried by default with Django version 1.11.19 in a virtual env but not successfull.
got the same issue if i use Django 2.1.7 and use pip3 along with python 3.
When executing celery -A dojo worker -l info --concurrency 3 &
it gives me the following error message
Screenshots

Try out the docker or kubernetes, we are working on updating that right now.

Thanks, I will in the meantime use the docket installation.

@devEricA @aaronweaver Hi guys, do you have an updated version of how we can run this one on production? The current one does not work tbh because some bits and pieces are not accurate or might be obsolete.
The truth is we have tested/evaluated this product having it deployed it on various configurations and:

If we are deploying this with the  AWS ECS things are getting quite interesting, The current docker-compose.yml file has to be tweaked appropriately to have the deployment working. While the initial deployment succeeded, from some whatever unknown reasons, all the DefectDojo docker ECS instances are getting restarted after 1 minute. It seems this is happening because of something related to the current MySQL instance/volume. A solution would be to replace the existing MySQL DB with PostgreSQL DB which is much friendly. This is a WIP for us.

We did not use ECS and have deployed the product by tweaking the provided AWS architecture. I think @aaronweaver has a repo for that. It worked somehow but did not scale well under heavy usage. Still investigating why.

Down to the bottom, we would like trying deploying this product as standalone in production too by following updated documentation. We know there might be the HELM option also but the AWS EKS option is still something more close to an advanced beta feature and GPC is not an option for us just yet.
Thank you!

alguien pudo levantar en produccion defect-dojo?

Hey @dragos-sh can you please share details on how you got this up and running on ECS, if you can share the documentation or link on steps involved in making this up and running in ECS that will be really helpful, thank you!


Latest interval in monthly aggregate data used in Stripes

Check last month series in monthly and weekly aggregate outputs that are used in Stripes

Related #139

at this moment, monthly is fine, but the daily has a 0 for today:

looking at solar_rooftop in daily.json i see that the last 9 entries are all 0… clearly wrong.

this is happening again:

Test comment


Generating fov names with MIBItiff keeps .tiff extension in Segment_Image_Data

Describe the bug
When MIBItiff is set toTrue in Segment_Image_Data.ipynb, the fov names that are generated from list_files does not properly remove the .tiff extension afterward. This is a problem because generate_deepcell_output assumes that the fovs provided are just the names of the fovs and not corresponding file names.
To Reproduce
Run Segment_Image_Data.ipynb with example data such that MIBItiff = True.
Expected behavior
We should either be removing the .tiff extension in Segment_Image_Data or in generate_deepcell_output, whichever one works better for us.

I think more broadly we should come up with a plan for when we keep track of the extension and when we don't, to avoid this problem.
Also, we should use Adam's function instead:
    fovs_no_suffix = io_utils.extract_delimited_names(fovs, '.tif')


List networks on leads page

Currently, there's no way to see a list of networks that have been saved in the context of a collection. They should instead appear on the intro page of Analaysis, or in their own tab.

Has its own tab now.


Cannot uninstall .NET Core+ASP.NET Core workload - VS MAC

On VS for Mac I ran uninstall scripts and everything was removed except for .NET Core + ASP.NET Core component.  Is there a separate script to uninstall this part?

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

ID: 030a8363-a4d4-9391-0fc2-554656b905fc
Version Independent ID: 4a056ae9-03cb-074f-cffa-037f780dfbaf
Content: Uninstalling Visual Studio for Mac - Visual Studio for Mac
Content Source: mac/uninstall.md
Product: visual-studio-mac
GitHub Login: @asb3993
Microsoft Alias: amburns

There is an uninstall script provided for .NET Core available from the dotnet cli repository on GitHub:
https://github.com/dotnet/cli/blob/master/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh
You will probably need to give this script execute permissions using chmod +x to be able to run it. It also needs to be run as sudo.

The execution of the dotnet-uninstall-pkgs.sh should be added at the end of the visual studio uninstall script : https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh  .
Maybe a question about removing the the .net core, and if the user answer yes then proceeding with the removal


Feature/focus UI feedback

Focus UI feedback on keyboard nav more visible on non-chromium browser
Description

Changes to make keyboard navigation look the same in all browsers. Keyboard navigation will then show the same color (brand-secondary/brand-primary based on context).
Some small changes in search field:

Scrollbar only shows when necessary
Search results are made focusable

Motivation and Context

It is necessary to give the same experience to all users and the same look.

https://payexjira.atlassian.net/browse/SWED-1978
https://payexjira.atlassian.net/browse/SWED-1964
How Has This Been Tested?

These changes have been tested in Chrome, Mozilla Firefox and Safari and I have also ran all tests available in project.

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have updated the CHANGELOG document.
[ ]  I have added tests to cover my changes.
[x] All new and existing tests passed.

Review instructions
Review instructions

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Feature: upgrade fabric version

Overview
Upgrades react fabric version to latest
Fixes breaking changes introduced
Fixes #579
Fixes #593
Fixes #617
Demo

Notes
Known issues:
Selecting an item and heading over to the next page loses the previous selection.
This is however not expected as a heavy use-case since the search options are available and the modify permissions tab
Testing Instructions

Log in
Select permissions
Expand one section
Scroll to the bottom then back up again
See whether the UI has blank spaces

Could you adjust the column widths, the 'admin consent required' column isn't entirely visible

@thewahome I have approved theses changes since they work for me. One little thing, before merging move the interfaces to the types directory.


[BUG] Charts are not displayed when nested under  (in Firefox)

[BUG] Charts are not displayed when nested under <details> tags (in Firefox).
Current Behavior
When nesting the chart in <details>, the chart does not display. This bug appears to happen only in Firefox. In Chrome and Opera, the chart is displayed.

Steps to Reproduce (for bugs)
CodePen demo: https://codepen.io/JAT86/pen/mpQvmJ
Environment

Chart.js version: Version: 2.7.1
Browser name and version: Firefox Quantum, version 57.0.4 (64-bit)

Is it ok if I take a look at fixing this? When I test with other canvas tags under details they seem to show in firefox. I'm curious if it's chart.js or just firefox that has this issue.

@MPierre9 go for it

@etimberg What do you think about implementing a MutationObserver in platform.dom.js instead of our current method of using David Walsh's method with CSS animations. I think this could correct the issue with Firefox and provide better DOM node detection.

@MPierre9 We already investigated MutationObserver and concluded that it doesn't fit all use cases. The current implementation took a lot of time to stabilize and I feel it works great now except in some very particular cases such as this <details> tag in a single browser (which may actually be a Firefox bug). So I'm not sure it's worth it to rewrite again the visibility/size detection logic, which will certainly introduce new bugs more problematic than this one.

Done in #7104


How to query deterministic transformations of StochasticTensor?

Hi,
I'm implementing a model in which I need $f_{MLP}(z)$ in inference. As BayesianNet.query only accepts StochasticTensor, is there any way to do this, or could you consider adding this feature (e.g. by adding a deterministic StochasticTensor wrapper)? I think it's a pretty common use case.
Thanks for the awesome work!

Suppose you want to perform transform on $w$, you can get the samples and log_probs of $w$ from BayesianNet.query, modify them by $f_{MLP}(z)$ defined by you own, and the use the transformed samples and log_probs in inference algorithm. Moreover, we implement the Normalizing  Flow in examples/normalizing_flow, you can refer to it as examples.

Thanks. Guess I'm a bit unconscious now ...

@meta-inf The case is that when you do deterministic transformation, unless it's invertible (one-to-one), there is no easy way to compute the transformed probability. But getting its sample is easy, you could just return it from your modeling building code.
def build_model():
    with zs.BayesianNet() as model:
        a = zs.Normal('a')
        # deterministic transform
        b = f(a)
    return model, b

For invertible mapping, we provided some support from the recent literature (normalizing flow: http://proceedings.mlr.press/v37/rezende15.pdf)


Bug: invalid @babel/generator version on install (v4.2.0)

Hi everyone,
I wanted to play a bit with this project but I am unable to install it on my local environment 😢
It seems one of the project dependencies has a problem as babel/generator is not a direct dependency.
I also attached the debug.log file produced by npm debug.log
Thank you very much for your help 🙏
Lightweight Charts™ Version: 4.2.0
Environment:
Darwin 23.2.0
node v18.18.2
npm  v9.8.1
Steps/code to reproduce:
npm install

Actual behavior:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Probably due to one of the project dependencies as babel/generator is not a direct dependency. I attached the debug.log file produced by npm.
Expected behavior:
Successful installation of project packages.

That version (7.23.6) of @babel/generator does appear to exist: https://www.npmjs.com/package/@babel/generator?activeTab=versions
Could you try clearing your NPM cache and run the install command again?

Worked like a charm, thanks 👍
I use some babel packages in so many projects that I didn't think about clearing NPM cache.


close(1) is previous bar's close price, close(-1) is next bar's price, and close is current bar's close price?

close(1) is previous bar's close price, close(-1) is next bar's price, and close is current bar's close price?
Am I correct on the index of close?

Hi, @qtbgo
What do you mean by close(1) ?
Can you explain it with code exmaple?
Thanks.

close(1) means ($close, 1).

https://github.com/microsoft/qlib/blob/main/qlib/data/ops.py#L743
Here is the docs about the Ref operation.

So, what is the exact time we issue an order? at the begin of the current bar or at the end of current?
If at begin, then the order can be executed at the current bar. If at the end, then the order can only be executed at the next bar.

In our daily dfrequency data,  the data with close timestamp 2020-12-25 represents the close price of2020-12-25


Samsung Handwriting issues

Steps to Reproduce

Use a samsung device with handwriting capabilities
Select a textfield in a Flutter App
Switch to handwriting mode
Write something
Leave keyboard mode and enter it again (or press space bar)
Write again
Issue: The already written text is no longer shown in the keyboard and any additional text is added in front of the old text.

It seems like the samsung keyboard isn't able to retrieve the text from the textfield.
It happens with any flutter app (I tested a few on itsallwidgets.com), so providing logs/flutter doctor would probably be useless, I will instead provide a video demonstrating the issue
https://www.youtube.com/watch?v=KUBDWRs2HaI

Can confirm this

@justinmc This does not seemed to be fixed by https://github.com/flutter/engine/pull/12780, was able to repro on Note 9 with the change

Darn.  Thanks for taking the time to try it.

This may be caused by this root issue: https://github.com/flutter/flutter/issues/41990

Update: The recent changes to finishComposingText did not resolve this. This bug should be a separate issue from the other Samsung issues.

I tried this with the changes from https://github.com/flutter/engine/pull/17426
It seems to be resolved!


Set KIBOT conditionnally in Makefile

On windows, I used a wrapper script to launch kicost in docker.
Setting KIBOT conditionnally allows the environment variable KIBOT to be applied without having to set the '-e' option for make.

Hi @mdeweerd :
I think what you need is what I applied in: 14f2af19fc9c4b5a614ec5f3f817cceb0388493d
Please let me know if I correctly interpreted your intention.

@set-soft I did not know there is a ?= operator now which is shorter than what I did.
This is my intention.
For completeness, you could also set it this way on the OUT_DIR, but this is only a demonstration repository, so a fixed OUT_DIR is fine!
The '?=' operator should be used where the variable is potentially "external" - I'll think about it for my Makefiles.


Add 2547techno to contributors list

:)

Manually merged in with https://github.com/Chatterino/chatterino2/commit/782684e41a1bd9c22a73b7079e9c88460a8c00b1 (I couldn't push stripped version of your avatar).
Thank you!


Initial run of RustFmt

Initial run of RustFmt on libraries that are not being worked on at the moment.
I am tackling this issue myself as part of the code bounty program as suggested by Fraser and approved by David.

https://github.com/maidsafe/lru_time_cache/pull/36


fix benchmarks

Description
Fixes #2783
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all
[ ] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

I don't know why the tests are still failing even though I added the missing parameter to the parameter set

If setup raises a NotImplementedError, the benchmark is marked as skipped for the parameter values in question.

Trying this from ASV's docs

The workflow runs benchmarks for the latest commit on develop and the PR branch, and the develop version of PyBaMM misses {'SEI growth transfer coefficient': 0.5} -
      - name: Run benchmarks
        run: |
          asv machine --machine "GitHubRunner"
          # Get IDs of branch and PR commits
          BASE_COMMIT=$(git rev-parse develop)
          HEAD_COMMIT=$(git rev-parse HEAD)
          echo $BASE_COMMIT | tee commits_to_compare.txt
          echo $HEAD_COMMIT | tee -a commits_to_compare.txt
          asv run HASHFILE:commits_to_compare.txt --m "GitHubRunner" --show-stderr --strict -v

I think this is why the benchmarks fail on asymmetric model options even after adding the relevant SEI parameter to Marquis2019. Should I uncomment the asymmetric model option values and let the benchmarks fail on this PR? I guess the only way to test if everything works would be to merge this into develop.

Shall we just remove the asymmetric models from the benchmarks for the time being?

Should I keep them commented or should I remove them completely?

I would say remove them completely. @tinosulzer, what do you think?

Removed! Benchmarks pass and the Ubuntu failures look unrelated.


Fail to run func start

Describe the issue:
When running func start , the following error occurs:

If cd into app/backend and running fun start, the operation is successful, but http://<IP_ADDRESS>:5000/ cannot be accessed.

Repro Steps:

Run azd init -t Azure-Functions-OpenAI-Demo.
Run azd auth login.
Run set-executionpolicy remotesigned
Run azd up.
Create a new app/backend/local.settings.json file to store Azure resource configuration using values in the .azure/[environment name]
Disable VNET private endpoints in resource group .
Start Azurite using VS Code extension
Run func start.

Environment:

azd version 1.10.2 (commit 84ea22048b9a1c167bc4ae2095cc7f91798ef11e)
OS: Windows

Expected behavior:
Run func start successful  and http://<IP_ADDRESS>:5000/ can be accessed successfully.
@hemarina and @BigMorty  for notification.

Updated instructions for running locally #25

The issue has been verified and will no longer occur. I will close it.


Editor meta overwrites meta values set inside _init()

Godot version:
3.2
Issue description:
When you try to set a value in a node inside it's _init() call, it will be immediately overwritten with editor-specific values, like __edit_lock. I mean the meta dictionary is replaced, so your values are lost.
Instance.tscn
func _init() -> void:
	set_meta("test_meta", true)
	print(has_meta("test_meta")) #true

Main scene
func _ready() -> void:
	var instance = load("res://Instance.tscn").instance()
	print(">> ", instance.has_meta("test_meta")) #should be true, but it's false if the Instance.tscn is locked in the editor

I know this might be working correctly, but IMO the meta you set and the meta set by the engine should get merged instead of replacing one another.
Minimal reproduction project:
ReproductionProject.zip

I can confirm the issue here.
Its happening in my current project, I'm using Metas just to check the type of object and thought of putting it on _init() was a good choice since I needed to know the "obj type" as soon as possible.

Fixed, likely after metadata rework.


Elasticsearch 5.x Sink connector incompatible

Describe the bug
Works with ES 7.x version
Fails with ES 5.x version
Didn't try other versions.
To Reproduce
Steps to reproduce the behavior:

Configure and run ES Sink
See error

{"error":{"root_cause":[{"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '_', found: [doc]"}],"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [_doc]"},"status":400}
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:705) ~[?:?]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:235) ~[?:?]
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:198) ~[?:?]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:522) ~[?:?]
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:508) ~[?:?]
at org.elasticsearch.client.RestHighLevelClient.index(RestHighLevelClient.java:348) ~[?:?]
at org.apache.pulsar.io.elasticsearch.ElasticSearchSink.write(ElasticSearchSink.java:91) ~[?:?]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.sendOutputMessage(JavaInstanceRunnable.java:435) ~[org.apache.pulsar-pulsar-functions-instance-2.4.1.jar:?]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.processResult(JavaInstanceRunnable.java:418) ~[org.apache.pulsar-pulsar-functions-instance-2.4.1.jar:?]
at org.apache.pulsar.functions.instance.JavaInstanceRunnable.run(JavaInstanceRunnable.java:272) [org.apache.pulsar-pulsar-functions-instance-2.4.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http://<IP_ADDRESS>:9200], URI [/eventslist/doc?timeout=1m], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}],"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [_doc]"},"status":400}
Expected behavior
Screenshots
Desktop (please complete the following information):

OS: Ubuntu 16

Additional context

this probably requires another version of the connector should be part of a large discussion of managing the growing list of connectors.

@tuteng to take a look

I will find some time to test the relevant version. If there is any problem, I think we may need to provide special support. Such as developing a new connector for the corresponding version. If there are others who need this feature, please leave a message under this issue to let us know. Thank you.

I have done some research in documents and some change histories of Elasticsearch, the problem is fundamentally related to the long term "removal of types"  project in Elasticsearch.
In brief, Elasticsearch supported multiple types before 6.0. However, they found it to be a problematic abstraction, and decided to remove it gradually. The road map is to support only a single type start from 6.0, with the default type name set to be "_doc" since 6.2, and to support the type name "_doc" only(which will actually be considered as the name of the API endpoint rather than a type name) since 7.0, and finally remove the concept of type since 8.0, while "_doc" will be kept in the document APIs to make them backward compatible.
On the other hand, names with a leading underscore are generally considered as reserved for internally use in Elasticsearch, and are not allowed to be used in user provided names (index, field, type, ...). And "_doc" is a special type name added in 6.2 to make the transition to 7.0 smoother, so it will not be supported before version 6.2.
As a result, "_doc" is supported as the only type name since 7.0 while not supported before 6.2, it is likely not possible to specify a default type name without knowing the version of the destination cluster(In fact, we have changed the type name from "doc" to "_doc" to support 7.0 in https://github.com/apache/pulsar/pull/4322).
To fix the issue, we can provide a configuration "typeName" with the default value set to be "_doc", so it supports versions of Elasticsearch since 6.2 by default, and can also support the previous versions if users configure a valid type name. Auto detection of the version of the cluster is possible but may not be very valuable for current feature sets.

agree, configuration "typeName" would be a perfect solution.


adding namespace to search api

@slebras Status of this one?

this feature is no longer going to be implemented


Thanks!

Sorry for using issues for this - but wanted to just say thanks for writing this up (and I wasn't sure where else I could say it).
I've been using PINTO0309's github as well (with the RealSense D435) and it's cool to see someone else leverage it.
I'm actually in the process of making a board (which I'm planning on open-sourcing) which will have the Myriad X directly on it and also the D430 module, with a slot for the Raspberry Pi compute module.  The goal is to allow direct camera connections to the Myriad X, which will up the framerate, while still allowing the Raspberry Pi to be the host OS.
And then the depth component allows fairly precise interaction with the physical world (say like a hand grabbing the bottle).
Thoughts?

I am glad you have found it useful.
Sure, it is likely the case that bottlenecking is occurring between the pi and the NCS2 as the pi only supports USB 2 and there will be overhead pushing data back and forth. Likewise with the camera and pi, hence the threads (and later subprocesses) which mostly address this.
I believe is is possible to get Intel's openvino and NCS2 running on the Odroid XU4 : https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI (See comments section: Price,Shaun 16 January 2019). It would be interesting to see if that setup did any better performance wise.
There are already camera boards with Myriad, however what I have seen so far have poor frame-rates, and seem to be locked to  particular graph?
It would be interesting if you came up with one that fixes these issues and just spat out bounding box coordinates along with an object ID for example, and allowed you to load in your own graph at runtime...

Thanks for the thorough response.  Do you have links to the camera boards you reference?
Would be curious to see what’s out there already.  We’re thinking of making exactly what you reference, with the model kissable at runtime, like you mention.


Does not run in VR - cannot run patcher / .NET

Game Version: <IP_ADDRESS>8
OWML Version: 2.9.8
NomaiVR Version: 2.9.2
VR hardware: Oculus Quest 2

I can't get NomaiVR to run, even though the mod says enabled in mod manager and within the game. Here's what i've tried:

Use Desktop Game Theatre while SteamVR is active - Disabled
Verified integrity of game files
Start game from Outer Wilds Mod Manager with NomaiVR enabled
Main menu has Mods option, with NomaiVR enabled
Game does not start in VR
Have tried with both easy installation and manual installation of NomaiVR

Here are the errors that are logged:

solved this issue.  Go to OWML/mods/Raicuparta.NomaiVR/patcher > Right click NomaiVRPather > Properties > Check UNBLOCK > Apply

solved this issue. Go to OWML/mods/Raicuparta.NomaiVR/patcher > Right click NomaiVRPather > Properties > Check UNBLOCK > Apply

what's this unblock checkbox? was it being blocked by some antivirus or something?

Not entirely sure, but I think the patcher was trying to install something and since the file came from the internet, by default it is blocked on the properties screen of windows? Once I checked unblock, the box entirely disappeared so it can't be unchecked again.

I am getting the same issue but there is no unblock when I right click. It does seem something is blocking it though.


NEW composer_install input variable

Issue https://github.com/silverstripeltd/product-issues/issues/607

given that, to set $simpleMatrix to $simpleMatrix || $composerInstall

That's just adding confusion for no benefit?. $simpleMatrix == the input variable simple_matrix and $composerInstall == the input variable composer_install
All this seems to do is make to override an input variable with another one ... for no benefit?


[Feature Request] Add Show to Players for Actors and Items

Could you add the Show to Players button that is on Journal Notes to Actors and Items?

There was another module that once did this: https://github.com/wsaunders1014/ShowArtwork
However Will is IIRC no longer maintaining it. I have considered absorbing its functionality.


Allow Memory to be overwritten for Resubmission specs

Fixes #7132 and #6907
Changes are:

allow requestor to override TimePerEvent, Memory and RequestPriority for ACDC workflows (via script, of course).
when Multicore or Memory is overriden, just apply that to processing/production tasks

@ticoann please review. First tests look Ok, but I need to clean up my VM and run it again to make sure it's alright for both reqmgr and reqmgr2

@ticoann please review and merge. I tested both reqmgr, reqmgr2 and acdc creation via wmstats and scripts. I really don't expect problems with this code in testbed/production :)


CFP: Writing Cilium logs to a socket/file in addition to stdout

Cilium Feature Proposal
Describe the feature you'd like
Currently, the Cilium Agent writes its logs to stdout, and containerd eventually writes these logs to a folder under /var/log/pods. In AKS, we are considering exporting Cilium Agent logs to our telemetry infrastructure. To achieve this, we may need to read the logs output by the Cilium Agent to stdout. One option is to have a logging service and mount /var/log/pods, but this would mount all pod logs on the node, which is undesirable as it includes customer pods too. Can Cilium Agent write logs to a file or socket in addition to stdout? This could be an opt-in feature and not enabled by default, allowing our logging service to export logs to the telemetry backend.
We did consider redirecting stdout logs to a file but kubectl logs may not work. Wanted to check if this something we can support in cilium agent itself without work around.
Wanted to get feedback before start delving into details of how this can be designed.

Summarizing my perspective from the discussion during today's community meeting:

The use case makes sense and should be achievable one way or another.
One question is whether we can achieve this with off-the-shelf components, existing slog library etc. or whether this involves writing a bunch of custom logging code in Cilium. We're not the only application with these requirements, so if we can leverage known similar patterns then that can provide more consistency for the user.
Another question is whether you intend for logs to be emitted in two places. Logging can have a cost and if we can integrate it in a way that avoids duplicate effort, that would be a nice property to have.
If Cilium is outputting these logs to stdout, then is this a question for how the container runtime manages the logs? Is it Cilium's responsibility or not? I'm not sure I have a strong opinion about this yet.
If this is about an integration with a particular other system, does it make sense to just make sure that the files are logged to a known specific path, then there's another dedicated component which is responsible to slurp up the logs and forward them to the log aggregator?
If we end up moving towards a solution where Cilium logs to files, then it will be important to handle log rotation to avoid filling up the disk with logs. We've used lumberjack for this purpose in the past. I see there's a logging hook for this already. Maybe that pointer will help you to dig around to come up with a more concrete proposal.
Cilium currently has about 3-4 different loggers - primarily logrus, though we are starting to shift logrus to the standard Go slog implementation instead (example: https://github.com/cilium/cilium/pull/32469), and then there's klog from k8s libraries. Oh and sometimes Cilium will also forward Envoy logs through to stdout. So however we implement this would ideally capture all the logs from different logging systems.

You are right that not all packages are converted to slog and there are still packages using different loggers. If we want to add hook support now, then we may need to support for all loggers which I feel would be a stretch. Also, slog doesn't support adding multiple sinks out of the box, so we may need to build something custom to log to different outputs. I would also like to evaluate if there any overhead/complications sending logs over unix domain socket instead of file logging.

If Cilium is outputting these logs to stdout, then is this a question for how the container runtime manages the logs? Is it Cilium's responsibility or not? I'm not sure I have a strong opinion about this yet.

containerd redirect stdout logs to specific directory (/var/log/pods) under node but we don't want logging agent to mount /var/log/pods as it includes other pod logs too. Not sure if we can add custom plugin to containerd to redirect only cilium logs to different location.

Another question is whether you intend for logs to be emitted in two places. Logging can have a cost and if we can integrate it in a way that avoids duplicate effort, that would be a nice property to have.

Yes both places and it's opt-in. By default, it logs only to stdout. i see there is an option already exposed in cilium config for writing to syslog. https://github.com/cilium/cilium/blob/3049ac6fdef4f8397c41c466a0f1df798cbe5b87/pkg/logging/logging.go#L197


Picture_ GPT-World

Do you use GPT-world to draw yourpicture ? What is the prompt ?  I did not get good results when use it.

Which picture?

images in directory 'imgs'
for example

May you share the online link， please？

I found it ! Thank you very much.


user.isAnonymous should be set to false after unlinking all other providers

[REQUIRED] Step 2: Describe your environment

Xcode version: 10.2.1
Firebase SDK version: latest
Firebase Component: Auth (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: 5.4.2

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:

Sign in using anonymous auth.

Auth.auth().currentUser.isAnonymous // true

Sign in with Phone Auth (linking the anonymous auth).

Auth.auth().currentUser.isAnonymous // false

Unlink the Phone Auth.

Auth.auth().currentUser.isAnonymous // false - should be true

I'm pretty sure there needs to be a check for providerData then add self.anonymous = YES somewhere around this line in FIRUser.m, but I don't know enough Obj-C to know exactly what's going on there.
Relevant Code:
Auth.auth().signInAnonymously { authResult, _ in
    print(authResult.user!.isAnonymous) // true
}

// for simplicity, using FirebaseUI for phone auth
phoneProvider.signIn(withPresenting: presentingViewController, phoneNumber: nil)

print(authResult.user!.isAnonymous) // false

Auth.auth().currentUser?.unlink(fromProvider: provider) { user, _ in {
    print(user!.isAnonymous) // false
    // user!.isAnonymous should be true here as user.providerData.count == 0
    // also the Firebase portal shows as anonymous at this point
}

@colbylwilliams This is intentional. Non-anonymous user can no longer be anonymous even all providers are unlinked, because the developers are still able to track the user.


It works on the latest itunes. Confirmed by me.

I may be wrong on this. I'm starting to get weird errors. I will open another issue.


patch for make-base-vm to double disk size

Patch to create gitian images on disks of 20480M rather than the default 10240M

I added the prerequisite packages and found that on a full pull from the git repository there was not enough room on the disk to build ioncoin.


fix ($compile): keeps prototype properties for template URL directives

currently, if a directive definition objects has prototype properties, such as a compile function, those are lost when compiled if the directive has a templateUrl function. Steps to reproduce:
directive("templateUrlDoesntWork", function() {
   var base = {
      compile: function() {
         return function(scope, element, attrs) {
            scope.value = "Test"
         }
     }
  }
  inherited = Object.create(base)
  inherited.templateUrl = "test.html"
  return inherited;
}

The DDO's compile function will never be called. On the other hand the same version with a plain template works:
directive("templateWorks", function() {
   var base = {
      compile: function() {
         return function(scope, element, attrs) {
            scope.value = "Test"
         }
     }
  }
  inherited = Object.create(base)
  inherited.template = "<p>{{value}}<p>"
  return inherited;
}

The DDO's compile function will be called.
This makes a difference for an increasing number of people particularly who are experimenting with ES6 classes in Angular 1.x.

i could see this being useful for typescript/coffeescript users, and it is a pretty small fix. lgtm, but wait for pete or someone else to signoff on it

Marking this for beta 3, but this should probably wait for beta 4. /cc @petebacondarwin

LGTM - let's get this in next week.  Thanks for taking a look @caitp and pinging me.

looks good, the only thing I would like to see is the same test using template. I know that this test would pass even without the PR, but having a test in place would reassure that this does not break in the future

Quick work @hannahhoward - nicely done and nice PR. Thanks

added second test per request. and removed the accidental leftover console.log. I'm not sure why the build is failing on Firefox 31.0 on Linux

removed the outdated comment

Looks very good. Just one more thing @hannahhoward can you please squash everything into one commit? Thanks!

Actually @hannahhoward don't worry, we can squash when we merge.


nginx example config for proxying redis-stat

Referencing #56
Intention: act as a startingpoint to help others setting it up properly...
        location /your-access-page/ {
                # maybe you want to add authentication...
                auth_basic "Auth Text";
                auth_basic_user_file /your-path/auth-file;

                #
                proxy_set_header        Host                $host;
                proxy_set_header        X-Real-IP           $remote_addr;
                proxy_set_header        X-Forwarded-Host    $host;
                proxy_set_header        X-Forwarded-Server  $host;
                proxy_set_header        X-Forwarded-For     $proxy_add_x_forwarded_for;
                proxy_pass		http://<IP_ADDRESS>:63790/;
        }

When you close this, it will be hard to find (same for #58).
Mind to either put that to the readme.md or create a wiki with a reference from the readme.md?

I briefly mentioned it in https://github.com/junegunn/redis-stat/releases/tag/0.4.14
Feel free to create a wiki page. Thanks.


nfd_deploy: use NFD version == OCP version (except for 4.8)

This PR enables the deployment of the NFD operator from any channel (or the channel matching the current OCP version).

/hold

/test gpu-operator-e2e

hum, we'll need to get rid of the hard-coded CR file here and pick it up from the alm-example, same as we do for the GPU Operator

/approve

/test gpu-operator-e2e

/test gpu-operator-e2e

/hold cancel
thanks @ArangoGutierrez

@BumbleFeng FYI,
toolbox/nfd/deploy_from_operatorhub.sh

this command will now deploy the NFD version matching the OCP release


Why the attn mask is not used in forward function?

Compared with left_product function, attention mask is not used in forward() function.
How to use the attention mask in the forward method?

When use forward() function, there is no direct way to use attention mask since we haven't compute attention matrix. If you need use attention mask, we suggest you use left_product, however, this will get loss in efficiency.


IE Browser

I'm having issues getting this working on Internet Explorer (Edge IE 11) both Chrome/Firefox works fine. Any ideas on why this may be?
I don't get any errors or anything.

I'm having the same problem as @tomkurian01
When using the method createLoginUrl, the part redirect_uri is undefined.
redirect_uri=undefined

Hi @michaelschnyder , is there any news on this ? Are you planning to add IE compatibility ?
Thanks.

I was unable to replicate this issue when I tested IE here just now, could this issue have been fixed at some point?


explicitCharkey doesn't work for whitespace

With explicitCharkey: false (default), parsing results are predictable:

<x>y</x> -> { x: 'y' }
<x></x> -> { x: '' }
<x> </x> -> { x: ' ' }
<x>\n</x> (newline) -> { x: '\n' }

With explicitCharkey: true, parsing results can be surprising:

<x>y</x> -> { x: { _: 'y' } } (ok)
<x></x> -> { x: '' } (bad, no _)
<x> </x> -> { x: ' ' } (bad, no _)
<x>\n</x> (newline) -> { x: '\n' } (bad, no _)

When users set explicitCharkey: true, they probably expect an _ property in all objects. Currently, they have to distinguish the case where an element contains only whitespace from other cases and use different code to access the text content.

Very likely related to https://github.com/Leonidas-from-XIV/node-xml2js/issues/466: "handling of whitespace content inconsistent"


Convert Unsupported Operations

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS High Sierra 10.13.6
TensorFlow installed from (source or binary): via pip
TensorFlow version (or github SHA if from source): tensorflow==1.13.1

Provide the text output from tflite_convert
tensorflow.lite.python.convert.ConverterError: TOCO failed. See console for info.
2019-03-27 17:40:24.648521: I tensorflow/lite/toco/import_tensorflow.cc:1324] Converting unsupported operation: IteratorV2
2019-03-27 17:40:24.656267: I tensorflow/lite/toco/import_tensorflow.cc:193] Unsupported data type in placeholder op: 20
2019-03-27 17:40:24.656283: I tensorflow/lite/toco/import_tensorflow.cc:1324] Converting unsupported operation: IteratorGetNext
2019-03-27 17:40:24.656301: I tensorflow/lite/toco/import_tensorflow.cc:193] Unsupported data type in placeholder op: 2
2019-03-27 17:40:24.656376: I tensorflow/lite/toco/import_tensorflow.cc:193] Unsupported data type in placeholder op: 2
2019-03-27 17:40:24.656460: I tensorflow/lite/toco/import_tensorflow.cc:1324] Converting unsupported operation: SoftmaxCrossEntropyWithLogits
2019-03-27 17:40:24.656709: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 21 operators, 35 arrays (0 quantized)
2019-03-27 17:40:24.656884: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 21 operators, 35 arrays (0 quantized)
2019-03-27 17:40:24.657083: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 13 operators, 24 arrays (0 quantized)
2019-03-27 17:40:24.657094: F tensorflow/lite/toco/tooling_util.cc:897] Check failed: GetOpWithInput(model, input_array.name()) Specified input array "weights" is not consumed by any op in this graph. Is it a typo? To silence this message, pass this flag:  allow_nonexistent_arrays

Also, please include a link to a GraphDef or the model if possible.
model.zip
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
train_data = tf.data.Dataset.from_tensor_slices(train)
train_data = train_data.shuffle(10000)
train_data = train_data.batch(batch_size)

iterator = tf.data.Iterator.from_structure(train_data.output_types,
                                           train_data.output_shapes)
img, label = iterator.get_next()
train_init = iterator.make_initializer(train_data) # initializer for train_data

Please take a look at this faq if haven't already. Let me know if it helps. Thanks!

@ymodak already did. so would that mean we need to centralize all TFLite OP requests to #21526 ?
However, it maybe an error on my part since the failed operations is for training phase and not really running the model. I don't expect to load the dataset though when running the actual model.

@miaout17 Can you please take a look? Thanks!

Hi @joseph-d-p!
Have you tried latest versions yet?


xng-clearable doesn't work on modal dialog

Hi @flocca ,
Looks like the directive doesn't work on modal dialog, the directive adds a font-size as 0px, since the parent element dom not created at that time. Could you please have a look on the same?
Thanks.

Hello @umeshv
I think is very late, but however, we have modified the directive in order to provide a config and make compatible with modals, if you want review check our branch:
https://github.com/zgbjgg/angular-clearable/tree/0.1.3
We are using now for a project, and works perfectly!
Thank you!


tests/tree.rs does not compile

no method named `check_priorities` found for struct `Router` in the current scope
method not found in `Router<String>`rustc[E0599](https://doc.rust-lang.org/error-index.html#E0599)
tree.rs(112, 1): Error originated from macro call here

https://github.com/ibraheemdev/matchit/blob/fd2b5cdcd599bf62fa5cab7c1ba339802f8587fb/tests/tree.rs#L61

Nevermind - I see this is hidden by a configuration. Closes #24

Yeah I couldn't really come up with a better way to do it.

@ibraheemdev so how do you execute tests?

cargo test --all-features


Add d4sh type feeder

Added 'd4sh' feeder type in constants.py.
It allowed me to user your library with new feeder type.

Although adding the device type to the list of supported devices will result in the creation of a Feeder instance corresponding to the d4sh (this is because all devices on an account show up in the device roster endpoint), the addition doesn't provide true support for the device via this library - There are some device specific controls that need to be accounted for with additional code/changes to the current codebase as well as additional API endpoints.
I have already started writing the code needed to add support for the d4sh - these changes will be part of the next release. In the meantime, hang tight!


Set up cache for gradle and go

The set up of caches reduce build time from 18 to 12 min.
This partially treats #688
I have also included dependabot for github-actions dependencies handling. It can also be activated for gradle if you are interested.
Several gradle dependencies are also updated.

@mmorel-35 thank you for your contribution.

@sven-dmlr and @de-jcup please have a look at this pull request.

You're welcome @Jeeppler ,
With the new dependencies coming, you might have to upgrade to gradle 7.
Maybe the https://github.com/gradle/wrapper-validation-action will handle the installation instead of a direct download as I could see. Anyways some evolutions of the code are required for that upgrade, I have seen some warnings during the build.

Hello @mmorel-35
Thank you very much for your PR. I would like to merge it -  but there is one little thing:
My company demands for every contributor to sign a CLA  (see https://github.com/Daimler/sechub/blob/develop/CONTRIBUTING.md#contributions )
To make it a little bit easier :

Download CLA from https://github.com/Daimler/daimler-foss/blob/master/cla/2019-09-11_Daimler_FOSS_CLA_DaimlerTSS.pdf
print it
sign it yourself
scan it or take a picture and email it to<EMAIL_ADDRESS>
After this has been done I will be able to merge your PRs.
Hint: We are in the process to automate this and make more convenient for contributors in the near future.

Hi @de-jcup , you should have it now. I just sent it.

This PR closes #733 and does most of the things mentioned in #688 .


Implement Map wrapper over raw node operations

Problem

Currently all the tree operations are unsafe free functions which operate on the OpaqueNotePtr<V> type.
This is an issue because these is not a very friendly interface and requires using unsafe blocks and fulfilling some of those requirements.
I want a drop in replacement for the BTreeMap and BTreeSet types from the standard library.

Solution Sketch

Copy over the APIs from BTreeMap and BTreeSet and update the types and parameters.

Standard Library BTreeMap API Outline
impl<K, V> BTreeMap<K, V> {
    pub fn new() -> BTreeMap<K, V>;

    pub fn clear(&mut self);

    pub fn get<Q>(&self, key: &Q) -> Option<&V> where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn get_key_value<Q>(&self, k: &Q) -> Option<(&K, &V)> where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn first_key_value(&self) -> Option<(&K, &V)> where
        K: Ord;

    pub fn first_entry(&mut self) -> Option<OccupiedEntry<'_, K, V>> where
        K: Ord;

    pub fn pop_first(&mut self) -> Option<(K, V)> where
        K: Ord;

    pub fn last_key_value(&self) -> Option<(&K, &V)> where
        K: Ord;

    pub fn last_entry(&mut self) -> Option<OccupiedEntry<'_, K, V>> where
        K: Ord;

    pub fn pop_last(&mut self) -> Option<(K, V)> where
        K: Ord;

    pub fn contains_key<Q>(&self, key: &Q) -> bool where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut V> where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn insert(&mut self, key: K, value: V) -> Option<V> where
        K: Ord;

    pub fn try_insert(
        &mut self,
        key: K,
        value: V
    ) -> Result<&mut V, OccupiedError<'_, K, V>> where
        K: Ord;

    pub fn remove<Q>(&mut self, key: &Q) -> Option<V> where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn remove_entry<Q>(&mut self, key: &Q) -> Option<(K, V)> where
        K: Borrow<Q> + Ord,
        Q: Ord + ?Sized;

    pub fn retain<F>(&mut self, f: F) where
        K: Ord,
        F: FnMut(&K, &mut V) -> bool;

    pub fn append(&mut self, other: &mut BTreeMap<K, V>) where
        K: Ord;

    pub fn range<T, R>(&self, range: R) -> Range<'_, K, V> where
        T: Ord + ?Sized,
        K: Borrow<T> + Ord,
        R: RangeBounds<T>;

    pub fn range_mut<T, R>(&mut self, range: R) -> RangeMut<'_, K, V> where
        T: Ord + ?Sized,
        K: Borrow<T> + Ord,
        R: RangeBounds<T>;

    pub fn entry(&mut self, key: K) -> Entry<'_, K, V> where
        K: Ord;

    pub fn split_off<Q>(&mut self, key: &Q) -> BTreeMap<K, V> where
        Q: Ord + ?Sized,
        K: Borrow<Q> + Ord;

    pub fn drain_filter<F>(&mut self, pred: F) -> DrainFilter<'_, K, V, F> where
        K: Ord,
        F: FnMut(&K, &mut V) -> bool;

    pub fn into_keys(self) -> IntoKeys<K, V>;

    pub fn into_values(self) -> IntoValues<K, V>;

    pub fn iter(&self) -> Iter<'_, K, V>;

    pub fn iter_mut(&mut self) -> IterMut<'_, K, V>;

    pub fn keys(&self) -> Keys<'_, K, V>;

    pub fn values(&self) -> Values<'_, K, V>;

    pub fn values_mut(&mut self) -> ValuesMut<'_, K, V>;

    pub fn len(&self) -> usize;

    pub fn is_empty(&self) -> bool;
}

Needs examples in doc comments for all APIs.

Remaining work after 543d273 was merged:

[ ] Add examples to all doc comments
[ ] Add equivalent TreeSet implementation, copying from BTreeSet API outline
[ ] Implement range/range_mut iterators
[ ] Implement drain_filter
[ ] Implement split_off
[ ] Implement append

Created issues for remaining work #24 and #25, closing


Node based editor

An editor similar to https://github.com/nagidev/DialogueNodes would be really handy. I'm not sure if the nodes should be processed into a .gdrama file, or just the same AST used in .gdrama.import files.

Mmm, I like that idea. I have some thoughts
First, in regards to implementation, the AST generated when a .gdrama file is imported can be very simply represented with a graph. As such, the easiest and most intuitive way to implement a node-based editor should be to allow users to directly work with the building blocks that are already being used in that AST. That would mean blocks for BEAT, DIRECTION, CHOICE and END
Furthermore, we would also need to consider how to represent custom calls in a node-based editor, like the branch call present in the DramaReader or the scamper call present in the project's demo - note that calls such as these can be used as a condition in CHOICE calls or as part of the specification of a DIRECTION. The way I see it, they can be written inside the text portion of nodes, meaning the user would still need to use a fair bit of GDrama-specific notation, or they can be made transparent by allowing DIRECTION nodes to contain a list of dialogues and calls, just like they are specified in the AST. I think the second solution makes more sense for this kind of editor but it might make it a bit overloaded with information
Regardless, I don't think this is a feature worth investing a lot of time into right now. The first reason for this is that GDrama is still very new, so a couple of things might still change significantly in the future. The second is that it would mean a bigger hassle for maintainability that I don't think is worth dealing with considering the project is still pretty small. I think it might be cool to revisit this idea if there's more demand for it though :)
Thanks and sorry for the huge text! I'm gonna keep this up in case people wanna give their perspective


Fix broken swagger spec

What
See title
How to review
Check swagger renders in editor, or can use https://editor.swagger.io/
Who can review
Anyone

LGTM !


Add tint and shade functions

http://www.sitepoint.com/dont-use-compass-anymore/
https://gist.github.com/benfrain/7545629

Bourbon provides them so we don’t need to add them.


handleRedirectCallback returning null for authErr?

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

[X]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Important: Please fill in your exact version number above, e.g<EMAIL_ADDRESS>Framework
If you are using a framework, please provide the framework and version (e.g. Angular v8, React v16, etc).
React 16
Description
type of this.userAgentApp.handleRedirectCallback is:
handleRedirectCallback(authCallback: authResponseCallback): void;
where authResponseCallback is:
export declare type authResponseCallback = (authErr: AuthError, response?: AuthResponse) => void;
I have passed in a callback that fits this signature however, on first time load of the site when user logs in, authErr is null and the site crashes because of a TypeError

^errorCode is a property of AuthError type. Let me know if you need code example
Security
Is this issue security related?
No
Regression
Did this behavior work before?
Not sure
Configuration
Please provide your MSAL configuration options.
// Provide configuration values here.
// For Azure B2C issues, please include your policies.

{
      auth: {
        clientId: this.clientId,
        authority: this.authority,
        redirectUri: this.loginRedirectUri,
        postLogoutRedirectUri: this.postLogoutRedirectUri
      },
      cache: {
        cacheLocation: "localStorage",
        storeAuthStateInCookie: true
      },
      system: {
        logger: new Logger(MsalAuthContext.msalLoggerCallback, { level: LogLevel.Verbose, piiLoggingEnabled: false }),
        navigateFrameWait: 0
      }
    }

Reproduction steps
Not 100% reproducible..
Expected behavior
A clear and concise description of what you expected to happen.
I expect the callback to not be passed a null for authErr in the callback authResponseCallback = (authErr: AuthError, response?: AuthResponse) => void;
Browsers
Is this issue browser-specific? If so, please detail which browsers are impacted (e.g. IE 11, Safari).

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/0dbbda42160addfdfb926f0245b702f52009365a/lib/msal-core/src/UserAgentApplication.ts#L297 this might be root cause..

@thoo1 Please check if error is truthy before referencing error.errorCode. Error is returned as null if no error occurred. You can take a look at some of our samples for guidance on how to implement the handleRedirectCallback

@tnorling makes sense, however the type of the callback seems to say that it'll be called with a non-null authErr export declare type authResponseCallback = (authErr: AuthError, response?: AuthResponse) => void;

@thoo1 Gotcha, I understand the confusion. The reason it is set up like this is to ensure that the error object is always returned to the first parameter and the response in the 2nd. If both were optional you would have to inspect the response to determine if its an error or success case. I understand this may not be the most intuitive but I hope that explanation makes sense.

This will also be more clearly defined in the code when we turn on strictNullChecks which we are currently working on

got it, for now I will add the null check, thanks

authErrorHandler missed the null check, so it's throwing the same error.

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/0dbbda42160addfdfb926f0245b702f52009365a/lib/msal-core/src/UserAgentApplication.ts#L313

@kibummy This seems to suggest you are not passing a callback function to handleRedirectCallback please take a look at our samples for guidance on how to implement the redirect flow and open a new issue if you are still having issues. Thanks!

@tnorling Thanks for the fast response! I've read that handleRedirectCallback has become an optional parameter since 1.3.0. Do I still need to provide a stub function to the callback?
I am using
"@azure/msal-angular": "1.0.0"
"msal": "1.3.2"

@kibummy That is correct. It is optional, but if you do choose to implement it you must pass functions to it. The error you provided in your previous comment seems to suggest you called handleRedirectCallback and passed something other than a function to it.

That's the thing. I didn't choose to implement it. I'm not even touching MsalService. I'm using MsalGuard through Angular CanActivate which calls loginInteractively and such. The call stacks are shown in the error that I posted earlier.
I wish I could provide some code snippets but I can't without AAD.

@kibummy Can you open a new ticket and include steps to repro? Thanks!

I experience this issue when I include the popup: false in the config for MsalModule. If I include the popup:true popup is being shown and handles everything ok. But as soon as it's false, it gives the same as the author of this post has posted before.


Add video recording option

It was originally proposed on ProductHunt, I'll be working on it.

We'll it has been a while, and I was rather busy. But I managed to make a recorder for this project. If you want to see a example of video generated with it, look here, a rather popular intro generated by the community (the video is still not perfect, but it'll get better).
I can produce a 720p video locally, but If we want to make this completely automated we will need a server infrastructure that we do not have right now. I'll try to come up with a local DDNSed server on my house, but it is not very powerful, and does not have the most perfect availability, but it should do the work for now. This should be done by the end of the weekend.
We encourage anyone out there have a good server infrastructure (AWS, DigitalOcean, ...) and would be willing to share it to deploy this (but It has to have 1.5GB+ free RAM) to step up. Donations are also encouraged, if we get enough money to support a good enough VPS for some time, we will surely do it.
As for now (untill the end of the weekend), anyone who has an urge to a video intro can contact me (@nihey) or @BrOrlandi and I'll locally generate it for you.

Well, I think it can be considered as fixed.
StarWarsIntroRecorder is handling the video recording on a DDNSed server. If we get a regular source of income from donations, the video quality can be improved (by using a SSD server) and maybe the rendering time can be reduced as well.
Have a great time on the recording queue, gentleman!

@nihey it appears that your link to the StarWarsIntroRecorder repository is dead.  Did it move someplace else?

@joeskeen Unfortunately we had to move it to gitlab and close the source of it, as it started to be used on some other non Open Source projects.
But in any case, the solution it implemented is a bit legacy by now.


added the google login button

fixed the google login button in the login page...

already there

fix it


Fix Deprecated Buttons with dart fix

Problem:
I want to try out a package from pub.dev.
so I clone the repository, and run it:
gh repo clone guiguito/flutter_dollar_gesture_detector
cd flutter_dollar_gesture_detector
flutter run -d macos

It doesn't build because RaisedButton is now called ElevatedButton:

so I run dart fix.
Which, by the way is such a brilliant idea. To provide me with a tool to automatically fix common problems.
...but it doesn't help:

now I have to start up my IDE and manually fix all those Issues 😢
I just wanted to try out the package quickly....

Dart SDK Version: 2.18.6
OS: macOS 13.0.1

Solution
dart fix automatically replaces the buttons according to this official documentation:
https://docs.flutter.dev/release/breaking-changes/buttons#restoring-the-original-button-visuals

wouldn't that be cool? 😄

@Piinks @goderbauer

We investigated the above cases for snackbars and buttons, and found that we could not support the migrations with the dart fix tool.
When these breaking changes were made, the dart fix tool did not exist. Since it has been added, we have been including it in the design process so that we can try to avoid making further changes that dart fix cannot handle.
For snackbars and buttons, migration guides are available on the website:

https://docs.flutter.dev/release/breaking-changes/scaffold-messenger
https://docs.flutter.dev/release/breaking-changes/buttons

Based on the last comment, we decided dart fix support here was not possible. This can be closed.

Thanks for the update, closing issue.


Social Media 𝓠ueens 🚺⏩(((+(ﾟ75O55I5038)+)))⏪<EMAIL_ADDRESS>Demand Call Girls In Dehradun By Dehradun Escorts

Experience attractive personalities of our Escorts in Dehradun with the lap of mountains.
Our gorgeous horny escorts in Dehradun have wonderful personalities. Contact Tanya ❣ 75O55I5038 They are well- mannered and skilfull handle social settings. If you are planning an event with these stunning individuals, you won’t have to second-guess yourself. These cheeky babies will dress sexily and make sure your height grows merely by being near. It’s usually advisable to get a call woman to accompany you. In addition, these ladies make sure to act like your girlfriend, which will make everyone jealous of you.
Therefore, if you plan to attend a party, you should make plans to be accompanied by one of our wicked females. We’re guessing you’ll have a blast hanging out with these gals.

Don’t assume that you can just use our reliable Dehradun escort services whenever you’re in the mood for someone to satisfy your needs. Are you hosting a dinner party this evening without a date? Or do you need to go for work next month and would prefer not to travel alone? Come to us, that is all. Our call ladies are educated and from a well-respected social level. No matter where you go, they will provide you elegant and delightful company.
A hotty naughty call girl from Dehradun might be a better short-term girlfriend than your long-term companion. These untamed beauties are fantastic at making males smile. They are so experienced that you will never forget them. Once women get into the habit of pleasing males, they only give up when you tell them to. They bring you delights of all types, and we guarantee that you will use them once again. So stop worrying about other things in life and hire wicked females from our agency.
We are available to help you at all times. Our Dehradun horny babes are aware that men go through a lot in life and that they ought to be pampered. Because of this, our call girls make sure that their clients are getting the full focus. If you are going through a phase where you aren’t getting affection, be sure to hire from us.
BOOKING Call girl escort in Dehradun ,TODAY !!
You can hire our Dehradun escort service as a traveling companion and she will make every moment of your trip more enjoyable and memorable.  Contact Tanya 75O55I5038 just for having your Russian Escorts Dehradun.
Dehradun is there to understand the necessities because of its inception. In the international of beauties, call girls in Dehradun will offer you the elite services where you may haven’t any issue with their services. There are cases where after shredding heavy money, customers have displeasing experiences.
Also, escorts bundling up with air-conditioned rooms is like the cherry on top. Our agency provides such magnificent facilities to a customer who loves to travel to Dehradun. .We feel that it is appropriate to inform you about our Dehradun call girl agency. For this reason, we will first provide you with a thorough overview of our call girl service company. We will then provide you with details about our call girls in Dehradun.
We understand that you are probably wondering why we haven’t told you about call girls sooner. Meeting Dehradun  Call girls and other elite women is possible in a couple of Hotels in Dehradun . You can meet Call Girls in Dehradun  you dream of, as well as the VIP Dehradun  escorts you’ve been looking for. This article is about Dehradun  Call Girls.

Experience attractive personalities of our Escorts in Dehradun with the lap of mountains.
Our gorgeous horny escorts in Dehradun have wonderful personalities. Contact Tanya ❣ 75O55I5038 They are well- mannered and skilfull handle social settings. If you are planning an event with these stunning individuals, you won’t have to second-guess yourself. These cheeky babies will dress sexily and make sure your height grows merely by being near. It’s usually advisable to get a call woman to accompany you. In addition, these ladies make sure to act like your girlfriend, which will make everyone jealous of you.
Therefore, if you plan to attend a party, you should make plans to be accompanied by one of our wicked females. We’re guessing you’ll have a blast hanging out with these gals.

Don’t assume that you can just use our reliable Dehradun escort services whenever you’re in the mood for someone to satisfy your needs. Are you hosting a dinner party this evening without a date? Or do you need to go for work next month and would prefer not to travel alone? Come to us, that is all. Our call ladies are educated and from a well-respected social level. No matter where you go, they will provide you elegant and delightful company.
A hoty naughty call girl from Dehradun might be a better short-term girlfriend than your long-term companion. These untamed beauties are fantastic at making males smile. They are so experienced that you will never forget them. Once women get into the habit of pleasing males, they only give up when you tell them to. They bring you delights of all types, and we guarantee that you will use them once again. So stop worrying about other things in life and hire wicked females from our agency.
We are available to help you at all times. Our Dehradun horny babes are aware that men go through a lot in life and that they ought to be pampered. Because of this, our call girls make sure that their clients are getting the full focus. If you are going through a phase where you aren’t getting affection, be sure to hire from us.
BOOKING Call girl escort in Dehradun ,TODAY !!
You can hire our Dehradun escort service as a traveling companion and she will make every moment of your trip more enjoyable and memorable.  Contact Tanya 75O55I5038 just for having your Russian Escorts Dehradun.
Dehradun is there to understand the necessities because of its inception. In the international of beauties, call girls in Dehradun will offer you the elite services where you may haven’t any issue with their services. There are cases where after shredding heavy money, customers have displeasing experiences.
Also, escorts bundling up with air-conditioned rooms is like the cherry on top. Our agency provides such magnificent facilities to a customer who loves to travel to Dehradun. .We feel that it is appropriate to inform you about our Dehradun call girl agency. For this reason, we will first provide you with a thorough overview of our call girl service company. We will then provide you with details about our call girls in Dehradun.
We understand that you are probably wondering why we haven’t told you about call girls sooner. Meeting Dehradun  Call girls and other elite women is possible in a couple of Hotels in Dehradun . You can meet Call Girls in Dehradun  you dream of, as well as the VIP Dehradun  escorts you’ve been looking for. This article is about Dehradun  Call Girls.


Make SPIRV-Tools optional?

Small request related to  #607 for making life easier to integrating into other build systems.
SPIRV-Tools is an extremely complicated project to build due to code-gen scripts, etc. It appears that MoltenVK only uses it for the value SpvMagicNumber (which SPIRV-Cross also exposes) and the functionmvk::logSPIRV (which seems like it could be optional). So, a optional preprocessor macro to enable/disable SPIRV-Tools support would be much appreciated.

This is implemented in PR #619, which includes a MVK_EXCLUDE_SPIRV_TOOLS build macro that will conditionally compile MoltenVK without reference to SPIRV-Tools code.
These changes are intended to provide the support for custom external build environments requested here. The MoltenVK build environment itself remains unchanged, and will continue to retrieve, build, and link the SPIRV-Tools repo and libraries.


Provide a setting to turn off "content on disk is newer" warnings when saving, overwrite content on disk

Every time I save a file in VS Code, I get the "Content on disk is newer..." warning, and it forces me to open up a diff view to resolve the conflict before the changes are actually saved.
I don't really care about the files on disk being newer than the content I want to save. I would really like a setting to disable this warning because it's immensely distracting and makes using this editor profoundly unpleasant.

VSCode Version: 1.22.2
OS Version: Ubuntu LTS

Steps to Reproduce:

Use VS Code
Try to save a file (helps when there's some auto formatter in play)
Observe warning that VS Code did not save the file because content on disk was newer
Clicking compare displays diff
Warning says use the editor toolbar to fix problems, but I have no idea what that means.
5.1. Now that I understand what it means, I still don't want to even have to SEE this diff in order to save the file. Please just save it when I ask.
CTRL+S still doesn't save the file even though I just want it to save.
Close the diff, VS Code nukes work because it didn't save.

Does this issue occur when all extensions are disabled?: Yes

@CameronAckermanSEL this error should pop up rarely and not for each file. Would like to understand how you get into this state all the time. Is there some external tool running on the file after you touch it? Does it reproduce if you run without extensions (run code --disable-extensions from the command line)?

@bpasero  after staring at this all day, I think what's happening is

I save the file when it has a formatting error,
VS Saves the file
VS for some reason corrects the formatting error and tries to save
VS cries.

adding @ramya-rao-a who maybe can explain how the Go formatter comes into play. It should run as a save participant and in that case would not cause any issues, but maybe it runs differently by the extension whenever a file is saved?


Error using booleanOperation

Dear Marco,
Hope this message finds you well!
I am currently trying to use the booleanOperation function to add a series of spheres and create a unique mesh from which I can get the volume. I tried the example boolean.py and it works, but when I try to add a  series of spheres the next error appears, and the kernel needs to be restarted.

The function I am trying to create goes like this:
` def getBalloonedHeart(dictLayer):
pts_cl = np.asarray(dictLayer['Points'])
sphData_cl = np.asarray(dictLayer['PointData']['MaximumInscribedSphereRadius'])

sph_all = []
for n, pt_pos, radius in zip(count(), pts_cl, sphData_cl):
    sph2add = Sphere(pos=pt_pos, r=radius, c='red')
    sph_all.append(sph2add)

sph_whole = sph_all[0]
for sphere in sph_all:
    sph_whole = booleanOperation(sphere, "plus", sph_whole.clone())

sph_whole = sph_whole.color('coral').legend('Filled')

return sph_all, sph_whole`

where pts_cl is an array of pos (x,y,z) coordinates, and sphData_cl is an array of the same length with the radii of the spheres to create. The first for of the funcion runs smoothly, and creates a list of all the spheres. The problem arises when trying to create the volume of added spheres.
Thanks in advance and let me know if you have any questions.
best wishes,
Juliana

Hi Juliana,
could it be that at some step any the two spheres are not intersecting?
the message seems to say that a tree-search object cannot be created.
What are you trying to achieve? maybe there are better ways than the boolean union (?)
cheers
M.

It's a pity that this discussion didn't continue. I have a similar question:
I want to create a grid of small mesh box/cubes, then intersect them as a whole with a huge cube beneath this grid plane.
Is there a way to generate a union of mesh objects from a list of mesh objects?

Yes. You can use mesh.boolean() this way:
from vedo import *

c1 = Cube().triangulate().clean().flat()
c2 = Cube().triangulate().clean().flat()
c2.pos(0.2,0.1,0.1).rotateX(10)

b = c1.boolean("+", c2).flat().addScalarBar()

show([(c1, c2.alpha(0.5)), b], N=2, axes=1)

Note that if the 2 object do not touch then the operation fails. In this case you can use instead merge() to obtain the sum of the two.

@marcomusy  Thanks for the reply and the nice example!
But this didn't really solve my issue. I need to calculate a boolean operations on more than 2 not-touching-objects.
Is there a way to do it?

If the boolean operation is just summing non-touching meshes you can simply use merge(mesh1,mesh2,mesh3,..).


[material-ui][Divider] dashed borderStyle does not work for Divider with text

Steps to reproduce
Link to live example: demo
Steps:

Create a StyledDivider with borderStyle: 'dashed'
Render a StyledDivider with no child
Render a StyledDivider with child text element
The second divider is not dashed.

Current behavior
When two of the same StyledDivider components are rendered, the one with child text is not dashed
Expected behavior
Both StyledDividers should be dashed
Context
A dashed Divider with text
Your environment

npx @mui/envinfo
  in my project, I'm viewing a pdf in Google Chrome
  I'm using the CodeSandbox in Chrome as well

  System:
    OS: macOS 14.5
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 125.0.6422.142
    Edge: Not Found
    Safari: 17.5
  npmPackages:
    @emotion/react: 11.11.4 => 11.11.4
    @emotion/styled: 11.11.5 => 11.11.5
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.15.19
    @mui/icons-material: 5.15.19 => 5.15.19
    @mui/material: 5.15.19 => 5.15.19
    @mui/private-theming:  5.15.14
    @mui/styled-engine:  5.15.14
    @mui/system:  5.15.15
    @mui/types:  7.2.14
    @mui/utils:  5.15.14
    @types/react: 17.0.75 => 17.0.75
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
    typescript: 4.9.5 => 4.9.5

Search keywords: Divider, borderStyle, dashed

using borderTopStyle each pseudo elements(::before, ::after).
like this, demo.
const StyledDivider = styled(Divider)(({}) => ({
  '&::before': {
    width: '3.75rem',
    flex: '0 0 3.75rem',
    borderTopStyle: 'dashed',
  },
  '&::after': {
    borderTopStyle: 'dashed',
  },
}));

this issue occurs file Divider.js.
const DividerRoot = styled('div', {
...
    {
      props: ({ ownerState }) => {
        console.log('ownerState', ownerState);
        return ;
      },
      style: {
        '&::before, &::after': {
          width: '100%',
          borderTop: `thin solid ${(theme.vars || theme).palette.divider}`, // this line!!
        },
      },
    },
...
}));

Hey @caseylum, thanks for the report. And thanks @appleSimple, for providing a workaround 🎉.
Ideally, borderStyle should work, so I'm accepting this as an enhancement. There's a PR up already so we can continue the work there 🙌🏼

I would be happy to take it up. The idea is to inherit the border-style in before and after pseudo elements from DividerRoot in case DividerRoot has children.


azds up hangs on Waiting for container image build...

Describe the bug
After upgrading the cluster to version 1.17.9 and enabling RBAC on the cluster azure devspaces stopped working, when doing the azds up command the console just stays on "waiting for container image build...".
To Reproduce
trying to deploy any workload with azds, this is the current setup:
Azure Dev Spaces CLI
1.0.20200827.4
API v3.2

Kubernetes version: 1.17.9
RBAC: enabled
AKS-managed Azure Active Directory: enabled
Resource Location: East US

Expected behavior
A clear and concise description of what you expected to happen.
Logs
azds-sdk-2020-09-21-13-42-09-28560.txt
azds-sdk-2020-09-21-13-44-09-19728.txt
azds-sdk-2020-09-22-01-49-21-31892.txt
kubectl describe pod.txt
Environment Details
Client used (CLI/VS Code/Visual Studio):

Client's version:
Operating System:
Additional context
Based on the pod information when doing kubectl describe pod I see the following issues(this log is also attached):
Normal   Scheduled            default-scheduler                         Successfully assigned devspace/backend-service-5d44cc9cb-nv528 to aks-uatnd01-28152486-vmss000033
Normal   BackOff    19s (x2 over 20s)  kubelet, aks-uatnd01-28152486-vmss000033  Back-off pulling image "mainacr.azurecr.io/dev/backend-service:devspaces-x0174b3840b749c9e"
Warning  Failed     19s (x2 over 20s)  kubelet, aks-uatnd01-28152486-vmss000033  Error: ImagePullBackOff
Normal   Pulling    9s (x2 over 21s)   kubelet, aks-uatnd01-28152486-vmss000033  Pulling image "mainacr.azurecr.io/dev/backend-service:devspaces-x0174b3840b749c9e"
Warning  Failed     8s (x2 over 20s)   kubelet, aks-uatnd01-28152486-vmss000033  Failed to pull image "mainacr.azurecr.io/dev/backend-service:devspaces-x0174b3840b749c9e": [rpc error: code = Unknown desc = Error response from daemon: manifest for mainacr.azurecr.io/dev/backend-service:devspaces-x0174b3840b749c9e not found: manifest unknown: manifest tagged by "devspaces-x0174b3840b749c9e" is not found, rpc error: code = Unknown desc = Error response from daemon: Get https://mainacr.azurecr.io/v2/dev/backend-service/manifests/devspaces-x0174b3840b749c9e: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.]
Warning  Failed     8s (x2 over 20s)   kubelet, aks-uatnd01-28152486-vmss000033  Error: ErrImagePull

Hi @BirkoffHimura , it looks like your cluster doesn't have permissions to pull images from the mainacr.azurecr.io ACR. Dev Spaces builds the project in the cluster rather than on your development workstation, so you'll need to configure the necessary permissions. See this article for more info: https://docs.microsoft.com/azure/container-registry/container-registry-auth-kubernetes
Or for a simpler experience where you don't need to build code in the cluster, check out our new Bridge to Kubernetes tools (https://devblogs.microsoft.com/visualstudio/bridge-to-kubernetes-ga) as an alternative to Dev Spaces

@philon-msft I already tried with image pull secret, the acr is also attached to the cluster so I can deploy images from that acr to it. we had this working fine until we updated the version, today we just updated again AKS to version 1.18.8 and still the same.
Also about the new Bridge to Kubernetes we haven't had any luck with that either, if we can get any of the options working that'd be perfect for us.

@BirkoffHimura , could you open a new issue on https://github.com/microsoft/mindaro/issues for the problem you're seeing with Bridge to Kubernetes? That route probably has a better chance of success than Dev Spaces.

Hi @BirkoffHimura  Thanks for reaching out to us! Bridge to Kubernetes is definitely a more light-weight solution and I would highly recommend giving that a try! We would love to help you out in case you are facing any issues with it. Please open a new issue at the link @philon-msft suggested, and we can take a look. Thanks!

Thank you very much, I will do so


🐛 BUG: Pages Functions does not support compatibility flags

What version of Wrangler are you using?
0.0.17
What operating system are you using?
Linux
Describe the Bug
I'm trying to use compatibility_flags in my Pages Function, and used some features marked in compatibility_flags.
According to document of Miniflare, I can add compatibility_flags option in wrangler.toml, but it does not work. Although I specify --config wrangler.toml in command line, it does not work either.
There is my wrangler.toml file:
compatibility_date = "2022-02-19"
compatibility_flags = [
  "formdata_parser_supports_files",
  "durable_object_fetch_allows_relative_url"
]

Did I do something wrong? Is there a way to solve this problem?

Hey @mnixry. Pages functions doesn't support this at the moment. Will come eventually. My apologies for the confusion!


Feature Request: ability to preserve label from scraped metrics

What did you do?
Scraped an endpoint with metrics containing a label named service. e.g. request_count{service="A"}
What did you ~expect~ want to see?
The service label have the value set by the scraped application.
What did you see instead? Under which circumstances?
The service label has the value of the kubernetes service. The label value of the metric before it was scraped is lost on ingestion.
Proposed Feature
The default configuration for service monitors, adds relabel configs that set labels for node, pod, namespace, and service based on the kubernetes metadata. This is great and desirable behavior, until a service uses one of those labels and the operator will overwrite them. For the cases when a pod has metrics containing one of those labels, we need a way to allow persisting those metrics long enough so that another relabel config can save them to a different label.
The prometheus recommended way for this is to use a label with the prefix of __tmp (e.g. __tmp_pod, __tmp_service, etc). This could be implemented either as:

A hardcoded list of labels that the operator will apply to all service monitors for each label before they could get overwritten.for _, label := range []string{"pod", "node", "service", "namespace"} {
    relabelings = append(relabelings, yaml.MapSlice{
        {Key: "source_labels", Value: []string{label} },
        {Key: "target_label",  Value: "__tmp_"+label },
        {Key: "regex",         Value: "(.+)" }, // only capture non-empty sources
  }
}

The ability for users to specify that a relabel config should come before the operator default configs. Users would then add a similar rewrite rule when appropriate using a config that looks like:kind: ServiceMonitor
spec:
  relabelings:
    - sourceLabels: ["service"]
      targetLabel: "__tmp_service"
      prepend: true
    - sourceLabels: ["__tmp_service"]
      targetLabel: "original_service"

I'll be submitting a PR for the 2nd option

After further investigation, this is unnecessary.
Prometheus already handles this and prefixes the metric name with __exported when a collision is detected.


[SR-4145] Make Syntax DataType, Kind, and constructors public

Previous ID
SR-4145

Radar
None

Original Reporter
@bitjammer

Type
Bug

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug, Syntax

Assignee
@bitjammer

Priority
Medium

md5: d7ba8ba13d43593fba50030ce4768b69

Issue Description:
Probably too extreme to hide these and it can interfere with template instantiation for SyntaxCollection types.

libSyntax was removed in #62145 and succeeded by swift-syntax.