Dropdown + Restful: fill a text field after choose one item from dropdown

Question (I am new to Survey JS)
What is the current behavior?
Choose a country from a dropdown + restful
What is the expected behavior?
I would like to, after doing the Restful, when choose a value like Country, be displayed the Country Code in a text field. I do not know how to link to fill the alpha2Code and alpha3Code  to the dropdown after choose the country.
How would you reproduce the current behavior (if this is a bug)?
Survey
.StylesManager
.applyTheme("default");
var json = {
elements: [{
type: "dropdown",
name: "country",
title: "Select the country...",
isRequired: true,
choicesByUrl: {
url: "https://restcountries.eu/rest/v2/all",
valueName: "name"
}
}, {
name: "alpha2Code",
type: "text",
title: "Alpha Code (2):",
isRequired: true
}, {
name: "alpha3Code",
type: "text",
title: "Alpha Code (3):",
isRequired: true
}
]
};
window.survey = new Survey.Model(json);
survey
.onComplete
.add(function(result) {
document
.querySelector('#surveyResult')
.innerHTML = "result: " + JSON.stringify(result.data);
});
$("#surveyElement").Survey({
model: survey
});
Example in plunk:
https://plnkr.co/edit/KM8Yl2t0daFgDXBHCeuI?p=preview

@CelsoP Here is the example you are looking for. It uses expression trigger and does exactly what you need.
Thank you,
Andrew

Thanks a lot Andrew!


Set traffic light to OFF on server side when status is failed

With #809  the traffic light value OFF is introduced.
When all mentioned parts from #808 are done, we will finally change the logic on server side so the traffic light will be "turned off" when sechub execution has failed.

We will also provide a warning message inside the report that there was no product result from any security product. So it is more clear why the traffic light is OFF.


GravityField -> DensityField

This does represent something like force which strength is proportional to the two values of two objects and inversely proportional to the square of distance. It can be gravity or electromagnetic field, guess we will call this a spawn field simply. Suggested by @Runemoro.

Why not DensityField ? It could be reused for other purposes than just spawning.

The inverse square property is common to any force field, it's a consequence of surface area of a sphere (where the force's "density" is spread out across) increasing by the square of its radius.

Now it's said that ForceField is better.


Tabs not functioning in Legacy browsers: Firefox , Safari and IE

It seems the check function is causing some problems, @micchickenburger .
See this article: https://github.com/meteor/meteor/issues/3207
This is observable in tabs.js and may be applicable elsewhere.
check(event, $.Event); is returning:
Error: Match error: Expected plain object

Not reproducible on Safari 10.0.1 or Firefox 49.0.1 on Mac OS X 10.12.1.

I suppose you don't have access to Safari Version 9.1 (116<IP_ADDRESS>)

@micchickenburger

Same error message as ie11. Screnshot above provided from Safari.

Yes, I was able to reproduce the issue in IE 11 on Windows 10.  The problem is with the check library.  It does a check to see whether the pattern is a function.  Since constructors are functions, this is fine for pretty much any instantiated object.  However, older browsers treat built-in components like Element as non-function objects, despite there being instantiations of them.
In older-recent versions of Firefox, Safari, and IE where those browsers consider Element instanceof Function // false.  Conversely, in new versions of those browsers and in Chrome Element instanceof Function // true.  That allows checks to pass for elements only in new browsers:
check(document.createElement('a'), Element);
// new browsers, no problem
// old browsers:  Error:  Match Error:  Expected plain object

This issue is occurring on Firefox latest now I've observed.
However I do not think this is related to the tabs displaying.

Retract the last statement. The check function is preventing the toggling of aria-expanded and aria-hidden in ie11.

So regarding your last comment, @micchickenburger : How should we proceed?
Were you intending on writing a fallback script or to just not support IE11 and other legacy browsers?

Updates for this issue are handled on the branch qa-legacy-browsers.
I believe I've done all I can for this one. The last remaining issue pertains to the check script.


Custom variable substitution in the archetype_extension_org.json, possible?

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Is it possible to add some kind of variable substitution on archetype_extension_org.json?
We have a use-case where we are want to specify the workspace-id for the Deploy-Nsg-FlowLogs-to-LA policy, and unless there's a way to pass that variable from Terraform to the Policy, we are pretty much stuck with the hardcoded value...
Basically, I'm looking to know if its possible to use something in the form of:
        "Deploy-Nsg-FlowLogs-to-LA": {
          "workspace": "${workspace_id}"
        }

Our archetype_extension_org.json with the Deploy-Nsg-FlowLogs-to-LA with a "hardcoded" workspace id...
{
  "extend_es_root": {
    "policy_assignments": [
      "ISO-27001-2013",
      "Deny-PublicEndpoints",
      "Deny-Storage-minTLS",
      "Deny-Resource-Locations",
      "Deny-RSG-Locations"
    ],
    "policy_definitions": [
      "Deny-SSH-From-Internet"
    ],
    "policy_set_definitions": [],
    "role_definitions": [],
    "archetype_config": {
      "parameters": {
        "Deny-Resource-Locations": {
          "listOfAllowedLocations": [
            "westeurope",
            "northeurope"
          ]
        },
        "Deny-RSG-Locations": {
          "listOfAllowedLocations": [
            "westeurope",
            "northeurope"
          ]
        },
        "Deploy-Nsg-FlowLogs-to-LA": {
          "workspace": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"
        }
      },
      "access_control": {}
    }
  }
}

Absolutely... not tested this exact scenario but the functionality should be available on all files in the custom library_path as we universally implemented the templatefile() function to import these.
The built-in template file variables are based on the following map object:
  builtin_template_file_variables = {
    root_scope_id             = basename(local.root_id)
    root_scope_resource_id    = local.root_id
    current_scope_id          = basename(local.scope_id)
    current_scope_resource_id = local.scope_id
    default_location          = local.default_location
    location                  = local.default_location
    builtin                   = local.builtin_library_path
    builtin_library_path      = local.builtin_library_path
    custom                    = local.custom_library_path
    custom_library_path       = local.custom_library_path
  }

And this can be extended by setting the template_file_variables input variable against your module block, with a custom map(string)  object value. As long as the key matches the variable used in the template, the value should be inserted at import, allowing you to perform your custom substitution.

NOTE: We have intentionally ordered the merge to ensure the builtin_template_file_variables value is applied in preference over any conflicting values provided in template_file_variables to prevent unexpected module behaviour, so please ensure you use unique template variable names.

Hope this helps, but feel free to ask if you need further clarification.

In a related note (as I'm guessing you may wish to over-ride these values for the built-in policies), we are currently working with @TobiasKeitsch to update the module behaviour so customer-specified parameters take precedence over those managed by the management child module. This will probably help you to more easily set this value across our built-in Policy Assignments too.
You can find more information on Issue #97 and PR #98

And one more point. As only string values are supported in the vars input for templatefile(), if you want to enter a more complex type such as array or object into your template, you should be able to use the jsonencode() function to create a correctly formatted JSON string representation of your substitution. It's just worth noting that this may cause problems with some linting tools if you're running code quality checks in your pipeline(s).

@kevdhowell  thank you! We will try your suggestions today and I'll report back the results :)
Is there any documentation space prepared for this particular use-case? I could submit a documentation PR if you need.

I could submit a documentation PR if you need.

If you could @calexandre, that would be awesome! I'll leave this issue open as a placeholder for tracking. Thank you!

I tested your suggestion, and I am able to use the template_file_variables. However, I was expecting Terraform to detect some changes based on the value of those values...
So, I started by trying to replace the hardcored workspace like I mentioned above, and ended with something like this:
archetype_extension_org.json
"Deploy-Nsg-FlowLogs-to-LA": {
  "workspace": "${log_analytics_workspace_id}"
}

And then in my enterprise-scale.tf where the module is used:
template_file_variables = {
  log_analytics_workspace_id = "xpto"
}

Note that I actually used the xpto value just to check if Terraform would plan a change, which it didn't...
Any thoughts on this @krowlandson ?

Hi,
I looked into your issue and tried to replicate it but it worked as intended for me, you can see my test further down.
In your initial config you don't have any policy_assignment that matches your parameters key Deploy-Nsg-FlowLogs-to-LA.
Is the value hardcoded in the policy_assignment_**.tmpl.json file and maybe the parameters from the archetype_extension_**.tmpl.json is ignored?
One test to verify is to set null value for the parameter in the policy_assignment_**.tmpl.json file to verify that the parameter is used. like this:
    "parameters": {
      "workspace": {
        "value": null
      }
    },

Error replication
I started with the following configuration
archetype_extension_es_root.tmpl.json:
{
    "extend_es_root": {
        "policy_assignments": [
            "Deploy-NSG-Flowlog-to-LA"
        ],
        "policy_definitions": [],
        "policy_set_definitions": [],
        "role_definitions": [],
        "archetype_config": {
            "parameters": {
                "Deploy-NSG-Flowlog-to-LA": {
                    "workspace" : "/subscriptions/<guid>/resourcegroups/issue104/providers/microsoft.operationalinsights/workspaces/la-issue104"
                }
            },
            "access_control": {}
        }
    }
}

Then I tried to changed to use the template_file_variables.
This did not trigger any changes.
Files:
archetype_extension_es_root.tmpl.json:
{
    "extend_es_root": {
        "policy_assignments": [
            "Deploy-NSG-Flowlog-to-LA"
        ],
        "policy_definitions": [],
        "policy_set_definitions": [],
        "role_definitions": [],
        "archetype_config": {
            "parameters": {
                "Deploy-NSG-Flowlog-to-LA": {
                    "workspace" : "${log_analytics_workspace_id}"
                }
            },
            "access_control": {}
        }
    }
}

es_issue104.tf:
module "enterprise_scale" {
  source  = "Azure/caf-enterprise-scale/azurerm"
  version = "0.3.1"

  root_parent_id   = data.azurerm_client_config.current.tenant_id
  default_location = "westeurope"
  root_id          = "es-i104"
  root_name        = "es-i104"
  library_path     = "${path.root}/lib"

  template_file_variables = {
    log_analytics_workspace_id = "/subscriptions/<guid>/resourcegroups/issue104/providers/microsoft.operationalinsights/workspaces/la-issue104"
  }
}

Finally I changed log_analytics_workspace_id in template_file_variables to a mockup value of xpto just as you tried.
This triggered a change as it is supposed to:
Terraform will perform the following actions:

  # module.enterprise_scale.azurerm_policy_assignment.enterprise_scale["/providers/Microsoft.Management/managementGroups/es-i104/providers/Microsoft.Authorization/policyAssignments/Deploy-NSG-Flowlog-to-LA"] must be replaced
-/+ resource "azurerm_policy_assignment" "enterprise_scale" {
      ~ id                   = "/providers/Microsoft.Management/managementGroups/es-i104/providers/Microsoft.Authorization/policyAssignments/Deploy-NSG-Flowlog-to-LA" -> (known after apply)
      ~ metadata             = jsonencode(
            {
              - createdBy = "<redacted>"
              - createdOn = "2021-05-17T20:32:47.5535361Z"
              - updatedBy = null
              - updatedOn = null
            }
        ) -> (known after apply)
        name                 = "Deploy-NSG-Flowlog-to-LA"
      ~ parameters           = jsonencode(
          ~ {
              ~ workspace = {
                  ~ value = "/subscriptions/<guid>/resourcegroups/issue104/providers/microsoft.operationalinsights/workspaces/la-issue104" -> "xpto"
                }
            } # forces replacement
        )
        # (6 unchanged attributes hidden)

      ~ identity {
          ~ principal_id = "<redacted>" -> (known after apply)
          ~ tenant_id    = "<redacted>" -> (known after apply)
            # (1 unchanged attribute hidden)
        }
    }

Hmm thanks for the feedback @TobiasKeitsch!
I will try to execute some more tests tomorrow and report back...

Hi @calexandre... just wanted to check in to see how you're progressing with this issue? Were you able to resolve this or do you believe there is still an issue we need to investigate? Thank you

Hello @krowlandson, sorry for the late response, I've been a little busy in the last week..
I was finally able to give this issue some attention and after trying @TobiasKeitsch approach, and I'm still unable to achieve a successful plan...
Some notes regarding the mentioned approach:

The policy assignment that @TobiasKeitsch uses is different from the one I'm currently using (Deploy-Nsg-FlowLogs-to-LA vs Deploy-NSG-Flowlog-to-LA)
After diving a bit further into the module's policies, I've noticed that  Deploy-Nsg-FlowLogs-to-LA is a policy definition and not an assignment... I guess this makes a huge difference?
After adding Deploy-Nsg-FlowLogs-to-LA to my archetype's policy_definitions section, the plan executes Ok, but still without any changes... :(
I also tried to add Deploy-Nsg-FlowLogs-to-LA to the archetype's policy_assignments section, which of course ended with an error because it is a definition and not an assignment:

╷
│ Error: Invalid index
│
│   on .terraform/modules/enterprise_scale/modules/archetypes/locals.policy_assignments.tf line 92, in locals:
│   92:       template    = local.archetype_policy_assignments_map[policy_assignment]
│     ├────────────────
│     │ local.archetype_policy_assignments_map is object with 30 attributes
│
│ The given key does not identify an element in this collection value.

Since this is a policy definition, should I be trying to pass a value to the definition? Or should I create a new policy assignment instead?

You need to create a policy assignment, I used the same name as the definition unfortunately.
In the archetype you need to define both the definition and the assignment, and in the parameter object you should map it to the name of the policy assignment that you create.

That explains a lot :)
Could you share the policy assignment you created? Could use a working example :)

You can always reference the Policy Assignment templates (and others) which are bundled with the module.
For example, the Deny-Resource-Locations Policy Assignment is an example of one which references a "built-in" Policy Definition, whilst Deny-RDP-From-Internet references a "custom" Policy Definition provisioned by the module. This let's you see how we use the default template variables to customise these during import, which will behave in the same way with values provided via the template_file_variables input variable.

Also worth noting that you do not have to provide parameters within the template (just a placeholder for the parameters block), unless you want to hard code values into the assignment.
In practice, we would recommend settings these at the scope of assignment using the parameters object within archetype_config.

Thank you for the explanation! :)
I will try again today using your recommendations and report back 👍

Once we cut the next release, this issue should be addressed by the updates to the [Variables] template_file_variables page on our Wiki.


Fix the link

Fix the link
Fix the link to Noels blog post

Duplicate of #4709
Remember to check https://discourse.doomemacs.org/do-not-pr in the future (the PR template asks you to)


[Enhancement] Custom Music Player project

Problem
Custom music player has all basic functionality except that it lacks volume control.

So, I would like to contribute to this project by adding volume control function.
Please assign this issue to me under gssoc23

@Dharmesh177 please assign this issue to me


docs(samples): add run details

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[X] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[X] Ensure the tests and linter pass
[X] Code coverage does not decrease (if any source code was changed)
[X] Appropriate docs were updated (if necessary)

Reaching out to DTS TL about quota issue:
com.google.api.gax.rpc.ResourceExhaustedException: io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Quota exceeded for quota group 'DataTransferServiceOthersGroup' and limit 'ProjectQps' of service 'bigquerydatatransfer.googleapis.com' for consumer 'project_number:779844219229'.

will be in touch about this one.

For all the DTS samples that involve dataset and scheduled query, let's use our newly created env vars:
BIGQUERYDATATRANSFER_DATASET_NAME
DTS_TRANSFER_CONFIG_NAME


Add decodeAvroJSON

This separates decoding of Values from type conversion via fromAvro.
/cc @TikhonJelvis @adelbertc

This change makes a lot of sense to me, and it's driven by a totally reasonable usecase in our internal Target code.

Makes total sense to me  too, thanks  a lot!


icu: fix cross compilation

Description of changes
recent icu package refactoring caused pkgsCross.aarch64-multiplatform.icu to fail with
error: function 'anonymous lambda' called with unexpected argument 'buildRootOnly'

so lets refactor it further :) and expose the build roots via passthru and thereby pass arguments in such a way that external users can use .override as if these were all ordinary packages.
Things done

deployed a cross-compiled aarch64-multiplatform sway system with this patch
deployed a native x86_64 system with this patch (it shouldn't trigger any rebuilds)
Built on platform(s)

[x] x86_64-linux  (and pkgsCross.aarch64-multiplatform.icu)
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Oops sorry it looked reasonably close to the original passing of buildroot things…
But now this version breaks some native overrides?

Oops sorry it looked reasonably close to the original passing of buildroot things…
But now this version breaks some native overrides?

oh, the ofborg output?
       at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/python-modules/tensorflow/default.nix:241:8:

          240|       # Necessary to fix the "`GLIBCXX_3.4.30' not found" error
          241|       (icu.override { inherit stdenv; })
             |        ^
          242|       jsoncpp

       … while calling anonymous lambda

weird, i would think that should work. maybe i need to use makeOverridable instead of callPackage. i'll poke around later/tomorrow.

Firstly, apologies, @uninsane, for introducing a regression.
Secondly, thanks for jumping on this. Unforutately I do not have time to have a closer look today, but will in the coming days/as soon as you've poked around with this a more as you mentioned in your previous comment 🙂

I also took a quick look, but still a bit confused about why it's actually broken...

I also noticed failures downstream in my workflows, see e.g. this GH actions run.
I tested the rev from this PR in my repo and it fixed the issue too, but I haven't attempted to reproduce the issue reported in https://github.com/NixOS/nixpkgs/pull/290761#issuecomment-1960806515.

top-level/all-packages.nix calls icu using callPackages (plural):
icu-versions = callPackages ../development/libraries/icu { };

and then inherits the icu-versions members into the top-level scope. callPackages seems to mean that icu/default.nix can return ordinary derivations, and an override applied to any of the icu packages works by overriding the arguments received by icu/default.nix -- not icu/make-icu.nix (which is how it would have worked if the caller was using lib.recurseIntoAttrs).
i've updated this PR to fix the eval error for native tensorflow locally. we'll see what ofborg has to say about it.

at least this fixes pkgsCross.aarch64-multiplatform.icu we can make further re-factoring, feel free to ping me
@uninsane thank you for PR

Thank you @uninsane and @kirillrdy for jumping on this and handling it so well, very much appreciated! :pray:
Glad to see that this got merged already. Apologies for not getting to this earlier.


[ja] Translate content/en/docs/reference/glossary/network-policy.md into Japanese

This is a Feature Request
What would you like to be added
Translate content/en/docs/reference/glossary/network-policy.md into Japanese.
Why is this needed
There is no Japanese translation for this page.
Comments

File to translate:

https://github.com/kubernetes/website/blob/main/content/en/docs/reference/glossary/network-policy.md

URL to translate:

https://kubernetes.io/ja/docs/reference/glossary/?core-object=true#term-network-policy

/area localization
/language ja
/assign

/triage accepted


How to delete a camera from the list?

Hi,
for testing I just want to have one of my cameras handled by the ONVIF adapter. Unfortunately, when the adapter starts it automatically discovers all existing cameras. How can this be achieved?
Best Regards

in theory delete the device objects under objects and set a wrong password in the instance settings

Thanks for your reply. Unfortunately it is just a work around. Even when deleting the device under objects, it tries to connect to the delete device when restarting the adapter (fortunately it fails).
It should be possible to totally delete a discovered device and it should also be possible to turn of automatic discovery when starting the adapter.

Now I am getting the error message: "Skip device  because it is already configured via iobroker object. Delete the device under objects for reconfigure."
When I delete the device under objects, I need to rediscover the camera.


Fix Popups and Font Colors

Note that the last couple are migrating a bit away from the original goal, but these are all fidelity fixes for Godot 4.

Set the header size on popups.  Affects pop-ups such as Main Menu (Esc), Build City, Disband, and Error, all in one line of code.
Fix the font colors not being correct (orange, blue) on hover or focus (respectively).  This was because Godot 4 changed the names from e.g. font_color_hover to font_hover_color, and we had the old names.
Fix the font size of the button-label text being slightly too small, and not aligned with the buttons (this applies on the popups, e.g. Esc menu, and has also been applied to the Main Menu buttons)
Don't load shadows when importing buttons.  Godot 3.5/no-shadows is the faithful way of importing them.
Turn off our ancient pre-Aztec sidebar/End Turn buttons; the former was uncollapsed by default and obscuring the buttons on the Build City dialog
Right-click box font should be black, not orange.
Fix shadow issues with advisor pop-up graphics.
Highlighted build city text should be black, not white, as should the cursor

The "pressed" state still results in a white background, but that is also the case in Godot 3.5.

for the now-unnecessary offsets, can we just remove them instead of setting them to 0? also, not within the scope of making these fixes, but we might benefit from having a common theme(s?) constructor so that we can change our themes in one place and get a consistent looking UI throughout

I rebased this change and tested, so I'm going ahead and merging


Strong classical simulation

Hi
I would like to use this implementation for strong classical simulation, as discussed in here.
I am not quite sure how I have to proceed. Assuming I have a QASM circuit in a text file, I assume I can use functions load and to_graph to obtain the corresponding VecGraph.
But how do I get the probability of a given output? I assume I have to use full_simp somehow, but do not know how to get a number from it, or how to specify which output probability I am looking for.
Thanks for your help!

Hi,
It's the Decomposer you want for computing amplitudes (or probabilities). Have a look at the code in bin/ for some examples (e.g. things named "hidden shift" or "pauli gadget").
In summary: load a circuit and convert it to a graph with to_graph. Then, you can plug bra's and ket's into the inputs/outputs of a graph using the plug_inputs and plug_outputs methods, pass that graph to the decomposer, then retrieve the scalar:
g.plug_inputs(&vec![BasisElem::Z0; 20]);
g.plug_outputs(&vec![BasisElem::Z0; 20]);
let mut d = Decomposer::new(&g);
d.with_full_simp(); // set simplification method to full_simp
// optionally adjust some other parameters...
d.decomp_all();
println!("<0..0|C|0..0> = {}", d.scalar.float_value());

Thanks so much, this works!


feat: release

BREAKING CHANGE: release

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


[PORT] fix outputformat property on DateTime input

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/4231

Fixes #3940
Changed projects

Microsoft.Bot.Builder.Dialogs.Adaptive

Close this one, since we don't have schema in JS yet.


Maybe it's not an issue.....  It's about the "tmux kill-server" command.

Hi there
I need to kill the PIDs of udp2raw_m and speederv2 when I input the "tmux kill-server". But anyway...It's not working ... I still need to "sudo kill -9" after that.
Please help me out.
[FATAL]socket bind error
System: macOS 11.1
Tmux Version：3.1C

I don't quite understand the question. Could you plz write down explicitly what you did and what you got and what you expect to get?

I don't quite understand the question. Could you plz write down explicitly what you did and what you got and what you expect to get?

Fine

I use TMUX to make the UDP2raw & UDP2Speed running @ background.
For some reason I need to quit, so I use "tmux kill-server".
what I expect is the processes should be terminated.

The purpose of mine is when I kill the tmux server, the UDP2raw & UDP2Speed should be killed as well.
Otherwise, when I open a new tmux window and run "sudo udp2raw_mp_nolibnet (balabala...)-raw-mode faketcp", the output is like "[FATAL]socket bind error"

Fine

I use TMUX to make the UDP2raw & UDP2Speed running @ background.
For some reason I need to quit, so I use "tmux kill-server".
what I expect is the processes should be terminated.

The purpose of mine is when I kill the tmux server, the UDP2raw & UDP2Speed should be killed as well.
Otherwise, when I open a new tmux window and run "sudo udp2raw_mp_nolibnet (balabala...)-raw-mode faketcp", the output is like "[FATAL]socket bind error"

Hi, I have tried what you said, I can't reproduce the problem:
[root@<IP_ADDRESS>:~]
$ ps aux|grep speeder
root      3495  0.0  0.2   6136  1296 pts/5    S+   08:04   0:00 ./speederv2 -s -l<IP_ADDRESS>:4096 -r <IP_ADDRESS>:7777 -f20:10 -k passwd
root      3512  0.0  0.1  11132   932 pts/0    S+   08:05   0:00 grep speeder
[root@<IP_ADDRESS>:~]
$ ps aux|grep udp2raw
root      3472  0.0  0.2   2612  1092 pts/4    S+   08:04   0:00 ./udp2raw_amd64 -s -l<IP_ADDRESS>:4096 -r <IP_ADDRESS>:7777 -k passwd --raw-mode faketcp -a
root      3522  0.0  0.2  11132  1036 pts/0    S+   08:05   0:00 grep udp2raw
[root@<IP_ADDRESS>:~]
$ ps aux|grep socat
root      3389  0.0  0.3  19648  1740 pts/1    S+   08:01   0:00 socat -v UDP-LISTEN:4000,fork PIPE
root      3528  0.0  0.1  11132   968 pts/0    S+   08:05   0:00 grep socat
[root@<IP_ADDRESS>:~]
$ tmux kill-server
[root@<IP_ADDRESS>:~]
$ ps aux|grep udp2raw
root      3544  0.0  0.2  11132  1036 pts/0    S+   08:06   0:00 grep udp2raw
[root@<IP_ADDRESS>:~]
$ ps aux|grep socat
root      3548  0.0  0.2  11132  1036 pts/0    S+   08:06   0:00 grep socat
[root@<IP_ADDRESS>:~]
$ ps aux|grep speeder
root      3551  0.0  0.1  11132   948 pts/0    S+   08:06   0:00 grep speeder

I have started udp2raw,UDPspeeder and socat insider tmux.  After tmux kill-server, everything is gone as expected.

Hi, I have tried what you said, I can't reproduce the problem:
[root@<IP_ADDRESS>:~]
$ ps aux|grep speeder
root      3495  0.0  0.2   6136  1296 pts/5    S+   08:04   0:00 ./speederv2 -s -l<IP_ADDRESS>:4096 -r <IP_ADDRESS>:7777 -f20:10 -k passwd
root      3512  0.0  0.1  11132   932 pts/0    S+   08:05   0:00 grep speeder
[root@<IP_ADDRESS>:~]
$ ps aux|grep udp2raw
root      3472  0.0  0.2   2612  1092 pts/4    S+   08:04   0:00 ./udp2raw_amd64 -s -l<IP_ADDRESS>:4096 -r <IP_ADDRESS>:7777 -k passwd --raw-mode faketcp -a
root      3522  0.0  0.2  11132  1036 pts/0    S+   08:05   0:00 grep udp2raw
[root@<IP_ADDRESS>:~]
$ ps aux|grep socat
root      3389  0.0  0.3  19648  1740 pts/1    S+   08:01   0:00 socat -v UDP-LISTEN:4000,fork PIPE
root      3528  0.0  0.1  11132   968 pts/0    S+   08:05   0:00 grep socat
[root@<IP_ADDRESS>:~]
$ tmux kill-server
[root@<IP_ADDRESS>:~]
$ ps aux|grep udp2raw
root      3544  0.0  0.2  11132  1036 pts/0    S+   08:06   0:00 grep udp2raw
[root@<IP_ADDRESS>:~]
$ ps aux|grep socat
root      3548  0.0  0.2  11132  1036 pts/0    S+   08:06   0:00 grep socat
[root@<IP_ADDRESS>:~]
$ ps aux|grep speeder
root      3551  0.0  0.1  11132   948 pts/0    S+   08:06   0:00 grep speeder

I have started udp2raw,UDPspeeder and socat insider tmux.  After tmux kill-server, everything is gone as expected.

Maybe it's a Big Sur issue?
Actually when the OS was Catalina, the "tmux kill-server" make sense.

Maybe it's a Big Sur issue?
Actually when the OS was Catalina, the "tmux kill-server" make sense.

Hi there
I may found it's related to the default Terminal.app.
Cause when I use the Alacritty or Terminus to input the same commands I mentioned, the "tmux kill-server" works fine as I wished.
So....Maybe it's related to the environment variables or something else ?
I am using the default Terminal.app & oh-my-zsh
Thanks a lot

Hi there
I may found it's related to the default Terminal.app.
Cause when I use the Alacritty or Terminus to input the same commands I mentioned, the "tmux kill-server" works fine as I wished.
So....Maybe it's related to the environment variables or something else ?
I am using the default Terminal.app & oh-my-zsh
Thanks a lot


[Bug]: Asking Alexa for temperature of a sensor reports wrong value

Version
3.0.0-alpha.55
Matter Controller
Alexa
Steps to reproduce
Ask Alexa for the tempterature
State and attributes
state_class: measurement
battery: 100
humidity: 89.41
last_seen: 2024-12-19T06:27:14+01:00
linkquality: 17
temperature: -1.86
voltage: 3000
unit_of_measurement: °C
device_class: temperature
friendly_name: Temp Garten
The temperature Alexa reports is -1.38°. Yesterday Alexa responded with -271°
Relevant log output
No response
Documentation & Issues

[X] I have reviewed the documentation and the linked troubleshooting guide.
[X] I have searched the issues for a similar problem.

I think this issue is similar to the one I reported yesterday:
Data Sync Stoppage in HA Add-On / Humidity Temperature Sensors #330
I noticed that after a few days, the data synchronization between HOME ASSISTANT stops updating with new values.


New Contribution

Contributor: [contributor information - Optional]
SSH Public key: [contributor SSH public key (if you don't have one, submit the issue to receive instructions)"- Required]
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

Contributor: tranphuckhanga
SSH Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILnZylB9+yG9/8Q2MvKdqiyjTP8jY6hx4UUCNewPPQa1

i'm ready


Reverse number + docs fix #173

Why:
Closes #173
What's being changed:

Added C# programme that reverses numbers

Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Hey @Mrczarny
Thanks for your contributions in this project 😃
This PR will be merged soon

Hey,
Sorry my bad. Just fixed it in a3a2ce37098648b1e4f662b0ee2310620b088eb5.

Preview : https://codinasion--pr29-dev-mzwvnjuf.web.app/programme/reverse-of-a-number/
(expires Fri, 11 Mar 2022 03:09:29 GMT)

LIVE : https://codinasion.web.app/programme/reverse-of-a-number/


Consider using focus-within for showing actions in scm

I just mostly copied the behavior of actions showing up with keyboard focus in terminal tabs, however one change I made was to use :focus-within for the non-hover styles to avoid showing the actions unless keyboard focus is there. I think this would be a nice change for SCM as well.

See https://github.com/microsoft/vscode/commit/cfb866ac5337405606caa401c123ecc85ca7ebb5

If we did this in SCM we probably should do it across all the trees, as I believe all of them behave this way today.


Separate web & repo server

resolution_wontfix   |    by<EMAIL_ADDRESS>
Ben has raised the possibility of using a separate server for the code repository & trac, rather than running everything on the same server. This could be either as a separate VM on the cloud or using an external service like Jira

Issue migrated from trac:133 at 2024-01-31 17:37:18 +1100

<EMAIL_ADDRESS>removed milestone (was Future)

<EMAIL_ADDRESS>changed resolution from `` to wontfix


Toast Messages Not Displaying Properly For Mobile Screen

The toast messages (e.g., Logged in! , Logged out! , Authenticating your credentials) are not displaying properly on mobile screens. The messages need to be aligned correctly to enhance user experience on mobile devices.
Steps to reproduce the behavior:

Go to webpage
Resize window to mobile screen
Do login or logout

Expected behavior
The toast message should be well-aligned, and consistent with the overall design of the website on mobile screens.
Below are the screenshots related to the issue :

OS : Windows
Browser : chrome
Version : 125.0.6422.142

I would like to work on this issue. I request you to assign this issue to me under GSSOC'24.

@yashi-15 She is working on it already !
Drop your discord id to get latest update from discord channel !


Mask PII in AbstractOTPAuthenticator

Purpose

Mask sensitive information and prevent them from being logged in AbstractOTPAuthenticator.

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9302231122

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9302231122
Status: success


Recording stopped

Hi,
I have another problem. About once a day I have this problem. As far as I can see there was a problem in the name resolution. But I was online in that times and didn‘t have problems with other applications. I had it two times with 20.1 in about 6 weeks but since I updated to 21.0 about once a day. Everytime it is a problem with openstreetmap. Never and other URL in the error messages. Do you have an idea?
`

2022-09-22T14:13:26.266213684Z
stderr
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=52.xxxxxx&lon=10.xxxxxx&namedetails=1&format=json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1142066560>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

2022-09-22T14:13:26.266186076Z
stderr
raise ConnectionError(e, request=request)

2022-09-22T14:13:26.266155609Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/adapters.py, line 565, in send

2022-09-22T14:13:26.266125762Z
stderr
r = adapter.send(request, **kwargs)

2022-09-22T14:13:26.266095344Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/sessions.py, line 701, in send

2022-09-22T14:13:26.266068476Z
stderr
resp = self.send(prep, **send_kwargs)

2022-09-22T14:13:26.266035155Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/sessions.py, line 587, in request

2022-09-22T14:13:26.266007148Z
stderr
return session.request(method=method, url=url, **kwargs)

2022-09-22T14:13:26.265976643Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/api.py, line 59, in request

2022-09-22T14:13:26.265946036Z
stderr
return request(\get, url, params=params, **kwargs)

2022-09-22T14:13:26.265915425Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/api.py, line 73, in get

2022-09-22T14:13:26.265876164Z
stderr
response = requests.get('https://nominatim.openstreetmap.org/reverse', params=query, headers=headers)

2022-09-22T14:13:26.265842792Z
stderr
File /opt/venv/lib/python3.10/site-packages/vwsfriend/util/location_util.py, line 35, in locationFromLatLon

2022-09-22T14:13:26.265814560Z
stderr
return locationFromLatLon(session, latitude, longitude)

2022-09-22T14:13:26.265779070Z
stderr
File /opt/venv/lib/python3.10/site-packages/vwsfriend/util/location_util.py, line 66, in amenityFromLatLon

2022-09-22T14:13:26.265739430Z
stderr
location = amenityFromLatLon(self.session, parkingPosition.latitude.value, parkingPosition.longitude.value, 150, 'fuel',

2022-09-22T14:13:26.265698446Z
stderr
File /opt/venv/lib/python3.10/site-packages/vwsfriend/agents/refuel_agent.py, line 89, in __onCarCapturedTimestampChange

2022-09-22T14:13:26.265660983Z
stderr
observer(element=self, flags=self.onCompleteNotifyFlags)

2022-09-22T14:13:26.265627637Z
stderr
File /opt/venv/lib/python3.10/site-packages/weconnect/addressable.py, line 97, in updateComplete

2022-09-22T14:13:26.265570163Z
stderr
[Previous line repeated 3 more times]

2022-09-22T14:13:26.265545061Z
stderr
child.updateComplete()

2022-09-22T14:13:26.265509157Z
stderr
File /opt/venv/lib/python3.10/site-packages/weconnect/addressable.py, line 519, in updateComplete

2022-09-22T14:13:26.265480057Z
stderr
child.updateComplete()

2022-09-22T14:13:26.265449626Z
stderr
File /opt/venv/lib/python3.10/site-packages/weconnect/addressable.py, line 519, in updateComplete

2022-09-22T14:13:26.265418789Z
stderr
child.updateComplete()

2022-09-22T14:13:26.265381199Z
stderr
File /opt/venv/lib/python3.10/site-packages/weconnect/addressable.py, line 519, in updateComplete

2022-09-22T14:13:26.265351042Z
stderr
self.updateComplete()

2022-09-22T14:13:26.265320096Z
stderr
File /opt/venv/lib/python3.10/site-packages/weconnect/weconnect.py, line 183, in update

2022-09-22T14:13:26.265287712Z
stderr
weConnect.update(updateCapabilities=True, updatePictures=True, force=True)

2022-09-22T14:13:26.265253117Z
stderr
File /opt/venv/lib/python3.10/site-packages/vwsfriend/vwsfriend_base.py, line 493, in main

2022-09-22T14:13:26.265225723Z
stderr
sys.exit(main())

2022-09-22T14:13:26.265194246Z
stderr
File /opt/venv/bin/vwsfriend, line 8, in

2022-09-22T14:13:26.265164175Z
stderr
Traceback (most recent call last):

2022-09-22T14:13:26.265138368Z
stderr

2022-09-22T14:13:26.265066451Z
stderr
During handling of the above exception, another exception occurred:

2022-09-22T14:13:26.264947802Z
stderr

2022-09-22T14:13:26.264881407Z
stderr
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='nominatim.openstreetmap.org', port=443): Max retries exceeded with url: /reverse?lat=52.xxxxxx&lon=10.xxxxxx&namedetails=1&format=json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1142066560>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

2022-09-22T14:13:26.264848535Z
stderr
raise MaxRetryError(_pool, url, error or ResponseError(cause))

2022-09-22T14:13:26.264817835Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/util/retry.py, line 592, in increment

2022-09-22T14:13:26.264791038Z
stderr
retries = retries.increment(

2022-09-22T14:13:26.264760186Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py, line 787, in urlopen

2022-09-22T14:13:26.264733925Z
stderr
resp = conn.urlopen(

2022-09-22T14:13:26.264700530Z
stderr
File /opt/venv/lib/python3.10/site-packages/requests/adapters.py, line 489, in send

2022-09-22T14:13:26.264671663Z
stderr
Traceback (most recent call last):

2022-09-22T14:13:26.264637232Z
stderr

2022-09-22T14:13:26.264607988Z
stderr
During handling of the above exception, another exception occurred:

2022-09-22T14:13:26.264583464Z
stderr

2022-09-22T14:13:26.264534018Z
stderr
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f1142066560>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

2022-09-22T14:13:26.264504677Z
stderr
raise NewConnectionError(

2022-09-22T14:13:26.264463171Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connection.py, line 186, in _new_conn

2022-09-22T14:13:26.264356836Z
stderr
self.sock = conn = self._new_conn()

2022-09-22T14:13:26.261899461Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connection.py, line 358, in connect

2022-09-22T14:13:26.261856461Z
stderr
conn.connect()

2022-09-22T14:13:26.261672930Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py, line 1042, in _validate_conn

2022-09-22T14:13:26.261633726Z
stderr
self._validate_conn(conn)

2022-09-22T14:13:26.261601464Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py, line 386, in _make_request

2022-09-22T14:13:26.261569594Z
stderr
httplib_response = self._make_request(

2022-09-22T14:13:26.261535218Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connectionpool.py, line 703, in urlopen

2022-09-22T14:13:26.261504830Z
stderr
Traceback (most recent call last):

2022-09-22T14:13:26.261481219Z
stderr

2022-09-22T14:13:26.261447630Z
stderr
During handling of the above exception, another exception occurred:

2022-09-22T14:13:26.261421888Z
stderr

2022-09-22T14:13:26.261388638Z
stderr
socket.gaierror: [Errno -3] Temporary failure in name resolution

2022-09-22T14:13:26.261355489Z
stderr
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

2022-09-22T14:13:26.261320472Z
stderr
File /usr/lib/python3.10/socket.py, line 955, in getaddrinfo

2022-09-22T14:13:26.261284657Z
stderr
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):

2022-09-22T14:13:26.261247483Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/util/connection.py, line 72, in create_connection

2022-09-22T14:13:26.261214754Z
stderr
conn = connection.create_connection(

2022-09-22T14:13:26.261158280Z
stderr
File /opt/venv/lib/python3.10/site-packages/urllib3/connection.py, line 174, in _new_conn

2022-09-22T14:13:26.260725380Z
stderr
Traceback (most recent call last):

`

Fixed in 0.22.2


ECS formatter for JUL (java.util.logging)

What about idea to implement ECS formatter for JUL (java.util.logging)?
Motivation
there are bunch of old and very old application which use JUL as logging backend. E.g. Tomcat, Tanuki Wrapper and products based on these applications.
Sometimes is it not easy to switch logging framework, sometimes it's not possible to do this at all. But it would be nice to have logs in ECS format and as option (relatively simple?) we may have class EcsFormatter extends java.util.logging.Formatter.
Open Issues
When I tried to implement it I met a few issues:

there are no file related metainformation (file name, line etc).
looks like no thread name, only thread ID
no MDC or something similar concept
JUL has bit different log levels and looks like we need mapping between JUL and classical DEBUG/INFO/WARN/ERROR vales. The mapping does not look so pretty, but it is work.

So looks like EcsFormatter class may produce ECS-compatible record, but some of feature will be missed and seems some of AbstractEcsLoggingTest unit tests will be failed.
Questions

Does it have sense to implement EcsFormatter?
If yes, how to deal with test cases from AbstractEcsLoggingTest and not supported features like MDC and file meta information?

Adding a formatter for JUL would be a great addition!

there are no file related metainformation (file name, line etc).

No problem. These are optional and off by default anyways.

looks like no thread name, only thread ID

That's a bit sad as I personally find thread names more descriptive but not a bummer either. Just use the field process.thread.id instead.

no MDC or something similar concept

That's not a problem

JUL has bit different log levels and looks like we need mapping between JUL and classical DEBUG/INFO/WARN/ERROR vales. The mapping does not look so pretty, but it is work.

Just use the native JUL log levels, no need to map them. Every framework/language/ecosystem will have their own log levels. So far, log.level is just a string, without any restrictions on the value or a normalized set of log levels.

Does it have sense to implement EcsFormatter?

Yes!

If yes, how to deal with test cases from AbstractEcsLoggingTest and not supported features like MDC and file meta information?

You could either create a subclass of AbstractEcsLoggingTest and move the non-applicable tests there or return a boolean from putMdc, similar to putNdc. Then just skip the relevant tests if the method returns false. For the log.origin test, you could create a protected boolean supportsLogOrigin() method and return false from the JUL test.

Great! Will prepare prepare PR today or these weekends.


Wrong font-family for fallback font on russian version of main page

Description
If I opened russian version of main page I see that the fonts have serifs. Your sans-serif font "AlphaLyrae" is not able to russian symbols, that's why fallback fonts work. The problem is that the fallback fonts are used with serifs, you need to fix them to sans serif fonts to maintain a consistent style.
Steps to Reproduce
Open russian version of main page https://vega.xyz/ru/
Expected behavior
All fonts must be sans-serif
Screenshots
What I see (fallback serif font):

What should be (After css fix):

Device details
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: latest

To fix:
In file src\css\index.css line 15:
body {
  font-family: 'AlphaLyrae', georgia, serif;
}

change to something like:
body {
  font-family: 'AlphaLyrae', sans-serif;
}

I can create pull request if needed with fixed css

Thanks for spotting this @GreyPK  🙏


Larger uploads fail - error handling not possible (status undefined)

Uploading a larger file (>10MB) leads to an error - root cause unknown, but error shows the following:
/usr/src/app/node_modules/gdata-vaas/lib/vaas.js:191
                    reject(new Error(`Upload failed with ${error.response.status} - Error ${error.response.data.message}`));
                                                                          ^

TypeError: Cannot read properties of undefined (reading 'status')
    at /usr/src/app/node_modules/gdata-vaas/lib/vaas.js:191:75
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.8.0

I can reliably reproduce this issue for files larger than 10 MB (smaller files work fine).
The error cannot be caught in a try/catch block due to 'status' being undefined.
Please let me know if you need more info.
Code snippet attached (as screenshot) - error appears using the forFile method.

Hey @unbekanntes-pferd,
thank you for your bug report. We will investigate why the problem is occurring and get back to you as soon as we find the cause for this issue.

Please try again with the latest version 2.2.1. The issue should be fixed.

We had some issues with the Github actions. The latest version is 2.2.3, which has the same code as 2.2.1, but was deployed from Github.


Feature request: change VariableForProperty to allow maps

We’re using maps and functions to manage and call our variables for colors and fonts, e.g. $ui-colors: (…), $ui-color-variations: (…), { color: ui-color(primary, darker); } and { font-family: ui-font-stack(interface); }.
The VariableForProperty rule warns about this and asks me to use variables. But I am using variables, only behind another layer of abstraction. Is allowing function calls for these properties something you could support?

I understand where you are coming from, but you really have to ask yourself if using functions/maps is going with the spirit of what the check is intended to enforce.
From the documentation:

By using variables, you can describe the semantics of the property value rather than just using the literal value (improving readability) and also make it easier to perform site-wide changes as you only need to change the value in one place, rather than several.

If you're defining your colors as ui-color(primary, darker) in more than one place, you're not using a "semantic" color like $body-text or $border-shadow. Thus when the time comes to change your scheme (and that time always comes sooner or later, as we all know), you'll be struggling to figure out which occurrences of ui-color(primary, darker) are referring to a border and which are referring to some other aspect of your color scheme.
Using semantic variable names makes it trivial to change the scheme: you change the value in one place and that is immediately reflected everywhere as intended. Maps sort of have this property, but I would argue that they are less semantic when compared to plain variables.
What are your thoughts? Does this explain the intent?

Thanks for thinking along.
One of the reasons I still find this a logical suggestion, is that the combination of maps and functions in itself is just a further abstraction of using variables. Obviously, the specific maps I mention contain exactly that: plain variables for colors and their variations.
Changing the scheme is possible in more than one way: either changing a color value or a variation function or argument. So this setup provides a easy to manage, consistent model for the entire palette. If a certain color variation is used for both a border-shadow and a panel-background, we explicitly chose them to be the same tint and we want them to change equally when changing an underlying aspect of that color variation. The entire set of variations is related, as each basic color is derived into lighter or darker hues, or more transparent variations, in exactly the same way. Tweaking a specific border-shadow defined as a standalone variable would probably be more random than that.
Just to be complete, and this shouldn’t add to or remove from my argument, we use these only as intermediate values. For example, $ui-modal-border-color: ui-color(neutral, light) or $ui-text-color: ui-color(text). So there’s still information on how the color variations are actually used. We would never find and replace one ui-color call with another all over the place.
With the font stacks, it’s even more obvious. Why would $ui-font-stack(interface), which this check rejects, be any worse than $ui-font-stack--interface, which it accepts? Using maps here just makes it easier to add another variant or inject a different font into an existing variant, with no real setback in the way we invoke them.
So why would a Sass linter allow variables for properties, but not functions returning calculations on variables contained by a map? They are principally the same. Also, in neither case can the linter verify whether the names used are any kind of ‘semantic’, so no difference there as well. I’m not really seeing why one would be going with the spirit of the check and another against it.

I concur that function or map returns should not be flagged by VariableForProperty. Similarly to @VincentSmedinga, our project has a core palette, which we store and access via maps or functions.
If we use a particular color for a border and a link, we are specifically choosing for them to be connected. When one changes, all are supposed to change.
Creating vars like $border-color and $link-color becomes extra and unnecessary work, because for us, usage distinction isn't important. What is important is that when we use a blue, the same blue is used throughout the project.

If we use a particular color for a border and a link, we are specifically choosing for them to be connected. When one changes, all are supposed to change.

... extra and unnecessary work, because for us, usage distinction isn't important.

@karmasalad -- I would say the exact opposite can easily be true. And, in most of my projects it is. I've indeed had to change a color in all cases... e.g. our brand identity is no longer blue, so now we are red.
However, it's just as often that a design changes where, for example, we still want borders to be blue, but only the links should now be red. Or, in a project I'm working on now, there's a high-contrast a11y "mode". In that mode, some usages need to be switched from blue to yellow. But, wholesale switching every blue to yellow would actually make some areas less accessible, so we need to make distinctions in how and where the colors are used.

I see your point, @VincentSmedinga (though to be honest I don't feel strongly either way).
Happy to accept a pull request allowing VariableForProperty to allow maps. Thanks for your input!

We are using a very similar system as @VincentSmedinga . This would be an awesome feature, has anyone added this in yet or has gotten it to work?


[Feature Request] push-components ./folder/*.json

Current behavior:
When I try to push multiple json files storyblok push-components ./sb-components/live/*.json --space xxxxxx components.live.json, I'm getting the following error:
X Can not load json file from ./sb-components/live/
X Can not push invalid json - please provide a valid json file
X An error occurred when executing the push-components task: Error: Can not push invalid json - please provide a valid json file

Expected behavior:
I would like to see that I can assign a folder instead of having to add every single component to the script in my package.json. I really like the new pull --seperated-files flag, but would be nice to see this new feature as well.

I liked the idea, i will open a task to build this, thanks for sharing this idea.


RetryParameters for Manifest not work in Safari

Hello,
I am using Shaka player version 4.0.2. Safari version 16.5.1.
My config for retryParameters in MANIFEST not working on Safari while it works on on Chrome and Edge. Please advise do I need to add any additional config for Safari.
I config to 5000ms, but it often take up to about 20000ms in Safari:

My config is:
{
 streaming: {
    bufferingGoal: 10,
    // bufferingGoal is the amount of content we try to buffer.
    // For example, if this is set to 30, we fetch segments until we have at least 30 seconds buffered.
    bufferBehind: 60,
    lowLatencyMode: true,
    inaccurateManifestTolerance: 0,
    rebufferingGoal: 0.01,
    retryParameters: {
      connectionTimeout: 5000, // connection timeout in ms, after which we abort
      timeout: 5000,
      maxAttempts: 1,
      baseDelay: 2000,
      backoffFactor: 2,
      fuzzFactor: 0.5,
    },
  },
  manifest: {
    retryParameters: {
      timeout: 5000, // timeout in ms, after which we abort
      maxAttempts: 1, // the maximum number of requests before we fail
      baseDelay: 1000, // the base delay in ms between retries
      backoffFactor: 2, // the multiplicative backoff factor between retries
      fuzzFactor: 0.5, // the fuzz factor to apply to each retry delay
    },
  },
  abr: {
    enabled: true,
  },
 drm: {...}
}

I expect to set timeout 5000ms (5 seconds) for each request of the manifest.
Thank you.

I update version of Shaka to latest 4.3.7, but problem still happen. Any advice??

With Apple's native HLS implementation, we don't control those requests.  You may want to set the player configuration streaming.useNativeHlsOnSafari to false:
player.configure('streaming.useNativeHlsOnSafari', false);

Note, however, that this won't have any effect on iOS, where native HLS is the only option available to us.
Does this help?

@joeyparrish thanks for your advice. if I set useNativeHlsOnSafari to false, the player is failed with error 4026.
As I see in Safari, you only support DRM fairplay, correct?
Is it possible to set useNativeHlsOnSafari to false if DRM is fairplay?

@joeyparrish error 4026 mean The HLS parser has encountered encrypted content with unsupported KEYFORMAT attributes.
Does this mean we have to make change at our video encoder?

@joeyparrish can you please help?

I ended this issue by using Bitmovin Player, it support Fairplay on Macos for Tauri. Thanks.

Is it possible to set useNativeHlsOnSafari to false if DRM is fairplay?

Yes.  Fairplay support is independent of that flag.

4026 mean The HLS parser has encountered encrypted content with unsupported KEYFORMAT attributes.
Does this mean we have to make change at our video encoder?

Not necessarily.  But it means that this aspect of your content is not supported by the version of the player you are using.  Either you can change the content or change the player.
I recommend you start by upgrading the player.  v4.0.2 is no longer supported.  The latest release is v4.3.7, and we currently support the v4.2 and v4.3 branches.  See https://github.com/shaka-project/shaka-player/blob/main/maintained-branches.md for details.
Does this help?  If you're still having a KEYFORMAT error with the latest release, please use the bug report template and fill out all the requested information so that we can diagnose your problem: https://github.com/shaka-project/shaka-player/issues/new/choose
Thanks!

@joeyparrish if I change to version 4.2 or 4.3, the player play fail.
Do you have migration guide for change from 4.02.2 to 4.2/4.3
https://github.com/shaka-project/shaka-player/assets/70369658/d943e449-94d4-4a34-99e5-b71ad0e55bfd

@vanminhquangtri Can you test if the main branch still has the problem? Thanks!

@avelad please advise what you mean main branch?

@avelad please advise what you mean main branch?

https://github.com/shaka-project/shaka-player/tree/main

@avelad can you instruct me how to test this?

@vanminhquangtri You can use the following link: https://nightly-dot-shaka-player-demo.appspot.com/dist/shaka-player.ui.js


Using the chameleon projector to disguise as your own clothing makes you invisible

Description
I think the title does it justice. I don't know if you're invulnerable but you certainly can't be targeted in melee.
Reproduction

Get clothes.
Get a chameleon projector
Open your clothing UI and use the chameleon projector on a hat or something.

Additional context
Discovered in round 63820 on Salamander.

Dupe of #30271! Thanks for the bug report 🫡


Merge back master to dev

To keep PBR happy ;)

Coverage remained the same at 97.415% when pulling 79c43996ac2f95084055bfed7538c75962f9d330 on master into a96d3d660cd6c2b784c88564c521a4ad8bb81117 on develop.


RN:0.39.2 Integration of 0.90, onLoad, onLoadStart, onProgress, on... Methods no response

RN:0.39.2 Integration of 0.90, onLoad, onLoadStart, onProgress, on... Methods no response

The same problem. did you solved the problem?

@voeurnchy NO


OS errors when negotiating...?

Windows 11
Code is just a simple connect to a local server:
client.auth(Auth::new("test", "12345"));
client.connect("http://<IP_ADDRESS>:14191");

I get these errors, but am not sure yet if they are a naia level issue (use of webrtc_unreliable) or an issue with webrtc_unreliable:
2022-09-23T14:34:57.903796Z  INFO webrtc_unreliable_client::webrtc::peer_connection: signaling state changed to have-local-offer
2022-09-23T14:34:57.905683Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 26:17:f000:a060:eed9:3d7a:c3b3:194b: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906316Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp <IP_ADDRESS>: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906553Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp <IP_ADDRESS>: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906798Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp ::<IP_ADDRESS>: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906951Z  INFO webrtc_unreliable_client::webrtc::peer_connection: signaling state changed to stable
2022-09-23T14:34:57.907084Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 80fe::eed9:3d7a:c3b3:194b: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907184Z  INFO webrtc_unreliable_client::webrtc::crates::ice::agent::agent_internal: [controlling]: Setting new connection state: Checking
2022-09-23T14:34:57.907273Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 26:17:f000:a060::c00: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907594Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 26:17:f000:a060:acc4:dfec:5cac:c75f: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907830Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 80fe::d945:4b2e:d7cb:2289: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908064Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp <IP_ADDRESS>: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908473Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 80fe::43c9:d10c:e330:5acf: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908717Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp <IP_ADDRESS>: io error: The requested address is not valid in its context. (os error 10049)

Getting the same on Windows 10


Bucketing Model API

Bucketing API. In order to use the bucketing API, one need to add the following extra properties to data iter and data batch on top of any existing DataIter:

DataIter

default_bucket_key: the bucket key for the default symbol.

DataBatch

provide_data: same as DataIter, but specific to this batch
provide_label: same as DataIter, but specific to this batch
bucket_key: the key for the bucket that should be used for this batch

There is a simple sanity check example with mnist in mnist_bucket.py -- it creates 3 buckets which are all the same. It also serves a demonstration of how the API works.
I will create an example with ptb language model to demonstrate how bucketing with variable-length sequence model works soon.

Great work, Let us aim to merge it in this weekend.

Please make a list of changes and major files you added, as some of the change corresponds to refactoring.
Some comments:

The executor manager seems to be a refactoring, and separation of manager into two parts, which I think is fine

Do you guys think if sym_gen can be actually merged with symbol? to use callable as a way to distinguish between the things.

Consider move the bucket API example to a separate folder, or at least create one at LSTM part. Current example is great for integrated testing, but bad for users to get started, as things get too deep and there are a few additional dependencies.

One question, is the shared exec currently cached in a dict(so it can be reused when facing same bucket)? I ask this question because it depends on the overhead of creating an exec.
If it is small, then on the fly creating is fine, and even no sharing between execs is OK, as long as we destruct the exec and releases the memory. The sharing strategy probably need caching, so we avoid "re-compile" the execs and directly reuse the buckets that is already there. Of course the pure-imperative api and caching are two strategies that can be switched from on to another

Yes, shared exec is cached in a dict. Will address other questions shortly.

@tqchen The main changes are very minimum, most of the code here are examples (one trivial MNIST example and one word-rnn ptb language model example). Basically, the original DataParallelExecutorManager is refactored into two part: a DataParallelExecutorGroup is a group of executors living on different devices. All executors in a group correspond to the same symbol. The original  DataParallelExecutorManager now keeps reference to a DataParallelExecutorGroup. The current group is switched every time a data batch is loaded. Executor groups are created for different configuration (bucket_key), and they will be sharing memory with existing executor groups. The created executors are cached in a dict.
The current modifications are compatible with the existing API -- the existing code that does not use bucketing API could continue to run without any problem.
The examples are currently buried in corners. I'm planning to write some doc about how to use the bucketing API.
Two issues:

Currently Travis CI seem to be broken, it has been claiming that gcc-4.8 is not found.
The current ptb rnn example runs rather slowly. It is still quite slow after disabling bucketing and using trivial data loading. I'm not sure whether it is due to the weird computing environment in our lab cluster or because of some slow code.

the CI failure seems due to travis's cache bug..

@pluskid how slow is ptb rnn example now? if it can be finished within 20min on a gtx 970 ti, we can let jenkins run a daily test then

@mli I think it probably won't finish in 20min. It would be helpful if you can help run any existing test case on this branch to see if the speed slows down. Just to help diagnosing.

@tqchen i remember at nips you mentioned a bug which may slow down things. is it still there?
@pluskid will do the test tonight

@pluskid we can delete the cache in travis and rerun the tests

@tqchen How to delete cache?

more options -> cache on the up right corner

Also want to mention, we need to think of a good way to handle model checkpoints for bucketing.

get an error
dmlc@dual-750:~/mxnet/example/rnn$ python lstm_ptb_bucketing.py
Summary of dataset ==================
bucket of len  10 : 19479 samples
bucket of len  20 : 19336 samples
bucket of len  30 : 12208 samples
bucket of len  40 : 3962 samples
Summary of dataset ==================
bucket of len  10 : 1531 samples
bucket of len  20 : 1518 samples
bucket of len  30 : 980 samples
bucket of len  40 : 322 samples
2016-02-14 17:46:37,553 Start training with [gpu(0)]
2016-02-14 17:46:57,068 Epoch[0] Batch [50]	Speed: 91.48 samples/sec	Train-accuracy=0.222034
2016-02-14 17:47:17,021 Epoch[0] Batch [100]	Speed: 80.19 samples/sec	Train-accuracy=0.235212
2016-02-14 17:47:34,732 Epoch[0] Batch [150]	Speed: 90.34 samples/sec	Train-accuracy=0.256147
2016-02-14 17:47:52,392 Epoch[0] Batch [200]	Speed: 90.60 samples/sec	Train-accuracy=0.269458
2016-02-14 17:48:09,193 Epoch[0] Batch [250]	Speed: 95.23 samples/sec	Train-accuracy=0.280501
2016-02-14 17:48:27,320 Epoch[0] Batch [300]	Speed: 88.27 samples/sec	Train-accuracy=0.283358
2016-02-14 17:48:47,103 Epoch[0] Batch [350]	Speed: 80.88 samples/sec	Train-accuracy=0.282437
2016-02-14 17:49:06,707 Epoch[0] Batch [400]	Speed: 81.62 samples/sec	Train-accuracy=0.284250
Traceback (most recent call last):
  File "lstm_ptb_bucketing.py", line 271, in <module>
    batch_end_callback = mx.callback.Speedometer(batch_size, 50),)
  File "../../python/mxnet/model.py", line 741, in fit
    sym_gen=self.sym_gen)
  File "../../python/mxnet/model.py", line 220, in _train_multi_device
    for data_batch in train_data:
  File "lstm_ptb_bucketing.py", line 145, in __iter__
    for t in range(self.buckets[i_bucket])] + self.init_state_arrays
  File "lstm_ptb_bucketing.py", line 122, in embed_data
    shape=(self.batch_size, self.vocab_size)).todense()
  File "/usr/lib/python2.7/dist-packages/scipy/sparse/coo.py", line 193, in __init__
    self._check()
  File "/usr/lib/python2.7/dist-packages/scipy/sparse/coo.py", line 227, in _check
    raise ValueError('column index exceedes matrix dimensions')
ValueError: column index exceedes matrix dimensions

@mli Can you try the latest code? That was due to some legacy code not using embedlayer.

ahh, i just forgot to merge the upstream, fixed now. it takes roughly 10min for one epoch, what's the target accuracy? my current progress
2016-02-14 21:51:03,903 Epoch[3] Batch [1700]   Speed: 89.53 samples/sec        Train-accuracy=0.392445
2016-02-14 21:51:10,175 Epoch[3] Resetting Data Iterator
2016-02-14 21:51:10,175 Epoch[3] Train-accuracy=0.392464
2016-02-14 21:51:10,175 Epoch[3] Time cost=620.194
2016-02-14 21:51:29,145 Epoch[3] Validation-accuracy=0.388251

@mli not very sure. I measured only the negative log-likelihood when I did the word lm example in Julia. If you have time, could you try the following two test? Thanks!

Run any of the existing image classification test (cifar-10 for example) without using bucketing (so no need to modify anything) and check whether we get similar speed as before we introduce bucketing.
Run the bucketing language model above with multiple GPUs -- I found that the speed is slower with more GPUs when I tested it locally.

@pluskid I think the default data parallel mechanism will indeed slowdown the LSTM

@pluskid
num samples per sec for lstm_ptb_bucketing.py

i7-4790
970 ti
2 x 970 ti
4 x 970 ti

27
89
67
50


Feature Request

Feature Request to Add some feature like. Option to flash Magisk or any other selected zip after every OTA flash.

Thanks for your interest in your project
We will soon try to add this feature

sorry for late reply we will do that soon

Thanks. Will be waiting.

Can you guys add an option to remove "Flash PBRP after Install" when compiling

But why?
On Mon 3 Aug, 2020, 8:19 AM Takeshiro04<EMAIL_ADDRESS>wrote:

Can you guys add an option to remove "Flash PBRP after Install" when
compiling
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PitchBlackRecoveryProject/android_bootable_recovery/issues/16#issuecomment-667775209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFU2OMNYLMO4K6XQ73OIGC3R6YQVNANCNFSM4FU7R25Q
.

But why?
…
On Mon 3 Aug, 2020, 8:19 AM Takeshiro04, @.***> wrote: Can you guys add an option to remove "Flash PBRP after Install" when compiling — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU2OMNYLMO4K6XQ73OIGC3R6YQVNANCNFSM4FU7R25Q .

My device is having trouble with that feature. I know unticking it would work but users don't really read notes when it comes to these major stuff. Anyways, Manjot said that I can make this an issue and you guys will make it optional. I hope this reason will be enough. Have a good day! 👍


Widget and job package manager

Building a package manager to install widgets and jobs would help the process of building a dashboard and get people from idea to app even faster.
The idea is to that someone can create a package which includes both the widget javascript and stylesheet as a Gist or some other package form. Then we could add a Mix task for installing the widget with:
mix kitto.install.widget davejlong/4990174 # <= davejlong/4990174 being a Gist that includes the widget

Creating a job would be just as simple:
mix kitto.install.job davejlong/4990167 # <= davejlong/4990167 being a Gist that includes the job file

I totally agree we should make it easier for the user to quickly populate dashboards with ready-made widgets/jobs.
Dashing already does something similar to what you propose (see: https://github.com/Shopify/dashing/blob/master/lib/dashing/cli.rb#L92).
Why do you suggest to have different tasks for widget, job installation?

I suppose there's no need to have different tasks. In theory the implementation would just be to pull a Gist. Group sass and js files into a widget and exs files into a job. If neither a widget, nor a job are found, fail with an exception saying as such.

Dashings plugin system works fine for widgets / jobs without external dependencies.
If a widget needs an npm package to work, the user will still have to do some manual work to tweak her package.json and do npm install.

I'm doing some research on how we could incorporate a mechanism like http://docs.operable.io/docs/bundle-configs so that we can have a registry for to showcase their dashboards/widgets and a simple config for someone to declare kitto plugin dependencies.

I was going to start doing some research tonight on building something out
a little more advanced than Dashing as well. I think having a web based
search engine for finding packages will be important to the growth of Kitto
and something that was always lacking in Dashing. Perhaps we can have a
further conversation on this in Slack?
On November 16, 2016 at 1:55:12 PM, Dimitrios Zorbas (
<EMAIL_ADDRESS>wrote:
I'm doing some research on how we could incorporate a mechanism like
http://docs.operable.io/docs/bundle-configs so that we can have a registry
for to showcase their dashboards/widgets and a simple config for someone to
declare kitto plugin dependencies.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kittoframework/kitto/issues/18#issuecomment-261037201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKs1TVq37vD8ED79apZwajd4605nC2eks5q-1GPgaJpZM4Kyvz0
.

Meanwhile I added a script to help updating the core widgets.
sh -c "$(curl -fsSL https://gist.githubusercontent.com/Zorbash/98afb51cb7287ff7fe3b2b9a3331dc5f/raw/16ec3aa6e7ef88ee121ee4c30fc982e5f8775850/kitto_updater.sh)"


Format date on status repo page

Description
Currently it shows the raw date

Screenshots
No response
Additional information
No response

Now shows how long it has been


[BUG]Status 201

Describe the bug
gets a consist status 201
code:
from instagrapi import Client
import time
client = Client()
def fetch_user_info(client, user_id_to_fetch):
max_retries = 3
retries = 0
while retries < max_retries:
try:
user = client.user_info(user_id_to_fetch)
return user
except Exception as e:
print(f"Error fetching user info (Attempt {retries+1}/{max_retries}): {e}")
retries += 1
time.sleep(5)  # Add a delay before retrying
return None
try:
client.login("username", "pass")
print("Login successful!")  # Print a success message if login is successful
user_id = client.user_id_from_username("yarin_halili")
# Get your followers and the users you follow
followers = client.user_followers(user_id)
following = client.user_following(user_id)

# Create sets of user IDs for easy comparison
followers_ids = {follower.pk for follower in followers}
following_ids = {follow.pk for follow in following}

# Find users you follow who don't follow you back
not_following_back_ids = following_ids - followers_ids

for user_id_to_unfollow in not_following_back_ids:
    user = fetch_user_info(client, user_id_to_unfollow)
    if user:
        print(f"{user.username} ({user.full_name}) does not follow you back.")
        # Uncomment the line below to unfollow the user
        # client.user_unfollow(user_id_to_unfollow)
    else:
        print(f"Failed to fetch info for user ID {user_id_to_unfollow}. Skipping.")

except Exception as e:
print(f"Login failed: {e}")  # Print an error message if login fails
Traceback
Login successful!
Status 201: JSONDecodeError in public_request (url=https://www.instagram.com/yarin_halili/?__a=1&__d=dis) >>>
Status 201: JSONDecodeError in public_request (url=https://www.instagram.com/yarin_halili/?__a=1&__d=dis) >>>
Status 201: JSONDecodeError in public_request (url=https://www.instagram.com/yarin_halili/?__a=1&__d=dis) >>>
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: win 10
Python version 3.12

Additional context
Add any other context about the problem here.

+1
Same issue here

i've got same traceback but my login is successful after those 3 tracebacks

+1


The version badge displays an outdated version number

Reproduction link: https://github.com/cloydlau/json-editor-vue/blob/main/README.md

I'm not quite sure where the problem is, but the version number of this library is 0.15.0 in jsr, yet it displays 0.13.2.

Duplicate of https://github.com/jsr-io/jsr/issues/341


Automated cherry pick of #2198: fix: private sku sync and delete

Cherry pick of #2198 on release/2.12.
#2198: fix: private sku sync and delete

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@fe7b62c). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #2271   +/-   ##
==============================================
  Coverage                ?    7.1%
==============================================
  Files                   ?     452
  Lines                   ?   71240
  Branches                ?       0
==============================================
  Hits                    ?    5060
  Misses                  ?   65764
  Partials                ?     416

Flag
Coverage Δ

#aFlag
7.1% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/purge.go
0% <ø> (ø)

pkg/multicloud/aws/instance.go
0% <0%> (ø)

pkg/compute/models/skus.go
1.34% <0%> (ø)

pkg/compute/guestdrivers/openstack.go
7.46% <0%> (ø)

pkg/compute/guestdrivers/zstack.go
7.14% <0%> (ø)

pkg/compute/models/cloudproviders.go
1.02% <0%> (ø)

pkg/multicloud/ucloud/instance.go
0% <0%> (ø)

pkg/mcclient/options/servers.go
0% <0%> (ø)

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)

pkg/multicloud/esxi/virtualmachine.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


Fix build on FreeBSD, which has no alloca.h

After this fix, abc compilation failed, which was fixed upstream in https://github.com/berkeley-abc/abc/pull/147. I have applied that change locally and used ABCREV=default to buid). Do you prefer to merge upstream changes into https://github.com/YosysHQ/abc, or should I make a PR with that change for your fork?

Thanks for this, planning to sync our ABC to one upstream, so it should be all in before next release


feat: NPM publish workflow

OK, so if I read this right:

We prepare our repo and bump version manually and create a tag
We create a release on GH corresponding to the tag
This script is executed automatically and it builds/tests the code and publishes the artifact to NPM

...if that's right, this looks great.
One thing - I don't think we need the .npmignore file anymore, as you're selecting the files to upload manually (dist dir, readme, license, package.json), correct?


Please add a helpful message to when the dist/ folder has been deleted but tsconfig.tsbuildinfo has not been updated

As this answer on SO states:

Every single time I've ended up here after Googling "typescript tsc no output" it's for the same reason.  Since this has definitely happened more than once I'll throw my answer into the ring too.
Every time this has happened to me it's because TypeScript is configured with composite: true and I deleted the output directory (the one set as outDir in tsconfig), but didn't delete the tsconfig.tsbuildinfo file.
This leads TypeScript to assume that the output doesn't need updating, because the timestamp on the tsbuildinfo file says that the last build was after all the files were modified.

This behavior is so weird and difficult to guess. It feels so unnatural and unnecessarily brittle. Could there at least be a helful message in the terminal like:
there is no `dist/` folder anywhere,
but the `tsconfig.tsbuildinfo` file says everything is ok,
so Typescript will do a total of jack shit

@sheetalkamat Is there something we could change in the tsbuildinfo such that we could detect that the output folder (or output file) is missing and therefore must be output again?

This is a significant foot gun when setting up project references (and npm workspaces), especially when doing it for the first time and not knowing about this behavior. In regular projects the tsbuildinfo file ends up in your output (dist/ or whatever) folder so when you rm -rf dist/ its' gone with it, you can use TypeScript for years without ever running into this. Until the day you use project references, because with composite set to true you tend to also set a root dir and then the tsbuildinfo ends up outside your output folder, at the root of the package. I'll admit, I wasted a good amount of time trying to figure out why my module can't be found, thinking I got some project reference path or npm workspace paths wrong or whatever until realizing that tsc isn't generating output in one of my packages and then ending up here.

We do provide the tsc -b --clean to safely remove all output artifacts. We also provide tsc -b -f to force compilation irrespective of all outputs.
So there are workarounds for this.
Checking output timestamps has cost involved and it shouldnt be incurred for every project and hence this is currently working as designed.


Link to subdirectories

Hey there.
Please link at steemconnect.com to subdirectories / important sites like
Docs: https://v2.steemconnect.com/docs/steemjs or https://steemconnect.com/docs/steemjs
Dashboard (if logged in): https://steemconnect.com/dashboard
Login (if not logged in): https://steemconnect.com/login
Otherwise it's really hard to find these sites

Related to #241


Small fixes to Mixin static accessors

This is a small fixes for accessing static fields in the Mixin which it suppress the warning logs.

Thank you very much! I tried and failed to fix this a while ago, the help is appreciated.


update PropType usage to support React 15.5.0 (remove warnings)

update dependencies to include prop-types
Related Issues: #53

Thanks for submitting this @haxxxton !  Would you mind adding a minor version bump in package.json?

@developerdizzle, added minor version bump 😄


4.3. Include error-handling mechanisms to handle scenarios where the requested quiz to be deleted does not exist.

Task 4.3 is completed


Integration of MorphStore operators

Goals
Enable the use of existing data processing operators of MorphStore, an in-memory columnar analytical query engine with a novel holistic compression-enabeld and highly-vectorized processing model.
Tasks

[ ] Add MorphStore as a new library
[ ] Create Daphne Kernels using MorphStore operators (wrapper + data format translation)
[ ] Create some test cases

More Information will follow.

I would like to work on this issue.


Add Chabot-Las Positas

Chabot-Las Positas

@DontNeg I am sorry, the domain clpccd.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).

Hello Mr. Torchinsky,
Github refuses to acknowledge clpccd.edu as a domain. I am currently
attending Las Positas College, which does not provide an email with the
laspositascollege.edu domain. I implore you to please reconsider the domain
clpccd.edu; this would not only assist my learning but also thousands of
others in the future.
Thank you,
Lukian Mokahel
On Sat, Jul 6, 2024 at 8:33 PM Philip Torchinsky @.***>
wrote:

@DontNeg https://github.com/DontNeg I am sorry, the domain clpccd.edu
is removed from our trusted domains list because it was abused in the past.
If you are the student of this school, please enroll to GitHub Student
Developer Pack at
https://education.github.com/discount_requests/application. Then apply
for JetBrains educational subscription with your GitHub account (GitHub tab
at https://www.jetbrains.com/shop/eform/students).
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/21447#issuecomment-2212307735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMYTEGDXWSCVRELAHXC4YTZLCZJVAVCNFSM6AAAAABKOZCZR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGMYDONZTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@DontNeg Could you please send an email to<EMAIL_ADDRESS>mentioning this request's URL https://github.com/JetBrains/swot/pull/21447? Please attach a screenshot of the GitHub page you see confirming that "Github refuses to acknowledge clpccd.edu as a domain".
We generally trust GitHub decision on the matter, and if they do not consider the domain as trusted also, there must be a reason for that.


add doc submit from webportal

Coverage decreased (-2.1%) to 51.84% when pulling 64bb7f1bf91f145493f96320396919c6012dd040 on yife/jobdoc into 8b10f4d2475735428201b9593828d1931ee958ae on master.


test_completions_custom_path fails with jedi 0.9.0

The test_completions_custom_path fails if jedi 0.9.0 is installed and succeeds with jedi 0.10.2. This test was introduced in PR #4962 by @rlaverde to fix #4410, a bug with code completion. As I understand it, the feature that the test is written for requires jedi 0.10.0 or higher. Spyder only requires jedi 0.9.0. This affects both the master and the 3.x branch.
One possible solution is to the test if jedi 0.9.x is installed. This is done with another test in the same PR.
Alternatively, we could require jedi 0.10.0. This would simplify our code base and ensure that everybody profits from the bug fix (the original bug seems to have taken quite some effort to be tracked down). For the record, jedi 0.10.0 was released February 2017 on PIP and May 2017 on conda.
We could also take the first approach for Spyder 3.x and the second approach for Spyder 4.x. Bumping the requirement in a minor release is perhaps too big a change in this case.
Suggestions?

The test_completions_custom_path fails if jedi 0.9.0 is installed and succeeds with jedi 0.10.2

We need to demand 0.10 for that test. The requirement to use custom paths with Jedi 0.10+ is already in our code.

We could also take the first approach for Spyder 3.x and the second approach for Spyder 4.x

Yep, since 3.x is maintenance, we can't bump the minimal Jedi version to 0.10, but we can do that for 0.4. I think we could even use 0.11 to remove other patches as well.

Oops, sorry for the mess above.
BTW, I know that the ever-troublesome test_introspection in test_editor_introspection also requires jedi 0.9.0 (by the way, the latter has been failing for at least a couple weeks now, but as it doesn't run on our CIs I've just been manually skipping it locally until my key work items for 3.2.7 are complete).

the latter has been failing for at least a couple weeks now

It's passing for me locally in Python 3 and PyQt5.

@ccordoba12 Ah, looks like your just-merged #6433  fixed it. Thanks!

Yep, since 3.x is maintenance, we can't bump the minimal Jedi version to 0.10, but we can do that for 0.4.

Okay, I'll prepare two separate PRs.

I created issue #6474 so that I don't forget about the second PR.


Critical error if choose Sepolia network on swap page

If choose sepolia network on swap page - we get critical "too many rerenders" error.
it prob happens bc of empty sepolia tokens list

@alter-eggo I found the reason for the issue.
It's because there are no tokens data for sepolia from graphql.
subgraph endpoint: https://api-v3.balancer.fi/graphql
operationName: "GetTokenPrices"
https://github.com/balancer/frontend-v3/blob/main/lib/modules/tokens/TokensProvider.tsx#L60-L63


Cow: Watch ngoexperts.com

Cow requests the watch of the watch_keyword ngoexperts\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ

ngoexperts\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Add history query

Pull Request Test Coverage Report for Build 1400

29 of 54 (53.7%)  changed or added relevant lines in 7 files are covered.
39 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 77.479%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ast/expression.ts
16
18
88.89%

lib/compiler/jsir.ts
1
5
20.0%

lib/compiler/ast-to-ops.ts
1
6
16.67%

lib/compiler/ops.ts
1
6
16.67%

lib/compiler/ops-to-jsir.ts
1
10
10.0%

Files with Coverage Reduction
New Missed Lines
%

lib/new-syntax/parser.ts
39
73.6%

Totals

Change from base Build 1399:
-0.09%

Covered Lines:
10208

Relevant Lines:
12669

💛  - Coveralls


Fix FileName and Height properties

The previous "height" property was actually a description for FileName. I corrected this and added a proper row for "Height"
I previously submitted this PR to the "live" branch by mistake (see #332). This is to "master" instead.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/oleobjects-add-method-excel.md
:white_check_mark:Succeeded

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/oleobjects-add-method-excel.md
:white_check_mark:Succeeded

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.


ERROR: LoadError: LoadError: UndefVarError: n_actions not defined

I have such an error when I run the Solvemdp.jl in julia1.1.1 on wsl. All required packages are installed.
ERROR: LoadError: LoadError: UndefVarError: n_actions not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
[2] top-level scope at none:0
[3] include at ./boot.jl:326 [inlined]
[4] include_relative(::Module, ::String) at ./loading.jl:1038
[5] include at ./sysimg.jl:29 [inlined]
[6] include(::String) at /home/xxx/HorizontalCAS/GenerateTable/mdp/HCAS.jl:1
[7] top-level scope at none:0
[8] include at ./boot.jl:326 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:1038
[10] include(::Module, ::String) at ./sysimg.jl:29
[11] top-level scope at none:2
[12] eval at ./boot.jl:328 [inlined]
[13] eval(::Expr) at ./client.jl:404
[14] top-level scope at ./none:3
in expression starting at /home/xxx/HorizontalCAS/GenerateTable/mdp/hCAS.jl:22
in expression starting at /home/xxx/HorizontalCAS/GenerateTable/mdp/HCAS.jl:10

how to solve

See https://github.com/sisl/HorizontalCAS/issues/4


IISReset each time SPInstallPrereqs test fails

Details of the scenario you try and problem that is occurring:
If the SPInstallPrereqs test fails the set function runs the prereqs exe. This triggers a IISReset. In my case the Prerequisites were all installed and the prereqs exe did not change anything but the test still failed because of a different version of Microsoft Visual C++ 2015 Redistributable (x64) package.
I had version 14.0.23506.0 installed but the test expected version 14.23026.0. My workaround is to install the expected version.
I think this is a big risk for production systems because a update could install a different version and the test would fails again leading to IISReset in every test-cycle. One solution could be to remove the config block once the farm is setup but this is against the idea of dsc.
The DSC configuration that is using the resource:
SPInstallPrereqs, Version 1.3
Version of the Operating System and PowerShell the DSC Target Node is running:
Windows Server 2012 R2
Powershell 5
Version of the DSC module you're using:
1.3

Thanks for reporting Brian, will get on to this one ASAP! I'll own putting this fix in and we'll see if we can get it out in 1.4

Got a fix open for this, should be in dev within a couple of days and will make the 1.4 release.

Thanks for taking this up! Hope it will make the 1.4 release.


Recovering from power failure

I managed to trigger my earth leakage circuit breaker today, while installing a mutilated Xiaomi wired in-wall switch into my ceiling fan.  This cut off power from all my zoneplayers, my macMini server, my network router, switches and access points.  The Raspberry Pi running homebridge (and deCONZ) survived, because it is backed by a USB power bank that supports pass-through charging.
However, recovery after I restored the power wasn't as smooth as I'd hoped:

It seems the Bonjour advertisement of homebridge is lost, even though homebridge continues running.  I don't know if and, if so, how often homebridge refreshes the advertisement, but I had to restart homebridge to get my HomeKit clients to find the homebridge server again.  Workaround is easy enough: restart homebridge from the power_back script;
The subscriptions for notifications that homebridge-zp makes with each zoneplayer are lost when the zoneplayer reboots.  homebridge-zp will renew these after at most subscriptionTimeout minutes (30 by default), but it would be better to detect that a zoneplayer has started and renew immediately.  For a power failure, a restart of homebridge from the power_back script would be enough, but that wouldn't help when power cycling a zoneplayer.
The zoneplayers seem to reboot pretty quickly, at least before my Internet connection is up.  Somehow, they won't play TuneIn radio stations, (I assume) because they cannot resolve the hostnames.  It takes another power cycle of the zoneplayer to remedy that (the bastards at Sonos seem to have removed the support pages where you could initiate a reboot remotely).  Incidentally, I see the same issue with my Gigaset Internet telephony server, that won't register with the SIP server.

the bastards at Sonos seem to have removed the support pages where you could initiate a reboot remotely

They're still there, but they only work when you specify the zoneplayer's IP address in the URI, not when you use the hostname.  See #52 and https://github.com/nicoh88/cron_sonos-reboot.

Sonos seems to have disabled the hidden support page for reboot (it now returns Forbidden), see https://github.com/nicoh88/cron_sonos-reboot#sonos-93.
Closing this issue: nothing I can do when there's no way to trigger remotely a reboot of the zoneplayer.

The events by the ZoneGroupTopology service contain the info needed to detect a zoneplayer reboot, see https://github.com/ebaauw/homebridge-zp/commit/151d93cda5e54ae2afa49adc0c7acc5f8fa7018e.


JMS changing polling logic

Implementing first bullet of elastic/apm-agent-java#664

[x] Implement code
[x] Add tests
[ ] Update documentation
[x] Update CHANGELOG.md
[ ] Update supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced.

With the new logic, Spring JMS test passes when the MessageListener instrumentation is disabled, validating that this logic is viable at least in this case (Spring actually uses polling APIs under the hood and applies logic to invoke a JMS-like onMessage API).

Jenkins test this please

Following a discussion, required changes:

Use only a single type of transaction: messaging.
Don't create polling transactions by default, but only handling ones.
Try to find a way to reduce risk of leaking unclosed transactions, for example- instrument (or wrap) all Runnables and Callables so that at the end of run/call - we end any active transaction. This must not interfere with the Executors' plugin and beware of added related overhead.


hstream-http-server: append with key, fix lookup

PR Description
Type of change

[x] Bug fix
[x] New feature

Summary of the change and which issue is fixed
Main changes: update hstream-http-server

Checklist

I have run format.sh under script
I have commented my code, particularly in hard-to-understand areas
New and existing unit tests pass locally with my changes

r+ @4eUeP @daleiz


Adding release github file.

This will help when generating the changelog during releases, by automatically generate the sections in the changelog according the labels.

Thanks for opening this, @germa89! I think this file needs to be used together with a .github/labeler.yml and a workflows/label.yml, as similar t what happens in PyVista CI.

Hi @jorgepiloto. I wasn't thinking on auto-label the PR, but rather improve the changelog at releases.
But you are probably right we should take advantage and implement those.