Custom Controller

Hi Fox and other developers here. Sure there are many junior developers like me, trying to change in the examples Steam Controller for one custom (hand for example). Some instruction here could be helpful. Thanks for the toolkit, It is incredibly helpful !!

Related to https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues/4
I can look to add an example scene it it helps.

That would be great. Thanks.

early PR to show adding custom controller models:
https://github.com/thestonefox/SteamVR_Unity_Toolkit/pull/226

Completed with https://github.com/thestonefox/SteamVR_Unity_Toolkit/commit/29e088034bd8e59a0d669a4bc924e7442af9382d


property id are crazy high

Looking at the property table in the twomes_v2 database on the test server on https://db.energietransitiewindesheim.nl/#/, I see crazy high property numbers. What's up; something seems wrong.
Examples:

id
created_at
updated_at
deleted_at
name

1
2023-04-24 13:50:04.714
2023-04-24 13:50:04.714

heartbeat

2
2023-04-24 13:50:04.714
2023-04-24 13:50:04.714

batteryVoltage

195
2023-04-28 12:22:42.892
2023-04-28 12:22:42.892

booted_fw

229
2023-04-29 07:20:50.665
2023-04-29 07:20:50.665

countPresence

230
2023-04-29 07:20:50.665
2023-04-29 07:20:50.665

CO2concentration

231
2023-04-29 07:20:50.665
2023-04-29 07:20:50.665

roomTemp

232
2023-04-29 07:20:50.665
2023-04-29 07:20:50.665

relativeHumidity

9554
2023-05-30 13:45:26.660
2023-05-30 13:45:26.660

e_use_lo_cum__kWh

9555
2023-05-30 13:45:26.660
2023-05-30 13:45:26.660

e_use_hi_cum__kWh

9556
2023-05-30 13:45:26.660
2023-05-30 13:45:26.660

e_ret_lo_cum__kWh

9557
2023-05-30 13:45:26.660
2023-05-30 13:45:26.660

e_ret_hi_cum__kWh

9558
2023-05-30 13:45:26.660
2023-05-30 13:45:26.660

g_use_cum__m3

Reason
The reason this happens is explained here, specifically this piece of text:

With InnoDB, values can be reserved by a transaction; but if the transaction fails (for example, because of a ROLLBACK) the reserved value will be lost.

Just to clarify, InnoDB is the default storage engine for mariadb.
At this time, every time an upload is done, a transaction is started to try and insert the property if it does not exist (and increases the auto increment value). The reasoning behind doing it that way was that this way, we would not need to query the property first, which takes time.
Possible fix
A possible fix is to check in the code if the property already exists in the database and only try to create it if it does not exist. This does mean that we would need to loop through all measurements when an upload is done.
I would prefer another way, but I have not spent the time to come up with a better solution.


[gitlab] Fix send_pkg_size-a6 JSON payload format

What does this PR do?
Removes trailing comma in send_pkg_size-a6 job which makes the metrics upload fail.
Makes the curl commands fail explicitly on HTTP errors.
Motivation
JSON doesn't accept trailing commas.
The jobs were succeeding even if sending the metrics failed.

Indeed, I updated it.


mini.starter: buf_id in refresh() is not an identifier of valid Starter buffer.

Contributing guidelines

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

Module(s)
mini.starter
Description
I use LazyVim and I haven't made any changes to it recently (beyond just the usual updating packages to their latest versions) but this error just started popping up as soon as I open NeoVim.  I can make it go away by hitting q but I was wondering if there's a way to figure out why it started coming up out of nowhere.
Neovim version
happened in 0.9.5; still happening in 0.10.0
Steps to reproduce

nvim -nu minimal.lua
...

Expected behavior
The notice not to come up
Actual behavior

Thanks for the issue!
Unfortunately, without more information I can not reproduce. It looks like there is some other file explorer plugin loaded, so it would be better to have at least somewhat minimal reproduction steps here.

Same problem here. How can I provide you with more information?

Same problem here. How can I provide you with more information?

Ideally - a minimal 'init.lua' that I can use with NVIM_APPIMAGE to reproduce.
At bare minimum - which relevant parts of LazyVim are used at startup. It seems like there should be at least some file explorer and 'mini.starter'.

Same problem here. Steps to reproduce on macOS 14.5:

Checkout/clone LazyVim starter https://github.com/LazyVim/starter to ~/.config/testnvim
Export NVIM_APPNAME=testnvim
Remove testvim/lua/plugins/example.lua
Add testvim/lua/plugins/core.lua (code from below)
Open nvim with new file ('nvim somefile.txt')
Check the error message

Thank you for checking.
-- Core Plugins

-- "echasnovski/mini.starter (Mini Starter)

return {
  -- Use mini.starter instead of alpha
  { import = "lazyvim.plugins.extras.ui.mini-starter" },
  {
    "echasnovski/mini.starter",
    version = "*",
    event = "VimEnter",
    opts = function()
      local logo = table.concat({
        "██╗      █████╗ ███████╗██╗   ██╗██╗   ██╗██╗███╗   ███╗          Z",
        "██║     ██╔══██╗╚══███╔╝╚██╗ ██╔╝██║   ██║██║████╗ ████║      Z",
        "██║     ███████║  ███╔╝  ╚████╔╝ ██║   ██║██║██╔████╔██║   z",
        "██║     ██╔══██║ ███╔╝    ╚██╔╝  ╚██╗ ██╔╝██║██║╚██╔╝██║ z",
        "███████╗██║  ██║███████╗   ██║    ╚████╔╝ ██║██║ ╚═╝ ██║",
        "╚══════╝╚═╝  ╚═╝╚══════╝   ╚═╝     ╚═══╝  ╚═╝╚═╝     ╚═╝",
      }, "\n")
      local pad = string.rep(" ", 22)
      local new_section = function(name, action, section)
        return { name = name, action = action, section = pad .. section }
      end

      local starter = require("mini.starter")
      --stylua: ignore
      local config = {
        evaluate_single = true,
        header = logo,
        items = {
          new_section("aliases",      "e $HOME/.aliases",               "Dotfiles"),
          new_section("dialog",       "e $HOME/.dialog",                "Dotfiles"),
          new_section("environment",  "e $HOME/.environment",           "Dotfiles"),
          new_section("functions",    "e $HOME/.functions",             "Dotfiles"),
          new_section("motd",         "e $HOME/.motd",                  "Dotfiles"),
          new_section("projects",     "e $HOME/.projects",              "Dotfiles"),
          new_section("shellrc",      "e $HOME/.shellrc",               "Dotfiles"),
          new_section("tmux",         "e $HOME/.config/tmux/tmux.conf", "Dotfiles"),
          new_section("vimrc",        "e $HOME/.vimrc",                 "Dotfiles"),
          new_section("zshrc",        "e $HOME/.zshrc",                 "Dotfiles"),
          new_section("recent files", "Telescope oldfiles",             "Telescope"),
          new_section("grep text",    "Telescope live_grep",            "Telescope"),
          new_section("lazy",         "Lazy",                           "Config"),
          new_section("init.lua",     "e $MYVIMRC",                     "Config"),
          new_section("new file",     "ene | startinsert",              "Built-in"),
          new_section("quit",         "qa",                             "Built-in"),
        },
        content_hooks = {
          starter.gen_hook.adding_bullet(pad .. "░ ", false),
          starter.gen_hook.aligning("center", "center"),
        },
      }
      return config
    end,
  },
}

Same problem here. Steps to reproduce on macOS 14.5:

Thanks, I can reproduce this. As I can not reproduce this with my own config and nvim somefile.txt, this looks like a conflict with some other plugin. I'll take a look.

This is the issue with LazyVim, not 'mini.starter'. The message goes away if { import = "lazyvim.plugins.extras.ui.mini-starter" }, line is removed. There is this call in 'lazyvim.plugins.extras.ui.mini-starter' which does not guard against the appeared message because it is not an error.
I think the suggested solution is to remove { import = "lazyvim.plugins.extras.ui.mini-starter" }, from the config as you mostly have 'mini.starter' setup in your config.
Closing as not an issue with 'mini.starter'.


Automatic PR from RestAPI-PR2105

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/2105

Codecov Report

Merging #1684 into master will increase coverage by <.01%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master    #1684      +/-   ##
==========================================
+ Coverage   55.35%   55.36%   +<.01%
==========================================
  Files        4188     4190       +2
  Lines       99525    99548      +23
==========================================
+ Hits        55093    55110      +17
- Misses      44432    44438       +6

Impacted Files
Coverage Δ

...zure/mgmt/cdn/models/endpoint_update_parameters.py
26.66% <ø> (ø)
:arrow_up:

azure-mgmt-cdn/azure/mgmt/cdn/version.py
100% <100%> (ø)
:arrow_up:

azure-mgmt-cdn/azure/mgmt/cdn/models/origin.py
45.45% <100%> (ø)
:arrow_up:

...dn/azure/mgmt/cdn/operations/origins_operations.py
18.98% <100%> (+1.03%)
:arrow_up:

...azure/mgmt/cdn/models/profile_update_parameters.py
80% <100%> (-3.34%)
:arrow_down:

...n/azure/mgmt/cdn/operations/profiles_operations.py
10.04% <100%> (+0.43%)
:arrow_up:

...e-mgmt-cdn/azure/mgmt/cdn/cdn_management_client.py
76.54% <100%> (ø)
:arrow_up:

azure-mgmt-cdn/azure/mgmt/cdn/models/endpoint.py
25% <100%> (ø)
:arrow_up:

azure-mgmt-cdn/azure/mgmt/cdn/models/resource.py
62.5% <100%> (+12.5%)
:arrow_up:

...e/mgmt/cdn/operations/custom_domains_operations.py
12.58% <100%> (+0.61%)
:arrow_up:

... and 12 more

Continue to review full report at Codecov.

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

Too old


Update Certificate

HI,
Getting cert is working fine, I am looking on how to update the cert now, other LE tools have the update option, which I am completly missing, can anyone help me with this please.
thanxs

@waltergrimmvie when you need to renew a certificate you actually create a whole new request (an update is just re-issuing the same request). Let's Encrypt will recognise it is a request for a new version of the same certificate for the same account (based on your account id and the list of domains in the certificate).

Thanx for the quick response,


"main" java.lang.NoSuchMethodError: 'void org.owasp.dependencycheck.data.nvdcve.CveDB.updateKnownExploitedVulnerabilities(java.util.List)'

Describe the bug
A clear and concise description of what the bug is.
Version of dependency-check used
Windows CLI Dependency-Check Core version 6.5.3
Log file
No log file.
To Reproduce
Steps to reproduce the behavior:
Running depenency-check.bat against a .jar file
Getting NoSuchMethodError Update CISA Known Exploited Vulnerability list
[INFO] Updating CISA Known Exploited Vulnerability list: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
Exception in thread "main" java.lang.NoSuchMethodError: 'void org.owasp.dependencycheck.data.nvdcve.CveDB.updateKnownExploitedVulnerabilities(java.util.List)'
at org.owasp.dependencycheck.data.update.KnownExploitedDataSource.update(KnownExploitedDataSource.java:85)
at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:875)
at org.owasp.dependencycheck.Engine.initializeAndUpdateDatabase(Engine.java:680)
at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:606)
at org.owasp.dependencycheck.App.runScan(App.java:256)
at org.owasp.dependencycheck.App.run(App.java:188)
at org.owasp.dependencycheck.App.main(App.java:83)

Tried again from a clean directory and it worked as expected. Not a bug.


Change does not fire if submit is pressed without changing the color

JSFiddle: https://jsfiddle.net/53gy1tyq/2/
If you open the picker and click submit, no event is fired. If you open the picker, move the selector, then slick submit, the change event is fired.
I want the user to be able to select the default color by opening the picker and pressing submit without changing the color, and it seems like this should be the way it works.
I guess it does make sense to have a change event that only fires when the color is changed from what it was, maybe there should be a submit event that fires every time submit is pressed, whether the color is the same or changed?

Change is not fired because nothing is changed.
You may want to check out the hide event.

Hide fires both when the user clicks out of the box and when they press submit. The main issue I see is that there is no event that lets you trigger an action when the user opens the color picker and presses submit without changing the color.

It's a good point the docs to state it's fired when the 'Choose' button is clicked or the input is closed.
Also with clickoutFiresChange, clicking outside also fires a change just like a hide.
https://github.com/bgrins/spectrum/blob/master/spectrum.js#L873
Right there is where the event is fired. You could get rid of the hasChanged boolean, and I believe that would fire every time submit is clicked.

Thanks for the tip. Basically right now I'm using the change event to submit the values. If there were an event that fired if and only if the submit button was pressed, I would use that instead.
For now I'll just make that edit on L873.

You should open a PR too, if you wish.

Looks like this guy may have already beat you to it.

I think it might make more sense to have a separate submit event, since I agree it doesn't make much sense to have change fire if the color didn't change and was just submitted.


Add additional parameters to ms build runner

Provides the ability to add

/noconsolelogger (/noconlog)
/detailedsummary (/ds)

and a 'catch-all' for any other parameters (AddParameters(string))

Hi @bradtwurst, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, DNFBOT;

@bradtwurst Great! I don't think the catch-all should be included though, since this normally is done via the ArgumentCustomization delegate on the ToolSettings class. We want to be consistent about this.

no problem regarding catch-all.  I didn't realize that existed.  I'll update the pull request

@bradtwurst in line with our contributing process (https://github.com/cake-build/cake/blob/develop/CONTRIBUTING.md) can you please create an issue, and link to this PR from it?
Also, would it be possible for you to rebase your changes on top of the latest develop branch? Thanks!

relates to #1312

@bradtwurst I have rebased and merged this PR, and also added the PR Review comments from @patriksvensson.  You can see this merged in here: https://github.com/cake-build/cake/commit/e9e91f0e55014cef5420123eee10d4b1760cc12d
As a result, I am going to manually close this PR, but your contribution has been pulled in, and correctly attributed.  Thank you for taking the time to contribute to cake! 👍


finalizedBy does not work when task fails and the target task depends on origin task

Current Behavior
With this config:
val cleanup = tasks.register("cleanup") {
    doLast {
        throw GradleException("cleanup should fail too!")
    }
	dependsOn("failing")
}

val failing = tasks.register("failing") {
	doFirst {
        throw GradleException("OH no! I Failed! I need cleanup!")
    }
    finalizedBy(cleanup)
}

executing failing does not trigger cleanup afterwards.
When the dependsOn is removed it works correctly
Expected Behavior
cleanup is able to depend on failing without breaking the finalizedBy constraint
Context (optional)
No response
Steps to Reproduce
https://github.com/nbrugger-tgm/gradle-issue-reproducer

./gradlew failing

Gradle version
8.4, 8.5
Build scan URL (optional)
No response
Your Environment (optional)
No response

Thank you for your interest in Gradle!
This is the intended behavior, and there’s no plan to change it. This issue will be closed.

When a task fails, the tasks that dependsOn it are never run since the dependency should indicate a consumption of the tasks output which are not assumed to be produced if the task failed.
See the related issue:

https://github.com/gradle/gradle/issues/27743

@cobexer

tasks output which are not assumed to be produced if the task failed

This is not true for test tasks. Test tasks do produce full output even if failing.
Is there a way to change this assumption? Lets say there is a task convertJunitReportsToSomeFormat what would the "gradle official" way to configure that? You cannot run  convertJunitReportsToSomeFormat when there are no reports so it has to depend on the test task if the convertJunitReportsToSomeFormat task is the one to be executed? But this is inconvenient since it means that you can only call the task by finalize and without creating an implicit dependency.
val testTask = tasks.register<Test>("test") { ... }
tasks.register<MyConversionTask>("convertTestResults") {
    unitReports = testTask //forbidden since implicit dependency
}

If i understand correctly that means that a task that depends on a "Test" task can never be called via the cli?
This is especially problematic if you do NOT want to execute the post-test task everytime but only when explicitlly needed postAsGithubIssue, uploadToSonar ..... only makes sense on ci. How would you suggest to configure such tasks?
In my opinion, there should be a flag output.validOnFail that is false by default. And produces the current behaviour but when set to true the task is assumed to have correct outputs even if failing. Or maybe a more gradle style thing such as TaskOutputInternals#validWhen(spec: Spec<Task>)

@nbrugger-tgm please see the comment https://github.com/gradle/gradle/issues/27743#issuecomment-1899320717 in the issue we linked above


Fixed the skip all de-bloat switch stated in the README

Was "-sb", changed to "-sdb" as this is the correct switch.

Good find, thanks!


Delete missing/multiple/duplicate caches in "pre-commit" job

"gh cache list" may occasionally give zero results; multiple results; or multiple results with the same cache key. Allow all of these to succeed with exit code 0.
How to review
Not required.
PR checklist

[x] Continuous integration checks all ✅
[x] ~Add or expand tests;~ coverage checks both ✅
~Add, expand, or update documentation.~ N/A; CI changes only.
[x] Update doc/whatsnew.

Here is an example of the step running successfully, from a temporary commit that I will now remove.


Adds the actual Unikernel

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3075

Relevant Lines:
5575

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3075

Relevant Lines:
5575

💛  - Coveralls


[SPARK-39206][INFRA][PS] Add PS label for Pandas API on Spark in PRs

What changes were proposed in this pull request?
This PR proposes to add "PS" label automatically to PRs.
Why are the changes needed?
We added Pandas API on Spark in the JIRA component. We should also add it as a label at https://github.com/apache/spark/blob/master/.github/labeler.yml
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
I manually tested via ls **/python/pyspark/pandas/**/*

cc @zhengruifeng @itholic @xinrong-databricks @ueshin @Yikun

oops. I was late. https://github.com/apache/spark/pull/36574 was open first 😂


[r] Implement missing domain argument to DataFrame create

Issue and/or context: As tracked on issue #2407 / [sc-51048]. Fixes #2967 / [sc-55657].
Changes:
As a legacy R/Python-parity issue, the domain argument to SOMADataFrame's create -- from the SOMA spec -- was never implemented in R. Here we remedy that.
Notes for Reviewer:
This PR is a work in progress. It is not ready for review.
Unit-test cases are not yet implemented.

I have one more bug to fix in CI -- it's a KP 🙏

Oops, my bad @mojaveazure ! https://github.com/single-cell-data/TileDB-SOMA/pull/3032/commits/e7a2e7458aec66e724f2eb0b1be71f7f1e5eeed7


Random websocket connection closed errors

Description
I am running a Python script in a Windows server machine to use the Slack RTM API to listen on new incoming messages addressed to a bot. Based on the message, I write back to the Slack channel where the question was asked.
Unfortunately, the websocket used by RTM API is randomly getting closed, forcing me to come up with a workaround where I have to call slack_client.rtm_connect() in my except block to re-connect.
This is causing two issues:
I don't see a reason why the websocket is getting closed
After reconnecting multiple times, the Python script stops listening to messages directed to my bot, forcing me to restart the Python script manually.
Reproducible in:

[ ] This is reproducible in the sample project.
python-slackclient version: 0.3.0
Python Version: 2.7
OS Version: Windows Server 2012 R2

Steps to reproduce:

Run the script
Wait for socket to close, on try / except reconnect through slack_client.rtm_connect()

Expected result:

Socket never closes

Actual result:

Socket closes randomly causing script to have to re-connect multiple times, leading to script becoming unresponsive eventually

Attachments:
Sample Python script
sample.py.zip

Hello, does anyone have any comments or suggestions for me to try? Thank you in advance for your time reviewing this new issue.

I think I also have seen this.
Traceback (most recent call last):
  File "/opt/daddy/venv/lib/python2.7/site-packages/daddy/watchers/slack.py", line 152, in rtm_receiver
    for event in slack_client.rtm_read():
  File "/opt/daddy/venv/lib/python2.7/site-packages/slackclient/_client.py", line 123, in rtm_read
    json_data = self.server.websocket_safe_read()
  File "/opt/daddy/venv/lib/python2.7/site-packages/slackclient/_server.py", line 141, in websocket_safe_read
    data += "{0}\n".format(self.websocket.recv())
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_core.py", line 293, in recv
    opcode, data = self.recv_data()
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_core.py", line 310, in recv_data
    opcode, frame = self.recv_data_frame(control_frame)
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_core.py", line 323, in recv_data_frame
    frame = self.recv_frame()
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_core.py", line 357, in recv_frame
    return self.frame_buffer.recv_frame()
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_abnf.py", line 336, in recv_frame
    self.recv_header()
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_abnf.py", line 286, in recv_header
    header = self.recv_strict(2)
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_abnf.py", line 371, in recv_strict
    bytes_ = self.recv(min(16384, shortage))
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_core.py", line 427, in _recv
    return recv(self.sock, bufsize)
  File "/opt/daddy/venv/lib/python2.7/site-packages/websocket/_socket.py", line 93, in recv
    "Connection is already closed.")
WebSocketConnectionClosedException: Connection is already closed.

# pip freeze | grep slack
slackclient==1.0.5
# pip freeze | grep web
websocket-client==0.40.0

I also have reconnect logic as well (that will sleep X amount of time, then reconnect, and repeat...)

I experienced the same problem.

Sorry for the long discussion without involvement from the maintainers. I just want to let you all know that we are investigating this issue (and the possibly related ones #118 #127)

this indeed seems like a duplicate of #118, which has a bit more data about the problem. I'm going to close this issue as a dup, but if you feel like there's something unique going on here that we should know about, feel free to comment.

In my case:

# works
websocket-client==0.54.0

# does not work
websocket-client==0.55.0

Same for me ...
0.54.0 working,
0.55.0 not working.

Same issue here. Downgrading websocket-client from 0.55 to 0.54 solved the problem.

Thanks for everyone reporting the issue! I've addressed this with a patch for now: https://github.com/slackapi/python-slackclient/pull/387
I'm going to continue digging into solving the root cause in websocket-client.


Set connectionFailed to Print error log by default.

Desirable behavior is to see error log when something unexpectedly happened.

In my opinion, It is going to add unnecessary complexity to the library. Development process suffering from the "Steep learning curve" right now. Better not to like plug and play?


Fixed #24846 -- Added support to MySQL DatabaseSchemaEditor.skip_default() for all blob/text data types

Ticket 24846

Do we want any tests for this? Even creating a stub field that returns each of the values and then a test which calls this method?

Possibly, but it doesn't bring much value IMHO. Doesn't hurt, though!

I'll be a good code citizen and write a test

The test seems better suited for tests/schema since this change is limited to the schema backend.

flake8 checked.

isort checked.

docs checked.

merged in e60cce4e401ae9481b66b6c7821e85237f1baa1a, thanks!


Updates on Managed Identity Usage?

Is there any update on adding additional use cases for granting access to other Azure resources using the API Management Service Managed Identity?

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

ID: 1e6fa6cc-8307-4391-7cd9-2b6d5ccd9b7b
Version Independent ID: c78c84c8-99e6-9746-f3f2-f1f5098582a3
Content: Use managed identities in Azure API Management
Content Source: articles/api-management/api-management-howto-use-managed-service-identity.md
Service: api-management
GitHub Login: @miaojiang
Microsoft Alias: apimpm

@unshavenspyder The service itself uses Managed Identity for accessing certificates from KeyVault. But there is an authentication-managed-identity policy that you can use to fetch a token and use in your policies.

@unshavenspyder Just following up here... Hope my previous comment helps.

@unshavenspyder Hope my previous comment helps.
Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Some YouTube videos not available on mobile when using Lazysizes

Hello,
I am using LazySizes and is working perfect on desktop. However, on mobile there are a lot of YouTube videos that I see the thumbnail of the video and when I click to play it shows "This video is not available". It only happens with YouTube videos from famous artists' channels but not with all. Looks like a permissions issue, however, If I change data-src to src on the iframes then it works perfectly but of course, lazysizes don't.

I tried using Chrome Mobile and Safari Mobile on the iPhone. On chrome desktop, it is working fine.
Any idea?
Thank you!

I currently have not much time, but this sounds bad. Could you share one of those non-working urls?

Sure,
you can test it here (is still a work in progress page) on mobile:
https://nsuestudio.com/2020/docs/musicindustry/?name=Peter
Search: "Ana Belén" or "Ana Guerra".
Iframes examples that are not working on mobile:

Thank you for your time!
MZ.
ᐧ
El lun., 23 sept. 2019 a las 21:51, Alexander Farkas (<
<EMAIL_ADDRESS>escribió:

I currently have not much time, but this sounds bad. Could you share one
of those non-working urls?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aFarkas/lazysizes/issues/705?email_source=notifications&email_token=AEKHR2QUYZJ4UBFXPRJGZLTQLEM53A5CNFSM4IZNTVD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7MBZYA#issuecomment-534256864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEKHR2TTLLROVRHV77DSW63QLEM53ANCNFSM4IZNTVDQ
.

--
MIGUEL ZAFRA
MANAGING DIRECTOR
*New Spanish Office: *
Calle Preciados 29, 4B (Pza. Callao)
28013, Madrid, Spain
+34 672 817 115
Linkedin http://www.linkedin.com/in/miguelzafra | Twitter
http://twitter.com/nsuestudio | Instagram
https://www.instagram.com/nsuestudio/
http://www.nsuestudio.com

Hello Alexander,
I don't know if you had the chance to see this.
Thank you so much!
MZ.
ᐧ
El lun., 23 sept. 2019 a las 21:56, Miguel Zafra (<
<EMAIL_ADDRESS>escribió:

Sure,
you can test it here (is still a work in progress page) on mobile:
https://nsuestudio.com/2020/docs/musicindustry/?name=Peter
Search: "Ana Belén" or "Ana Guerra".
Iframes examples that are not working on mobile:

Thank you for your time!
MZ.
ᐧ
El lun., 23 sept. 2019 a las 21:51, Alexander Farkas (<
<EMAIL_ADDRESS>escribió:

I currently have not much time, but this sounds bad. Could you share one
of those non-working urls?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aFarkas/lazysizes/issues/705?email_source=notifications&email_token=AEKHR2QUYZJ4UBFXPRJGZLTQLEM53A5CNFSM4IZNTVD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7MBZYA#issuecomment-534256864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEKHR2TTLLROVRHV77DSW63QLEM53ANCNFSM4IZNTVDQ
.

--
MIGUEL ZAFRA
MANAGING DIRECTOR
*New Spanish Office: *
Calle Preciados 29, 4B (Pza. Callao)
28013, Madrid, Spain
+34 672 817 115
Linkedin http://www.linkedin.com/in/miguelzafra | Twitter
http://twitter.com/nsuestudio | Instagram
https://www.instagram.com/nsuestudio/
http://www.nsuestudio.com

--
MIGUEL ZAFRA
MANAGING DIRECTOR
*New Spanish Office: *
Calle Preciados 29, 4B (Pza. Callao)
28013, Madrid, Spain
+34 672 817 115
Linkedin http://www.linkedin.com/in/miguelzafra | Twitter
http://twitter.com/nsuestudio | Instagram
https://www.instagram.com/nsuestudio/
http://www.nsuestudio.com

This is also happening on my site. It works perfectly on desktop for Vimeo iframe embeds but returns a privacy error or a blank space on iPhones. Any help on this would be much appreciated!

I was able to resolve the issue by changing this:
Comment out code:
elem.contentWindow.location.replace(src);
Replace with:
elem.src = src;
Resulting code:
var changeIframeSrc = function(elem, src){
try {
elem.src = src;
//elem.contentWindow.location.replace(src);
} catch(e){
elem.src = src;
}
};

@tan-allan
I can not change this like this because changing the src of an `iframe´ adds a history entry to the browser (at least Firefox). If you are willing to do so you can write something like this:
// <iframe data-iframe-src="yt-src"></iframe>
window.addEventListener('lazybeforeunveil', ({target}) => {
   if(target.dataset.iframeSrc) {
       target.src = target.dataset.iframeSrc;
   }
});

@aFarkas
What if we remove the iframe and re-construct as mentioned here ?


Can't find any data | Never works for me

I keep getting this error again and again. Never works for me
My version is latest

My code is -
               const song = await getPreview(args[0])
               const songname = song.title

it gives error at line - const song = await getPreview(args[0])
How I defined - var { getData, getPreview } = require("spotify-url-info");

I have no trouble getting the info with exactly the same link, have you tried the getTracks method ?

Yep ! It gives error saying couldn't parse it or something

have you checked if args[0] gets the given link in full or if it's not set to lowercase ?

I checked
It gives link only
Problem is it works on https://runkit.com but not in my bot

args[0] is not in lowercase ? console.log to be sure

I did
It's in lowercase

that's why you got an error, links are case sensitive

Ohhhh
Lemme try it without changing it to lowercase

I tried ! Didn't work either

   message.channel.send(`Searching for song ! We don't support spotify directly`)
                const args22 = message.content.slice(prefix.length).trim().split(/ +/g);
                const song = await getPreview(args22)
                console.log(args22)
                console.log(args22[0])
                const songname = song.title
                const search = await distube.search(songname)
                const firststep = search[0].url
                return distube.play(message, firststep)```
My code

I was being dumb
Issue fixed
Thanks

@pgamerxdev how did you fix it?

@pgamerxdev how did you fix it?


How Do I Reach Out Gemini Support Number

➡ For help with Gemini Support Phone Number, reach out to our support team anytime at 📲 1-510-989-6343  . We're available 24/7 to assist with installation.
➡ For Gemini Phone Support, please feel free to contact our support team at 📲 1-510-989-6343   We can assist with installation, setup, and troubleshooting.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Gemini Support, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 (📲 1-510-989-6343  ). 𝐖𝐞'𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟺/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Gemini, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 📲 1-510-989-6343  . 𝐖𝐞’𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟼/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡For help with ❞Gemini Support Number❞, reach out to our support team anytime at 📲 1-510-989-6343   We're available 24*7 to assist with installation.
➡ For Gemini Support, please feel free to contact our support team at 📲 1-510-989-6343   We can assist with installation, setup, and troubleshooting

Closing this issue as spam.


bevy_reflect: get_represented_kind_info APIs for reflected kinds

Objective
Fixes #14378

@alice-i-cecile @MrGVSV  any more concerns? I believe I addressed all review comments, the only open discussion was about naming- and my impression of that thread is that it's non-blocking.


typo: network/resource-manager/Microsoft.Network

Maxium -> Maximum
Double word "curcuit"
Prodiver -> Provider
Spepcified -> Specified
Succeded -> Succeeded
crossconnection -> cross connection
retriving -> retrieving
Etherype -> Ether type
seperator -> separator
asterix -> asterisk
Aure -> Azure
Prefx -> Prefix
profilees -> profiles
conatinaer -> container
configruation -> configuration
outcoming -> outgoing
snaphots -> snapshots
Traffice -> Traffic
Policys -> Policies
specificed -> specified
VPNsite -> VPN site
provisisoning -> provisioning
Double word "for"
vpnclients -> VPN clients
Trim trailing spaces

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java

@nschonni please rebase your PR.

@hovsepm rebased

@nschonni metoo :)

@nschonni I still have the massage that "This branch is out-of-date with the base branch" could you rebase with upstream/december-network-release?

@hovsepm fetched and ran git pull --rebase upstream december-network-release again

@MikhailTryakhov could you review and explicitly sign-off on this PR?


Directions should not be LTR

When using RTL app and not specifying any text/layout direction the library's default is LTR.
I think it would be better if none specified by the JSON, than let the system decide the right direction ("start" direction for example).

RTL

I have changed the default TextAlign to "start".  codes were commited.


Feature/fix unit tests

Description (required)
https://github.com/commons-app/apps-android-commons/pull/5262 introduces a useful feature, but makes two unit tests fail.
The two units tests that are failing are:

testOnClickModifyLocation
testOnStyleLoaded

Fixes #5291
What changes did you make and why?
Added a variable to mock the newly added removeLocationButton
Tests performed (required)
Tested unit tests on an emulated device with API level 29
Screenshots (for UI changes only)
N/A

Thanks a lot for fixing the unit tests!
I just performed more real-world tests, and realized latitude/longitude are not actually removed from the EXIF of the picture. Hopefully this will be fixed soon and I will be able to merge. :-)

@nicolas-raoul - Do you mind adding the hacktoberfet-accepted label?

@TomerPacific
I added the label.
Sure, that would be wonderful! Feel free to create another branch, and pull from this branch into it.

@nicolas-raoul - Can you elaborate on what the statement you made means:

I just performed more real-world tests, and realized latitude/longitude are not actually removed from the EXIF of the picture.

What exactly did you try and what exactly did you see (and how)?
Thanks

Sure!
I just added reproduction steps at https://github.com/commons-app/apps-android-commons/pull/5262#issuecomment-1762778826

Please do not hesitate to comment at https://github.com/commons-app/apps-android-commons/pull/5262#issuecomment-1763551171 🙂


Is painting information useful in data files (geojson)?

Hi, thanks for this cool library ^^ I understand that the information in the geojson data about layer styles is not taken into account. I don't see anything in the code that allows you to manage a different display for certain features of the same type (room for example). Except in the example called "custom-styles" but that's different.
I would have imagined something that browses the array of features and, if the layout or painting information is present, executes a setPaintProperty / setLayoutProperty
Am I mistaken?
EDIT
Maybe this solution would work, but that's a lot of expressions to process, given the number of layers + the number of potential properties. Any comments?
/src/style/default_layers.json
...
  {
    "filter": ["any", ["filter-==", "indoor", "room"]],
    "id": "indoor-rooms-borders",
    "type": "line",
    "source": "indoor",
    "paint": {
      "line-color": ["case", ["has", "line-color"], ["get", "line-color"], "#000"], // <- up
      "line-width": ["case", ["has", "line-width"], ["get", "line-width"], 3], // <- up
      "line-opacity": { "base": 1, "stops": [ [15, 0], [18, 1] ]
      }
    }
  },
...

Hello :)
You can do it with data-driven properties like this: https://docs.mapbox.com/mapbox-gl-js/example/data-driven-lines/
From my knowledge, there is no "automatic method" to do it.

Ok, thanks!


Version 0.9.0 is still including -InformationAction and -InformationVariable in the syntax and parameters list

Related to Issue #55
Version 0.9.0 is still including -InformationAction and -InformationVariable in the syntax and parameters list of the markdown output in PowerShell v6. Need these removed as these are already documented in about_CommonParameters.
Environment
Name                           Value
----                           -----
PSVersion                      6.0.0
PSEdition                      Core
GitCommitId                    v6.0.0
OS                             Microsoft Windows 10.0.16299
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

ModuleType Version    Name       ExportedCommands
---------- -------    ----       ----------------
Script     0.9.0      platyPS    {New-MarkdownHelp, Get-MarkdownMetadata, New-ExternalHelp,...

Steps to reproduce
New-MarkdownHelp -Module Microsoft.PowerShell.Management -OutputFolder C:\temp\platyps-test\

Expected behavior
Markdown should not contain Parameter blocks for the -Information* parameters.
Actual behavior
The following shows a list of files containing these parameter blocks.
PS C:\temp\platyps-test> findstr /m /c:"### -Information" *.md
Clear-Content.md
Clear-ItemProperty.md
Convert-Path.md
Copy-ItemProperty.md
Debug-Process.md
Get-ItemProperty.md
Get-ItemPropertyValue.md
Get-PSDrive.md
Get-PSProvider.md
Move-ItemProperty.md
New-ItemProperty.md
New-PSDrive.md
New-Service.md
Remove-ItemProperty.md
Remove-PSDrive.md
Remove-Service.md
Rename-Computer.md
Rename-ItemProperty.md
Resolve-Path.md
Set-ItemProperty.md
Set-Service.md
Split-Path.md
Start-Process.md
Start-Service.md
Stop-Process.md
Stop-Service.md
Suspend-Service.md
Test-Path.md
Wait-Process.md

@sdwheeler Thanks for reporting the issue.

@sdwheeler platyPS will preserve existing -InfomationAction and -InformationVariable parameters if they are defined on the help object of the cmdlet. Are you able to check if you are able to see the -InformationAction and -InformationVariables on your version of the cmdlets you are using?
You can use this to output the parameter names.
(Get-Help Start-Process).parameters.parameter.name

We need an option to not include Common Parameters in the syntax blocks and parameter lists.
Here is the output you asked for.
PS C:\Git> (Get-Help Start-Process).parameters.parameter.name
ArgumentList
Credential
FilePath
InformationAction
InformationVariable
LoadUserProfile
NoNewWindow
PassThru
RedirectStandardError
RedirectStandardInput
RedirectStandardOutput
UseNewEnvironment
Verb
Wait
WindowStyle
WorkingDirectory

@sdwheeler So if the -InformationAction and -InformationVariable header sections are removed from the source markdown, does New-MarkdownHelp put them back?

I don't think this is an issue in the current release. Closing.

I don't think this is an issue in the current release. Closing.


Add a Blazor migration scenario

Fixes #22108
@DenmarkG, how's this look?
@daveabrock, do you want to run an :eye: over this? ... will only take a sec. I don't recall the scenario where this file appeared in build output. I'm going off of the PU issue. This is something different than ProjectName.styles.css for CSS isolation, correct?

Hummmm 🤔 ... we do reference this file. Here ......
https://docs.microsoft.com/en-us/aspnet/core/blazor/components/prerendering-and-integration?view=aspnetcore-5.0&pivots=webassembly#prerendering-configuration
I'm not sure that this is the right thing to do. This file is from a template app that's converted to hosting Blazor.
@DenmarkG, how did you create your app to end up with that <link> element in the first place?


Different behaviors when open symlink folder in VS Code

VSCode Version: 1.34.0 & 1.35.0 - insider
OS Version: MacOS Mojave 10.14.5 & Fedora Workstation 30

Steps to Reproduce:

Prepare a folder as a workspace folder in VS Code, let's name it as demo
Generate a symlink for that folder: ln -s demo demolink
Open the symlink demolink in VS Code

Behavior on MacOS Mojave
The VS Code will open the folder demo as the workspace folder.

Behavior on Fedora
The VS Code will open the folder demolink as the workspace folder.

Because of the differences, some APIs calling behavior will become different as well. For example, when calling workspace.getWorkspaceFolder(uri).

there should be no differences, help wanted to investigate + fix if possible 👍

@jdneo I cannot reproduce, here is what I did

followed your instructions how to get the linked folder
from the command line type code demolink
result:

@bpasero it seems that you are using macos? Could you please try it on Fedora? I can repro it on Fedora 30

@jdneo I do not see an issue with that, you are asking Code to open the link and it does. Do you expect to follow the symlink when opening?

I can reproduce it. And I get the same result while opening files.
Step to reproduce:

touch demo.txt
ln -s demo.txt demolink.txt
open both of these files in vscode insider
In debian: the file name on the editor will show demo.txt and demolink.txt respectively.
In macos: both of these will show demo.txt
mv demolink.txt folder/
Open the demolink.txt in folder
The file name will show demolink.txt in macos.

The issue might happen on macos.

Hi @bpasero,
Sorry for the late reply. I was on vacation days before.
Regarding the issue, actually, I'm not sure what's the right behavior should be. But the thing I've observed is that the name of the opened folder is not the same on Mac and Linux. Please let me know anything I can help to help you reproduce the issue.

The right behaviour in VSCode is to not follow the symlink but actually open it as instructed by the user. However this probably also depends on how the file was opened, e.g. from a native dialog or not.
@hwhung0111 @jdneo thanks for providing steps, but you are missing to tell me how you actually open the file. Just to give an example, here are various ways how you can open files in VSCode:

from the command line directly
from File > Open
from the VSCode explorer by clicking on it
via quick open when typing the name of the file

I see. For me, I'm using File > Open to open the symlink.

I also open from File > Open. For me, macos don't have the same behavior even I open the same symlink.

Hi @bpasero,
Can we repro this issue? I have several users who have encountered the same problem. It would be great if VS Code can fix this.

I do not think VSCode can do anything because we get the path from the system dialog and do nothing with it. I suspect platform differences here with the path we get back from the system dialog via Electron.

this is a disaster, it completely messes up the git panel. .gitignore handling is broken, all the changed paths are listed as absolute paths. unusable.

Hi @jdneo
As a workaround you could open the folder from command line:
$ code .
I got the same behavior described for @bpasero and it is system dialog dependent. My system is using "GtkFileChooserDialog" to open files and directories ... I have a lot o problems with other applications too. I am Using ubuntu 22.04 with gtk4 and I think this is the problem ... gtk4 is not working properly yet.

The same issue happened on

Linux code-capsule 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux

I'm using vscode tunnel to develop java project.
The application could run as formal, but when test, it shows the error.

The same issue happened on

Linux code-capsule 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux

I'm using vscode tunnel to develop java project.
The application could run as formal, but when test, it shows the error.

I found an interesting thing during duplicating this issue:

Server:

Vscode CLI 1.85.1 (commitee: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2)
OS Version: Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux
Test Runner for Java: v0.40.1

Test Client1:

Client: Microsoft Edge (120.0.2210.91 (64 bits))
OS Version: Windows 11 Professional 23H2

Test Client2:

Client: Visual Studio Code 1.85.1 (commitee: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2)
OS Version: Same as test client 1

Tested project is a simple project built by spring initializr and just add spring web as dependency.
There is no error shown when I connect the tunnel from test client 2 (using VS Code), and all things going as normal. However, when I connect the tunnel from test client 1 (using vscode.dev/tunnel/my-tunnel), this issue happened.
Hope these info could help someone to figure this out~


Error reading in cell binned gef file

I noticed that my count matrix had random, very high values as some entries when I read in cell binned gef files with the st.io.read_gef() function. These values would change every time I read the data, so every time my count matrix was different. I believe the bug could be fixed when io.reader.py is fixed in the following way:
In read_gef() function:
line 1091:
from:
exp_matrix = csr_matrix((count, (cell_ind, gene_ind)), shape=(cell_num, gene_num), dtype=np.uint32)
to:
exp_matrix = csr_matrix((count, (cell_ind, gene_ind)), shape=(cell_num, gene_num), dtype=np.uint16)
and line 1135:
from:
exp_matrix = csr_matrix((count, indices, indptr), shape=(cell_num, gene_num), dtype=np.uint32)
to:
exp_matrix = csr_matrix((count, indices, indptr), shape=(cell_num, gene_num), dtype=np.uint16)

Thanks for your feedback, we had noticed the error you mentioned, we will fix it at next version.


Remove  disablePlugins(BackgroundRunPlugin) in build.sbt

Our build.sbt has a lot of
  // NOTE: workaround for https://github.com/sbt/sbt-core-next/issues/8
  .disablePlugins(BackgroundRunPlugin)

that we should remove.

I removed them in #1720 (which at the moment is unfinished WIP, but perhaps it has a future)

Doesn't exist anymore in build.sbt


About the choice of pretrained model for downstream tasks

It seems that sometimes the model achieve the "Max accuracy" before EPOCH 300 on ImageNet-1K dataset, although their results are in very small difference.
In ths case, which model parameters should be used to train the downstream tasks (e.g. sematic segmentation on ADE20K),  model of Max accuracy or model of EPOCH 300? I want to know your training settings of the paper results.
Thanks!

Hi, we use the model of the last epoch (epoch 300) for downstream tasks.

Thank you for your reply !


Set font size of node labels

I'm not sure if I'm missing something in the documentation, but I wasn't able to find a way to set the size of a label in a node. And currently my labels do not fit the nodes so I'd like to shrink them a bit.

Is there currently a way to do this?

@Goncalerta there is currently not a simple way to do that. The only way that is currently working is to up-scale nodes/edges by a certain factor so that the text is not as large when compared to nodes/edges.
Will be worked on for v1.1.0.

Fixed in aff332c. Bear in mind that reducing label character size using setLabelSize may cause the label to render poorly, which is a limitation of SFML.


Add instructions for enabling SMB volume services

Corresponding change for the title rename in sidebar: https://github.com/pivotal-cf/docs-book-pivotalcf/pull/130
#161097509
Maria & @davewalter

We also pushed an update to rename nfs-experimental to nfs-legacy same as here: https://github.com/cloudfoundry/docs-dev-guide/blob/master/services/_using-vol-services.html.md.erb#L127

Thank you, @mariash!


docs: Observability of Envoy Gateway Component (not Envoy)

Observability of Envoy Gateway Component (not Envoy):
To have full EG system observability and ease troubleshooting of various failure modes, is there is EG native metrics (not Envoy proxy) that helps to have insights into EG subcomponents like:

Total/failed to translate resources (Resource translator)
Total/failed to translate xDS resources (xDS translator)
Total/failed to translate Infra resources (Infra translator)

Introducing such metrics (if they are not yet supported) will ease EG operators to troubleshoot various failure scenarios and increase confidence for prod deployment.
Could not find mentions of EG native metric in user docs.

Hi @nezdolik
The metrics of EG are still work in progress, tracked by https://github.com/envoyproxy/gateway/issues/2092, for now, the latest version has support these metrics:

https://github.com/envoyproxy/gateway/blob/main/internal/message/metrics.go
https://github.com/envoyproxy/gateway/blob/main/internal/provider/kubernetes/metrics.go

The usage of EG metrics can refer to: https://gateway.envoyproxy.io/latest/tasks/observability/gateway-observability/

Total/failed to translate resources (Resource translator)
Total/failed to translate xDS resources (xDS translator)
Total/failed to translate Infra resources (Infra translator)

These metrics can refer to:
https://github.com/envoyproxy/gateway/blob/c5ec046be14c4bb9049a7d3633900d2b8207d40f/internal/message/metrics.go#L15-L17
with different runner label, for example, like:

the gateway-api runner is for Resource translator
the xds-translator runner is for xDS translator
the infrastructure runner is for Infra translator

converting this into a docs issue, because these metrics exist, but are not documented

@Xunzhuo @zirain @shawnh2 is there a tool / tags to easily convert metrics to docs (.md) which we can publish in the docs website ?

Done some research, couldn't find any tool like that.
Since the metrics is not changed very often, maybe we could write a doc in our own.

will file a doc after https://github.com/envoyproxy/gateway/pull/3393 landed


Add runtime-dependency for cif2hkl

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ The recipe is not parsable by parser conda-souschef (grayskull). Your recipe may not receive automatic updates and/or may not be compatible with conda-forge's infrastructure. Please check the logs for more information and ensure your recipe can be parsed.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12015876647. Examine the logs at this URL for more detail.

Closing and restarting from fresh fork. I don't like the above indication from conda-souschef / linter.


ocamlPackages.letsencrypt: init at 0.2.5

Motivation for this change
Dependency of git-paf 3.4.0.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@ofborg build ocamlPackages.letsencrypt ocaml-ng.ocamlPackages_4_12.letsencrypt

Only compiles with tls >= 0.12.0 it seems, sorry. Will need to be added with #118144.


knex how to exec sql command

If I want to perform complex SQL commands (insert,delete,update)
How should I use it？
thank you very much !

Please read the issue template and documentation. This is not the place for usage questions.


in GetAllBackups don't error if single backup is unreadable

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>fixes #53

@skriss pls rebase

@ncdc done


Add sample prow config

Signed-off-by: Melvin Hillsman<EMAIL_ADDRESS>Description of PR
Prow configuration for creating ProwJobs that should run specific to this repository.
Related-to #9
Changes (required)

postsubmit, presubmit, and periodic smoke test job

Checklist (required)

[x] I have reviewed and followed the contribution guidelines
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation if needed
[x] I have checked that my changes pass all tests

/hold

/test echo-test

/test echo-test

/test echo-test

/test echo-test

/uncc @itroyano @skattoju @makon57


'destroy' method for QModelMenu

Description
Does QModelMenu have a method similar to _destroy in NapariMenu:
    def _destroy(self):
        """Clean up action data to avoid widget leaks."""
        for ax in self.actions():
            ax.setData(None)

            with contextlib.suppress(AttributeError):
                ax._destroy()
        if self in self._INSTANCES:
            self._INSTANCES.remove(self)

If not, would it be suitable to add it? I think (?) ideally it would perform the setData(None) and the QAction._destroy() methods. (I think QModelMenu save a list of instances in _INSTANCES so I don't think that part would be needed).
My specific use case is for use during Window._teardown() in tests.
cc @DragaDoncila

There is a _disconnect method
https://github.com/pyapp-kit/app-model/blob/5bc0300d9025389130ef6dacc20ef12aa93c8dbf/src/app_model/backends/qt/_qmenu.py#L119
But being private, you probably shouldn't rely on it or override it in napari

Thanks for replying.
I don't fully understand this so please bear with me.
 I am guessing make_napari_viewer does not teardown properly and old napari viewer gets passed to some tests?

Ah I guess I can manually do what's happening in _destroy in napari, instead of making a method here? I will close this.


Error 7 when generating gRPC code or running example client

Version: <IP_ADDRESS>
Encountered error 7 in the two cases below.
When l tried to use Code Generator to generate client code according to the example proto: helloworld. proto, the error 7 occured.

When l tried to run the helloworld example, l got the error 7.

Then l found the error may be caused by some wrong .dll paths.
For Code Generator, "Get ProtoParser DLL Directory.vi" gets the dll directory like the picture below.

But the actual directory:(No "Libraries" folder)

For running gRPC communication, "Get Server DLL Path.vi" gets the dll directory like the picture below.

But the actual directory:(No "Libraries" folder)

l once installed v<IP_ADDRESS> and v<IP_ADDRESS> and those Dlls were in the same paths as the ones defined in the code above like the picture below.

cc @gaoruhao @ericgross2

Fixed in the <IP_ADDRESS> release.


Add support to invoke PM_DEVICE_ACTION_TURN_OFF/ON Actions

System managed device power management only invokes PM_DEVICE_ACTION_SUSPEND and PM_DEVICE_ACTION_RESUME actions on the device drivers.
This changes allows the user to specify a property per power state called zephyr,pm-turn-on-off-action. This will make the system managed power management framework to invoke PM_DEVICE_ACTION_TURN_OFF and PM_DEVICE_ACTION_TURN_ON actions on the device drivers.
This allows device drivers to take additional power saving steps for certain low power states.

This change is to allow devices and SoC's that are not in a power domain to receive TURN_ON/OFF actions. Its a property per power state that is in the users control.
If there is a power domain driver then this property can be left as false.
Do we need the TURN_ON/OFF actions to always go through a power-domain driver?

Do we need the TURN_ON/OFF actions to always go through a power-domain driver?

TURN_ON and TURN_OFF are defined in terms of power (voltage) being physically applied or removed from the device in question, not as a lower power sleep state. Device drivers cannot properly implement these actions is they don't have a common meaning across use cases.

Do we need the TURN_ON/OFF actions to always go through a power-domain driver?

TURN_ON and TURN_OFF are defined in terms of power (voltage) being physically applied or removed from the device in question, not as a lower power sleep state. Device drivers cannot properly implement these actions is they don't have a common meaning across use cases.

Yep that is correct. But it is possible that depending on power state that the SoC sleeps, internal devices my have power removed.

Maybe the nomenclature is ambiguous ? If this action is only used in cases where a power state cuts of device power, I don't see a problem.

We have SoC low power states where the IP blocks lose state and need to be reconfigured on exit from low power modes. SUSPEND and RESUME does not work in this and the device driver needs to receive a different action. I am using TURN_ON as that seemed an appropriate one.
Do you suggest we add a different action?

We have SoC low power states where the IP blocks lose state and need to be reconfigured on exit from low power modes.

I don't use system PM, is there a link somewhere between the IP blocks that do lose state and the power state with zephyr,pm-turn-on-off-action?
Or will this result in the action being run on all devices?

Do you suggest we add a different action?

This is tricky, because adding an extra state means you have to fit it into the existing state transitions.
I think the current TURN_ON and TURN_OFF states are doing double duty to signify both the voltage applied (GPIO configuration needed) and device state (Reconfiguration needed) actions. Which mostly makes sense, because for external devices these two tend to be linked. If the device is powered it can hold state, if it is not it cannot.
Are these IP blocks losing state because they are being powered down, or for some other reason (i.e. clocks disabled)?

We have SoC low power states where the IP blocks lose state and need to be reconfigured on exit from low power modes.

I don't use system PM, is there a link somewhere between the IP blocks that do lose state and the power state with zephyr,pm-turn-on-off-action? Or will this result in the action being run on all devices?

Do you suggest we add a different action?

This is tricky, because adding an extra state means you have to fit it into the existing state transitions.
I think the current TURN_ON and TURN_OFF states are doing double duty to signify both the voltage applied (GPIO configuration needed) and device state (Reconfiguration needed) actions. Which mostly makes sense, because for external devices these two tend to be linked. If the device is powered it can hold state, if it is not it cannot.
Are these IP blocks losing state because they are being powered down, or for some other reason (i.e. clocks disabled)?

They are being power down by the SoC.

They are being power down by the SoC.

Then I don't see a problem with TURN_ON and TURN_OFF being used.

This action will be run on all devices. If for some reason the device is already TURNED_OFF, then the system will ignore and move on to the next device. I could add logic to skip calling the TURN_OFF action on devices that are registered with a power-domain driver.

This is a problem. Your suggested solution is not sufficient because that would also run the action on external devices that are not on a power domain. IMO there needs to be a setup where the actions are run ONLY on the IP blocks that are being powered down, not relying on the PM subsystem to discard actions.

They are being power down by the SoC.

Then I think TURN_ON and TURN_OFF can be used with no problems.

Yep !

This action will be run on all devices. If for some reason the device is already TURNED_OFF, then the system will ignore and move on to the next device. I could add logic to skip calling the TURN_OFF action on devices that are registered with a power-domain driver.

This is a problem. Your suggested solution is not sufficient because that would also run the action on external devices that are not on a power domain. IMO there needs to be a setup where the actions are run ONLY on the IP blocks that are being powered down, not relying on the PM subsystem to discard actions.

Agree, this action should run only in devices that are losing power. @mmahadevan108 you can use the property added in this commit 02a14d75fc7. It tells which power states cause power loss in a device. You may leverage it and trigger on/off in devices using it.

They are being power down by the SoC.

Then I think TURN_ON and TURN_OFF can be used with no problems.

Yep !

This action will be run on all devices. If for some reason the device is already TURNED_OFF, then the system will ignore and move on to the next device. I could add logic to skip calling the TURN_OFF action on devices that are registered with a power-domain driver.

This is a problem. Your suggested solution is not sufficient because that would also run the action on external devices that are not on a power domain. IMO there needs to be a setup where the actions are run ONLY on the IP blocks that are being powered down, not relying on the PM subsystem to discard actions.

Agree, this action should run only in devices that are losing power. @mmahadevan108 you can use the property added in this commit 02a14d7. It tells which power states cause power loss in a device. You may leverage it and trigger on/off in devices using it.

@ceolin, the zephyr,disabling-power-states will disable Device PM for a particular power state and I do not want that to happen. We do want device PM to be called, however with a different action.

They are being power down by the SoC.

Then I think TURN_ON and TURN_OFF can be used with no problems.

Great, this is what this PR is proposing.

This action will be run on all devices. If for some reason the device is already TURNED_OFF, then the system will ignore and move on to the next device. I could add logic to skip calling the TURN_OFF action on devices that are registered with a power-domain driver.

This is a problem. Your suggested solution is not sufficient because that would also run the action on external devices that are not on a power domain. IMO there needs to be a setup where the actions are run ONLY on the IP blocks that are being powered down, not relying on the PM subsystem to discard actions.

In the change proposed, it is assumed that for certain power states all devices except the one's marked for wakeup are powered down.

@JordanYates @ceolin @gmarull please let me know your thoughts/suggestions on this PR.

In this proposal, it is assumed that for certain power states all devices except the one's marked for wakeup are powered down.

That is an incorrect assumption, you can't make any statements about the power state of devices that are external to the SoC.


Specify Number of Quotes to Print

Currently script prints out at most 10 quotes from provided author. It would be nice to have a feature wherein a user can input the number of quotes to print. Command line argument would be the preferred way to go, although a user prompt wouldn't be too intrusive

If command line argument option specified, might be worth looking into handling arguments through a CommandLine Parser module (like https://docs.python.org/2/library/argparse.html)

Implemented with #10. Had to refactor Database Management as argparser didn't allow for both author searching and database management as options. Makes more sense to do it that way anyway, and the flexibility of argparser is well worth the tradeoff


Clear cache on logout

Description
Clear cache on logout to disallow user access on clicking back button after logging out.
Related Issues
https://github.com/threefoldtech/js-sdk/issues/2581
Checklist

[ ] Pre-commit hook is installed to do formatting checks before committing code...etc
[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings

wrong base?


graphcache: support inline fragments without type conditions

Graphcache has an uncovered edge case that is misbehaving related to inline fragments.
query A {
  ... {
    field
  }
}

query B {
  ... @skip(if: false) {
    field
  }
}

The typeCondition for InlineFragmentNode is optional, yet when it's missing the fragment is skipped in both of the above conditions.

Fixed in new release<EMAIL_ADDRESS>https://github.com/FormidableLabs/urql/releases/tag/%40urql%2Fexchange-graphcache%403.1.4


Do we have payment link with qr code

@ankitdas13 do we support payment link for qr code just wanted to know can you please lets us know? Yes Its support please add the link of docs so that we would integrate such thing in our project!
Waiting for your reply!!
Thanks
Tanishq Chawda

when paying via test mode QR link i'm getting the error
"We are facing some trouble completing your request at the moment. Please try again shortly"

@tanishq14developer Sorry for the long delay, the standard payment link is already added in the doc. Please check this doc for more details.
https://razorpay.com/docs/api/payments/payment-links/create-standard/
https://github.com/razorpay/razorpay-node/blob/master/documents/paymentLink.md#create-payment-link

Closing this issue because the issue is not from sdk end.


cdn.conf changed from perl to json and env MOJO_CONFIG is now undefin…

…ed in Iso.pm
removed the lines so that geniso works again.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Download posts based on geotag and hashtag combined

I have been trying few things since I came across this library and so far I had some successful attempts downloading posts either by 1 geotag or 1 hastag within a restricted date period.
However, I am trying to find whether there is some way to combine both attributes to specify the posts I am interested in. When I try to select the posts I either use:
posts = L.get_hashtag_posts('hashtag')  #for one hashtag
or
posts = L.get_location_posts(geotagid)  #for one geotag
and then I call a loop to download the posts one by one. However, I would like to know if it's possible to combine both lines in one so that the posts have the hashtag AND the geotag I specified. Also, if possible, specifying more than 1 hashtag (for geotag, we can't have multiple, but for hashtag it's possible and more common).
Example: I want to download posts that are geotagged with "New York time square" and that contain hashtags "#holiday" "#broadway". Would that be possible or do I have to settle for either one geotag or one hashtag ??
Thanks a lot for any help !!

@e5150 Thanks lot for your answer. I was actually considering a loop to filter the results as you said, but is there a way to check the hashtags for every post to see if the ones I need are included? I tried to check if posts have attributes I can get to do that, but the only filtering mentioned in the documentation is about what we want to download in a post.
I am also considering accessing the JSON file for each post and parse it to retrieve hashtags, but that would be a lot more work.

Post objects have .caption and .caption_hashtag attributes (as well as .location, which however might incur extra queries to the IG servers).
These are the same attributes used by instaloader's internal filtering if you pass --post-filter="'something' in caption in the CLI or post_filter=lambda p: 'something' in p.caption to download_location().


Dramatically optimize algorithm in the common case by excluding match…

…ing heads and tails before using LCS. For example, in the case of single insert, the algorithm changes from O(m*n) to O(m+n). When the arrays contain 1,000 entries, for example, this change reduces the number of comparisons ~1,000,000 to ~2,000 and the size of the table used by the algorithm from ~1,000,000 to 2.

I haven't had a chance to actually measure the perf difference, but you could replace
let matchingHeadCount = zip(lhs, rhs).prefix() { $0.0 == $0.1 }.map() { $0.0 }.count
let matchingTailCount = matchingHeadCount == minTotalCount
    ? 0 // if the matching head consumed all of either of the arrays, there's no tail
    : zip(lhs.reversed(), rhs.reversed()).prefix(minTotalCount - matchingHeadCount).prefix() { $0.0 == $0.1 }.reversed().map() { $0.0 }.count

with something like:
let (matchingHeadCount, matchingTailCount) = lhs.withUnsafeBufferPointer { unsafeLHS in
    return rhs.withUnsafeBufferPointer { unsafeRHS -> (Int, Int) in
        var mhc = minTotalCount
        for i in  0..<minTotalCount {
            if (unsafeLHS[i] != unsafeRHS[i]) {
                mhc = i
                break
            }
        }

        let maxPossibleTail = minTotalCount - mhc
        if (maxPossibleTail < 1) {
            return (mhc, 0)
        }

        var mtc = maxPossibleTail
        for i in  0..<maxPossibleTail {
            if (unsafeLHS[unsafeLHS.endIndex - i - 1] != unsafeRHS[unsafeRHS.endIndex - i - 1]) {
                mtc = i
                break
            }
        }

        return (mhc, mtc)
    }
}

if it makes a perf difference.

So I did the perf test. After I added the proper .lazy's to the sequences, the perf difference between the sequence oriented approach and the unsafeBufferPointer approach is pretty small, and the sequence approach is way more readable/concise.
I still don't have an instinct around what operations drop you out of the lazy domain.


[icons] Add social icons

[x] I have followed (at least) the PR section of the contributing guide.

These changes open the door to a broad topic: should we author our own icons? I think that it's the type of decisions we need to be careful with.
Cost. Fontawesome has 1648 icons for a given variant. material.io is 60% behind. I would trust Fontawesome for having prioritized the most important ones. That might be all that it's needed. https://materialdesignicons.com/ has more icons, I haven't count, maybe 2k? We document this alternative. Maybe we don't have to author anything. @leMaik has an interesting project leveraging these components.
Value. The situation seems significantly better since the last synonyms iteration, but I think that we should wait it has more data and see if we still can improve the list. For instance, we might realize that the brand icons aren't the most important ones to add: https://github.com/google/material-design-icons/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
I also think that we should compter the % of no results vs the number of page views of the page. This would give an idea of the developers frustration.
A few stats:

mdi-material-ui 16k/w downloads
mdi-react 12k/w downloads
@material-ui/icons 415k/w downloads
@fortawesome/react-fontawesome 223k/w downloads
@mdi/react 8k/w downloads

I would propose that we keep a close eye on the no results of the search icon page, before doing anything. cc @mui-org/core-contributors

A second thought, almost all of the popular icon sets available have brand icons, so even if they are not the most important icons we could add, they are still important.
There is one important aspect that I have overlooked, brand icons name and shapes are supposed to be invariant, it should be safe to add them, we should be able to keep them for a decade.

Disclamer, adding the brand icons wasn't the idea of Matt, this thread is the results of my self doubts and reflection.

I think that we should wait it has more data and see if we still can improve the list

The data came from the Material Design Icons top 5000 search result that @Templarian kindly shared on Twitter:
We use a similar system in @Materialicons to build out https://t.co/zGITxmaXVh aliases. Unfortunately the naming conventions between the two projects are different or the aliases in meta.json would get you 95% there.— Austin Andrews (@templarian) August 21, 2019
Here's the breakdown:

Query
Rank
Searches
Percent

facebook
48
21946
0.38%

twitter
110
10229
0.18%

instagram
138
7263
0.13%

youtube
168
5921
0.10%

linkedin
197
4646
0.08%

insta
301
2923
0.05%

apple
211
4362
0.08%

whatsapp
308
2779
0.05%

telegram
464
1646
0.03%

faceb
576
1209
0.02%

faceboo
754
860
0.01%

you
802
786
0.01%

twit
976
614
0.01%

pinterest
781
814
0.01%

twit
1003
582
0.01%

linked
1061
524
0.01%

yout
1350
361
0.01%

facebo
1386
350
0.01%

reddit
1482
316
0.01%

snapchat
2325
151
0.00%

google
79
13905
0.24%

android
290
3124
0.05%

iphone
452
1774
0.03%

I've included stubs that are strongly associated with the full name, but not those that could be associated with other icons, or are full words in their own right (tele, pin, link etc.). I haven't attempted to aggregate the data.
For comparison are google, android and iphone that there are already icons for in the Material Icons set.
One thing in favour of adding social icons is that for other UI elements, there is usually a reasonable substitute to be found. But brands are brands, so for a user hoping to use a single source for icons, and needing social icons, these will help. Of course they could always use the paths taken from MDI along with the SvgIcon component.
I don't think that this should automatically open the door to adding a multitude of additional icons.

@mbrookes Thanks for the stats, very valuable! Ok, I think that we should add them for convenience and because it's pretty safe :).

I don't think that this should automatically open the door to adding a multitude of additional icons.

Agree

You may find this useful also. We came to a decision roughly a year ago to do a large brand deprecation as part of v5. The roadmap doc below outlines that process.
https://dev.materialdesignicons.com/roadmap/brand-icons

yarn src:icons starts by removing all the files in the folder the icons where added. I'm updating a bit the pull request to account for it.

yarn src:icons starts by removing all the files in the folder

I had assumed that this was fixed in #17259, since that retains the icons removed by Google in the latest release. If not, then we need to accommodate those too.


Improve Helm Chart Values

Improve default values

Sort items in Values.yaml
Enable autoscaling
Update image pullPolicy
Update test to utilize postman pod
Set termination graceful shutdown period

Should consider setting a default resources in the chart to help other relay operators and to answer the question they will have "What are your resource requirements?.
Should also set cpu limit and requests equal to get strict scheduling. Since nodejs is single threaded should set cpu to 1.1. With strict scheduling you can be sure your not being throttled or competing for limited resources.

Resolved with https://github.com/hashgraph/hedera-json-rpc-relay/pull/1149


ImportError: cannot import name Client

Please follow the guide below

Issues submitted without this template format will be ignored.
Rlease read them carefully and answer completely.
Do not post screenshots of error messages or code.
Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
Use the Preview tab to see how your issue will actually look like.
Issues about reverse engineering is out of scope and will be closed without response.
Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

[x] Updated to the lastest version v1.6.0
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[ ] app (instagram_private_api/)
[x] web (instagram_web_api/)

Describe your Question/Issue:
When I'm trying to use the web api python throw me an error "ImportError: cannot import name Client"

Paste the output of python -V here: Python 2.7.17
Code:
import instagram_web_api
"highlight:18031606450087811"

user_name = 'xxxxxxxxxxx'
password = 'xxxxxxxxxxx'

# Some endpoints, e.g. user_following are available only after authentication
authed_web_api = instagram_web_api.Client(
    auto_patch=True, authenticate=True,
    username=user_name, password=password)

following = authed_web_api.highlight_reels('2719560079')
print following

Error/Debug Log:
Traceback (most recent call last):
  File "instagram_web_api.py", line 1, in <module>
    import instagram_web_api
  File "/Users/jorgefaridpalenciafernandez/projects/testing/instagram_private_api/instagram_web_api.py", line 7, in <module>
    from instagram_web_api import Client, ClientCompatPatch, ClientError, ClientLoginError
ImportError: cannot import name Client

Did you install it properly?

Did you install it properly? Either by following the installation instructions or running
pip install -e . in the cloned repo?

It works great with instagram_private_api so yes, I think I've installed it properly.

That doesn't answer my question.
.../projects/testing/instagram_private_api/instagram_web_api.py
Are you trying to run this inside the cloned repo? Again, install it properly.

Ok, that was the problem, changing de filename solved the problem. Thanks so muchas for the help!!!


[ctimer--overall] QuadMesh object has no property 'fig_suptitle'

Description
Describe the bug
code breaks while given ctimer --overall

ctimer version:1.1.0
Python version:3.8
Operating System:MacOS

Steps to Reproduce
Steps to reproduce the behavior: ctimer --overall
Trackback:
/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/calmap-0.0.8-py3.8.egg/calmap/__init__.py:181: FutureWarning: weekofyear and week have been deprecated, please use DatetimeIndex.isocalendar().week instead, which returns a Series.  To exactly reproduce the behavior of week and weekofyear and return an Index, you may call pd.Int64Index(idx.isocalendar().week)
  "week": by_day.index.week,
Traceback (most recent call last):
  File "/Users/lchen/miniconda/envs/ctimer-dev/bin/ctimer", line 33, in <module>
    sys.exit(load_entry_point('pomodoro-ctimer', 'console_scripts', 'ctimer')())
  File "/Users/lchen/current_projects/ctimer/ctimer/cli.py", line 125, in main
    ss.plot_calmap(events=events)
  File "/Users/lchen/current_projects/ctimer/ctimer/visual/show_stats.py", line 25, in plot_calmap
    calmap.calendarplot(events, monthticks=True, daylabels='MTWTFSS',
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/calmap-0.0.8-py3.8.egg/calmap/__init__.py", line 348, in calendarplot
    yearplot(by_day, year=year, how=None, ax=ax, **kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/calmap-0.0.8-py3.8.egg/calmap/__init__.py", line 207, in yearplot
    ax.pcolormesh(plot_data, vmin=vmin, vmax=vmax, cmap=cmap, **kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/__init__.py", line 1438, in inner
    return func(ax, *map(sanitize_sequence, args), **kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/axes/_axes.py", line 6098, in pcolormesh
    collection = mcoll.QuadMesh(Nx - 1, Ny - 1, coords,
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/collections.py", line 1919, in __init__
    Collection.__init__(self, **kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/cbook/deprecation.py", line 411, in wrapper
    return func(*inner_args, **inner_kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/collections.py", line 213, in __init__
    self.update(kwargs)
  File "/Users/lchen/miniconda/envs/ctimer-dev/lib/python3.8/site-packages/matplotlib-3.3.1-py3.8-macosx-10.9-x86_64.egg/matplotlib/artist.py", line 996, in update
    raise AttributeError(f"{type(self).__name__!r} object "
AttributeError: 'QuadMesh' object has no property 'fig_suptitle'

tl;dr use the updated calmap modified by you https://github.com/zztin/calmap
The issue seems to be introduced by pandas version bump a few months ago, and the corresponding python package calmap should be updated along with the pandas version bump. The updated calmap is in your repository by forking the original calmap. : )


Return comments/attachments on "tod task next"

Some of my tasks have comments or attachments.
I don't think these need to be displayed as part of regular task processing, inbox, etc (the title and description should be adequate), but when running "tod task next" (whether from project or filter) when I will be acting on them, it's a good time to
Based on API, the workflow would be:
For REST API:

Return task (already done)
If "comment_count" is > 0,  retreive comments (you can do so individually or bulk; I'd probably just do "Get all comments")
Display

For SYNC API:

Return item
Display "notes" (comments) section if not blank

This is a duplicate of #387


Add margin to nsPopover

Allows spacing in the direction of "placement" between the popup element and the popup, in pixels.
For example, if we have margin=10 and placement = 'top', this moves the popup 10px above the element that it is bound to.

@Gaffney
Thanks for the contribution. Since the pull request cannot be automatically merged at this moment, could you please pull latest source tree and re-submit a new pull request?
Also, it would be very nice if you could add a margin for every direction (top, bottom, left, right), which would make this a really fine feature.
Thanks again.

@noordawod
It already modifies the margin depending on what direction the hover is going (if it's being placed at the top, it will add some margin to the bottom, etc.)  Perhaps you mean in addition to some global margin option, have options for specific sides?
But anyway, yeah, I can rebase/modify it tomorrow.
P.S. I was considering removing this PR a while back because I was internally debating whether this is a thing better left to CSS.  I do think it provides some convenience factor though.

@Gaffney
Well it is a styling issue, but maybe it's handy in certain situations where the controller ought to have more control on spacing. Thanks for the help and willingness, most appreciated :)


WIP: TZSP support

Full support tzsp encapsulation protocol (used by Mikrotik devices forr sending of data, can be used to capture DNS packets)
Adds full support for TZSP, tested and works. Metadata from TZSP packet is not used, only the payload of it is. We could use the sender address and port as identification of the data source, but that is not implemented right now.
Having a test suite for this would require storing test packets as binary data to ensure the tzsp parser that is used works. That's a different approach to testing than the other collectors used.
EDIT: I found a panic, please wait for me to fix it.
EDIT: fixed
TODO:

[ ] test case (proposal by dmachard: reuse test case for dnstap like here)
[ ] complete darwin (only casting/converting of timeval struct remains)
[ ] windows (need complete implementation, some other way to get accurate timestamp)

Thanks for this pull request.
To test this collector, perhaps you can add the binary data file in the testsdata folder, and write a python file like for the dnstap

OK at least the darwin check is ... weird because that error message is bogus.
https://github.com/dmachard/go-dns-collector/actions/runs/3508812413/jobs/5877484502#step:5:50
Go 1.19 on Darwin has that method: https://pkg.go.dev/net@go1.19?GOOS=darwin#UDPConn.ReadFromUDPAddrPort

@Thermi  I pushed a fix in the master to fix your issue with github actions on macOS.
Can you resync your pull request ?

Can you rebase your PR with the main branch ?
It will be great to add the support for TZSP protocol

Sure, the only things missing are windows and MacOS support. Or maybe we just don't add that? What we need are the timestamps at receive time in the NIC, or the kernel.
On February 16, 2023 8:22:24 AM UTC, Denis MACHARD @.***> wrote:

Can you rebase your PR with the main branch ?
It will be great to add the support for TZSP protocol
--
Reply to this email directly or view it on GitHub:
https://github.com/dmachard/go-dns-collector/pull/172#issuecomment-1432694338
You are receiving this because you were mentioned.
Message ID: @.***>
--
Sent from mobile. Please excuse any typos or brevity

No worries , we can always add the support for Windows and macOS later :)

Thank you for the contribution. Sorry for the rebase, a major refactoring has been done.
Do not hesitate to improve it for the next releases


Added Separate FAQ's section and styled it with Navbar and Footbar

Related Issue
Issue No:  #621
Description
Added Separate FAQ's section and styled it with Navbar and Footer
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/139357392/b1bc16de-4a47-467b-90c6-7f09c0f28d79
Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:
gssoc '24

@vinay-reddy31 I can't merge this PR because you are not assigned the issue. I can't assign you the issue now because i just checked and found that their is a contributor who has been assigned the same issue much before you and is currently working. So either you can look for some other issue or wait till the contributor works on the FAQ page and then you can contribute in enhancing that page.


Remove unused code

Closes #15717

Codecov Report

Merging #15718 (9b1b21f) into main (e3e773a) will increase coverage by 0%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##            main   #15718    +/-   ##
=======================================
  Coverage     65%      65%
=======================================
  Files        551      551
  Lines      26342    26112   -230
  Branches    3802     3761    -41
=======================================
- Hits       17235    17179    -56
+ Misses      8378     8204   -174
  Partials     729      729

Impacted Files
Coverage Δ

src/client/activation/types.ts
100% <ø> (ø)

src/client/application/diagnostics/types.ts
100% <ø> (ø)

src/client/common/constants.ts
100% <ø> (ø)

src/client/common/editor.ts
9% <ø> (-1%)
:arrow_down:

src/client/common/helpers.ts
100% <ø> (+36%)
:arrow_up:

src/client/common/platform/errors.ts
100% <ø> (+1%)
:arrow_up:

src/client/common/platform/types.ts
100% <ø> (ø)

...rc/client/common/process/internal/scripts/index.ts
68% <ø> (+3%)
:arrow_up:

src/client/common/process/types.ts
100% <ø> (ø)

src/client/common/types.ts
100% <ø> (ø)

... and 22 more


[Mesheryctl] log pretty printing

Current Behavior

https://github.com/meshery/meshery/blob/ec203b069b0f6039a2781fa284cbf1245c706bc4/mesheryctl/internal/cli/root/system/config.go#L112
Desired Behavior

Implementation

Acceptance Tests

Mockups

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

.


Check permissions to geolocation and handle

Check permissions to geolocation and handle

Check table on devices and OSes and Browser


Question - Getting addresses from a mnemonic phrase

I'm trying to retrieve a list of addresses based on a valid mnemonic phrase like this website does:
https://iancoleman.io/bip39/
Currently I'm using the following:
var mnemoObj = new Mnemonic(mnemo);

if (mnemoObj.IsValidChecksum)
{
	var seed = mnemoObj.DeriveSeed();

        // Derive from this somehow the 49 0 0 0 like so?
        // var basechild = ???.deriveHardened(49)
       //      .deriveHardened(0)
       //      .deriveHardened(0)
       //      .derive(0);

       // TODO: Get a list of addresses somehow?
}

I'm kind of stuck on how to continue from here. Is there anywhere I can look for samples of this or can someone help me with this?

Use var key = mnemoObj.DeriveExtKey(); then you can derive addresses as explained in this chapter.

Use var key = mnemoObj.DeriveExtKey();
how to create uncompressed key from mnemonic?
thx.


updating the logo of twiiter

@HimanshuNarware @Chaitali-sonare  Please let me update the logo of twitter to "X". please assign this issue to me

I'd love to work on it

You can do that @20ankur07 , from next time raise issue from proper issue template

Are you still on it ? @20ankur07

Are you still on it ? @20ankur07

i've completed it and created the pull request. please check


Does this support threads?

Hi, thanks for this wonderful effort :)
I'm very interested in running thread code from WASI .wasm file on the browser. Is it possible right now? If not, can I make a PR for that using web workers?

Threads are not yet supported. I do want to support them, but I don't think it will be a trivial change. webworkers don't allow sharing javascript objects, so directly sharing the Fd list between all threads is not possible. Instead some way of keeping them on a single thread and then doing message passing whenever another thread wants to call a method on it will be necessary. The standard message passing way for webworkers is asynchronous and webassembly is fully synchronous, so using that method won't be possible afaik. Instead I think it will be necessary to manually implement a message queue on top of SharedArrayBuffer which can block threads using Atomics.wait/Atomics.notify. See also https://github.com/bjorn3/browser_wasi_shim/issues/14.

https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Memory

Having trouble with synchronization?
Although old-school, partytown uses an interesting trick to achieve synchronization.
Of course, you can also use Atomics.
https://dev.to/adamdbradley/how-partytown-s-sync-communication-works-4244

Blocking http requests to a service worker is an interesting hack. I'm afraid it will deadlock if a service worker gets a channel message (for sending non-serializable things like the shared memory to write to) and http requests to service in the wrong order. And it also doesn't really help with the debugging side of things. Any multithreading makes debugging so much harder with current browser debugger implementations.

I have implemented a multi-thread accessible file system, which was a prerequisite for wasi-threads. I believe it has now reached a stage where I can create a pull request, so I’d appreciate it if you could create a branch where I can submit the PR.
I haven’t created any tests as I’m not quite sure how to do that. After adding some comments, I would like to submit the pull request.
Features:

Usable across multiple workers
Create a WASIFarm and obtain a WASIFarmRef using .get_ref().
WASIFarmRef can be sent via postMessage.
Be cautious, as classes will also be sent as objects via postMessage.
Multiple WASIFarm can be used to create WASIFarmAnimal.
For Stdio, the WASIRef at the end takes precedence.
Files passed to WASIRef will be treated as if they exist.
WASIFarmAnimal can be accessed using .wasiImport.
Each WASIFarmAnimal can only have one .wasiImport.
When creating a WASIFarmAnimal, you can pass override_fd_maps to change the files accessible by each WASIFarmRef. This allows passing file descriptors to child processes.
For usage examples, please refer to the wasi_threads example.

Issues:

Uses SharedArrayBuffer
Since the communication portion is separated, by understanding the polyfill found at https://github.com/WebReflection/sabayon, it should be possible to implement this in a non-SharedArrayBuffer environment.

Commands used across multiple files cannot yet be used across multiple Farms
I will address this eventually.

File pointers are not process-dependent
This could be achieved by using pread to implement read, but I’m not sure if it's correct to make file pointers process-dependent in the first place.

Parts that haven’t been tested may be unreliable
If 100% is the amount of code I can manage, then this project has reached 120%, so I may not be able to manage everything.

Not enough comments
Due to the complexity of the system, the initial comments are in my native language. I will revise them before submitting the pull request.

Motivation is running low


Prashant singh panwar branch

This is code till data preprocessing and data analysis part.

My code is ready for review


Moved createTables.php into the app itself.

I want to see if it really skip tests that need credentials for pull requests from external repository.

LGTM.


Can not choose 'mlforecast' in Load forecast method with the web GUI

``Emhass addon v0.11.2
Hassos 2024.10.4
When I try to select mlforecast in the web GUI there is no option for it. The choices I have are naive and csv. Is this correct?

If I manually edit the config.json file to use mlforecast and run a daily optimization everything works.

2024-11-03 15:41:28,133 - web_server - INFO -  >> Setting input data dict
2024-11-03 15:41:28,133 - web_server - INFO - Setting up needed data
2024-11-03 15:41:28,135 - web_server - INFO - Retrieving weather forecast data using method = scrapper
2024-11-03 15:41:29,485 - web_server - INFO - Retrieving data from hass for load forecast using method = mlforecaster
2024-11-03 15:41:29,486 - web_server - INFO - Retrieve hass get data method initiated...
2024-11-03 15:41:31,416 - web_server - DEBUG - Number of ML predict forcast data generated (lags_opt): 60
2024-11-03 15:41:31,416 - web_server - DEBUG - Number of forcast dates obtained: 24
2024-11-03 15:41:31,418 - web_server - INFO -  >> Performing dayahead optimization...
2024-11-03 15:41:31,419 - web_server - INFO - Performing day-ahead forecast optimization
2024-11-03 15:41:31,430 - web_server - INFO - Perform optimization for the day-ahead
2024-11-03 15:41:31,576 - web_server - DEBUG - Deferrable load 0: Proposed optimization window: 0 --> 0
2024-11-03 15:41:31,577 - web_server - DEBUG - Deferrable load 0: Validated optimization window: 0 --> 0
2024-11-03 15:41:31,578 - web_server - WARNING - Solver default unknown, using default
Welcome to the CBC MILP Solver ```

@GeoDerp I tried to look at this but got a bit lost in this js cripts ;-)
Could you please look at this.
I need to add an additional load forecasting method that I'm working right now, is this guide is up-to-date?: https://github.com/davidusb-geek/emhass/blob/master/docs/develop.md#adding-a-parameter

@GeoDerp I tried to look at this but got a bit lost in those JS cripts ;-)
Could you please look at this?
I need to add an additional load forecasting method that I'm working right now, is this guide is up-to-date?: https://github.com/davidusb-geek/emhass/blob/master/docs/develop.md#adding-a-parameter

I believe this was fixed in 11.3 (one of the small things I fixed)
Give me two secs and I'll check the docs.

Thanks.
I actually transferred the issue because I tested on my fresh update of v0.11.4 and the mlforecaster option was not there. Maybe I needed to refresh the browser

Thanks. I actually transferred the issue because I tested on my fresh update of v0.11.4 and the mlforecaster option was not there. Maybe I needed to refresh the browser

Just checked on my EMHASS v0.11.4, seems like its there, so im not sure. Maybe it is some sort of caching thing?

Home Assistent EMHASS v0.11.4 addon. I can now choose 'mlforecast' in Load forecast method with the web GUI and I can confirm it works. For me you can close this issue.