[WIP DO NOT MERGE] Add support for new heuristics based VM Deployement

Currently an admin can choose which host a VM is to be started on. They should be able to 'override' the allocation algorthm to a greater or lesser extent at will, and be able to choose the pod, cluster or host
that they wish a new VM to be deployed in.
DeployVirtualMachine API has been extended with additional, optional parameters podid and clusterid that will be passed to and used in the deployment planner, when selecting a viable host. If the user supplies a pod, a suitable host in the given pod will be selected. If the user supplies a cluster, a suitable host in the given cluster will be selected.
Based on the parameter supplied and on passing validation, the VM will then be deployed on the selected host, cluster or pod.
Description

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

@blueorangutan package

@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-72

LGTM!

ping @borisstoyanov , @rhtyd , @shwstppr - for review

@blueorangutan package

@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-98

@anuragaw can you address the small css/UI issue, then it's ready for review/merging.

Will look at it @rhtyd later today.

@blueorangutan package

@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@borisstoyanov @rhtyd @shwstppr - fixed the ui layout that Bobby saw -

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-126

@blueorangutan package

@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Let's merge this after a final test round.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-127

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-128

@blueorangutan test

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-156)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35017 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3454-t156-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 72 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
420.03
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
448.35
test_vpc_redundant.py

Tests lgtm


Do we need Pekhui mod ?

I feel like we need the mod Pehkui for the Bug type (smaller size) and the Dragon type (bigger size).
But on the Poketyped Origins description on Modrinth:
https://modrinth.com/mod/poketyped-origins-for-cobblemon
There is no word  about Pehkui:

This can create confusion for people who don't know how size modification works in Minecraft mods, and maybe they will not think to go download the Pehkui mod by themselves.

Fixed


Cannot successfully execute status_command (no JSON)

Hey there, I've been trying to configure Sway to use a custom string in place of the default status bar, but I keep getting this error thrown at me:
05/10/17 16:22:15 - [config.c:706] Error on line 209 'status_command ~/scripts/statusbar.sh': Unknown/invalid command (/home/flynn/.config/sway/config)
05/10/17 16:22:15 - [config.c:486] Error(s) loading config!
05/10/17 16:22:15 - [main.c:69] Using output 0 of 1

I've made sure that the file is executable, and the script is able to run via sh -c (which is supposedly command swaybar uses to execute the command).
Here is the markup of my dumb little script file ~/scripts/statusbar.sh:
#!/usr/bin/env bash
while (( 1 )); do
    time=$(date +"%a %Y-%m-%d %l:%M %p")
    freq=$(($(cpufreqctl info -n) / 1000 ))

    printf  "${freq} MHz  ${time}"

    printf "\n"
    sleep 1
done

# output: 3488 MHz  Wed 2017-05-10  4:26 PM

And the swaybar config in ~/.config/sway/config:
# configs

bar {
    position top
    colors {
	status_command ~/scripts/statusbar.sh
	background #00000000
        statusline #ffffff
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}
# EOF

Can anyone point me to a reasonable fix?

You put the status_command into your color config. Move it to the bar config.

Man, the things we end up missing being half-awake. Thanks for pointing that out!


Discard remaining records if an error handler throws an exception

See Stack Overflow.

This is rather more complicated than originally thought - the remaining records might be from multiple partitions so we need to seek each partition.
We should probably add a specific error handler for this condition (e.g. SeekToUnProcessedErrorHandler).

Some related SO question: https://stackoverflow.com/questions/47102226/offset-is-being-committed-even-though-acknowledge-is-never-called


[Device Support Request] Aqara T1 LED Strip

Problem description
Light strip is available to add via ZHA directly, however you cannot control the length of the strip. When using extensions on the light strip, standard color temperatures will illuminate the entire strip, however using RGB colors will only illuminate the original strip length, minus the extensions.
It should be noted that there are reports of this strip working with Z2M, though the attributes need to be configured through MQTT. See this thread: https://community.home-assistant.io/t/unable-to-turn-on-extensions-for-aqara-t1-led-strip-zha/650487/4
Solution description
Develop a quirk that includes the strip length attribute.
Screenshots/Video
No response
Device signature
No response
Diagnostic information
No response
Logs
No response
Custom quirk
No response
Additional information
No response

I'd love to see this not be stale. I have a T1 LED strip, is there anything I can do to help?

I to have a T1 LED strip. Unfortunately I don't have any knowledge of programming quirks. Can someone please take a look at the Zigbee2MQTT handler and see if we can map this to ZHA? It would make it so much better removing my Aqara E1 hub as it's causing interference with my default ZHA hub.

Same here

It should be possible to set the LED strip color in automations.
While the control panel allows color selection, it's unclear how to achieve this within an automation. Is this possible? How?
Additionally, scenes and effects don't seem to be supported with ZHA

Additionally: what is the purpose of the 'Transition' setting?
It doesn't appear to have any effect. Shouldn't it be used to fade one color into another?

Same issue.
Is there anything that can be done to set the device length other than using an Aqara hub or using z2m? I installed the zha-toolkit, but didn't manage to figure it out. I expected to be able to send some write_command and set the length to 3m.


Added [sflow] [ovs] [graph] sections in the conf example

I updated the config example to make agent en analyzer to start with that configuration file.
Explained that [openstack] is optional
Also explained the "listen" directive that binds by default on <IP_ADDRESS>

Thanks for this PR !

Sorry but can you squash your commits to have only one commit :)

Squashed

Thx !


Feat:Canteen Navbar should be Different

Describe the feature
See currently when user clicks on home he reaches /home route .but for user who is logged in cateen when he click on home he should redirect to /section.
plus Canteen Navbar should have profile icon and other necesarry things which i could do
so there Shold be 2 Navbar and i will ensure proper functionality of both
Add ScreenShots
no ss required
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

ok start working on this


changing workbook.model doesnt support merged cells

from a server i send my workbook.model via graphql string and catch it in angular this doesnt work.
But if i try my code in angular only it works.
But if i tried workbook.model = workbook.model the merging is removed

as  a workaround i do the merging of cells in client side


examples/client.rs not building

Error says it all:
10 | use hyper::service::service_fn;
   |            ^^^^^^^ Could not find `service` in `hyper`

Am I missing something really obvious? (Using stable 1.26 here)

The examples directory is using the master branch of Hyper, which will be 0.12. The current release of Hyper on crates.io is 0.11.27, which lacks the hyper::service module. Since you're seeing this build error, I'm assuming that you're pulling Hyper from crates.io and not the mainline branch of hyperium/hyper.
If you replace hyper = "0.11" in your Cargo.toml with hyper = { git = "https://github.com/hyperium/hyper" }, your project should build correctly.

Thanks, man! This was obvious in hindsight. Shall we keep this open as a marker until 0.12 lands on crates.io?

Maybe! That said, I've opened an PR to alleviate this issue.


add calculator component and basic styles

In this pull request I:
✔ Deleted all the boilerplate from CRA (text, images, styles).
✔ Created a directory called components.
✔ Inside components, created a new Calculator.js file.
✔ In Calculator.js, created a React component that matches the wireframe:
✔ Used Use class based components to render the calculator

Hello @sinansevgi how are you?
Thanks a lot for clarifying all this, and thanks for your time. I really appreciate it!


claim_abandon API docs incorrect

https://lbryio.github.io/lbry/#claim_abandon specifies you can only pass a claim_id, but the app has been passing txid and nout.
(The app was recently updated to use claim_id)

Don't think @jackrobison ever fixed the issue with api docs updating. Cli docs are updated though.


[Infra] Require firestore status check only if firestore code changes

The Firestore status check should only be required on Firestore PRs.
Relevant docs: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
AC (to be tested post-merge):

[ ] status check is skipped if changes != true
[ ] jobs are skipped if changes != true

#no-changelog

Tested it out in #13706 and it LGTM


overlapX and overlapY is never 0 after collision

This Issue is about

A bug in the API (Phaser v2.6.2 | Pixi.js | WebGL | WebAudio     http://phaser.io ♥♥♥)

The issue can be seen in the sandbox.
The top-left sprite should move 200 pixels to the right 500ms after the collision, but it's velocity is instantly reset. I have tracked the issue to the overlapX and overlapY being set after a collision.
The collided variable in Body.js of arcade physics will then be true, casing the stopMovement() method to be called, effectively stopping all motion.
Am I using this incorrectly? If I manually set overlapX/Y to 0 after a collision, the subsequent moveTo functions work as expected.

The top-left sprite should move 200 pixels to the right 500ms after the collision, but it's velocity is instantly reset.

Did you set body.stopVelocityOnCollide = true;?

Did you set body.stopVelocityOnCollide = false?

Setting this makes it somewhat work. The second moveTo runs, but it no longer stops on collide (obviously) which I would like it to do.

https://github.com/photonstorm/phaser-ce/issues/23

Thank you for taking the time to open this issue. However, official support for Phaser 2 has now ended as we focus on preparing Phaser 3 for beta release. In a bid to keep the project tidy, and avoid confusion, we are closing all v2 related issues.
This does not mean your issue won't be looked-at. In November 2016 the Phaser CE (Community Edition) project began. The aim of Phaser CE was to allow the community to continue v2 development. Since then it has gained significant traction, with many updates and releases.
If you are still interested in having your issue investigated we strongly recommend testing the latest Phaser CE release. And only if the problem persists, opening an issue on the Phaser CE repo.

It was fixed in photonstorm/phaser-ce#23 ♥♥♥


Unable to complete the Input field of Add Bus Window due to bug in the aspect ratio

Describe the bug
Current Behaviour:
Unable to complete the Input fields of Add Bus form due to small aspect ratio

Console Logs error after Add Bus is clicked:

Expected behaviour
The Input fields are aligned properly and compact in the frame, and the form is being submitted sucessfully!

Screenshots
Current Behaviour:

Expected Behaviour:

Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Assign the Issue to me, I have the PR with we could go for the merge then!

Please tag me under GSSOC


Eventually register a terminfo with ncurses upstream

Thomas Dickey, the maintainer of the ncurses project, also maintains the terminfo-db distributed with most Linux distributions. At the moment, the main TERM environment variable is xterm-256color, but not all xterm features are supported or even planned.  When 1.0 releases, it would be good to leave xterm-256color as the default TERM environment, but also to maintain a separate terminfo with the ncurses project upstream.  This means that as the changes in ncurses propagate down to the distros, the team can make a switchover and report the TERM as ms-terminal.
This will give the team the freedom in the long-term to add new features not implemented in xterm (for example, to support 32-bit color (i.e. an alpha channel)) or any other cool features they might dream up.  Some projects like libvte and kitty have or previously had a bad relationship with the ncurses maintainer because they refused to submit their own accurate TERMINFO to the database.

Related: #1040
We've actually been in touch with Thomas about the existing ms-terminal termcap, which is derived from some amalgamation of Windows Terminal and conhost's capabilities. For a while, too, we've been talking about whether we should ship one with Windows as well.
It's slightly more complicated because both Windows Terminal and conhost have different capabilities. The latter is more robust, but eventually they'll line up (right now, WT is weaker because it has conhost translating for it.)

@DHowett I actually have a question about that: Are you eventually planning on having WT do its own VT processing/rendering via a raw pty instead of having conhost do it?  This would make things a lot easier to divvy up by profile, in particular this feature https://github.com/microsoft/terminal/issues/2946

For that one, you'll want to track #1173. It's our (rough, mostly "we should do this") plan to converge the output engines for WT and conhost at some point.
For #2946, it's probably sufficient to parse but fail (ignore) OSC 52 when the console host is in VtIo mode, which will get conhost out of the way and give WT full control over what it does with the sequence.

Very good! That was one solution I had already considered, but I wasn't sure if the maintainers would be happy with it.

Has there been any progress on this? Does the terminfo exist just not in the upstream of curses?

@sandorex Nope, when there's progress, we'll make sure to post here 😉. For all intents and purposes, the Windows Terminal should be treated as xterm-256color, and any bugs that might arise from that should be filed here, so we can close any remaining gaps.

@zadjii-msft to be clear that does not include conhost, just the new terminal?

Technically, that's specific to conhost. The Terminal is currently powered by conpty, which uses conhost as a middle-man to translate console API calls into a stream of VT that the Terminal can understand. Part of what conpty does is also parse all the VT on behalf of the Terminal. It's not terribly efficient, but it gets the job done.
Conpty only ever emits a few types of sequences. It doesn't need the full range of VT to be able to recreate the console buffer. Since conpty is always sitting in the middle, Terminal is actually far below xterm-256color in terms of support. Fortunately, we don't need to worry about it for now, since conpty is always there to act as xterm-256color. The work to hopefully not do this double parsing is being tracked over in #1173

Honestly this is confusing me a bit

erminal is actually far below xterm-256color in terms of support. Fortunately, we don't need to worry about it for now, since conpty is always there to act as xterm-256color

How should The Terminal be treated, as partial xterm-256color ?

Oh no, the Terminal is always attached to conpty, and conpty is just conhost. Conhost is xterm-256color, so the Terminal is effectively xterm-256color. That's how you should treat the Terminal as a black box. I confused you by providing some unnecessary implementation details 🙃

I believe ncurses is now out with the ms-terminal type, and it's available in Debian stable.  It would be great if Windows Terminal could start reporting itself this way, since terminal types are supposed to reflect actual features, not intended ones, and XTerm is well known for having lots of esoteric features that most other terminal emulators don't fully support.
In the case of Windows Terminal in particular, there have been several notable compliance bugs (e.g., lack of bce) that have broken major software, such as Vim, and none of these would have been a problem if the terminal type weren't xterm-256color.

there have been several notable compliance bugs (e.g., lack of bce) that have broken major software, such as Vim

I don't know if I've seen a bug report on our repo for this! Admittedly, it's been a long holiday and I have not paged everything back in.
ms-terminal is not complete, and it would be a setback for us to use it. We're working on that. :smile:

#832, which has been fixed, is the situation in which the bce capability was not implemented.
I do strongly encourage you to use a terminal definition which is a subset (proper or not) of your terminal capabilities, such as ms-terminal or even ansi, even if it doesn't represent all of the things your terminal can do, than to use xterm-256color when you don't support all of its featurex.  This project is used for WSL, and while distros such as Debian will sometimes patch terminal definitions when major "xterm-compatible" emulators have problems, they don't consider Windows Terminal in that case, so when you claim capabilities you don't support, WSL users end up with broken software (which in many, but not all, cases tends to be Vim) and distros won't do anything about it.  To put it succinctly, terminal types are not aspirational; they should reflect the features you actually support.
You may not see the number of people this problem affects, but I've answered a decent number of questions on Stack Overflow, Super User, and similar sites about this particular problem, and it does affect a reasonably high number of users.  It's also a very hard problem to search for, and it tends to lead to knee-jerk responses like "Use a real Linux VM, not WSL," which are not helpful.  In my case, I normally use Linux, so when I do use Windows, having a fully functional, top-notch WSL experience is essential to me getting what I need to done and supporting my users who run Windows.
I should point out that you will always have some lag time between when you implement new features and when WSL distros will make them available in their terminfo files.  That's because most distros aren't rolling release.  So it's completely fine if ms-terminal isn't completely up to date and doesn't represent all the features you have now, as long as the terminal definition works out of the box.  And, from where I sit with the version in Debian 11, ms-terminal looks reasonably full featured, so I'm not worried about having it set.
This isn't to put down all the hard work you've put into this project, just to ask you to please consider the user experience here when you set TERM.

Thanks for writing that up. I totally agree.
Once we have a better story here (which will hopefully be before too long), I'll engage the folks on WSL to make sure they set TERM correctly as well¹.
¹ (We actually don't set TERM, and if we do WSL will overwrite it 😦 )


Reactive forms documentation

Where can i find documentation about reactive forms with DevEXtreme controls ?
Hello, i started in a new project with devExtreme controls, I have used Reactive forms but i can´t found the way how to use it with angular.
somebody can help me, thanks in advance!

I guess you saw the following section in the README:
https://github.com/DevExpress/devextreme-angular#angular-forms
Anyway, why not use DevExtreme forms instead?


Unable to deserialize BSON when Array / List<> is root

On the latest Json.Net, 9.0.1. When I am deserializing an object whose root is a List<>, I get

Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[System.Int32]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path '0'.

Repro code:
using Newtonsoft.Json;
using Newtonsoft.Json.Bson;
using System.Collections.Generic;
using System.IO;

namespace BsonTest
{
    class Program
    {
        static byte[] ObjectToBson(object o)
        {
            using (MemoryStream ms = new MemoryStream())
            using (BsonWriter writer = new BsonWriter(ms))
            {
                JsonSerializer ser = new JsonSerializer();
                ser.Serialize(writer, o);
                return ms.ToArray();
            }
        }

        static T BsonToObject<T>(byte[] b)
        {
            MemoryStream ms = new MemoryStream(b);
            BsonReader reader = new BsonReader(ms);
            return new JsonSerializer().Deserialize<T>(reader);
        }

        static void Main(string[] args)
        {
            object o = new List<int> { 1, 2 };
            byte[] stuff = ObjectToBson(o);

            var list = BsonToObject<List<int>>(stuff);

        }
    }
}

http://www.newtonsoft.com/json/help/html/P_Newtonsoft_Json_Bson_BsonReader_ReadRootValueAsArray.htm

Ah thanks, will try right away. May I ask what the reasoning is for having a property like this?

It's a flaw in the BSON spec.


Question

Hi, I have a question.
What chat script to put for Nukkit to display prefixes?

That depends on your chat plugin. Ask them for support.


Switch theme to match other geocat documentation

Closes #12
See the deployed version on my fork
Rough summary of changes:

switch to sphinx book theme by the executable book project from jupyter book theme

create conf.py
edited the environment, CI, and readme
added make.bat and Makefile

a little restructuring

moved the logos into an images file
moved the existing applications folders into an application folder

switch from md to rst for structural pages
grabbing some custom css that we could use from other geocat documentation
made a grid thing with (mostly placeholder) cards on the landing page that recreates roughly what it looked like with jupyter book theme

Looks great to me!
I could see maybe iterating a bit on the index page in the future (perhaps once we have some content), but I think this is a great starting point.
Thanks for getting this rolling!

Absolutely! I mostly just wanted to add an indication that we wanted that type of content and where it would be added in the directory structure.


Getting a problem adding a virtual nic.

When I use this function
def add_virtual_nic(host_network_system, pg_name):
from your create_vswitch_and_portgroup.py, I get an error? I created the portgroup and vswitch fine but cant add a vnic.
Error I get:
vmodl.fault.SecurityError: (vmodl.fault.SecurityError) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'vpxapi.fault.NotAuthenticated.summary',
faultCause = ,
faultMessage = (vmodl.LocalizableMessage) []
}

@rreubenur any clue?

Not sure but looks like you are messing with the "Management Network" connectivity of the Host which is causing the NotAuthenticated error !
Am I right ? If not then it needs further research ! If yes then try creating a different vSwitch and portgroup and then try to add a vnic there.
Also try the method "AddVirtualNic"


MuZero!!

Hey, since MuZero is very similar but more general, could you PLEASE do a similar article and repo for that?  many applications will do better with a more simple version that doesn't have to scale across a datacenter, so your style will be perfect, and with an explanation like the medium article, will be golden!
Also, could you post your article in markdown in this repo?  I could not even read the article because Medium says I have to 'upgrade and pay' them to be able to read your article. (I'd rather pay you).

Thanks for your support. I saw MuZero quite some time ago. The authors published a pseudo-code from which one can modify but it takes quite a bit of work + maybe hardware (especially with an extra 2 neural nets to optimize). But yeah, once I have spare time, I would do that and try to implement MuZero by modifying the AlphaZero code.
Sorry to hear that you couldn't read it. Well I do get paid a little bit by Medium when people read my article. Anyway, you can access my article through this friend link if you have maxed out your free reads: https://towardsdatascience.com/from-scratch-implementation-of-alphazero-for-connect4-f73d4554002a?source=friends_link&sk=011ef62eb139a568ae479d8677511473


Add bors

This adds bors.

What you'd need to do: Go to https://bors.tech, add this repository (if you haven't done yet) and ensure the settings from this comment.

@matthiasbeyer I just added bors through https://github.com/apps/bors/installations/new - is there something more I need to do?

Lets see whether bors knows of this repository... :wink:
bors ping

Nice. So yes, you'd need to ensure the settings I listed in this comment!

Disable squash merges (not required for bors per se, but anyways a good option) ✅
With "Require a pull request before merging" ✅
With "Require status checks to pass before merging" ✅
With "bors" as only required status check -> waiting until you configured bors
"Require pull request reviews before merging" MUST be unmarked -> didn't find this setting, is it called "Require review from Code Owners" ?
Required for administrators as well ✅

Awesome.
So lets see whether bors can merge this. I doubt it right now, as actions seems not to run yet. I had this problem before, and I know how to resolve it. Give me a few minutes!
bors merge

I messed this up a bit. Bors already merged it.

"Require pull request reviews before merging" MUST be unmarked -> didn't find this setting, is it called "Require review from Code Owners" ?

Yes, I think so.


Cannot read property 'apply' of undefined. Ember 1.13.x

For some reason Ember 1.13.x doesn't have treeForApp available on this._super on line 23:36
ember-cli-bugsnag/index.js:
  ...

  treeForApp: function() {
    if (this._includeBugsnag) {
      return this._super.treeForApp.apply(this, arguments); // Cannot read property 'apply' of undefined
    }
  },

  ...

Seems the ember-data team discovered this also: https://github.com/emberjs/data/blob/master/index.js#L95
Currently installed ember-cli-bugsnag v1.0.2.
Is there any way to fix this?

Hi @daniel-de-wit thanks for raising. I really like that TODO in the ember-data codebase.
I'm a bit surprised that this is happening for 1.13.x because we run against that version with Ember Try. At the very least our tests should fail for this problem.
https://30-31278646-gh.circle-artifacts.com/0/tmp/circle-junit.r7QxMFj/testem-ember-1.13.xml
I was not able to reproduce this using ember try with 1.13.0. At least using the dummy app I was able to produce an issue that published to bugsnag.
Have you had any progress here? If you can push up a repo which reproduces the issue that would be massively helpful.

Also worth noting that I'm testing it from the addon dummy app. I'm not testing an integration. That is probably the problem here. I'll see if I can expand on my testing if I don't hear from you.
Also of course, if you find a fix please do open a pull request.

Assuming we can close this. @daniel-de-wit if this still a problem for you I will reopen the issue.


SSAMOSWAP in chapter 2.2

Currently there is no mention of SSAMOSWAP in chapter 2.2.
Shouldn't there be text saying that it is an illegal instruction when the various xSSE are 0?

 Further, while xSSE is always 0 in machine mode, the machine mode may use SSAMOSWAP to operate on memory of lower privileges using MPRV and MPP to provide the effective privilege mode for the memory access.

Perhaps I  misunderstood your comment. Were you suggesting to add statements in section 2.2 explaining the faults in listing 4/5?

I am aware of the rules in chapter 2.7 (implemented this last week ;-).
Obviously, that is enough to describe the behaviour.
But for example SSRDP is described in 2.6 as doing
if (xSSE == 1)
  X(dst) = ssp
else
  X(dst) = 0
endif

even though 2.2 already says what happens when xSSE = 0.
So why not similar treatment for SSAMOSWAP in 2.2?

Please check PR #193


Update the unit test with the doc example

update the Unit test TestFilterLabelsDocExample since it should use doc example here Documentation/operations/performance/scalability/identity-relevant-labels.rst#including-labels
Here are changes

Add the kind and other labels, as they are part of the documentation and are used in the Cilium connectivity test.
Update the label source for io.kubernetes.pod.namespace from any to k8s to match Cilium's implementation.
Remove the io.cilium.k8s.policy.cluster label, as it is not part of the documentation example.

/test


The position of ancho-text "Learn logic design"  is not responsive

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In the home page the anchor text "Learn logic design" is not is the in the position when we change the aspect ratio . the design text is changing  its position
Steps To Reproduce
Go to https://circuitverse.org/
Change the aspect ratio
And see the error
Expected Behavior

Screenshots

Device Information [optional]
- OS:
- Browser:
- version:

Additional context
No response
Are you working on this issue?
Yes

pls assign this issue to me

Issue verified !
@upsaurav12 go ahead !

@tanmoysrt thank u so much

Can i know the reason why it is closed

@tanmoysrt Can i know the reason why it is closed

Sorry, by mistake !

i am still working on this issue


pull request for e2e test at 12/25/2016 00:56:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Can't disable HTML escape when using lazy translation

Hi,
Just noticed that disabling HTML escape does not work with lazyt. It is basically due to a typo I think :)
Description
from transifex.native.django import lazyt

a = lazyt("I don't want to be HTML escaped!", _escape=False)

When no translation is available, with default policy returning the source string, we will have:

"I don't want to be HTML escaped!"

Expected result:

"I don't want to be HTML escaped!"

Hint
lazyt just calls lazy_translate which is implemented like that:
def lazy_translate(_string, _context=None, _escape=True, **params):
    return LazyString(
        translate,
        _string,
        _context=_context,
        escape=_escape,
        fallback_value=_string,
        **params
    )

Doing that, LazyString will just call the translate function with all provided **kwargs (except fallback_value).
The issue is that translate has this signature:
def translate(_string, _context=None, _escape=True, **params)

Note that parameter is called _escape where lasy_translate creates a LazyString with the escape kwarg (without the leading underscore _).
It results in the escape parameter passed to translate but just ignored, and _escape will fallback to its default value _escape=True.
Versions
Python 3.8
transifex-python 3.0.2
Linux 5.14 x86_64 / Ubuntu 20.04

Hi,
Just pinging again about this issue, because I noticed that my workaround prevents python manage.py transifex push to detect strings to push :/
My workaround was that I overridded lazyt in my project to call LazyString with the right parameters. But doing so, it looks like python manage.py transifex push does not detect that my new lazyt function is actually the same as the one you provide :/
Could you check this out, please?
Thank you!

Hey @haroal, it should be fixed on version 3.0.3. Thanks for noticing this and apologies for the delayed action.


fetch multiple keyvault secrets via az keyvault secret show

Related command
az keyvault secret show
Is your feature request related to a problem? Please describe.
Not a problem necessarily, just a nice-to-have rather than multiple calls to specify one az cli call when we know the set of secrets in a key vault that a service requires.
Describe the solution you'd like
An optional parameter --names or --list to select multiple key vault secrets in one call.
E.g. az keyvault secret show --list SECRET-1,SECRET-2,SECRET-3 --vault-name <vaultName> --query "value"
Describe alternatives you've considered
Multiple calls to az keyvault secret show --name ...; one secret fetched per call.
Additional context
azure-cli version 2.48.1

Thank you for opening this issue, we will look into it.


c++/smart ptr and vec

Fix Vec<SmartPtr> case.
Vec<Rc<RefCell<X>> works while should not,
Vec<Arc<X>> doesn't work.

I've recently bump into this. AFAIK the problem is, CRustForeignVec::from_vec, should iterate through the Vec and run box_object on all items, before it creates CRustForeignVec. Reverse operation should be done in drop_foreign_class_vec. In fact, I can try to implement PR for this.
BTW, I have a problem with understanding those CRustVec and CRustForeignVec structs. If I understand correctly, the first one is intended for primitive types, like uint, the second one, for SwigForeignClasses. How about types that requires foreign_typemap conversion, like tuples, Options, etc? Can they be used with Vec? How to adjust CRustForeignVec to accept such types?

I've recently bump into this. AFAIK the problem is, CRustForeignVec::from_vec, should iterate
through the Vec and run box_object on all items, before it creates CRustForeignVec. Reverse
operation should be done in drop_foreign_class_vec. In fact, I can try to implement PR for this.

Not exactly. Case, when type T exported as Box<T> is special. Because it is possible to create C++ class from Vec<T> directly, because of Box::into_raw and &Vec<T>[index] is the same thing.
But in case of Vec<T> and OtherSmartPtr<T> it is impossible to get the same thing from OtherSmartPtr::from_raw and &Vec<T>[index].
In case of Vec<OtherSmartPtr<T>> and OtherSmartPtr<T>, the problem is that index operation is very tricky. I suppose C++ RustForeignVec in that case can not handle index operation in C++ part and should use Rust code for clone and into_raw calls.

BTW, I have a problem with understanding those CRustVec and CRustForeignVec structs. If I
understand correctly, the first one is intended for primitive types, like uint, the second one, for SwigForeignClasses.

The main difference is step field, it is impossible to calculate std::mem::size_of in cross-compilation case in general. It is possible for primitive types, so CRustVec is some kind of optimization.
Summary: CRustVec and CRustForeignVec are for cases when you can use directly Vec<T> without additional memory allocations and without extra efforts.
For other cases: I just use foreign_class for Vec, like:
foreign_class!(
class Boo {
self_type Vec<Arc<Foo>>;
fn index(&self, i: usize) -> ...


DynamoDB AttributeValue roundtrip of empty number or string sets

Describe the bug
When serializing content with empty Lists (L) or empty Maps (M) it is possible to force those by manually setting IsLSet  or  IsMSet  to true which then wraps things internally in an AlwaysSendList  or AlwaysSendDictionary. This is necessary to allow setting list and map types to an empty value without running into
Amazon.DynamoDBv2.AmazonDynamoDBException : Supplied AttributeValue is empty, must contain exactly one of the supported datatypes

Unfortunately, it is not possible today to use empty string sets (SS), number sets (NS) or binary sets (BS) since they have no public way of enforcing something like IsSSSet. The SDK currently has equivalent internal methods that make a bunch of assumptions that seem incompatible with setting those sets to empty values.
When you try to set any of these types to an empty set type, the following exception is thrown
Amazon.DynamoDBv2.AmazonDynamoDBException : Supplied AttributeValue is empty, must contain exactly one of the supported datatypes

Expected Behavior
Having the possibility to explicitly set/write sets of strings, sets of numbers or sets of binary data to empty.
Current Behavior
A
Amazon.DynamoDBv2.AmazonDynamoDBException : Supplied AttributeValue is empty, must contain exactly one of the supported datatypes

is thrown
Reproduction Steps
Set either SS, BS or NS to an empty list and try to write it against dynamodb.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Latest
Targeted .NET Platform
All
Operating System and version
All

I think it would make sense to align on the attribute value the SS, BS and NS property with corresponding IsXYSet properties and extend the InteralSDKUtils to support ISet<T> types. This could be done in a non-breaking way.

In V4 the IsSet properties lose the meaningfulness because the collections will default to null instead of empty. Then the SDK can figure out if something is set depending if the property is null or not.

I understand that but we have this problem with 3.x

Sorry I thought you were talking about V4.
If you want to submit a PR to add the IsSet you basically add the properties to this customization file and then run the generator. The generator is in this solution and then you have the ServiceClientGenerator project as the startup project and run it. In the PR you only include the customization file not the generated code.

@normj why is this being treated as a feature and not a bug? It is currently not possible to roundtrip empty sets as outlined in the description.

@normj I'm one of @danielmarbach's colleagues. I have raised https://github.com/aws/aws-sdk-net/pull/3299 which I hope properly implements your suggestion.

@DavidBoike Your PR looks good. I'll try and get this out soon.
@danielmarbach My logic was yes it is an architecture bug in the SDK with how SDK handles collections and the ability to know if a collection has a value or not. We are addressing the bug in V4 by changing the default of collections to be null. We aren't going to add IsSet methods all over the public API in V3 so adding customizations for specific properties I view as a feature request. I agree though it could be either way and I will get @DavidBoike PR out as soon as I can.

Version 3.7.302.23 of the AWSSDK.DynamoDBv2 package went out today with @DavidBoike PR. You can see the generated code checked in as well here: https://github.com/aws/aws-sdk-net/blob/main/sdk/src/Services/DynamoDBv2/Generated/Model/AttributeValue.cs#L428
I believe that solves this issue and closing the issue.

@normj I think this issue needs to be reopened.
Using the latest SDK you pushed yesterday the service doesn't accept empty NS, BS or SS values. The simplest possible repro is:
        var client = new DynamoDBClient();
        await client.BatchWriteItemAsync(new BatchWriteItemRequest(new Dictionary<string, List<WriteRequest>>
        {
            {
                "SomeTable", [
                    new(new PutRequest(new Dictionary<string, AttributeValue>
                    {
                        { "PK", new AttributeValue(Guid.NewGuid().ToString()) },
                        { "SK", new AttributeValue(Guid.NewGuid().ToString()) },
                        { "Data", new AttributeValue { NS = [], IsNSSet = true } }
                    }))
                ]
            }
        }));

that blows with
Amazon.DynamoDBv2.AmazonDynamoDBException: One or more parameter values were invalid: An number set  may not be empty
 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
   at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
   at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
   at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   --- End of inner exception stack trace ---
   at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionStream(IRequestContext requestContext, IWebResponseData httpErrorResponse, HttpErrorResponseException exception, Stream responseStream)
   at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionAsync(IExecutionContext executionContext, HttpErrorResponseException exception)
   at Amazon.Runtime.Internal.ExceptionHandler`1.HandleAsync(IExecutionContext executionContext, Exception exception)
   at Amazon.Runtime.Internal.ErrorHandler.ProcessExceptionAsync(IExecutionContext executionContext, Exception exception)
   at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.Signer.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext)
   at NServiceBus.PersistenceTesting.When_saving_saga_with_empty_list.ShouldSave() in /home/danielmarbach/Projects/NServiceBus.Persistence.DynamoDB/src/NServiceBus.Persistence.DynamoDB.PersistenceTests/When_saving_saga_with_empty_list.cs:line 18

Here is a PR that shows the same on our end
https://github.com/Particular/NServiceBus.Persistence.DynamoDB/pull/604

@danielmarbach I should have remembered when you initially asked about adding the IsSet methods but on the service side it doesn't support empty sets for an AttributeValue. So the IsSet methods added probably have little value other then consistency. Here is the line from the PutItem API reference docs: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-Item
Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must
have a length greater than zero if the attribute is used as a key attribute for a table or index. Set
type attributes cannot be empty.

@normj

String and Binary must
have a length greater than zero if the attribute is used as a key attribute for a table or index.

That to me reads as they are allowed in the case above because I'm not using it as a PK or SK key nor do I have an index defined. Can you clarify?

@danielmarbach I think the doc is written confusingly joining 2 different restrictions. Sets and the other collection types can not even be used as the PK or SK. The line Set type attributes cannot be empty. is independent of the beginning part talking about how empty string and binary attributes are not allowed for the PK and SK.


Membership: change relationship with organisation from FK to M2M field with organisation roles

Memberships should allow for multiple organisations, instead of a single one.

Closed through #1786.


Use go:embed directive to serve static assets

Remove dependency on go.rice
Resolves #1750

What this PR does / why we need it:

This PR utilizes the new embed:directive.
It gets rid of the dependency on https://github.com/GeertJohan/go.rice.
It simplifies CI steps by omitting unnecessary generate steps.

Which issue(s) this PR fixes

Fixes #1750

This PR modifies few files but removes a bunch as part of re-vendoring of dependencies.
I cleaned up the vendors directory by rerunning go mod vendor.

CI is failing as it runs everything on go 1.15. I'm looking into updating the go version

For the generated code check use:
go run build.go generate
For the lint check use:
 go run build.go fmt

Hey @wwitzel3 , both of these checks and other jobs are failing due to missing 'dist/octant' embedded files error.
Introduction of embed directives has made the files inside 'dist/octant' a build dependency. As mentioned in the last couple of paragraphs of packages docs(https://tip.golang.org/pkg/embed/#hdr-Directives), embed directive expects the directory (dist/octant in our case) to be non-empty or it will fail to build and there doesn't seem any way to make this optional. Use of native directives is cool, but this dependency on external files makes it annoying to run anything not related to building the project binary which actually needs these files.  Based on what we have, we have an option to go ahead with the embed directive but update all scripts which run octant (including build.go, ci) to setup expected directory structure, or we can keep using what we have until embed directive supported optionally empty directories. In my opinion, having a hard dependency on the external directories provides a bad development experience with octant and we should just keep using rice box for now.

Ahh, yes, I see what you are talking about now. I think we can work around this by leveraging Go build tags and inverting the control so that the embedded frontend handler is set as a side-effect of importing and building the web.go package.
It will look something like this.
index e216e145..69769e1a 100644
--- a/build.go
+++ b/build.go
@@ -261,7 +261,7 @@ func build() {
 	if runtime.GOOS == "windows" {
 		artifact = "octant.exe"
 	}
-	runCmd("go", nil, "build", "-mod=vendor", "-o", "build/"+artifact, GO_FLAGS, "-v", "./cmd/octant")
+	runCmd("go", nil, "build", "-tags", "embedded", "-mod=vendor", "-o", "build/"+artifact, GO_FLAGS, "-v", "./cmd/octant")
 }

 func buildElectron() {
@@ -364,19 +364,6 @@ func webBuildElectron() {
 	if err := cleanCmd.Run(); err != nil {
 		log.Fatalf("web-build-electron: create dist/octant/ : %s", err)
 	}
-
-	// This is a workaround as embed directive fails when
-	// the embedded directory is empty.
-	// Directive in question is located at:
-	// https://github.com/vmware-tanzu/octant/blob/master/web/web.go#L10
-	newFileCmd := newCmd("touch", nil, "dist/octant/empty.txt")
-	newFileCmd.Stdout = os.Stdout
-	newFileCmd.Stderr = os.Stderr
-	newFileCmd.Stdin = os.Stdin
-	newFileCmd.Dir = "./web"
-	if err := newFileCmd.Run(); err != nil {
-		log.Fatalf("web-build-electron: create dist/octant/empty.txt : %s", err)
-	}
 }

 func serve() {
diff --git a/pkg/dash/dash.go b/pkg/dash/dash.go
index 61d0dfc5..055b1876 100644
--- a/pkg/dash/dash.go
+++ b/pkg/dash/dash.go
@@ -48,7 +48,7 @@ import (
 	"github.com/vmware-tanzu/octant/pkg/plugin"
 	pluginAPI "github.com/vmware-tanzu/octant/pkg/plugin/api"
 	"github.com/vmware-tanzu/octant/pkg/store"
-	"github.com/vmware-tanzu/octant/web"
+	_ "github.com/vmware-tanzu/octant/web"
 )

 type Options struct {
@@ -602,7 +602,7 @@ func newDash(listener net.Listener, namespace, uiURL string, browserPath string,
 		namespace:       namespace,
 		uiURL:           uiURL,
 		browserPath:     browserPath,
-		defaultHandler:  web.Handler,
+		defaultHandler:  octant.GetFrontendHandler,
 		willOpenBrowser: true,
 		apiHandler:      apiHandler,
 		pluginService:   pluginHandler,
diff --git a/pkg/octant/options.go b/pkg/octant/options.go
index 60fe8d02..a2db0272 100644
--- a/pkg/octant/options.go
+++ b/pkg/octant/options.go
@@ -10,8 +10,6 @@ import (
 	"context"
 	"fmt"
 	"net/http"
-
-	"github.com/vmware-tanzu/octant/web"
 )

 // options is an internal set of options that can be used to configure Octant. These are
@@ -28,7 +26,7 @@ type options struct {
 // buildOptions builds an options struct from a list of functional options.
 func buildOptions(list ...Option) options {
 	opts := options{
-		frontendHandler: defaultFrontendHandler,
+		frontendHandler: func(_ context.Context) (http.Handler, error) { return GetFrontendHandler() },
 		backendHandler: func(ctx context.Context) (handler http.Handler, err error) {
 			return nil, fmt.Errorf("backend handler is not configured")
 		},
@@ -48,7 +46,7 @@ type Option func(o *options)
 func FrontendURL(proxyURL string) Option {
 	return func(o *options) {
 		if proxyURL == "" {
-			o.frontendHandler = defaultFrontendHandler
+			o.frontendHandler = func(_ context.Context) (http.Handler, error) { return GetFrontendHandler() }
 			return
 		}

@@ -70,10 +68,23 @@ func BackendHandler(fn func(ctx context.Context) (http.Handler, error)) Option {
 	}
 }

+var frontendHandlerFn func() (http.Handler, error)
+
+func SetFrontendHandler(handlerFn func() (http.Handler, error)) {
+	frontendHandlerFn = handlerFn
+}
+
+func GetFrontendHandler() (http.Handler, error) {
+	if frontendHandlerFn != nil {
+		return frontendHandlerFn()
+	}
+	return defaultFrontendHandler()
+}
+
 // defaultFrontendHandler is the default factory for creating a frontend handler.
 // TODO: this namespace should not know about the web namespace.
-func defaultFrontendHandler(ctx context.Context) (http.Handler, error) {
-	return web.Handler()
+func defaultFrontendHandler() (http.Handler, error) {
+	return http.NotFoundHandler(), nil
 }

 func noCacheRootMiddleware(next http.Handler) http.Handler {
diff --git a/web/doc.go b/web/doc.go
new file mode 100644
index 00000000..47b19aed
--- /dev/null
+++ b/web/doc.go
@@ -0,0 +1,11 @@
+package web
+
+/*
+Copyright (c) 2020 the Octant contributors. All Rights Reserved.
+SPDX-License-Identifier: Apache-2.0
+*/
+
+/*
+This package is used when embedding the Frontend assests directly in to the Octant binary.
+This requires compiling Octant with `-tags embedded`
+*/
diff --git a/web/web.go b/web/web.go
index 8357d771..2b2848ba 100644
--- a/web/web.go
+++ b/web/web.go
@@ -1,3 +1,5 @@
+// +build embedded
+
 package web

 import (
@@ -5,6 +7,8 @@ import (
 	"io/fs"
 	"mime"
 	"net/http"
+
+	"github.com/vmware-tanzu/octant/pkg/octant"
 )

 //go:embed dist/octant
@@ -25,3 +29,7 @@ func Handler() (http.Handler, error) {

 	return http.FileServer(http.FS(fsys)), nil
 }
+
+func init() {
+	octant.SetFrontendHandler(Handler)
+}```

I'll look at what is going on with this Windows test.

Never mind, @xtreme-vikram-yadav is going to stay on this PR, I had the wrong issue.


Chapter computational performance/hardware

Job d2l-zh/PR-836/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-836/

Job d2l-zh/PR-836/2 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-836/


tellduslive does not work if package 'requests' is upgraded

Home Assistant release (hass --version):
0.64.0
Python release (python3 --version):
Python 3.5.2
Component/platform:
tellduslive
Description of problem:
If I don't downgrade package 'requests' to 2.14.2, tellduslive does not start.
To downgrade:
pip3 install requests==2.14.2
If I don't downgrade, requests-2.18.4 is installed on my system.
Expected:
Clean startup.
Problem-relevant configuration.yaml entries and steps to reproduce:
tellduslive:

Traceback (if applicable):
2018-03-06 13:22:14 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 202, in setup
    client.update()
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 228, in update
    self._sync()
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 271, in _sync
    entity.changed()
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 297, in changed
    self.schedule_update_ha_state()
  File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 294, in schedule_update_ha_state
    self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'

Additional info:
Workaround first presented here - https://github.com/home-assistant/home-assistant/issues/10326#issuecomment-343460996 but I have never seen a real solution to the problem.

I can confirm. I'm seeing this issue as well, both in old 0.58 and 0.64.3 (just upgraded). Workaround to downgrade requests to 2.14.2 still works.

Now with ver > 0.65 you need Python ver > 3.5.2. This made med upgrade to Python 3.6. After this and reinstall of Home Assistant, this problem went away. I now am up and running with the latest ver of requests, 2.18.4.


rtsp-simple-server: 0.12.1 -> 0.12.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/aler9/rtsp-simple-server/releases.
meta.description for rtsp-simple-server is: "Ready-to-use RTSP server and RTSP proxy that allows to read and publish video and audio streams"
meta.homepage for rtsp-simple-server is: "https://github.com/aler9/rtsp-simple-server"
meta.changelog for rtsp-simple-server is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.12.2 with grep in /nix/store/yrqmb9kgx7y2azq5r1id4b3g41icb2qr-rtsp-simple-server-0.12.2

directory tree listing: https://gist.github.com/35767afadacbedbd2560187472db05e5

du listing: https://gist.github.com/6cabdce33450405cc8f789a3137a87cf

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
rtsp-simple-server

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yrqmb9kgx7y2azq5r1id4b3g41icb2qr-rtsp-simple-server-0.12.2
ls -la /nix/store/yrqmb9kgx7y2azq5r1id4b3g41icb2qr-rtsp-simple-server-0.12.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

rtsp-simple-server

Maintainer pings
cc @doronbehar @kalbasit for testing.

Result of nixpkgs-review pr 105551 run on x86_64-darwin 1

1 package built:

rtsp-simple-server


Can't change existing host to different section

I just renamed Quercus texana to its current name, Quercus buckleyi, and noticed it was in the white oaks for some reason. I've changed it to Lobatae 4 times now and it won't take.

Will look at this in the AM and fix it and deploy it with the other changes for undescribed that I have.

Looking into this more, I think the mapping is correct, it's just showing the wrong name in the field. Eg on the Edit Host page Quercus incana shows as in section Quercus, not Lobatae, but if you edit section it is where it's supposed to be.

I fixed it but can not deploy anything as I am still stuck with this issue with the database library that I am using. We are basically dead in the water with updates until I figure this out. I have asked on the libraries discussion: https://github.com/prisma/prisma/discussions/6395 as well as in their Slack but so far have heard nothing. I need to update the library due to a bug in the library but when I do it causes this other issue which makes it so that almost all of the code that updates/deletes data no longer works. I have been trying to figure it out for 3 days with not luck. Hopefully someone will respond to that thread that I created soon. Otherwise I am not sure what to do exactly. Hooray for software.

Having this issue again; just made Quercus texana (a different species from Q buckleyi, formerly Q texana :<) and tried to add it to Lobatae but it just clears the field when I submit it. This time, it doesn't seem to be adding it to the section under the hood either. I can add the species successfully on the Edit Section page tho.

Fixed with upcoming deployment


Basic timeline resets element position between each call to .add()

Undocumented behavior: I would expect subsequent calls to .add() to leave elements in their last position for a true timeline flow. Even using += notation for a property like translateX, the elements return to their original positions between each .add() call.
CodePen example: http://codepen.io/nfig/pen/mWpBPQ

This is also reported as issue #121

I replied here #121


Screenshot | Ortho camera Auto-Scaling on screenshot using render targets

I jumped into a small inconvenience.
I have to created measured views and make pictures, but the images were distorted.
When creating a screenshot using render targets and active ortho camera the resulting image
is distorted when the render size <> actual canvas size.
Look attached playground.

I suggest to set the ortho camera to the aspect of the screenshot before doing it, afterwards apply the previous one.

I also suggest a convenience method fo toOrtho() and toPerspective function, that will set it (like I do it this function here)

If you want you can assign this ticket to me, I will take a look, if I can integrate it in the core.
Playground with fix:
https://playground.babylonjs.com/#UKNERM#278
(will need Pop ups to not being blocked, see description and commented line)

Hey. That sounds to me. Do you want to send a PR?

Yes. I just don't have time line here. I will do it in some free time the coming days and do it together with the other issue (with the shadow generator).

Hi @KevinBLT - Do still want to do it? Thanks

Hi @thomlucc, yeah I have a lot of internal changes to some aspects of Babylon.
Sorry I haven't been pushing them. I hope there will be time over easter-weekend, so thanks for reminding!
Did you hit this situation as well?

oh yes! It's great you are still interested in submitting a PR. Thanks a lot.

Closing due to inactivity. @KevinBLT - feel free to re-open when you have time to work on it. Thanks a lot!


How to get certificate for subdomain?

I have my frontend deployed via netlify and with https at my domain, mydomain.com. I would now like to use this project to deploy my backend on a separate VM under the subdomain api.mydomain.com, what is the configuration to do this? Currently, in the interactive prompts given by the CLI there is only the option to use a www subdomain and nothing else. Thanks

Hi @Bijig0,
Just specify api.mydomain.com as your domain name and don't use www subdomain:
What's your domain name?: api.mydomain.com
Want to have 'www' subdomain?: No

Make sure to add A, AAAA or CNAME DNS record for the domain api.mydomain.com.
If you also want to get certificate for apex domain mydomain.com, add it as a separate domain to the config.

@Bijig0 , have you received a certificate for your subdomain?

@eugene-khyst Oh I didn't see the reply and ended up using a separate domain I had available to host my backend. I'll try use the subdomain for future projects tho, thanks for your reply :)


example of using ExpectationOverTransformation (EoT) wrapper with preprocessing defence

Is your feature request related to a problem? Please describe.
Hey again art devs, this is a follow up to #702 and some discussion on #209
We're trying to use the EoT wrapper to replicate a result from the Athalye et al. 2018 "Obfuscated gradients" paper, where they report using EoT to successfully attack a classifier that uses a Total Variance Minimization preprocessing defence.
Is there an example in the docs somewhere of using the EoT wrapper with an actual preprocessing defence?
The closest thing we could find is this unit test:
https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/62ffe7c951d8a60d49a9ea6ac7b04aa4432a3fb7/tests/wrappers/test_expectation.py#L52
I'll paste the whole thing here for context, basically it shows the simplest possible example of defining an iterator to give to an eot instance as the transformation argument:
        # Build KerasClassifier
        krc = get_image_classifier_kr()

        # Get MNIST
        (_, _), (x_test, y_test) = self.mnist

        # First attack (without EoT):
        fgsm = FastGradientMethod(estimator=krc, targeted=True)
        params = {"y": random_targets(y_test, krc.nb_classes)}
        x_test_adv = fgsm.generate(x_test, **params)

        # Second attack (with EoT):
        def t(x):
            return x

        def transformation():
            while True:
                yield t

        eot = ExpectationOverTransformations(classifier=krc, sample_size=1, transformation=transformation)
        fgsm_with_eot = FastGradientMethod(estimator=eot, targeted=True)
        x_test_adv_with_eot = fgsm_with_eot.generate(x_test, **params)

Describe the solution you'd like
If there's not already a concrete example in the docs of using eot with a preprocessing defence, could one be added?
Describe alternatives you've considered
Here's an attempt I wrote out before:
https://github.com/Trusted-AI/adversarial-robustness-toolbox/issues/289#issuecomment-683122165
Basically our guess as to the correct way to do this looks something like:
tv_preprocessor = TVMinimization()

def transformation():
    yield tv_preprocessor

# clf_art is a PytorchEstimator instance, BATCH_SIZE is some constant
eot = ExpectationOverTransformations(classifier=clf_art, sample_size=1, transformation=transformation)
cw_eot = CarliniL2Method(classifier=eot, batch_size=BATCH_SIZE)

It's not at all clear to us whether we are properly implementing the iterator that the eot wrapper expects to receive as a transformation.
What is the logic for using an iterator here instead of just letting the user pass an instance of a preprocessing defence?
Is it to make ExpectationOverTransformation a more general wrapper?
Some context on this in docs would help, maybe with that concrete example in the docstring
I admit I'm not a good enough Python programmer to grok what's going on.
But if that's true for me I think it might be true for other researchers trying to leverage the abstractions in art also.
Our other alternative would be ... use the armory approach?
https://github.com/kevinmerchant/armory-example/blob/adaptive_tutorial/tutorial/patch_loss_gradient.md
But we'd prefer to not have to special-case anything and use "pure art" where we can
Additional context
n/a

update:
when we try the naive approach outlined above, we get this error:
TypeError                                 Traceback (most recent call last)
<ipython-input-26-2a26c343c473> in <module>
      1 x_at_wout_TV = attack.generate(x, y)
      2
----> 3 x_at_w_TV = attack_eot.generate(x, y)

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/attacks/attack.py in replacement_function(self, *args, **kwargs)
     72                 if len(args) > 0:
     73                     args = tuple(lst)
---> 74                 return fdict[func_name](self, *args, **kwargs)
     75
     76             replacement_function.__doc__ = fdict[func_name].__doc__

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/attacks/evasion/carlini.py in generate(self, x, y, **kwargs)
    278                 x_adv_batch_tanh = x_batch_tanh.copy()
    279
--> 280                 z_logits, l2dist, loss = self._loss(x_batch, x_adv_batch, y_batch, c_current)
    281                 attack_success = loss - l2dist <= 0
    282                 overall_attack_success = attack_success

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/attacks/evasion/carlini.py in _loss(self, x, x_adv, target, c_weight)
    148         l2dist = np.sum(np.square(x - x_adv).reshape(x.shape[0], -1), axis=1)
    149         z_predicted = self.estimator.predict(
--> 150             np.array(x_adv, dtype=ART_NUMPY_DTYPE), logits=True, batch_size=self.batch_size,
    151         )
    152         z_target = np.sum(z_predicted * target, axis=1)

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/estimators/classification/classifier.py in replacement_function(self, *args, **kwargs)
     69                 if len(args) > 0:
     70                     args = tuple(lst)
---> 71                 return fdict[func_name](self, *args, **kwargs)
     72
     73             replacement_function.__doc__ = fdict[func_name].__doc__

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/wrappers/expectation.py in predict(self, x, batch_size, **kwargs)
     68         """
     69         logger.info("Applying expectation over transformations.")
---> 70         prediction = self._predict(next(self.transformation())(x), **{"batch_size": batch_size})
     71         for _ in range(self.sample_size - 1):
     72             prediction += self._predict(next(self.transformation())(x), **{"batch_size": batch_size})

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/estimators/classification/classifier.py in replacement_function(self, *args, **kwargs)
     69                 if len(args) > 0:
     70                     args = tuple(lst)
---> 71                 return fdict[func_name](self, *args, **kwargs)
     72
     73             replacement_function.__doc__ = fdict[func_name].__doc__

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/estimators/classification/pytorch.py in predict(self, x, batch_size, **kwargs)
    187
    188         # Apply preprocessing
--> 189         x_preprocessed, _ = self._apply_preprocessing(x, y=None, fit=False)
    190
    191         # Run prediction with batch processing

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/estimators/estimator.py in _apply_preprocessing(self, x, y, fit)
    238         # y = check_and_transform_label_format(y, self.nb_classes)
    239         x_preprocessed, y_preprocessed = self._apply_preprocessing_defences(x, y, fit=fit)
--> 240         x_preprocessed = self._apply_preprocessing_standardisation(x_preprocessed)
    241         return x_preprocessed, y_preprocessed
    242

~/anaconda3/envs/gard-owlre/lib/python3.7/site-packages/art/estimators/estimator.py in _apply_preprocessing_standardisation(self, x)
    290                 div = np.asarray(div, dtype=x.dtype)
    291
--> 292             res = x - sub
    293             res = res / div
    294

TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

Hi @Embeddave Thank you very much for raising this issue, we'll try to take a look at it as soon as possible.

Thank you @beat-buesser
Is there any way you or @mathsinn could give us just a very brief example here on this issue of the correct usage of the eot wrapper when combining it with a real defense? E.g., TotalVarMin?
It would be great to get this documented in the long run, and I could possibly contribute a PR if you are interested, but right now we just need one really quick example of the right way so we can move past a research roadblock.

For the example above @kevinmerchant pointed out we were missing a while True statement (as in the unit test)
Our example now runs without that error (🙏 Kevin)

Hi @Embeddave Sorry for the delayed response, but that's great to hear! Does this solve all your issues or is there anything else we could help with?

Thank you @beat-buesser
Can you let us know if the while True approach is the "right" way to use ExpectationOverTransformations with an art preprocessing defense?
i.e., should we just always be defining an "infinite iterator" that simply returns our defense instance?
Still trying to understand the need for requiring transformation to be an iterator. I guess it's to give the the user more flexibility in what transforms get applied each time that iterator.next gets called? E.g., I could define a transformation that randomly picks one of some set of preprocessing defenses each time it's called

Hi @Embeddave I'm not completely sure about art.wrappers.expectation.ExpectationOverTransformations but based on its implementation it averages calls to the classifier's methods loss_gradient or predict over sample_size samples and the transformation iterator should return a different transformed sampled on each call. Based on this I don't think a while True is required in the transformer.
Since ART 1.5 we have now also full support for Expectation over Transformation with framework-specific implementations with gradient backpropagation through EoT in the new module art.preprocessing.expectation_over_transformation with a first example for image rotation for classification.

Good to know, thank you @beat-buesser
I will close this and we'll look at the EoT class in preprocessing


Remove "hybrid" from names in configuration tree

All hybrids in the configuration tree have the word "hybrid" which does not add useful information since they appear under the "Hybrid" bin name.
However, the configuration tree uses "hybrid" to identify hybrid technologies. Removing it requires reworking how hybrids are implemented in the user interface.

Widget error when selecting 'Enable partial shading model'

@cpaulgilman any objections to moving this to the fall release? If so, please undo my change.

 Widget error when selecting 'Enable partial shading model'

Tested with latest develop branches and SAM_1569 branch of SAM


Increment version for identity releases

Increment version for identity releases

This automated PR updates identity version in Track 2 POMs to a preview version, which is not correct as per our poilicy.
So, closing it.

which is not correct as per our poilicy.

Is this a one-off issue or is there something we need to adjust in our auto-version pr workflows?

which is not correct as per our poilicy.

Is this a one-off issue or is there something we need to adjust in our auto-version pr workflows?

This can happen occasionally whenever Azure core or identity are released as previews.
CC: @alzimmermsft @joshfree

@g2vinay please file an issue with what you guys would like to see as the workflow and @JimSuplizio will see if there is a good way to improve the automation.


Action not working for projects using pyproject.toml

Hi, I have a project that uses pyproject.toml to configure settings. When I try to use your GitHub action with this project, I get the error yapf: toml package is needed for using pyproject.toml as a configuration file.
I believe this stems from the fact that your action doesn't include toml in the requirements.txt. Could you please add this (I'm happy to open a PR for this if you'd like).
Thanks!

Thanks a lot @NishanthJKumar for opening the issue and yes a PR will more than welcome to help it fix, thanks :))

Thanks for the quick response @mritunjaysharma394 ! I opened PR at #31


bug: docker: app-store doesn't read in data from chain properly when run in a container

Describe the bug
The app-store displays the apps, but without any metadata when running Kinode within a Docker container.
Expected behavior
Kinode should function identically whether inside or outside a Docker container.

Metadata is populated with get requests through the http_client, maybe that's being restricted somehow in docker?


Add label to the secret gerrit-ciuser-sshkey

Add label app.edp.epam.com/secret-type=repository to the secret gerrit-ciuser-sshkey.
We need this label app.edp.epam.com/secret-type=repository to show secret on the UI.

checked, we can close this


livecheck: support throttle DSL

[ ] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Essentially, we need to figure out best way to combine autobump, livecheck, and throttle so that autobumps can properly handle this. Preferably avoiding code duplication across various parts (i.e. bump commands, livecheck logic, github action, etc.)
Some ideas:

Throttle DSL - This approach
Livecheck throttling - e.g. https://github.com/Homebrew/homebrew-core/pull/166501
Time-based throttling - would need to change version-based throttling to time-based (days between bump) in JSON, provide a way of detecting some datetime info (e.g. modulo current day of year, attempt during specific timeslot in a day).

Con: This functionality mainly works when on autobump, but is trickier when user bumping is allowed as cannot guarantee cadence here.

deprecate the throttle JSON in favour of this so we don't have two different lists to carry around.

That was my plan if we go this route. But may be a follow up so we can migrate homebrew/core usage and then deprecate support. I need to figure out how to handle renovate and vim since we don't collect sufficient version info.

@samford can you ✅ in future when you feel that way? Thanks 🙇🏻

My wording may have been soft/vague but I still wanted to see the throttle variable/method in the Livecheck DSL reordered before approving/merging. I pushed a commit to take care of that, so I'll go ahead and approve.
I also rebased this and resolved the merge conflicts, so it should pass CI this time around.

Going to have to figure out why test for ZSH completions is failing. I don't think it is related to this PR given we didn't modify description. Can't repro locally.
Error: Homebrew::Completions when generating completions .update_shell_completions! generates shell completions

Failure/Error: described_class.update_shell_completions!

NoMethodError:
  undefined method `split' for nil:NilClass

          cmd_parser.description.split(DESCRIPTION_SPLITTING_PATTERN).first
                                ^^^^^^


add aae2 dataset

In this PR, we add aae2, another AM dataset, as per described in #10.
Requires: #66 and #61 (see below)
TODO:

[x] fix data issue (see TODO in script file) @ArneBinder (see #66 and 48d5891fd4d99b93ead46564e6475558a853d65a)
[ ] ~add~ complete tests
[ ] complete dataset card
[ ] complete PR description

~IMPORTANT: This PR is a bit messed up, the content of sciarg (#61) slipped into it. We will fix this as soon as~ #61 is merged.
IMPORTANT: This PR is still messed up. Therefore, we will continue to add this dataset in another PR (#92)

Closing in favor of #92.


take "gain coil" off snake oil

From tonight:

[12:14 AM] jorbs: let's try: snake oil: remember patience, deal damage to all enemies equal to your coil
[12:15 AM] jorbs: or whatever the right wording is


ViewAsPdf repeat header on every page (actually override with table record on next page)

Hi All,
I have used Rotativia with MVC 5, I faced an issue. I have tables to show as pdf, but when any table records exceed to next page, the next page automatically add the table header on first record.
How can i fix this, that the repeating table head stop printing on next page.

I'm having the same issue. Is there a fix or option to disable the repeating headers?
BTW: This package is awesome!

I'm having the same issue.

thead, tfoot { display: table-row-group } fix solved the issue for me...

@faizalshap  your solution is also working for me. Thanks. I am going to close the Issue.

thead, tfoot { display: table-row-group } fix solved the issue for me...

This solution also working for me.

thead, tfoot { display: table-row-group } fix solved the issue for me...

This worked for me too, thanks!

thead, tfoot { display: table-row-group } fix solved the issue for me...

This worked for me too, thanks!

this worked for me too ty alot

thead, tfoot { display: table-row-group } fix solved the issue for me...

this worked form me but not every pdf some pdf is fixed


Site Design PnP Provisioning Guidance needs updates due Azure Function 2.0 support changes

Hi,
This documentation is outdated, the PowerShell support doesn't exist anymore in 2.x of Azure function. Please update this documentation !!!
Thanks.

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

ID: c58783cb-5827-81c0-c696-9b4fb299694f
Version Independent ID: fa4deb1f-144b-8ac2-ff2b-e27232660f1c
Content: Calling the PnP provisioning engine from a site script
Content Source: docs/declarative-customization/site-design-pnp-provisioning.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Thanks for your post. The content team will add this to their work list, but won't update the docs immediately. If you have plan on how to update the docs, feel free modify it and submit an pull request.

I have tested this : http://www.avtex.com/2018/06/azure-automation-provisioning/
It's works and is a good start for Azure Automation.

thx @PooLP - if you want this to get updated asap, we do welcome also pull requests. You can simply click Edit button on the top of the page and submit your content suggestion. There are unfortunately quite a lot of outdated pages as we rely on the updates coming to the docs also from the community. Thanks for your input advance.

That's not correct at the present time (it might have been correct when this comment was posted though)... PowerShell is available in Azure Functions v2:
https://azure.microsoft.com/blog/serverless-automation-using-powershell-preview-in-azure-functions


hide menubar on linux

Should we do it on Windows too?

Can ask on https://keybase.atlassian.net/browse/DESIGN-2345

Superseded


Require only necessary information to create an event

Bug Report
Actual Behaviour
Currently the stepper requires much more information than necessary to create an event.
Expected Behaviour
It should only ask for name, description, date and time, and location to create the event.
Would you like to work on the issue?
Yes

I would like to work on the issue.

Please go ahead

Closed after discussion that it's not needed.


Problem with Corsair Strafe Mk.2

 [INFO] 20:20:34: CaptureState is Starting
[ERROR] 20:20:34: Error encountered in the Equalizer layer. Exception: System.Runtime.InteropServices.COMException (0x88890008): Exceção de HRESULT: 0x88890008
em System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
em NAudio.CoreAudioApi.WasapiCapture.InitializeCaptureDevice()
em NAudio.CoreAudioApi.WasapiCapture.StartRecording()
em Aurora.Settings.Layers.EqualizerLayerHandler.UpdateAudioCapture(MMDevice defaultDevice) na C:\projects\aurora\Project-Aurora\Project-Aurora\Settings\Layers\EqualizerLayerHandler.cs:linha 182
Expected Behaviour
Keyboard lights responding correctly in Audio Visualizer function and in game interactive effects.
Actual Behaviour
I'm having a problem with my new keyboard in Aurora. It don't work. Some effects works fine setting manually, but i have intrested in Audio Visualizer and in game effects, and both don't works. Audio Visualizer are not responding. And in game effects, the keyboard change color for the game, but is not working any interactive effect.
In Audio Visualizer, i've tried other softwares, like Corsair Effects Engine (I can't set my keyboard in dropbox, that have only "None" option), and also Keyboard Audio-Visualizer, and I get this error: "An error occurred while starting the Keyboard Audio-Visualizer. Please double check if SDK-support for your devices is enabled."
In iCue (version 3.18.77, the most recent) is enabled "enable SDK", and when I open Aurora, iCue inform that lights are be controled by third softwares itself.
In Aurora settings, my device is recognized in Device Manager showing 1-2 ms started.
Frequency
 Every time, since I bought.
Aurora Version:
v0.6.4b
Previously an Issue?
 Yes

For the visualizer, refer to #1487 .
For the games not working, that depends on the game, so please specify.

For the visualizer, refer to #1487 .
For the games not working, that depends on the game, so please specify.

About #1487, i didn't find any process or service with "Nahimic" name. But my motherboad is ASUS with Sonic Studio installed.
In games, all i've tried i had problems. Examples: CSGO, Rocket League, GTA V and The Division. When I select the window of Aurora, the keyboard lights on, and when i change to other window, lights out. In Rocket League the Keyboard stays in blue all the time in game, for example.
I dont know what do anymore. I hope someone can help me.

If you disable sonic studio the vizualiser will work.
Rocket league support is broken, CSGO might need patching ( you can do that from aurora), the other two games are logitech supported and should work, but there are some known issues that are fixed and will probably be released in the next version. For further help please join our discord: https://discord.gg/YAuBmg9

OMG man, tried change output in Windows and for the fist time i'm seeing my keyboard lights with the music! I'm using Razer Surround Audio Controller now, but i don't know how i will disable Sonic Studio and still working on Windows.
About games, Rocket League I didn't know about it. Thanks fort the information!
I'm very grateful for your help! Thank you so much!
I'll test games again, and if I found some error I go to Discord. Thanks!!!


Added Configuration Property for a bower-variant.

Hi,
we are using your plugin to build behind a firewall and are using artifactory for access to bower repositories. Artifactory works with a bower-variant called "bower-art" (https://www.npmjs.com/package/bower-art).
I have updated your plugin to support an optional parameter "bowerVariant".
Best Regards
Thorsten

Thanks for the contribution and the test :-)

You’re welcome. Do you have any plans releasing the next version?
Von: Thomas Recloux<EMAIL_ADDRESS>Gesendet: Samstag, 15. August 2015 12:42
An: trecloux/yeoman-maven-plugin
Cc: POHL, THORSTEN
Betreff: Re: [yeoman-maven-plugin] Added Configuration Property for a bower-variant. (#24)
Thanks for the contribution and the test :-)
—
Reply to this email directly or view it on GitHubhttps://github.com/trecloux/yeoman-maven-plugin/pull/24#issuecomment-131335997.
Sitz der Gesellschaft / Corporate Headquarters: Lufthansa Technik AG, Hamburg, Registereintragung / Registration: Amtsgericht Hamburg HRB 56865
Vorsitzender des Aufsichtsrats / Chairman of the Supervisory Board: Carsten Spohr
Vorstand / Executive Board: Dr. Johannes Bussmann (Vorsitzender/Chairman), Dr. Peter Jansen, Antonio Schulthess, Dr. Thomas Stueger

I just released it, it should sync with maven central soon.


[Feature request][4.0] Modal Table Details Row

Table Details Row is great , but maybe should be an option to choose if we want inside the table the details or in a modal ? IMO a modal is easier for the eyes.

Hmm… I think you make a good point @tiagosimoesdev . Modal might be better. However:

the responsive functionality now shows any columns that didn’t fit the viewport (in a modal); this should render the details_row useless in 99% of use cases;
it should be pretty easy to create a custom “details” button that opens a modal, if you need to show something super-specific;

So I don’t think we should rework details_row into opening a modal. Sorry.
Maybe a better thing would be to have a tutorial / template about creating a custom button that opens a modal. @tiagosimoesdev if you do create a tutorial/example for this, please share it with us (link or code) - happy to promote it.
PS. I might be wrong about this. Let me know if you think that, and please anybody who disagrees jump in with your opinion. Everybody's wrong at least once a day - I’m not the exception :-)

This looks great! Good job - and thanks for sharing. I’m sure people will find it useful.
Alternatives would probably be DataTables Editor and maybe x-editable - but I’m not sure Backpack ill implement any of these in the core any time soon...


feat(cloud): add churned unis helper

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[SPARK-42741][SQL] Do not unwrap casts in binary comparison when literal is null

What changes were proposed in this pull request?
This PR makes UnwrapCastInBinaryComparison not to unwrap casts in binary comparison when literal is null.
Why are the changes needed?
In order to make the logic of UnwrapCastInBinaryComparison more clear. Null literals are already handled by NullPropagation:
https://github.com/apache/spark/blob/2de0d45887509fac8d5fc9448764a0e71f618797/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala#L823-L824
https://github.com/apache/spark/blob/2de0d45887509fac8d5fc9448764a0e71f618797/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala#L850-L851
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit tests.

Thank you for updating.

cc @cloud-fan

Merged to master.


Feat : Graph database support // Graph query language

Description
Graph database seems to get much traction those days.  In august 2019 dgraph (a go graph) raised 11 Million USD.  Joining the mature graph databases such as neo4j.
Buffalo / POP has been build upon the REST API concepts.
This feature request, is to discuss with the community the possibility to connect to such Graph Database in the Buffalo / POP ecosystem.
Also GraphQL is not considered beeing specifically a graph database query language, it is offered as a query language by all the graph databases.
Reference discussion on slack: https://gophers.slack.com/archives/C3MSAFD40/p1572595440145200
Expected Behavior
An idea of implementation MIGHT be :
-We would be able to start a project with buffalo as usual.
-Then we could modify the "database.yml" file to specify  "dialect:graphql" (or another like Gizmo...).
-Then creation and migration would be done with POP as usual.
-The POP ORM would work ""as usual"" for the end user, meaning the current set of the API would work ... A new super set of the POP API would let us manipulate graph requests (maybe something along the line of gizmo) ...

https://github.com/gobuffalo/pop/issues/4

It would be awesome, I'm thinking to not use gobuffalo because it lacks support for dgraph!

So just to make sure I understand the proposal properly, y'all are wanting to basically use pop as an ORM in front of a graphql DB? Don't want to make a graphql interface through pop, but pop interface into graphql, correct?

GraphQL is a query language for edge devices (e.g. smartphone apps) and is not to be confused with Neo4J or other Graph Databases (I forgot their names).
The problem is that Graph traversal and querying is vastly different from the standard „ORM“ish model and what sqlx (which pop uses below) is capable of. If I were a maintainer I would leave this as a nofix and keep the scope of pop as clear and defined as possible. Writing a resiliant, fault-resistant and bugfree ORM is hard enough, let’s not cave into more exotic use cases. Especially because Graph databases aren’t really useful for what pop is generally being used for, and because their query languages are (a) heterogenous (b) hard to abstract

Sorry, I overlooked that the OP mentioned GraphQL. I was not aware that Neo4J and others support GraphQL

When I read the title I felt the same way, but then reading the requested features it seems like they just want to make a dialect that goes ahead of a the db... which if someone wants to implement I would be willing to review, but I do see it as putting a dog collar on a dragon and expecting to walk it down the street...

Hey guys, I understand, it's just that dgraph natively supports GraphQL and I had the fantasy of using this "a la rails" active model style, but it seems I am far out imagining things. From my limited perspective, that issue is now a nofix too.


dealing with circular dependency in sst v3

there is any way to deal with circular dependencies in sst v3?
i have recorrent scenarios where  i need to send properties of a resource to another dependent resource. a good example is that my front end needs some variables of my back-end ,and vice-versa, also a scenario where i need the Router id to invalidate the cache from the application itself.
i tried some of the solutions provided by pulumi but i was unable to apply them in sst v3

you sholuld analize why you need the backend to deppend on frontend variables, in any case, a solution could be either creating a separate file with that variables so that both BE and FE depend on it. Another solution should be the use of SSM setting variables through Pulumi

Interested in this. Predefining the variable so that both resources can depend on it make sense, but what happens when they are generated by AWS?
Example:

Create a cognito user pool client

It generates a client id/secret
It requires a callback url

Create an application (e.g. a backend) that uses the cognito user pool client

It generates a cloudfront distribution url
It requires the user pool client id/secret to inject it as an environment variable

I'm confused - why can't the callback url be defined in the infra itself based on the frontend dns config?

I'm confused - why can't the callback url be defined in the infra itself based on the frontend dns config?

When using a custom domain that makes sense.
But I'm thinking about dev/ci environments where we would use the auto-generated cloudfront url instead. Then we have this circular dependency where:

The frontend needs the cognito user pool client in order to link it
The cognito user pool client needs the frontend callback url

you sholuld analize why you need the backend to deppend on frontend variables, in any case, a solution could be either creating a separate file with that variables so that both BE and FE depend on it. Another solution should be the use of SSM setting variables through Pulumi

in theory, SSM parameter stores partially solves the problem ,but this comes with complexity for the application side, and also add overhead and latency in lambda or serverless scenarios, sometimes +100ms to execution - which at the end of the day turns into a cost


Style code links

Our code styled words are not styled any differently when they are links. We should do something to indicate that they are links. eg: color, underline, etc
Here's how GitHub Markdown handles it:

no-link
yes-link

A link
airbrake-python here is actually a link.

Not a link

@thompiler which page is that with the airbrake-python link?

@thompiler which page is that with the airbrake-python link?

That page is here:
https://airbrake.io/docs/performance-monitoring/updating-to-pybrake-from-deprecated-versions/

@thompiler would it be changing this code?
<code class="highlighter-rouge">
Do you know of any easy way to find all instances of this in the docs?

@stuartmoore1023 yup, we'd have to add some different style for code tags that are also links here:
https://github.com/airbrake/airbrake-docs/blob/58edfd9dcd8b6f98f4aee8c0ff2c330cdf6e0bf6/jekyll/_sass/_syntax-highlighting.scss#L8-L10


Revisit .babelrc.js

Not sure what was the reason behind using @babel/plugin-proposal-object-rest-spread; spread seem to be transpiled even without the extra plugin.
Also, exclude: ['transform-typeof-symbol'] does not seem to apply in our codebase.
Any hints welcome.

@babel/plugin-proposal-object-rest-spread
This is enabled by default because it's a part of ES2018.
https://github.com/babel/babel/pull/10820

@babel/plugin-transform-typeof-symbol
This does nothing if loose: true in the @babel/preset-env options:
https://github.com/babel/babel/pull/6831

Thanks for the reply!
It doesn't seem that the transpiled spread code is 100% the same though. It seems without @babel/plugin-proposal-object-rest-spread in plugins, babel is extending Object.assign. https://babeljs.io/docs/en/babel-plugin-proposal-object-rest-spread#loose
Not sure if there is any issue.


Building .NET Core SDK 2.2.300 on Linux x64

I do not see a v2.2.300 tag in this repository. How can one build the latest SDK on Linux? There is no up-to-date PKGBUILD for Arch Linux and I'd really like to the latest version on Linux as well. I get errors when I try to compile previous versions including the release/2.2 branch.

Would love to see this as well. I've been having issues with 2.2.107 (latest on fedora) and am trying to package a newer version

So now binary packages for .NET Core SDK 2.2.301 are available. Unfortunately, there is still no new tag and the release/2.2 branch is not up-to-date. How can the new 2.2 SDK version be built? @dseefeld

@jhoward321 I maintain the Fedora copr packages for .NET Core and I would love to hear more about the issues that you are running into.

Sorry for the delay.  Release/tags for the latest 2.2 release have now been published at https://github.com/dotnet/source-build/releases/tag/v2.2.108-SDK


WIP: networking.services: Add vpnc module

Motivation for this change
Related to the issue #77891, we have been using this vpnc module definition for a while now.
This MR creates a new services.networking.vpnc attributeset, for setting up a vpnc service and systemd definition (the latter was missing in the original module definition).
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@MasseR do you plan to address these remarks in the near future? Otherwise, I'd just propose to close the PR for now, and reopen a new one once ready.

Closing it for now


[Hold - WAQ] Android Chrome - offline browser refresh issues due to auto-caching feature

Coming from this thread.
Android Chrome has an auto-caching feature when you refresh the browser offline. That causes some unexpected issues on our webpages, like disappearing pending messages and attachments until you come back online, etc. It's a problem specific to Android Chrome, we can't disable it and we haven't ever made a conscious decision to support it. As such, finding a viable solution for it is a feature request at this time and out of scope of WAQ.
One potential solution idea floated is to explore a Progressive Web App (PWA), but that will need more thorough investigation and discussion to determine whether this is worth our time long term. In the meantime, we'll close any bugs that are caused by this feature on Android Chrome.
The community have been notified here, and the Applause team here to help limit the bug reports from now on. If you happen to stumble across one, feel free to add it to below list:
Known issues
https://github.com/Expensify/App/issues/11265
CC: @marcaaron @Luke9389 @JmillsExpensify

@trjExpensify, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.