how to add class,interface and enum in leadbolt codes

how to add class,interface and enum in leadbolt codes

Hi! Can you elaborate? Not sure I understand the question :)

hello,
i add some codes in my android studio so its shows error class,interface and enum so how to solve this problem.

hello,
i add some codes in my android studio so its shows error class,interface
and enum so how to solve this problem.
On Sat, Mar 4, 2017 at 10:26 PM, Daniel St. Jules<EMAIL_ADDRESS>wrote:

Hi! Can you elaborate? Not sure I understand the question :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielstjules/buddy.js/issues/22#issuecomment-284164467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY4bS5_qxQTMvIcH3R_gRYfcHvA-QICPks5riZezgaJpZM4MTGGx
.

Sorry, not sure I can help! I don't have any experience with android studio.

if you know about codings so can you tell me where add class,interface and
enum in some codes.
On Mon, Mar 6, 2017 at 3:29 AM, Daniel St. Jules<EMAIL_ADDRESS>wrote:

Closed #22 https://github.com/danielstjules/buddy.js/issues/22.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielstjules/buddy.js/issues/22#event-986937289, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AY4bSy9VlPCqfe2ZoBXqBUms6b27AX3Sks5rizBMgaJpZM4MTGGx
.

if you know about codings so can you tell me where add class,interface and
enum in some codes.
On Mon, Mar 6, 2017 at 9:20 AM, Palash Mandokhot<EMAIL_ADDRESS>wrote:

if you know about codings so can you tell me where add class,interface and
enum in some codes.
On Mon, Mar 6, 2017 at 3:29 AM, Daniel St. Jules<EMAIL_ADDRESS>
wrote:

Closed #22 https://github.com/danielstjules/buddy.js/issues/22.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielstjules/buddy.js/issues/22#event-986937289,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY4bSy9VlPCqfe2ZoBXqBUms6b27AX3Sks5rizBMgaJpZM4MTGGx
.

Sorry, if you're looking for help learning Java (this is a JavaScript project) I'd suggest posting on StackOverflow or some other forum.


input0 appears to be broken

input0 appears to be broken for myself and @CarlFK (two seperate Atlys boards).  Nothing plugged into it is ever seen by the HDMI2USB device, and the device doesn't see an external display.
HDMI2USB>status
input0:  0x0
input1:  1280x720
output0: 1280x720@50Hz from input1
output1: 1280x720@50Hz from input0

This is with a multitude of different laptops, cameras, cables, etc; all works perfectly on input1.  Should be easily reproducible with current firmware.
Pins are all set correctly as per instructions in 'video_matrix help'
I tried stepping back to earlier firmware (about a month ago) and it still didn't work.

@xfxf Can you include a link to the firmware versions you tested?

Is the micro-hdmi port connected to a monitor? (should be output1 but I'm not sure...). If so, can you try input0 without the micro-hdmi port connected to a monitor?

Nothing hooked to micro-hdmi.  and yes it is output1.
Thinking about this, I am not sure input0 ever worked.
I have always used input1 because it is on the same side of the Atlys as
the full sized hdmi output, so the 2 hdmi cables were next to each other.
On Wed, Oct 14, 2015 at 8:50 AM, enjoy-digital<EMAIL_ADDRESS>wrote:

Is the micro-hdmi port connected to a monitor? (should be output1 but I'm
not sure...). If so, can you try input0 without the micro-hdmi port
connected to a monitor?
—
Reply to this email directly or view it on GitHub
https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/114#issuecomment-148055426
.

--
Carl K

@xfxf @CarlFK @enjoy-digital
I saw the discussion that Carl had gotten input1 working? http://logs.timvideos.us/%23timvideos/%23timvideos.2015-10-15.log.html#t2015-10-15T21:20:54
Sounds like there is something wrong with the jumper instructions?

Assigning to @CarlFK for feedback.

@xfxf can we close this?

Sounds like there is something wrong with the jumper instructions?

Closing this, xfxf's capture:
input0:  1280x720
input1:  1280x720
output0: 1280x720@50Hz from input0
output1: 1280x720@50Hz from input0

so yes it's working.

@enjoy-digital - Yeah but we didn't change any code right? Why is it working now and not before? I think it was because their jumpers were not set correctly? I'd like @xfxf or @CarlFK to help fix the documentation here.

@CarlFK already updated the documentation with the capture I did:
https://github.com/timvideos/HDMI2USB/wiki/Cabling
I just added some indications in the platform file: https://github.com/timvideos/HDMI2USB-misoc-firmware/commit/36b6341d97c6434bf36ecca88fcb6cd2fc3f646b
Note: on Atlys, when using Micro-D connector output (output1) and input0, since EDID lines are shared, user should first disconnect output1, let EDID transaction happen for input0 and can then reconnect output1. Without doing that, output1 will be working, but input0 will not. This is a limitation of the Atlys board.


Filter title

Hello, thanks for useful filter!
Please, avoid to change default filter title (you've set "Filter by attribute") or add a function to change filter title.

@PureLines thanks.
what do you expect for the default filter title?
Novas default strategy is the class name, as follows:

We used the attribute to be able to use multiple filters for the same resource.
You have two options to change the title:

Translation helper

  public function name()
    {
        return __('Filter by ' . $this->getFieldAttribute());
    }

Use the translation.

Extend the class and overwrite the function name()

We will think about the right approach to overwrite the title

I expect the attribute name without the prefix 'Filter by '.
Original Nova's name() function allows to set the title right in a resource.

Sure:
    /**
     * Get the filters available for the resource.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function filters(Request $request)
    {
       $myFilter = new Filters\SearchableFilter;
       $myFilter->name = 'My filter title';
       $myFilter->fieldAttribute('owner')->filterBy('owner_id');
       return [
            $myFilter,
       ];
    }

Yes, this is not beautiful, but it's possible if you don't override name() function.
I think it will be better to add something like this to your filter class:
    /**
     * The displayable name of the filter.
     *
     * @var string
     */
    public $name;

    /**
     * Get the displayable name of the filter.
     *
     * @return string
     */
    public function name()
    {
        return $this->name ?: __('Filter by ' . $this->getFieldAttribute());
    }

    /**
     * Set the displayable name of the filter.
     *
     * @param  string  $value
     * @return \App\Nova\Filters\SearchableFilter
     */
    public function setName($value)
    {
        $this->name = $value;
        return $this;
    }

I agree with @PureLines. Even better would be to drop the "Filter By", it's redundant, and add PureLines' setName function. Aside from this annoyance, your package works great! Thanks.


Always use custom port when it is set

Current implementation does not allow to override port when the webparts or extentions components are used. This PR allows always use port provided by user in fast-serve/config.json file. If the port is not set in config file the next default port numbers are used:

Library component - 4320
Not Library Compornent (WebParts or Extensions) - 4321

Thank you for the addition! The fix is available in 1.17.4 version and sorry for some delay in merging.


Add extra validation rule for component pH

The difference between minimum pH and maximum pH cannot be greater than 1.
Part of https://regulatorydelivery.atlassian.net/browse/COSBETA-600

@baphled agreed – I only discovered that towards the end of this work. Doh. One for the future.


Kubernetes Cheatsheet Page Not Found!!

In Webview Mode Showing Kubernetes Cheatsheet Page Not Found!!

Try using this link It worked for me
here


Doesn't work with Ember.js

Although this may not be a concern for you library, I was hoping for some insight into the problem. Basically, Ember.js takes control of it's view objects in a way that prevents bootstrap-select from working.
See my question on stackoverflow: http://stackoverflow.com/questions/16566700/integrating-bootstrap-select-to-work-with-ember
And JSFiddle: http://jsfiddle.net/TheWorkerAnt/8d2Me/1/
Cheers

Guys, have you look at ember-cli-select-picker? It might be what you are looking for.

I think integration with ember should not be a direct dependency of bootstrap-select, rather a separate project.

I never familiarized myself with Ember, but it seems like, at least with version 1.13.13, bootstrap-select is working. https://plnkr.co/edit/YSOoGrRcffaLqSFy


Review app deployment fails in CI systematically

I first hit this in #46.
The specific failure in the CI is: https://app.circleci.com/pipelines/github/dotboris/hylda/21/workflows/ac613bf5-a49f-451a-a949-ceb15f947aae/jobs/1073/steps
I think that this has to do with netlify moving from .com to .app

Question: Does it work on master?

I can't run pipelines by hand on circle ci so we don't get to find out for sure :angry: . From what I get from the CI definition, I think that we're only dealing with PR pipelines
The crash happens when we try to update the status of a PR with the review app URL. The only time we do this is during PRs.


add Chartist dependency to UMD loader

https://github.com/gionkunz/chartist-plugin-accessibility/issues/1

Great! Thanks for your contribution!


An error occurs on Node 18.12.1.

The following error occurs on Node 18.12.1.
Error: This version of µWS is not compatible with your Node.js build:
Error: Cannot find module './uws_darwin_arm64_108.node'
Require stack:

/Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/node_modules/uWebSockets.js/uws.js
<EMAIL_ADDRESS><EMAIL_ADDRESS>/Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/dist/Server.js
at /Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/node_modules/uWebSockets.js/uws.js:22:9
at Object. (/Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/node_modules/uWebSockets.js/uws.js:24:3)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/node_modules/@colyseus/uwebsockets-transport/build/uWebSocketsTransport.js:6:19)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/Volumes/Workspace/Developments/workspace_for_game/game-server-with-node.js/node_modules/@colyseus/uwebsockets-transport/build/index.js:6:28)

https://github.com/uNetworking/uWebSockets.js/blob/binaries/uws_darwin_arm64_108.node
You're not really running this software, you're running some other version as part of some other NPM module.


Update windows-autopatch-update-management.md

Added some explicit detail around what "manually" adding devices to the Test ring means. I.E follow the moving devices between rings process and not manually editing the AD group.

Why

Closes #[Issue Number]

Changes

#sign-off


Copy one graph to another

I want to copy a loaded graph to another one. Here, is what I'm trying to do
import tensorflow as tf
import numpy as np
import cv2

input_names = ['image_tensor']
pb_fname1 = "/Users/vedanshu/frozen_graph/ssd_tomato_l1_frozen_graph.pb"

def get_frozen_graph(graph_file):
    """Read Frozen Graph file from disk."""
    with tf.gfile.FastGFile(graph_file, "rb") as f:
        graph_def = tf.GraphDef()
        graph_def.ParseFromString(f.read())
    return graph_def

trt_graph1 = get_frozen_graph(pb_fname1)

detection_graph1 = tf.Graph()
with detection_graph1.as_default():
    tf.import_graph_def(trt_graph1, name='')
    tf_sess1 = tf.Session(graph=detection_graph1)

tf_input1 = tf_sess1.graph.get_tensor_by_name(input_names[0] + ':0')
tf_scores1 = tf_sess1.graph.get_tensor_by_name('detection_scores:0')
tf_boxes1 = tf_sess1.graph.get_tensor_by_name('detection_boxes:0')
tf_classes1 = tf_sess1.graph.get_tensor_by_name('detection_classes:0')
tf_num_detections1 = tf_sess1.graph.get_tensor_by_name('num_detections:0')

Now I want to copy tf_input1, tf_scores1, tf_boxes1, tf_num_detections1 to another graph. Currently I'm trying to use copy_op_to_graph (depricated) as follows:
import sys

detection_graph2 = tf.Graph()

namespace = "Ved"
copied_variables = []
sys.setrecursionlimit(10000000)

tf_num_detections1_copy = tf.contrib.copy_graph.copy_op_to_graph(tf_num_detections1, detection_graph2,copied_variables, namespace)

But the python kernel is getting killed without any error.
System informations:
OS: Mac OS 10.13.6
Tf veriosn: 1.13.1
RAM: 8GB

@anshkumar ,
Can you please share ssd_tomato_l1_frozen_graph.pb so that we can try replicating the issue ?Thanks!

@oanush Here is the link to the model.

Issue replicating for the given code for TF version-1.13 also for 1.15. Kindly find the gist of the colab.Thanks!

This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks


NPM version update

@JWally could you update the version that is on NPM please ? Maybe you want to wait for the PR from @Toffi-123, but the patches from the last few PRs are critical enough to bump it up.

Sorry about that, can do.
Will try and move it up by eod saturday.
Thanks,
-JWW
On Tue, May 9, 2017 at 10:03 PM, lvenerosy<EMAIL_ADDRESS>wrote:

@JWally https://github.com/JWally could you update the version that is
on NPM please ? Maybe you want to wait for the PR from @Toffi-123
https://github.com/Toffi-123, but the patches from the last few PRs are
critical enough to bump it up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JWally/jsLPSolver/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACXi9_H-JaLzJmLErJp0hqQwGYSWH9wGks5r4Sj4gaJpZM4NWH-g
.

Should be done.
Let me know if you have any issues.
Again, sorry for the delay.
On Fri, May 12, 2017 at 11:13 AM Justin Wolcott<EMAIL_ADDRESS>wrote:

Sorry about that, can do.
Will try and move it up by eod saturday.
Thanks,
-JWW
On Tue, May 9, 2017 at 10:03 PM, lvenerosy<EMAIL_ADDRESS>wrote:

@JWally https://github.com/JWally could you update the version that is
on NPM please ? Maybe you want to wait for the PR from @Toffi-123
https://github.com/Toffi-123, but the patches from the last few PRs
are critical enough to bump it up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JWally/jsLPSolver/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACXi9_H-JaLzJmLErJp0hqQwGYSWH9wGks5r4Sj4gaJpZM4NWH-g
.

Thank you it's working !


Rendering a card on a background thread triggers the Main Thread Checker

Platform

iOS

Author or host
host
Version of SDK
1.1.0
Issue
I'm trying to render cards in UITableViewCells. It seems that the suggested way to do this, based on #1420 , is to render the card on a background thread and then use the delegate methods to notify the table view to update. However, the call to ACRRenderer +render:card:config:width initializes an ACRView, a subclass of UIView, which causes the Main Thread Checker to report:

I believe this causes a tricky situation where you can't call -render on the main thread because it will eventually make a call to -waitForAsyncTasksToFinish and block the main thread, and you can't call it on a background thread because it will initialize a UIView and trigger the Main Thread Checker.

Hello,
To render adaptive card to UITableViewCell, you don't need to do anything special. Once a view is returned after calling render:card:config:width to the SDK, and you can just add it to the cell as subview.
Please make sure to set the autolayout constraints properly, and  follow this guide.
Thank you

Thanks for the reply @nesalang . The rendering of the card actually works very well, I’m more concerned with the Main Thread Checker warning. I was looking for a way that I could initialize an ACRView on the main thread and then render it on a background thread to avoid the warning, but the default ACRView initializer calls render and there’s no other way to initialize it and give it a host config and card. I was curious if there’s a way to avoid this warning.

Hello,
Rendering AdaptiveCards on background threads would not work because the sdk builds UIView trees using UIKit.

@nesalang If I render the cards on the main thread the warning goes away, but the main thread will get hung up since ACRRenderer's +renderWithAdaptiveCards method calls ACRView's -waitForAsyncTasksToFinish which seems to make the main thread wait. I've been time profiling this and it seems like this will hang up the main thread for things like loading images.

please, try using branch jwoo/ios-resource-resolver-callback
and search ADCResolver in the visualizer project for the usage.
it uses KVO for image loading.

Will do, thanks for your responses 👍

sure

Resolved by #2197 , thanks @nesalang !


fix force update variable not work as expected

What problem does this PR solve?
Related PR: #41607
Problem Summary:
should not reset variable version when replay edit log
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[x] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

set global enable_fallback_to_original_planner=true;

and then restart FE, this variable do not be set to false again.

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


ternary conditional operator should support type guards, in a similar way to if statements

(also mentioned in https://github.com/etsy/phan/issues/204)
UnionTypeVisitor->visitConditional is the code implementing the type inference
E.g.
/** @param array $x */
function foo($x) {
    $y = is_string($x) ? urldecode($x) : "default";
}

should not emit an error, but emits
src/ternary.php:4 PhanTypeMismatchArgumentInternal Argument 1 (str) is array but \urldecode() takes string

Shouldn't it emit an error?
The docblock param type here is wrong, and I feel there should be some sort of error to alert the developer to that fact.

That was just an example to reproduce the bug. It's possible for phan to assume an expression will only be some type(e.g. array), when it is occasionally a different type (e.g. function with no @param)

ah ok sorry


Implement transaction verification

Contains tests for transaction verification

When @Geod24 mentioned that we should have code and tests together, what he meant was that they should be made at the same time and be submitted in the same pull request.
But the verification code itself should live in another module, not in a unittest one. Because the verification code will be used both in tests and within the node itself.
Does that make sense?

When @Geod24 mentioned that we should have code and tests together, what he meant was that they should be made at the same time and be submitted in the same pull request.
But the verification code itself should live in another module, not in a unittest one. Because the verification code will be used both in tests and within the node itself.
Does that make sense?

Yeah, I got it.

Added class TransactionManager.
This class has the ability to create and store transactions.
It can also verify transactions.
When @Geod24  improves the hash function, I will use that hash function.
It will be connected to the recipient of the transaction that @AndrejMitrovic  is working on. So, I will add the transaction so that it can be verified at the receiving end of the transaction.

It will be connected to the recipient of the transaction that @AndrejMitrovic is working on. So, I will add the transaction so that it can be verified at the receiving end of the transaction.

I think this part can be added in a separate pull request later, so your work is not blocked on my work.
So the only blocker right now for both of us is hashing.

It will be connected to the recipient of the transaction that @AndrejMitrovic is working on. So, I will add the transaction so that it can be verified at the receiving end of the transaction.

I think this part can be added in a separate pull request later, so your work is not blocked on my work.
So the only blocker right now for both of us is hashing.
We need to find 'Output' in 'Block' using 'Input' ('previous' and 'index').
This should also be done later after the two PR's are Merge. What do you think?

First round of review done

@Geod24

Great work !
One point though, if a function does not use any member of a class, and its usage is not specific to a class, it should not be part of a class. Other parts of the program might need to get the sum of the input. They should not have to have an instance of a TransactionManager to do so.
For example, imagine I want to print the sum of all transactions in a debug logging statement in the network code.
Using https://github.com/bpfkorea/agora/blob/740d54a677a209dabcb8fbd1893c8f2950089b37/source/agora/node/Network.d#L300-L306 as a base
    public void sendMessage (Transaction tx) @safe
    {
        scope tm = new TransactionManager();
        foreach (ref node; this.peers)
        {
            logDebug("Sending a transaction with %d input and %d output", tm.getInputSum(tx), tm.getOutputSum(tx));
            node.sendMessage(tx);
        }
    }

Instead, if you make it a free function:
public long getOutputSum (Transaction tx)
{
    return tx.outputs.map!(a => a.value).sum();
}

I can call it like this:
    public void sendMessage (Transaction tx) @safe
    {
        foreach (ref node; this.peers)
        {
            logDebug("Sending a transaction with %d input and %d output", tx.getInputSum(), tx.getOutputSum());
            node.sendMessage(tx);
        }
    }

Which I think is much clearer. It does not have to be a member of Transaction because we can use UFCS, as you already did with map and sum.

I agree with @Geod24's comments in https://github.com/bpfkorea/agora/pull/60#issuecomment-508912767.

@Geod24 @AndrejMitrovic


site rebuild - talk description added

Simon, when you get a chance can you rebuild the site? The second speaker has added a talk description so there's now content to pull in there...

have done this


Linked view, like higlass

So you know where you are in the big picture when you zoom in.

Replaced by #189.


Azure Kubernetes token based authentication to ML webservice

Hi Guys,
I'm able to deploy ML model into Azure Kubernetes Services using AML services. I have enabled token authentication while deploying model into AKS.
As mentioned in the document "https://docs.microsoft.com/en-us/azure/machine-learning/service/concept-enterprise-security" 2 ways authentication(Key and token) is possible to consume ML model webservice, deployed  in Azure Kubernetes services. To consume the webservice. we have to provide the token along with the service request. But I couldn’t find any document how to generate/get token from Kubernetes services.  How to get the new token every time  whenever call is made from client application to the model running in the Azure Kubernetes services. It would be great help if you could able to provide more information on this.

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

ID: e5c3bce1-2494-6caf-728c-53127ae85329
Version Independent ID: acdd8494-76aa-d47b-9735-7aea72613a95
Content: Enterprise security - Azure Machine Learning service
Content Source: articles/machine-learning/service/concept-enterprise-security.md
Service: machine-learning
Sub-service: core
GitHub Login: @aashishb
Microsoft Alias: aashishb

@raghunaik2009 Thanks for the feedback. We are investigating the issue and will update you shortly.

Check the following doc links for more details:
https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/deployment/production-deploy-to-aks/production-deploy-to-aks.ipynb (check section “Test the web service using raw HTTP request”)
https://docs.microsoft.com/en-us/azure/machine-learning/service/concept-enterprise-security#authentication-with-tokens
https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-consume-web-service#authentication-with-tokens

Thanks for your report. We hope these links help.
#please-close


Facing issues on assigning Summit Events Registrant permission set to Guest User

Hi Team facing this below issue up on assigning "Summit Events Registrant" Permission set to a Guest user as mentioned in setting up after installation article.
I looked in to Permission set, looks like no Apps are assigned in there not sure if its our developer org or its a broader issue in general. I am guessing it's a general issue as I tried creating new site as well instead of our existing sites.
"Please fix the following:
Can't complete this operation because it would exceed the number of apps allowed by the user license."

Hi @akkibaddi,
The "Summit Events Registrant" permission set does not have access to the application by design. Guest users can't log in to Salesforce so they couldn't see the app to begin with. Guest users do have selective access to objects, fields, api controllers, and pages that make the front end registration possible.
There is another permission set, "Summit Events Admin" that gives full access to the Salesforce application for admin users that can be applied to users you wish to create and run events. You can also clone the admin permission set to create selective views for different use cases within your org.
I am not sure why your are getting the error: "Can't complete this operation because it would exceed the number of apps allowed by the user license." Perhaps someone with more licensing experience than I could chime in on this one. @rdblake21, @jimhubert, @walt0019 any ideas?

I don't believe this is with a specific licenses other than the Guest User license.
@akkibaddi, do you have the most updated permission set that had permissions removed based on Spring '21?  Also, are you using a Guest User that is being used elsewhere or is this a new Guest User?

Hi @rdblake21 facing this in both new site as well as existing one. I believe i am using the latest one, as i cloned the latest commit.

fyi i am facing the same issue with some empty permission set in my sand box so i guess this is not related to this package and our org issue.
Thanks!

Heard back from Support with this below response
"Upon checking, the guest user profile has two assigned apps which put it into an invalid state. The only app that should be assigned to the guest user is the standard platform app. By editing the assigned apps, to standard platform app only, the permission set should be able to be assigned to guest user."
For some reason up on creating new Guest Users or for Existing Guest User there two App's assigned (HEDA lightning) and Standard Platform, not sure if its replicable in other orgs or is it just our org thing but some thing to be cautious of. I clicked edit and selected one and saved looks like that removed HEDA one and i am able to assign permission set.
Upon checking, the guest user profile has two assigned apps which put it into an invalid state. The only app that should be assigned to the guest user is the standard platform app. By editing the assigned apps, to standard platform app only, the permission set should be able to be assigned to guest user.


Error: pq: Unsupported startup parameter: extra_float_digits

Hi,
I'm trying to connect to a postgres db that's behind PGBounce. It appears that the extra_float_digits is incompatible PGBounce https://github.com/Athou/commafeed/issues/559 . Unfortunately, I don't have control over the configs for instance PGBounce so I cannot use the ignore_startup_parameters fix.
Is it possible for me to use pgweb to connect to this database?
Error message:
$ pgweb --readonly --url "postgresql://[redacted]?sslmode=disable"
Pgweb v0.11.6 (git: 3e4e9c30c947ce1384c49e4257c9a3cc9dc97876) (go: go1.13.7)
Connecting to server...
Error: pq: Unsupported startup parameter: extra_float_digits

See also: https://github.com/lib/pq/issues/475

Looks like we'll have to wait till this gets fixed in lib/pg.


Run commands in imageSpec

TL;DR
Add commands to ImageSpec, so people can download jars or any other packages.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Another example for the spark task
import datetime
import random
from operator import add

import flytekit
from flytekit import Resources, task, workflow
from flytekitplugins.spark import Spark
from flytekit.image_spec.image_spec import ImageSpec

spark_image = ImageSpec(registry="pingsutw", apt_packages=["wget"])
spark_image.with_commands(["wget https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.2.2/hadoop-aws-3.2.2.jar -P /opt/spark/jars",
                          "wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.262/aws-java-sdk-bundle-1.12.262.jar -P /opt/spark/jars",
                          "wget https://github.com/GoogleCloudDataproc/hadoop-connectors/releases/download/v2.2.17/util-hadoop-hadoop3-2.2.17.jar -P /opt/spark/jars"])

@task(
    task_config=Spark(
        # this configuration is applied to the spark cluster
        spark_conf={
            "spark.driver.memory": "1000M",
            "spark.executor.memory": "1000M",
            "spark.executor.cores": "1",
            "spark.executor.instances": "2",
            "spark.driver.cores": "1",
        },
        executor_path="/usr/bin/python3",
        applications_path="local:///usr/local/bin/entrypoint.py",
    ),
    limits=Resources(mem="2000M"),
    cache_version="1",
    container_image=spark_image,
)
def hello_spark(partitions: int) -> float:
    print("Starting Sparkfk wifth Partitions: {}".format(partitions))
    n = 100000 * partitions
    sess = flytekit.current_context().spark_session
    count = (
        sess.sparkContext.parallelize(range(1, n + 1), partitions).map(f).reduce(add)
    )
    pi_val = 4.0 * count / n
    print("Pi val is :{}".format(pi_val))
    return pi_val

def f(_):
    x = random.random() * 2 - 1
    y = random.random() * 2 - 1
    return 1 if x**2 + y**2 <= 1 else 0

@task(cache_version="1", container_image=spark_image)
def print_every_time(value_to_print: float, date_triggered: datetime.datetime) -> int:
    print("My printed value: {} @ {}".format(value_to_print, date_triggered))
    return 1

@workflow
def wf(triggered_date: datetime.datetime = datetime.datetime.now()) -> float:
    """
    Using the workflow is still as any other workflow. As image is a property of the task, the workflow does not care
    about how the image is configured.
    """
    pi = hello_spark(partitions=50)
    print_every_time(value_to_print=pi, date_triggered=triggered_date)
    return pi

Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA

does this go down the road a little bit of recreating what a dockerfile is?  won't one day people want to add additional commands and stuff?  i thought imagespec supported a full dockerfile does it not?

does this go down the road a little bit of recreating what a dockerfile is? won't one day people want to add additional commands and stuff? i thought imagespec supported a full dockerfile does it not?

It recreates a portion of Dockerfiles with a lot of structure. For example, you can't have multi-stage builds, you have commands run in arbitrary places.


internal/validators.js:107 throw new ERR_INVALID_ARG_TYPE(name, 'string', value);

What version of this package are you using?
16.0.0
What operating system, Node.js, and npm version?
Win7x86, Node.js v12.5.0<EMAIL_ADDRESS>What happened? running standard in local folder and getting this error:
internal/validators.js:107     throw new ERR_INVALID_ARG_TYPE(name, 'string', value); TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Rceived type object ←[90m    at validateString (internal/validators.js:107:11)←[39m ←[90m    at Object.dirname (path.js:580:5)←[39m at Linter.parseOpts (C:\Users\Administrator\AppData\Roaming\npm\node_module\ ←[4mstandard←[24m\node_modules\←[4mstandard-engine←[24m\index.js:156:21)     at Linter.lintFiles (C:\Users\Administrator\AppData\Roaming\npm\node_module\ ←[4mstandard←[24m\node_modules\←[4mstandard-engine←[24m\index.js:110:15)     at Object.Cli [as cli] (C:\Users\Administrator\AppData\Roaming\npm\node_modles\ ←[4mstandard←[24m\node_modules\←[4mstandard-engine←[24m\bin\cmd.js:103:14)     at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modues\ ←[4mstandard←[24m\bin\cmd.js:9:30) ←[90m    at Module._compile (internal/modules/cjs/loader.js:776:30)←[39m ←[90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:1)←[39m ←[90m    at Module.load (internal/modules/cjs/loader.js:643:32)←[39m ←[90m    at Function.Module._load (internal/modules/cjs/loader.js:556:12)←[39m
What did you expect to happen?
Default behavior: checking the style of all JavaScript files in the current working directory
Are you willing to submit a pull request to fix this bug?
No. I don't have sufficient knowledge for this task.

Thanks for sharing this error report, @dziku86. I was able to reproduce this issue. It happens when there's no package.json file present in the current folder, or in any parent folder.

Fixed in standard-engine 14.0.1. You can resolve this issue by reinstalling standard. To confirm you have the fixed version, you can run npm ls standard-engine and verify that you see only 14.0.1 or greater in the output.

Thank you.

npm ls standard-engine

I can see empty


Deep Dive into repo and create process flow diagram

Identify functions responsible for data download, data processing, transformation (the heavy math), and generate visualizable intermediate results. Review with @scottveirs
### Tasks
- [ ] Understand the process flow of the existing database
- [ ] Identify specific mathematical transformations/calculations and review with domain experts
- [ ] Add any comments [here](https://github.com/orcasound/orca-hls-utils/issues/12) about audio file organization (HLS & FLAC) that could optimize future ambient noise analysis (e.g. make parallelization easier, or save costs in the long-run)

Checkout acoustic_util.py/apply_per_channel_energy

Understand repo and process flow diagram created


Add support for Assignment XOR Token at opengl backend

@samthakur587 I want to work on this issue

Add support for Assignment XOR Token at opengl backend #135 pls assign me @samthakur587

@CrossGL-issue-bot assign me


Update hcd-ehci, dcd-dwc2 and examples.

Add some Msh commands of example.
Fix device enumeration on EXT hub.
Re-fine some templates.
Extend end-point number of dwc2 USB device driver.
Re-fine rndis_host implementation includes
a. rt_mutex_take in ISR.
b. 2rd pmsg is unaligned issue.
c. destroy u0 ethernet resource after removing dongle.

Thank you.


actions/setup-python@v5 failing on ARM64 Runners

Below mentioned PR is critical for smooth migration to Arm64 runners.
This code fails on Arm64 runners:
     - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

https://github.com/actions/python-versions/pull/274

Hey @ukumar-dev  - since the seutp action is not owned by the image I am going to close this issue. You can open an issue in the setup-python repository for this.


License: Add license header to every file

In order to have this be sustainable, we need to:
a) write a script that can do this for every file.
b) enforce this in check_format.py
cc @PiotrSikora

I don't think this is required by the license so not going to bother with this unless it becomes a blocker for something. Closing for now.


It does not start

It does not start, it simply does not output any output in the terminal.
no messages appear in the "journalctl -f".
--> screenfetch
                   -`
                  .o+`                 safff@nout
                 `ooo/                 OS: Arch Linux
                `+oooo:                Kernel: x86_64 Linux 4.14.6-1-ARCH
               `+oooooo:               Uptime: 37m
               -+oooooo+:              Packages: 1363
             `/:-:++oooo+:             Shell: zsh 5.4.2
            `/++++/+++++++:            Resolution: 1920x1080
           `/++++++++++++++:           WM: i3
          `/+++ooooooooooooo/`         GTK Theme: Breeze-Dark [GTK2/3]
         ./ooosssso++osssssso+`        Icon Theme: Adwaita
        .oossssso-````/ossssss+`       Font: Liberation Sans 11
       -osssssso.      :ssssssso.      CPU: Intel Core i3-2350M @ 4x 2.3GHz [49.0°C]
      :osssssss/        osssso+++.     GPU: intel
     /ossssssss/        +ssssooo/-     RAM: 2184MiB / 7893MiB
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/
```
`

Known issue I'm working on right now.

it seems with some kind of update, on the main computer for a long time did not update, but here I put it, I thought already that it was something that happened to me

Yes, it's the lock file. I'm making it work differently.

Rolled out a temporary fix. Turns out this is not as trivial as I expected it to be

The application now launches for me but can not take area or fullscreen screenshots, only active window.
Verbose has nothing to say other than:
 DEBUG: lol

Can you post your settings file @SilverMight after you remove all identifying/sensitive informaton?

`[General]
delay=0
hotkey_area=Ctrl+Shift+$
hotkey_recordingstart=Ctrl+Shift+%
magnifierPixelCount=15
quickMode=true
saveLocation=1
uploader=ratelimited
[command]
fullscreenCommand=0
[recording]
format=0
framerate=30
[screenareaselector]
rect=@Rect(8 268 1062 772)
`
Haven't changed anything since last update @ArsenArsen

Go into your settings and empty out the Fullscreen capture command field

Thanks, that worked.

Going to make that auto clear and re-run as the default provider in a bit. Didn't consider this edge case while making that.

I confirm - everything works.


[Feature] Ability to interact with AppBarToggleButton elements

Describe the feature and how it will be used

Introduce the ability to interact with the AppBarToggleButton element.
There should be properties to assert the toggled on or off state, as well as actions for toggling on and off.
Platforms

[x] iOS
[x] Android
[x] ~WebAssembly~ [Done]

Completed the work for the web component for this

Investigating this, Android support is going to be slightly more difficult than expected. It's not currently possible to easily identify when the button is checked or not using the out-of-the-box experience.


Responsive Improvements

Would love to help out on this project, few minor improvements I can see for in terms of responsive design.
For example, the 'Fork Me On Github' banner is great, but kinda covers the menu on mobile devices.
Just wondering if you intend this site to be viewable on mobile and tablet devices, and you would like me to help with a few small CSS tweaks in regards to this 😄

Yeah, I've also noticed the issure you're referring to with the github banner.
Any improvements you could make would be great! Feel free to open up a pull request. Ideally, the site will look good on both desktop and mobile.

Fixed by #20.


wrong current working directory

I have version 2.7.1 so I believe it is a different issue than #28
this happens when I have multiple project folders opened in atom:
os.getcwd() will return the the top project folder in the navigation bar even if I am working under a different project folder...if I try to create a file using relative path (with atom runner), it will result in the wrong place

Atom-runner uses Atom's project path-- if Atom is returning folder1 as your project path, there's not much runner can do about that.


LZString compression and other improvements for Vue.js template

This PR adds:

LZString compression/decompression in SugarJournal and SugarPresence
Basic icons required by SugarTutorial as discussed here
Fixes for data property not being a function as required inside Vue.component()
Fixed a bug in SugarL10n causing language to switch back to default (See here)
Removed splitbar and extra CSS
Added v-visible directive in SugarToolbar which sets the 'visibility' instead of 'display' like v-show. It avoids errors and placement issues while using palettes.

Nice.


Edit Title Bar

@antoniandre we have some way to edit title-bar content? Like this

Hi @jardimfelipe,
You can provide all these buttons in the title slot like in this example: https://antoniandre.github.io/vue-cal/#ex--custom-title-and-cells.
So use (slot-scope="{ title, view }"), the title variable is already formatted.
Then inside the same slot, after the title place your buttons.
The 'next' button will be displayed at the right.
Hope that helps.

"Prev" and "Next" arrow have to be placed inside the title slot? This is what a got here

And this is what I've done

I dont know what I'm missing here

Thanks, that was really helpful


[ Style ] : Split Filecreator JS

Splits the filecreator.html /tool/ into Filecreator.httml and filecreator.js instead of having a long script tag in the main hyper

Issues with GitHub runner, waitined for runner to be online to further PR.
https://status.sillylittle.tech/incident/372581
https://www.githubstatus.com/incidents/nj47vccwm2zj


nominum/dnsperf vs DNSPerf/dnsperf

I'm a little confused by these two projects. Nominum web site has a tarball and doesn't link to either github project. Is this project the official source?

It is not, its a fork for our own changes.


Ability to create ingest packages without a finding aid

As a user, not all collection will have a finding aid. I would like the ability to create objects and associate files with them which will be exported to Archivematica and Access. These collections won't have a finding aid with them and the system needs to turn off that integration with ASpace.

this ability will be critical both for migration (yearbooks, newsletters, rare books/manuscripts) and for new projects (Daily Cougar)

Resolved with https://github.com/uhlibraries-digital/carpenters/commit/a733ee112ec93cceae4bbd83a3574c45c435bffa


Degraded startup experience

While the agent was starting up, my balance went down from 20.88 to 20.55.
When it had started, it returned to 20.88.
Right after the agent started up, it momentarily (< 1s) seemed like it had failed - the agent had a sad smile and "Start Agent" button was back. But then it moved on to "Agent is working".

rc61

Potentially fixed with https://github.com/valory-xyz/olas-operate-app/issues/222

Fixed in rc95


AttributeError: 'str' object has no attribute 'decode'

Crash Report
This crash report was reported through the automatic crash reporting system 🤖
Traceback
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\util.py", line 613, in run_with_except_hook
  File "threading.py", line 862, in run
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\web.py", line 156, in get_payment_request_thread
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash_gui\qt\main_window.py", line 1520, in on_pr
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\paymentrequest.py", line 158, in verify
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\paymentrequest.py", line 199, in verify_x509
  File "site-packages\electron_cash-3.1.6-py3.5.egg\electroncash\x509.py", line 287, in get_common_name

AttributeError: 'str' object has no attribute 'decode'

Reporter
This issue was reported by 2 user(s):

Electrum Version
Operating System
Wallet Type
Locale

3.1.6
Windows-7-6.1.7601-SP1
standard
de_DE

3.1.6
Windows-7-6.1.7601-SP1
standard
de_DE

Additional Information
The reporting user(s) did not provide additional information.

Copy the electrum fix:
https://github.com/spesmilo/electrum/issues/4065


De-embed GlassBR

Here's a list of places where knowledge is still embedded and needs to be pulled out (see #339 for more information) in Body.hs, I've made explicit mention on several as a starting point, but there are likely more places with embedded knowledge:

[ ] startIntro (glaSlab, blastRisk, etc. all captured, but still embedded)
[ ] s2_1_intro_p1 (gLassBR, document, etc. still embedded)
[ ] s4_1_bullets (endUser, etc.)
[ ] s5_2_bt_sent1
[ ] s5_2_bt_sent2
[ ] s6_1_2_list_physys2
... etc.

Some of this may even need new knowledge capture or changes to odd conventions, as certain things will jump out. Either way, this knowledge will still need to be de-embedded.

@szymczdm
Would it be possible to get some clarification on how instances like glaSlab and blastRisk could be de-embedded from the startIntro Sentence?

Are we supposed to interweave the chunks used in the sentences with a list of sentences (so that there is a [Sentence] and [Chunk]), where the list of chunks would be pulled to the "knowledge" section of the code?

In some instances it will mean parameterizing the Sentence, others will mean creating new combinators, etc. You can see @hmadej and @JacquesCarette's conversation on #344 for some more information.


cmd + shift + left/right don't work

Issue Type: Bug
On macOS the key commands cmd + shift + left and cmd + shift + right will highlight to the beginning and end of line respectively. I use this constantly when programming, and it hasn't worked in VS Code for years now, but admittedly I was lazy enough to not file a bug and instead stopped using VS Code. I'd love to use VS Code though, this IDE is terrific! But this is a dealbreaker for me that I haven't figured how to work around unfortunately.
Thanks so much for the hard work and terrific app!
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:18:43.347Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.06GB free)

Process Argv
-psn_0_2286126

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

simple-react-snippets
bur
1.2.2

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vscode-css-modules
cli
0.2.3

vscode-svgviewer
css
1.4.7

vscode-eslint
dba
1.7.0

EditorConfig
Edi
0.12.5

json-tools
eri
1.0.2

flow-for-vscode
flo
0.8.5

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

vscode-yarn
gam
1.6.0

debugger-for-chrome
msj
4.11.0

color-highlight
nau
2.3.0

preview-vscode
sea
1.4.6

vscode-todo-highlight
way
1.0.4

markdown-all-in-one
yzh
1.7.0

@mergesort Out-of-the-box we ship with those keybindings on the mac. What does searching for "cmd+shift+left" in the keybindings editor show?
e.g.

Hey @alexandrudima. This is what ⌘+shift+left and ⌘+shift+right look like for me now.
⌘+shift+left

⌘+shift+right

I removed the mapping from ⌘+shift+left, which defaulted to the same thing ⌘+shift+right had, except for start instead of end. It still doesn't behave as expected though unfortunately, in either case.
Let me know if I can provide any more information!

Can you look at your keybindings.json file and check if you have any rules in there? Can you disable all extensions (they can remap keybindings) and check in the keyboard list again?

I've disabled all of my extensions, and emptied out my keybindings.json so it only contains [] now, and the same behavior still persists. This is an issue that I've had even on clean installed machines, so I don't believe it's due to any customizations I may have installed.

@mergesort after disabled all extensions, can you try

search cursorHomeSelect in the keybindings editor?
Press the first option button in the the search inputbox (looks like a keyboard and its title is "Record Keys"), and then press "Cmd+Shift+Left" and see what's being inserted into the search box?

It seems like the damndest thing, I cannot type ⌘+shift+left into the box either.

I can type ⌘+shift+up/down though.

And this only in VS Code, no other apps.

I suspect this issue is somewhat dead but I do have a slight update. I still can't get it to work, but I noticed that for the first few seconds of the app, the keyboard command does work. This makes me suspect that it's something that is lazily loaded as the app initializes, but I don't really have any more information I can provide to help unfortunately.
Any updates or anything I can do to help?

Fix courtesy of @brucejo75 in #80182

Fix:
Hunted around...
Discovered that Mission Control was using all of these keys.  So I remapped them all to other Function keys (that I do not use in editing).
There are 2 places to check:

System preferences->Mission Control
System preferences->Keyboard->Shortcuts->Mission Control

After remapping, it still did not work!
Close and restart Visual Studio Code and then it works!


Dead code eliminator for constant expression doesn't handle "return early" if statements

Bug report
What is the current behavior?
Dead code eliminator for constant expression doesn't handle "return early" if statements.
If the current behavior is a bug, please provide the steps to reproduce.

git clone git@gist.github.com:38b17bb4757ddab9f65efc3bd4e3c083.git
npm install
npm run build:dev

After run you can see that a new chunk was created and the expression (await import('./module')).getSomething(); is parsed by webpack.
async function main() {
	if (true) { // it might be a result of expression with `DefinePlugin`
		return;
	} else {
		// this expression is NOT parsed and the new chunk is NOT created
		// (await import('./module')).getSomething();
	}

	// this expression is parsed and the new chunk is created
	(await import('./module')).getSomething();
}

But if you comment this line and uncomment this one a chunk will not be created.

From https://github.com/webpack/webpack/issues/16672
However, this case is just a simple example of what can pre dead code elimination can achieve.
There are still a lot of scenarios not covered.

Per File level optimization, like if-return.

export const treeShakingTestAsync = async () => {
    console.log('treeShakingTestAsync');

    const { foo } = await import(/* webpackChunkName: "bundle_pc" */ './pc');
    console.log(foo);
    // Code wont't be reached after if_return, but still get to be bundled, and Baz get to be bundled as well, due to splitchunk.
    if (false) {
        return;
    }
    const { Baz } = await import(/* webpackChunkName: "bundle_mobile" */'./mobile');
    console.log(Baz);
};

unused exports

export const treeShakingTestAsync = async () => {
    console.log('treeShakingTestAsync');

    const { foo } = await import(/* webpackChunkName: "bundle_pc" */ './pc');
    console.log(foo);
};

export const unusedExport = async () => {
    console.log('unusedExport');
    // this never be refered from entry.
    const { Baz } = await import(/* webpackChunkName: "bundle_mobile" */ './mobile');
    console.log(Baz);
};

What is the expected behavior?
No chunk created in both cases since they both are "inaccessible".
I'd say that this pattern (return early) is quite common so it was surprised that it is not handled so far.
Of course it might be easily "fixed" with a workaround by placing the code to else statement, but I think it would be better to have handling of this in webpack.
Other relevant information:
webpack version:  5.54.0
Node.js version: v14.16.0
Operating System: win10 x64
Additional tools: none

bump

Bump. Fixing this issue can save a lot of build time and memory due to large dead chunks being eliminated.

Shouldn't the issue be reopened?

bump

Bump?

Bump pls

I'd love to keep this issue tracked, as this would be perfect to tackle optional dependencies dynamic import and the tree-shakability of related chunks.
Is it possible to achieve this with other configuration that we're unaware of?

Is there a fix in progress? Meet the same issue. And chunk will not be created if you remove the await operator before the async chunk. It looks to me that compilation of async/await syntax hoists dependency collection or breaks something else.

@chestnutchen you can try https://github.com/webpack/webpack/pull/14357 and put feedback here


execution_id missing in PubSub cloud function

Is there something this library, or the users of it, could do to get a pubsub event id to be included in the one-line summary seen in Stackdriver? As described below, I've tried to set it manually as a label, but that seems to not impact the summary line.
Environment details

OS: cloud-functions
Node.js version: 10
@google-cloud/logging-winston version: 3.0.5

Steps to reproduce

Create pubsub cloud function which takes a context as second parameter.
Log with winston to stackdriver transport (as per the docs), and try manually setting labels["execution_id"] to the event id:

 logger.debug('Starting processing pubsub message', {
    labels: {
      // Observe console.log entries to see that an event ID is the execution_id.
      // We manually populate it so we can see the group of all logs for a
      // single execution/event.
      execution_id: context.eventId,
    }
}

Expected: the one line (non-expanded) summary includes the execution id / event id. This is the case with console.log.
Actual: non is present. See screenshot.

https://github.com/googleapis/nodejs-logging/issues/591
https://github.com/firebase/firebase-functions/issues/560

Solution might be using firebase-functions logger instead (for cloud functions):
https://github.com/firebase/firebase-functions/issues/560#issuecomment-640528561
https://github.com/firebase/firebase-functions/releases/tag/v3.7.0

Adds functions.logger SDK to enable structured logging in the Node.js 10 runtime. For example:

const functions = require('firebase-functions');

functions.logger.debug('example log with structured data', {
uid: user.uid,
authorized: true,
});

Internally this just is like
console.log(`your-message-line and then ${JSON.stringify(structuredInfo)}`);

which is supposed to work on Node >= 10
I'll try this soon.

Hi @techieshark , a few notes that may help:

Getting exec_id to show up as a Summary Field (the UI bubbles): You can manually configure summary fields yourself steps here. Though to your point, we did expect this to be the default behavior. We've flagged this internally, so thanks for informing us!

Getting execution_id by default: this is blocked by this upstream issue. Will follow up on it for you. After that’s in, we can work on getting everyone trace/exec ids by default, minimally for pubsub/scheduler triggered cloud functions. tracked here.

Closing the issue here since the fix is in different repos and already tracked and tagged to this issue instance.

Thanks for the tips, @nicoleczhu! Looking forward to seeing those upstream issues resolved - would be quite helpful for our logging ux.


Compatibility of KubeVirt with Kubernetes Cluster on VMs as Nodes. VM pod pending because of Insufficient devices.kubevirt.io/kvm

What happened:
I tried to launch a virtual machine on a k8s cluster itself set up by VMs as nodes. The Virtual Machine object is stuck in scheduling, similar to Bug #4748. Is nested virtualization possible with KubeVirt?
What you expected to happen:
The pod for the VM should be scheduled and then started, but it went on Pending. Below is the pod description.
 Preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod.
vagrant details
I have a two-node k8s cluster setup using kubeadm. I provisioned VMs using Vagrant. Below are the details.
NUM_MASTER_NODE = 1
NUM_WORKER_NODE = 1
IP_NW = "192.168.56."
MASTER_IP_START = 1
NODE_IP_START = 2
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.box_check_update = false
(1..NUM_MASTER_NODE).each do |i|
config.vm.define "kubemaster" do |node|
node.vm.provider "virtualbox" do |vb|
vb.name = "kubemaster"
vb.memory = 2048
vb.cpus = 2
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
end
node.vm.hostname = "kubemaster"
node.vm.network :private_network, ip: IP_NW + "#{MASTER_IP_START + i}"
node.vm.network "forwarded_port", guest: 22, host: "#{2710 + i}"
node.vm.network "private_network", ip: "<IP_ADDRESS>", virtualbox__hostonly: true
node.vm.provision "setup-hosts", :type => "shell", :path => "ubuntu/vagrant/setup-hosts.sh" do |s|
s.args = ["enp0s8"]
end
node.vm.provision "setup-dns", type: "shell", :path => "ubuntu/update-dns.sh"
end
end
(1..NUM_WORKER_NODE).each do |i|
config.vm.define "kubenode0#{i}" do |node|
node.vm.provider "virtualbox" do |vb|
vb.name = "kubenode0#{i}"
vb.memory = 4096
vb.cpus = 6
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
end
node.vm.hostname = "kubenode0#{i}"
node.vm.network :private_network, ip: IP_NW + "#{NODE_IP_START + i}"
node.vm.network "forwarded_port", guest: 22, host: "#{2720 + i}"
node.vm.network "private_network", ip: "<IP_ADDRESS>", virtualbox__hostonly: true
node.vm.provision "setup-hosts", :type => "shell", :path => "ubuntu/vagrant/setup-hosts.sh" do |s|
s.args = ["enp0s8"]
end
node.vm.provision "setup-dns", type: "shell", :path => "ubuntu/update-dns.sh"
end
end
end
KubeVirt pods:
kubectl get pods -n kubevirt
NAME                               READY   STATUS    RESTARTS   AGE
virt-api-688cc569d4-946sb          1/1     Running   0          2m33s
virt-api-688cc569d4-gh2js          1/1     Running   0          2m33s
virt-controller-58f78787f5-7pmqh   1/1     Running   0          95s
virt-controller-58f78787f5-ntfz8   1/1     Running   0          95s
virt-handler-hgqf6                 1/1     Running   0          95s
virt-operator-69985b747d-2lhl6     1/1     Running   0          3m57s
virt-operator-69985b747d-jlsxk     1/1     Running   0          3m57s
How to reproduce it (as minimally and precisely as possible):

Provision VMs using Vagrant.

Setup k8s using kubeadm and add flannel as CNI.

Install KubeVirt from https://kubevirt.io/user-guide/operations/installation/.

Install virtctl as below:
VERSION=$(kubectl get kubevirt.kubevirt.io/kubevirt -n kubevirt -o=jsonpath="{.status.observedKubeVirtVersion}")
if [ "$(uname -s)" == "Windows" ]; then
ARCH=windows-amd64.exe
else
ARCH=$(uname -s | tr A-Z a-z)-$(uname -m | sed 's/x86_64/amd64/')
fi
echo ${ARCH}
curl -L -o virtctl https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/virtctl-${VERSION}-${ARCH}
chmod +x virtctl
sudo install virtctl /usr/local/bin

Create a virtual machine.

Start a virtual machine using the virtctl utility.

Anything else we need to know?:
I have enabled nested virtualization in vagrant file specifically while creating VMs using:
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
There are no errors or related logs for control plane static pods.
Environment:
kubeadm version: v1.28.4
kubectl version: v1.28.4
KubeVirt Version: v1.1.0
virtctl version: v1.1.0
YAML for VM:
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: fedora-vmi
spec:
running: false
template:
metadata:
labels:
kubevirt.io/size: small
kubevirt.io/domain: fedora-vmi
spec:
domain:
devices:
disks:
- name: containerdisk
disk:
bus: virtio
- name: cloudinitdisk
disk:
bus: virtio
interfaces:
- name: default
masquerade: {}
resources:
requests:
memory: 1Gi
limits:
memory: 2Gi
networks:
- name: default
pod: {}
volumes:
- name: containerdisk
containerDisk:
image: kubevirt/fedora-cloud-container-disk-demo:latest
- name: cloudinitdisk
cloudInitNoCloud:
userData: |-
#cloud-config
password: fedora
chpasswd: { expire: False }

Please, refer to our guide: https://kubevirt.io/user-guide/debug_virt_stack/privileged-node-debugging/#validating-the-host-for-virtualization

virt-host-validate gave me the clue to my problem, which I was facing. From there, I came to know that hardware virtualization is not available on my nodes, and the solution to this problem is available in the installation guide.
Run the following command:
kubectl edit -n kubevirt kubevirt kubevirt
add the following config in the spec section:
spec:
...
configuration:
developerConfiguration:
useEmulation: true
This additional configuration resolved my issue, and VM pod is successfully scheduled on the desired worker node.


Add CertificateProfile to V20180331 AgentOnly

I'd like to add CertificateProfiles to the V20180331 AgentOnly profiles.  It's already in the vlabs API.  The code is copied/adapted from there.
What this PR does / why we need it:
This PR adds the ability to specify the certificates or keyvault references in the acs-engines model file.  The vlabs API already contains these features.  It's very useful and I'd like to see the same functionality in the v20180331 API.  Without it, I have to modify the resulting ARM parameters file and inject the certificate references.  If I don't the ARM apply fails since the certs are referenced in the ARM file but not the ARM parameters file.
Release note:
NONE

 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.:x: brichins sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@amanohar @weinong to explain why this may not be a good idea :)

I really like the ability in the V20180331 API to reference secrets from the KeyVault.  If I can accomplish this another way, I'd be open to that too.

@brichins not sure what you mean by "the ability in the V20180331 API to reference secrets from the KeyVault", vlabs should be able to do the same thing. If not, we should work towards fixing that instead of adding features to V20180331.

I had to use the V20180331 because when I tried to use the vlabs API, it ignored the network profile and chose the kubenet network plugin.  If we can update vlabs to use the right network plugin, that would be great.

One more questions.   Is there a public Slack channel or IRC where folks can ask questions of the acs-engine project team?  If not, what is the recommended method to ask questions? create issues?

The way to define the network plugin to be kubenet with vlabs is "networkPlugin": "kubenet" in the kubernetesConfig api model configuration object. See https://github.com/Azure/acs-engine/blob/master/docs/clusterdefinition.md#kubernetesconfig for more details.
I know a lot of people use the #sig-azure slack channel to ask questions about acs-engine. Always feel free to open a Github issue though if that is more convenient for you.

Thanks for the quick response.  In this case I've specified the "azure" network plugin but when it generates with agentOnly it ignores that and inserts the kubenet one.
Here's a snippet:
{   "apiVersion": "vlabs",   "location": "eastus",   "name": "foo-qa",   "properties": {     "kubernetesVersion": "1.10.5",     "dnsPrefix": "foo-qa",     "fqdn": "foo-qa.eastus.cloudapp.azure.com",     "enableRBAC": true,     "networkProfile": {       "networkPlugin": "azure"     },...
The generated apimodel.json shows this:
{   "apiVersion": "vlabs",   "location": "eastus",   "name": "foo-qa",   "properties": {     "orchestratorProfile": {       "orchestratorType": "Kubernetes",       "orchestratorRelease": "1.10",       "orchestratorVersion": "1.10.5",       "kubernetesConfig": {         "kubernetesImageBase": "k8s-gcrio.azureedge.net/",         "clusterSubnet": "<IP_ADDRESS>/16",         "dnsServiceIP": "<IP_ADDRESS>",         "serviceCidr": "<IP_ADDRESS>/16",         "networkPlugin": "kubenet",...
You can see it's ignoring the specified plugin.

@brichins there is no networkProfile value in vlabs, see https://github.com/Azure/acs-engine/tree/master/examples/networkplugin for an example.

I changed to the orchestratorProfile, but it still shows up with kubenet in the generated apimodel.json
{
  "apiVersion": "vlabs",
  "location": "eastus",
  "name": "foo-qa",
  "properties": {
    "kubernetesVersion": "1.10.5",
    "dnsPrefix": "foo-qa",
    "fqdn": "foo-qa.eastus.cloudapp.azure.com",
    "enableRBAC": true,
    "orchestratorProfile": {
      "orchestratorType": "Kubernetes",
      "kubernetesConfig": {
        "networkPlugin": "azure"
      }
    },
    "agentPoolProfiles": [
      {
        "name": "worker",
        "count": 2,
        "vmSize": "Standard_D2s_v3",
        "availabilityProfile": "AvailabilitySet",
        "vnetSubnetId": "/subscriptions/c9b653b0-1f71-4650-9aaa-d29b9db06fd3/resourceGroups/foo-qa/providers/Microsoft.Network/virtualNetworks/k8s-vnet-17918083/subnets/k8s-subnet",
        "storageProfile": "ManagedDisks"
      }
    ],
    "linuxProfile": {
      "adminUsername": "admin",
      "ssh": {
        "publicKeys": [
          {
            "keyData": "ssh-rsa somekey"
          }
        ]
      }
    },
    "servicePrincipalProfile": {
      "clientId": "8ed3ff25-ea24-42a4-955c-55716d1f4173",
      "secret": "supersecret"
    },
    "certificateProfile": {

    }
  }
}

@brichins this is happening because your apimodel is being interpreted as agentpool only, any reason why you are not defining a master profile?

I wanted to use the agent pool only because I already have a master and some agents deployed.  I'm attempting to deploy a new set of agents that can be dedicated for use by a different team.

Ah in that case you should be able to use acs-engine scale

In this case I want to keep my original ARM templates though (from the initial cluster).  If I attempt to modify my original apimodel and redeploy, with a newer version of ACS, it generates different template values that aren't compatible with cloud-init and I get ARM deployment errors that resources could not be modified.
I was hoping I could create sets of agents outside my original config so I could change things like the networkPlugin, kube version, etc.
Seems like if acs-engine has the feature to support agent pool only, it should allow specifying the correct network plugin.  It works correctly with the V20180331 API.  I believe it should also work with the vlabs API.  Thoughts?

agent pool only is not a feature of acs-engine, it is used for some AKS flows (AKS = Azure Kubernetes Service, our Managed Kubernetes offering).

ok.  That makes more sense.  I believe you should probably remove the agents-only.json example if it's not part of the project in general.  https://github.com/Azure/acs-engine/blob/master/examples/agents-only.json
I believe is misleading to have an example demonstrating things that aren't features of the product.  I'm happy to withdraw my PR at this point.
Thanks for the help.


Relative import path "react" not prefixed with

I get an error when using tsserver.
How to reproduce the problem

create-react-app --template typescript myapp
cd myapp
nvim src/index.tsx

Screenshot

It occurred when it was set at the same time as deno.

Why did you close this? Did you find a solution? Could you at least post it in here?

I thought it was a mistake to set it at the same time as deno.
It occurred in the following cases.
lua require'lspconfig'.denols.setup{}
lua require'lspconfig'.tsserver.setup {}

well, i'm not running tsserver, only denols. i still get those errors.

The languages are the same and coexistence will be difficult.

When deno is used in VSCode or nvim with coc, they would disable deno by default and use a local configuration where you should enable deno for the current project (I suppose this disable tsserver). How would you do this with lsp?

@cjnucette It's provisional, but for example
lsp.denols.setup{
    root_dir = lsp.util.root_pattern('deps.ts')
}

lsp.tsserver.setup {
    root_dir = lsp.util.root_pattern('package.json')
}

or
function file_exists(name)
    local f = io.open(name, 'r')
    if f ~= nil then io.close(f) return true else return false end
end

if file_exists(os.getenv('PWD')..'/package.json') then
    lsp.tsserver.setup {}
else
    lsp.denols.setup{}
end


cannot run the exe

when running "./deep_image_analogy.exe ../models/ ../demo/content.png ../demo/style.png ../demo/output/ 0 0.5 2 0
"
on windows i am getting protobuf errors: https://gist.github.com/aycgit/fcd70d15eb48ea701291dc04256716bf
I am likely just very silly but i found this project interesting and wanted to try it

reducing 0.5 to something very low like 0.01 atleast makes it output a file

memory issue on my side


[Base]Refactor WebNN to align with Dawn

@fujunwei completed verify work on chromium. PTAL. Thanks!

Merge it, please roll the webnn-natvie version to the chromium.


@apply 在嵌套的样式中不起作用

<style lang="less" scoped>
.text {
  span {
    @apply text-black;
  }
}
</style>

生成的 CSS:
.text span[data-v-7853adf1] {
    @apply text-black: ;
}

Can you provide a repo with the code required to reproduce this issue?

https://github.com/izhaoqing/unocss-demo

Currently we don't support parsing nested classes, still working on it.

With PR #695 and #697 it should works with less.

👍

@hannoeru Thank you for your PR. How one can use postcss-nesting with unocss. Would you have any example config to share?
I am using sveltekit based project using unocss. Do I also need to configure postcss with that project?

After some tinkering, I was able to  figured it out.
package.json - Requires addition of only postcss-nesting
"devDependencies": {
    ....
    "postcss-nesting": "^10.1.3",
    ....
}

unocss.config.ts - everything started working after I gave { enforce: "pre" } as an option to transformerDirective
transformers: [transformerDirective({ enforce: "pre" })],

svelte.config.js
import { extractorSvelte } from "unocss";
import postcssNesting from "postcss-nesting";
const config = {
	preprocess: [preprocess({ postcss: { plugins: [postcssNesting()] } })],
        vite: {
	    plugins: [UnoCss({ extractors: [extractorSvelte] })],
        .....
}

Then in my svelte component, I could write nested css like
<style lang="postcss">
	input {
		& {
			@apply h-[calc(2.875rem_+_2px)] b-gray-300 b-1 px-2 py-4 bg-[hsla(0,0%,100%,0.3)] outline-none;
			@apply transition-(shadow duration-300 delay-150);
			@apply focus-(shadow bg-white text-[#495057] outline-none);
		}
		&:focus {
			box-shadow: 0 0 0 0.2rem hsla(222, 39%, 47%, 0.25);
			& ~ button {
				@apply transition-(color duration-300 delay-150);
			}
		}
       }

Note that I had to give an plain block & {} else it was giving me error.

Rather than postcss-nesting, postcss-nested is better since it is similar to tailwind-nesting.
postcss.config.js
module.exports = {
  plugins: {
    'postcss-nested': {},
  },
};


Updated considerations and limitations

Updated considerations and limitations for Sovereign Clouds

#sign-off

#sign-off

#sign-off

#sign-off

#sign-off

@chi-qin - there's a bug that's not letting us sign off.

@KesemSharabi Yeah, I am the incident owner, I just use this for testing. Sry for some noise

@chi-qin, no worries and thanks for trying to fix this!


Telepresence on Openshift

ensure it works smoothly on Openshift
provide CI environment as part of it
strengthen the relationship with Telepresence community

Closing as it is not relevant anymore


Bump version to 15.12.1

I had thought this would just be pulled in with another change, but it doesn't look like anything else is going through right now and it's worth pulling these small layout fixes into the buyer app explicitly.
Brings in #247.

:+1:


Add websockets, ocpp module dependencies to test env

Not sure how to resolve this error homeassistant.loader.IntegrationNotFound: Integration 'ocpp' not found.

@lbbrhzn , I think I've gone as far as I can. Still a few more issues to resolve with the testing scripts

thnx drc38! Can we remove the test that is still failing?

@lbbrhzn , tests are now running without error but failing as there is not sufficient code coverage

Ok, good enough for now!


cleanup: use url from manifest.cue to download k8s

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Start getting all config information from manifest.json/cue instead of hardcoding it.
Which issue(s) this PR fixes:
Requirements:

[ X] uses conventional commit messages
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
There's gotta be a better way to replace the env vars than I've done, but not sure how to do it.
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

closing for now, feel free to reopen


Used datetime.timezone.utc instead of pytz.utc for better performance.

Before:
In [2]: %timeit django.utils.timezone.now()
2.77 µs ± 57.8 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

After:
In [2]: %timeit django.utils.timezone.now()
937 ns ± 5.35 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

Can get_default_timezone be made to return the same for UTC?
Currently a test in DRF is failing with dj21 because of this.
It baseically does this:
In [1]: from django.conf import settings
In [2]: settings.configure(USE_TZ=True, TIME_ZONE='UTC')
In [3]: from django.utils.timezone import get_default_timezone, utc
In [4]: get_default_timezone(), utc
Out[4]: (<UTC>, datetime.timezone(datetime.timedelta(0), 'UTC'))
In [5]: get_default_timezone() == utc
Out[5]: False

The test can be fixed of course, but that might affect other apps, and if it is meant for performance should be done there then, too.


hossted set domain update

Here we have

docker-compose is better to replace with docker compose
need to update /etc/motd accordingly to new hostname
need to make some noise with admin.hossted.com also, update instance info

#1 was done .
#2 needs to be implemented and once domain is set  #3 means we need to send the url to the api as an update to the hostname.

Verify we send updated url to api after url change


Make all keys lazy vals and side effecting keys TaskKey's

This PR does the following things

SettingKey's by default are lazy and cached, which means they only get computed once after sbt's resolution mechanism is done. For pure values this is fine but for side effects (i.e. getting the date and in our case generating the file from that date) the key should be executed each time on demand and the right abstraction for this is a TaskKey.
Use lazy vals for all of the keys, this is idiomatic since for sbt plugins since they only need to be evaluated once.
Since they are public, adds explicit types for the keys.

Nice explanation of the difference between tasks and settings is here https://medium.com/@awesomeorji/sbt-for-the-absolute-beginner-2-settings-and-tasks-6f3b00be1a81
@pjfanning If you feel like the timing is right (i.e. no future changes are likely to be done) feel free to make a new release after this PR merge and then I can start going around Pekko projects update/add the plugin.

@mdedetrich v0.1.4 is published


Default zoom for tile_service is too small when drawing tools are included.

The following provides a reasonable default zoom:
gv.tile_sources.StamenTerrain()

However, if a drawing tool is included then the extents are zoomed in beyond reason:
tiles = gv.tile_sources.StamenTerrain()
points = gv.Points([])
point_stream = PointDraw(source=points)
tiles * points

To manually set the extents, I would have expected the following to work, but it produces an error:
tiles = gv.tile_sources.StamenTerrain(extents=(-125, 25, -65, 50))

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-19-bb0038a7d3fe> in <module>()
----> 1 tiles = gv.tile_sources.StamenTerrain(extents=(-125, 25, -65, 50))
      2 points = gv.Points([])
      3 point_stream = PointDraw(source=points)
      4 tiles * points

~/miniconda/envs/earthsim3/lib/python3.6/site-packages/holoviews/core/dimension.py in __call__(self, options, **kwargs)
   1147             self.warning('Use of __call__ to set options will be deprecated '
   1148                          'in future. Use the equivalent opts method instead.')
-> 1149         return self.opts(options, **kwargs)
   1150
   1151     def opts(self, options=None, backend=None, clone=True, **kwargs):

~/miniconda/envs/earthsim3/lib/python3.6/site-packages/holoviews/core/dimension.py in opts(self, options, backend, clone, **kwargs)
   1211         elif clone:
   1212             obj = self.map(lambda x: x.clone(id=x.id))
-> 1213         StoreOptions.set_options(obj, options, backend=backend, **kwargs)
   1214         return obj
   1215

~/miniconda/envs/earthsim3/lib/python3.6/site-packages/holoviews/core/options.py in set_options(cls, obj, options, backend, **kwargs)
   1697         # {'Image.Channel:{'plot':  Options(size=50),
   1698         #                  'style': Options('style', cmap='Blues')]}
-> 1699         options = cls.merge_options(Store.options(backend=backend).groups.keys(), options, **kwargs)
   1700         spec, compositor_applied = cls.expand_compositor_keys(options)
   1701         custom_trees, id_mapping = cls.create_custom_trees(obj, spec)

~/miniconda/envs/earthsim3/lib/python3.6/site-packages/holoviews/core/options.py in merge_options(cls, groups, options, **kwargs)
   1565             for k, d in kwargs.items():
   1566                 if spec_key in d:
-> 1567                     kws = d[spec_key]
   1568                     additions.update({k:kws})
   1569             if spec_key not in options:

IndexError: tuple index out of range

This should work:
tiles = gv.tile_sources.StamenTerrain(extents=(-125, 25, -65, 50))

We also now have a global_extent plot option:
tiles = gv.tile_sources.StamenTerrain.options(global_extent=True

However in general you are absolutely right to expect overlaying the empty element should not change the initial zoom level and this is something I hope to address as part of the work on extents and padding I'm doing in holoviews.

@sdc50  the work on extents and padding has been implemented. Can you retest and see if those work for you?


include version attributes to each dataset

in depmap, it should work like this:
https://depmap.org/portal/download/all/?releasename=DepMap+Public+<relase-name>&filename=<file-name>

@Yogiski can you also consider this in current updates?


binutils and gcc manpages hidden by wrappers

Issue description
The gcc and bin-utils wrappers don't expose the underlying derivations' man outputs.
Steps to reproduce

nix run nixpkgs.binutils.man -c man ld
Notice that the manpage is not found

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 4.16.14, NixOS, 18.03.132646.08d245eb31a (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.12pre5788_e3013543`
 - channels(root): `"nixos-18.03.132646.08d245eb31a, nixpkgs-18.09pre142651.95a8cb3ade1"`
 - channels(ben): `"nixpkgs-18.03pre126020.931a0b8be80"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

@Ericson2314, perhaps you know of an easy way to resolve this? Perhaps just symlink the manpages into the wrappers' output?

It seems to only propagate man pages via propagated-user-env-packages:
https://github.com/NixOS/nixpkgs/blob/bf2a009380ab57f647f4c2e4cc531721aaa32847/pkgs/build-support/cc-wrapper/default.nix#L261-L269
This has the problem of only working when you actually install it into a profile, see https://github.com/NixOS/nixpkgs/issues/43049.
The fix would be to add something like
ln -s ${cc.man}/share $man

For now you can do:
MANPATH=$(nix-build -E 'with import <nixpkgs> {}; lib.getOutput "man" stdenv.cc.bintools.bintools')/share/man man ld
MANPATH=$(nix-build -E 'with import <nixpkgs> {}; lib.getOutput "man" stdenv.cc.cc')/share/man man gcc

We definitely need a more versatile solution for this though.

Yes this is just a mistake @oxij and I forgot to correct. It is done correctly in bintools-wrapper with nix-support/propagated-build-inputs, which is strictly stronger.

@Ericson2314 I see, yep, that's a bug.

To be clear it's really my fault, not yours :). I added the binutils one and didn't update the original, so I just didn't finish the job. You didn't touch the propagation part at al, so that would have been an out out of scope change.
That said, if you could do this I'd really appreciate it. I have a few other things to tackle.

I think #44558 actually fixes this. At least I can see both man and info for both gcc and ld in a minimal NixOS VM.

Does that solve it for readelf too ? I couldn't get access to the man either (https://linux.die.net/man/1/readelf)

Yes, readelf too. But the patches are in staging, so it would take awhile till they hit the channels.

Was reverted in https://github.com/NixOS/nixpkgs/commit/c981787db951afb11c1328461df82d4277ebec07

:/

In c981787db951afb11c1328461df82d4277ebec07 and fa412972091538376d1d4ffd446803b5d9385cbb, to be precise.
@edolstra, what exactly was not to your liking there? Reverting bugfixes without explanation isn't nice.
Do you want binutils-wrapper to put docs into propagated-user-env-packages like cc-wrapper did (and does again after these reverts) or what? If yes, then why? I think symlinking is a cleaner solution, as, I think, wrappers should just reexport outputs of their inputs when possible.
If Nixpkgs was SLNOS and SLNOS had centralized committer list like Nixpkgs I'd seriously think about removing you from that list after this and 4d1332e507fe55103bc5ddd0a384447dc7833e12.
Did either of those break anything?

Correction. There's also fde7296a4749efadbeb8b608b7b4cc01c3a6e6d7, so bintools already does the propagated-user-env-packages thing on master.
I still don't understand why these changes were made, though. Please explain, @edolstra -sensei!
I made #46115 with an edited revert. I think the first patch over master there needs to be reapplied again either way (unless it breaks something I'm not aware of) as that change did a useful and, I'd hope, non-controversial thing. The symlinking change is now a separate patch (which I still like).

@oxij Don't worry, I have no desire to contribute to SLNOS.
Turning this around, I don't understand why these changes (moving from propagatedUserEnvPackages to symlinks) were made in the first place. Why are symlinks better?

@edolstra so nix-shell -p stdenv.cc.man works

nix run stdenv.cc.man works (with Nix 2.1).

@edolstra

Don't worry, I have no desire to contribute to SLNOS.

My point is that a polite way do a revert of a recently discussed and accepted change is, at the very least, to make a PR and mention the author of the changes in question.
I think that shooing PRs with "this needs mode discussion, hence this needs to go through RFC process" while commiting reverts straight to master without discussion is hypocrisy.

so nix-shell -p stdenv.cc.man works

That, and it also allows to control things directly via outputsToInstall which is used by documentation module of NixOS. Without the symlinking change that module can't do its thing for environment.systemPackages = [ binutils gcc ];

I can't get even nix run stdenv.cc.cc.man to work on whatever NixOS version I am on, so I am switching to a newer one.

Without the symlinking change that module can't do its thing for environment.systemPackages = [ binutils gcc ];

Correction. I checked and buildEnv does handle this indirection properly, so this argument is moot.
So, I only have the following pros of symlinking left:

simpler,
uses 4 inodes less (two intermediate directories x2 for man and info),
direct references like "export MANPATH=${stdenv.cc.man}/share/man" simply work (which, I think, @Ericson2314 meant in the above).

I opened a documentation request issue https://github.com/NixOS/nixpkgs/issues/46141. If we document these, tooling can add support to understand them (like nix 2.1 does).

So, a day and several hours of experiments later, I still think the correct way to proceed on the issue is to revert the reverts, i.e. merge #46115 as is (I also edited the reverted reverts a tiny bit there).
I wrote an explanation why the first patch of #46115 is the correct way to proceed on the issue in https://github.com/NixOS/nixpkgs/pull/46119#issuecomment-419091869 (also see the changes in #46119 to see the problem I didn't know I accidentally fixed it in #44558). Since I don't see any actual arguments against using symlinks, I think the second patch of #46115 should be applied too.
Hence, I would merge #46115 as is.

This was fixed with #46115.


if challengeEndpoint is not defined, the solution endpoint defaults to microsoft API

As per https://github.com/decentralized-identity/ion-tools/blob/main/ion.js/lib.js#L96, one cannot specify only one of the endpoints otherwise they both are reset to the default microsoft endpoints.
Subsequently, why is the challenge endpoint not available locally? Or did I miss it?

@lemoustachiste the challenge and the submission must be from the same ION node instance (because they are linked request/response endpoints that have data shared between them). For this reason, you can't take a challenge from one place and submit it somewhere else, because the server you are submitting to is the one that you need to satisfy the POW challenge for.

Thanks for your reply, I get the logic behind it.
However it seems I didn't have the challenge endpoint on my local node?

@lemoustachiste yes, we didn't add the POW challenge setup to the node's code (it's just a thing we needed at Microsoft for ours) because we didn't think people would really be running open write nodes like we are (we also didn't have the time to generalize it as a contribution). Is this needed for your uses? We can think about landing that here, if there's a strong community desire.

@csuwildcat it's too early for me to know exactly what we'll need since I'm still at PoC stage. I think we have a catch up today so we can discuss that then. I guess it all boils down to if you want to maintain an endpoint for consumers to reach or, if consumers are going to run a node anyway, they might as be autonomous all the way through.


EDSM http-502 errors crash EDScout

Looks like their API might be down and it's causing crashes:
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python37-32\Lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files (x86)\Python37-32\Lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "C:/Users/Jon/Documents/EDScout/EDScoutWebUI/EDScout.py", line 146, in receive_and_forward
    scout.trigger_current_journal_check()
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 48, in trigger_current_journal_check
    self.journalWatcher.trigger_current_journal_check()
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 189, in trigger_current_journal_check
    self._on_journal_change(self.latest_journal)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 193, in _on_journal_change
    self.report_journal_change(altered_file)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 169, in on_journal_change
    self.process_new_journal_entries(entries_with_populated_nav_route)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 175, in process_new_journal_entries
    self.process_journal_change(new_entry)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 153, in process_journal_change
    self.report_new_info(EDScout.create_system_report(new_entry))
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 94, in create_system_report
    system = EDSMInterface.get_system(system_name)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDSMInterface.py", line 34, in get_system
    raise Exception("request returned bad response code %d" % (data.status_code))
Exception: request returned bad response code 502

Another slightly different failure:
Traceback (most recent call last):
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
    raise err
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
    sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connection.py", line 309, in connect
    conn = self._new_conn()
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x05F6CD50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\connectionpool.py", line 727, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\urllib3\util\retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.edsm.net', port=443): Max retries exceeded with url: /api-system-v1/estimated-value?systemName=Swoiphs+PO-O+d7-63 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x05F6CD50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Python37-32\Lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\watchdog\observers\api.py", line 203, in run
    self.dispatch_events(self.event_queue, self.timeout)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\watchdog\observers\api.py", line 376, in dispatch_events
    handler.dispatch(event)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\watchdog\events.py", line 452, in dispatch
    super(PatternMatchingEventHandler, self).dispatch(event)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\watchdog\events.py", line 336, in dispatch
    }[event.event_type](event)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 144, in on_modified
    self.on_journal_change(changed_file)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\JournalInterface.py", line 193, in _on_journal_change
    self.report_journal_change(altered_file)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 173, in on_journal_change
    self.process_new_journal_entries(entries_with_populated_nav_route)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 179, in process_new_journal_entries
    self.process_journal_change(new_entry)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 148, in process_journal_change
    self.on_new_route(new_entry)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 213, in on_new_route
    report_content = EDScout.get_edsm_system_report(jump_dest['StarSystem'], 'NavRoute')
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDScout.py", line 187, in get_edsm_system_report
    estimated_value = EDSMInterface.get_system_estimated_value(star_system)
  File "C:\Users\Jon\Documents\EDScout\EDScoutCore\EDSMInterface.py", line 73, in get_system_estimated_value
    data = requests.get("https://www.edsm.net/api-system-v1/estimated-value", requestData, headers=headers)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests_cache\core.py", line 136, in request
    **kwargs
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests_cache\core.py", line 109, in send
    return send_request_and_cache_response()
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests_cache\core.py", line 97, in send_request_and_cache_response
    response = super(CachedSession, self).send(request, **kwargs)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\Jon\.virtualenvs\EDScout-yEs4E1p6\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.edsm.net', port=443): Max retries exceeded with url: /api-system-v1/estimated-value?systemName=Swoiphs+PO-O+d7-63 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x05F6CD50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

There was a pull request with some suggested changes for his here: https://github.com/joncage/ed-scout/pull/160


ARCHBOM-1584: refactor monitoring app

Description:

Add ADR to explain new app organization.
Apply new app organization to the monitoring Django app.
Remove middleware ordering checks. This is not a typical Django feature and it is painful when refactoring.
Add CachedCustomMonitoringMiddleware, CodeOwnerMonitoringMiddleware, and MonitoringMemoryMiddleware to the public API.
Deprecate above middleware from old location.
Deprecate methods from modules that were always meant to be used from the public API:

accumulate
increment
set_custom_attribute
set_custom_attributes_for_course_key

Add additional custom attributes for deprecated classes and methods to make them safer to retire.

Note: Some additional details in the CHANGELOG.rst change in the PR.
JIRA:
ARCHBOM-1584
Testing instructions:

[ ] I will test with an edx-platform sandbox once edx-platform PR is ready.

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPi after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Thanks for your thoughts, @idegtiarov.  I'll look into whatever is reasonably quick.

Black is hopefully coming in the future to help with code consistency.
I was trying to squeeze in a step in the right direction, but there will always be more that can be done, especially for existing code that is being moved around.

@robrap Thanks for the answers and clarifications.

@feanil: FYI: I plan on merging, but I wanted to let you know I added these tests for an existing middleware to increase coverage: https://github.com/edx/edx-django-utils/blob/241bb42ae5f511c25ab095018d05966cd509c63d/edx_django_utils/monitoring/tests/test_middleware.py


Stray comma in previous xfail commit

Previous commit was a little off

"Force merging to fix the bots" <-- we'll see if that works better this time