v0.3.17 error win32 x64

:warning:Please attach %TEMP%\vscode-java-installer\log.txt and %TEMP%\vscode-java-installer\AdoptOpenJDK-MSI.log for more details.
version: 0.3.17
env:
JAVA_HOME: undefined
PATH:
C:\Program Files\Google\Chrome\Application
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
E:\DOWNLOAD\Dev-Cpp\MinGW64\bin
C:\Users\phanb\AppData\Local\Microsoft\WindowsApps

E:\DOWNLOAD\Microsoft VS Code\bin
JDKs:

log:
[10:18:29] AdoptOpenJDK-11-x64
[10:19:03] StatusCodeError: 504 - "
504 Gateway Time-out
\nThe server didn't respond in time.\n\n"
[10:19:03] Retry downloading ... [1]
[10:19:34] StatusCodeError: 504 - "
504 Gateway Time-out
\nThe server didn't respond in time.\n\n"
[10:19:34] Retry downloading ... [2]
[10:20:06] StatusCodeError: 504 - "
504 Gateway Time-out
\nThe server didn't respond in time.\n\n"
[10:20:06] fallback to Adopt API v3
[10:29:41] Download JDK ... [Completed]
[10:29:41] Install JDK
[10:29:41] Installing AdoptOpenJDK-11-x64...
[10:29:42] Error occurred
[10:29:42] Error: Command failed with exit code 1620: C:\Windows\System32\msiexec.exe /i "C:\Users\phanb\AppData\Local\Temp\vscode-java-installer\binaries\jdk\11\x64\OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi" MSIINSTALLPERUSER=1 ADDLOCAL=FeatureJavaHome,FeatureEnvironment,FeatureJarFileRunWith /passive /l*v "C:\Users\phanb\AppData\Local\Temp\vscode-java-installer\AdoptOpenJDK-MSI.log"
This installation package could not be opened.  Contact the application vendor to verify that this is a valid Windows Installer package.

please download latest version from https://code.visualstudio.com/docs/languages/java#_install-visual-studio-code-for-java


Allow base64 encoded cookie content

Changes proposed in this Pull Request:
This PR adds a configuration parameter that allows the user to specify that cookie content should be base64 encoded. The objective is to reduce the chance that the cookie value will contain a value that triggers web application firewall rules (like |||id= or ls …).
Notes:

The process of encoding values also removes any padding = at the end of the encoded value, leaving a clean alphanumeric value. (They're added again during decoding)
When determining whether to decode from base64, we check for fully alphanumeric values. Any other value (=, %, default delimiter |||) indicates that the value is probably not base64-encoded.
This also permits the configuration to be enabled or disabled without losing existing data:

Enabling will still read existing data as non-base64 until it's been saved again, encoded.
When enabled, it will try to determine cookie content as encoded or not and treat it accordingly.
Disabling it after having it enabled will detect encoded values and decode them.
When disabled, values that aren't encoded (have characters invalid for base64)

This does means that some existing values won't be automatically encoded when the setting is enabled. Specifically, information about the first visit may be saved.

How to test the changes in this Pull Request:

Install the repo on a web server
Visit the demo page (/public/) and check that everything works as expected: attribution is captured and persists after refresh.
View the sbjs_* cookies and confirm that they have the original format, URL encoded (xxx=yyy|||aaa=bbb, etc.):

Enable base64 encoding in the demo:

/src/html/index.sim:126 → base64: true,
npm run build

Refresh the demo page ('/public/`) and confirm that all attribution remains available.
View the sbjs_* cookies and confirm that some have been base64 encoded (sbjs_current, sbjs_current_add, sbjs_session, and sbjs_udata) and persists after refresh:

Clear cookies and reload the demo page, and confirm that all cookies are base64 encoded.
Visit one of the UTM test links at the bottom of the demo page and confirm that data is captured correctly and stored base64-encoded.
Disable base64 encoding the in the demo (see step 4, delete the base64 config parameter and build and build).
Reload and confirm that all data persists.
Check the cookies and see that the updated cookies (sbjs_current, sbjs_current_add, sbjs_session, and sbjs_udata) are back to the classic URL-encoded format.
Clear cookies, refresh, and confirm data is captured, and all cookies are in the classic URL-encoded format.

Thanks as always, @ecgan!

❓ Why do we want to remove the padding = at the end of the encoded value? If we leave them intact, would it cause issues? 🤔

Just trying to be super cautious, I worry that some WAFs could detect Base64-encoded strings as XSS or something. A simple alphanumeric string can't be misconstrued, right? RIGHT?

❓ Why some are automatically converted to become base64 encoded, while the others are not base64 encoded? I think this is because of the way the code currently works?

Some cookies are only set on first visit and then not changed - sbjs_first* and sbjs_migrations and sbjs_promo, for example. The rest are updated on every page load, so they're read and/or overwritten with Base64 encoding after enabling the feature.

❓ In my testing, the sbjs_current_add is not base64 encoded? See screenshot below:

There are several conditions for sbjs_current_add to be updated: https://github.com/woocommerce/sourcebuster-js/blob/41c1391e7ed454996491b9ca3e31dd9b01121235/src/js/init.js#L31-L62
Basically, UTM params, organic source (Google), first pageload.

Why some are automatically converted to become base64 encoded, while the others are not base64 encoded? I think this is because of the way the code currently works?

I should add that there's also a migration functionality in SBJS, but that is aimed more at permanent changes, not changes in configuration (so, if in version 2.0 all values were always Base64 encoded).

I wanted to comment about this but I forgot: 😅

❓ Why do we want to remove the padding = at the end of the encoded value? If we leave them intact, would it cause issues? 🤔

Just trying to be super cautious, I worry that some WAFs could detect Base64-encoded strings as XSS or something. A simple alphanumeric string can't be misconstrued, right? RIGHT?

But a simple alphanumeric string like bGlnaHQgd29y is a valid base64-encoded string (source), so based on the concern you mentioned, the WAFs would be able to detect that. In other words, removing the = padding doesn't fully protect us from the WAFs scenario? If the WAFs block a string like bGlnaHQgd29y and do not block a string like bGlnaHQgd29yaw (with == padding at the end removed), then it makes issue reproduction and troubleshooting harder? If we want a better thorough protection, we may want to consider another approach? 🤔
If we want to proceed with what we have now, I think it is probably fine (because the base64 setting is not the default, it requires "opt-in" via configuration parameter). Just want to throw out the questions for us to think about, and maybe we can improve on it later.

In other words, removing the = padding doesn't fully protect us from the WAFs scenario? If the WAFs block a string like bGlnaHQgd29y and do not block a string like bGlnaHQgd29yaw

This is a fair question, and my answer is, basically: I don't know. There are so many flavors of WAF and rulesets with minimal documentation that it's essentially a black box. Any change could or could not cause problems. For example, |||id=seems benign enough to not trigger a WAF rule either, but it does. Some rulesets look for ls  or cd  in cookie values. My basic logic here is just remove the "strange" characters like = at the end because, without that, the alphanumeric characters could be anything - API key, etc.
In the end, idea here is to add an alternative that may provide a possible alternate solution for users whose WAFs have a problem with the default format of the data Sourcebuster stores in cookies.


Suggestion: Include pre-releases as latest

I'm trying to test out the latest pre-releases of @std packages, it would be really useful if @check/deps had a flag to allow the Latest to include these pre-release versions too, so I know what is now available for testing.

I agree, will have a look, but i think the behavior of meta.json in this issue is related: https://github.com/jsr-io/jsr/issues/382

Not sure this is needed since pre-releases is treated as valid since https://github.com/Hexagon/deps/releases/tag/0.4.0 , try it out and see what you think!

So this is different to showing the status, take this for example...

@std/assert shows the Latest as 0.226.0, but there is currently 1.0.0-rc.2 release available, so the behaviour I'm suggesting would be a flag (--pre-release maybe?) to show this 1.0.0-rc.2 version instead in the Latest column (or maybe an additional Pre-release column, with or without the flag).

Now i see, great suggestion! Please try out 0.5.2 and see how that works for you (--pre-release is added, always demanding the latest pre-release version).
Now;

if you have a pre-release version installed, but not supply --pre-release, "Up-to-date (Pre-release)" is shown in yellow.
the same scenario with --pre-release supplied shows "Up-to-date" in green.
If you are using the latest wanted version without --pre-release, green "Up-to-date" is (of course) shown
If you are using a version, but supply --pre-release, and there is a later pre-release available, "Outdated" is shown in red.

Ah, you absolute legend, that is spot on, works a treat, thank you very much. 🥇


Ctrl-Shift-Space does nothing

I'm running Extraterm on xfce, and nothing else is grabbing the keypress as far as I can tell.
And there doesn't seem to be a way to change keybindings so I can toggle Cursor Mode another way.

Can you get into Cursor mode via the command palette? (You should see a blinking vertical cursor.)
Is there anything else about your system that might be important? (keyboard settings? Language settings?)

Aha, I ran xev and figured out that a script was silently stealing Shift-Space. Still would be great to have customizable bindings.

Good detective work.
Customisable bindings are on the big long TODO list.


subsys: logging: Fix build when LOG_BACKEND_RTT_MODE_DROP=n

When LOG_BACKEND_RTT_MODE_DROP=n DROP_MAX is not defined.
This commit ensures all related RTT_MODE_DROP functions and
variables are removed when the mode is not supported.
Signed-off-by: Olivier Martin<EMAIL_ADDRESS>

Codecov Report

Merging #11143 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11143   +/-   ##
=======================================
  Coverage   53.11%   53.11%
=======================================
  Files         218      218
  Lines       26868    26868
  Branches     5952     5952
=======================================
  Hits        14271    14271
  Misses      10162    10162
  Partials     2435     2435

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 7c2a8a4...7c32ec3. Read the comment docs.

Ahhh my fault :-( sorry. Just adding
#define DROP_MAX 0
to line 21 fix that completely/ It must fall out during refactoring process somewhat.
There is no need to do another ifdef branching.

Because this PR get somewhat stalled, I've created uber simple fix https://github.com/zephyrproject-rtos/zephyr/pull/11327

I have just tested again by keeping IS_ENABLED(CONFIG_LOG_BACKEND_RTT_MODE_DROP). I confirmed the linker (or compiler) removed log_backend_rtt_write_drop() from the final binary.
But because I need to keep log_backend_rtt_write_drop(), DROP_MAX must be defined. So I moved DROP_MAX outside of #if CONFIG_LOG_BACKEND_RTT_MODE_DROP.
I did not remove #if CONFIG_LOG_BACKEND_RTT_MODE_DROP as it is more optimal to define DROP_MSG_LEN following CONFIG_LOG_BACKEND_RTT_MODE_DROP support.

is this still relevant?

obsoleted by #11327


Add Request Timeout Error class

Signed-off-by: Minho Kim<EMAIL_ADDRESS>Category

[x] New feature
[ ] Bug fix
[ ] Improvement
[ ] Refactor
[ ] etc

Description

add Request Timeout Error class

Known issue

#11

Hi. @ImMin5 I want to know the reason for the change in fastapi/api.py. Add description

Hi, @whdalsrnt
This change is for dynamically change request url


Using this outside of bot.help_command

If I wanted help to be a custom command, but also wanted to use this as commands, is this possible? (Also if you give me your discord, it might be easier to discuss it there)

Yea, that's possible. The discord.py HelpCommand has a command_attrs argument you can use.
PrettyHelp( command_attrs={"name": "commands"} ) would allow you to call the command with !commands instead of !help
My discord is StroupBSlayen#3487


Dynamic data printing, Data from Database

If you print data from your database, then you have to get the data from the database and format it as an HTML and pass it to the print intent as HTML.
Also please checkout https://loopedlabs.com/esc-pos-bluetooth-print-service/app-links.html


How to support calendar synchronization to iPhone's calendar

Search first

[X] I searched and no similar issues were found

What Happened?
How to support calendar synchronization to iPhone's calendar so that interaction can take place
Is this included in the follow-up plan?
Reproduce the Bug
How to support calendar synchronization to iPhone's calendar so that interaction can take place
Is this included in the follow-up plan?
Screenshots
No response
Environment Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.

[ ] I'm willing to submit a PR (Thank you!)

Currently, we can publish our own calendar and then subscribe to it using the iPhone calendar.

https://haydenut.notion.site/0de652cd8d5b46518c4522b0e3f6f0e0#a5e85f04dcfa483c89a071ab633d0cec


Enable both input fields

As a user who wants to exchange tokens I should be able to enter tokens in either input field.

@sergioyuhjtman  please provide sample JS code for this calculations


Update linkable on publish.

Currently we only update the Linkable in put_content when a new draft
is created with a different base path. This means that if the base
path does not change, the Linkable still refers to the old content
item, so if the title changes the get_linkable endpoint will return
the old data.
This change ensures that on publish any linkable pointing at the old
content_item is deleted and the new one updated. There are three cases:

if the base_path changed, we have a published linkable pointing at
the old content_item and a draft linkable pointing at the new item;
delete the old one and update the draft one to published.
if the base_path did not change, we have one linkable but it is
pointing at the old content_item; the delete is a no-op but we update
the linkable to point to the new content_item.
if there is no previously published item, just update the linkable
state to published.

looks good 👍


Declared value still seen as undefined by Flow

For some reason, Flow is telling me a value I've shielded against is still undefined, see screenshot.
I'm using Flow version 0.47.0

Flow is pessimistic about refinements, which means that it considers that any function call could invalidate any previous refinement (what if roundToDP would set timeSolutionDetails.unit to void?).
To avoid this problem, you can do something like:
if (timeSolutionDetails.unit === undefined) {}
else {
const unit = timeSolutionDetails.unit;
results.timeSolutionsDisplay = roundToDP(processedTimeSolution, 0) + ' ' + unit
}

If this still doesn't work, could you provide a working https://flowtype.org/try/ example? :)

@AugustinLF it didn't work, here's some sample code.
https://flow.org/try/#0C4TwDgpgBA9gRgKwgY2AFXNAvFA3gKCijBgGdSBLOAGwgDUBDagVwgH4AuKU4AJwoB2Ac3wBffPmQwBPKAObVqAeUQp0mKDlzjJ02QFsYyANYAxZgNQVpmqAAoAlJoB8UAOSGT3PoKFuJEAAeJLzAUFIyYcAQPOaWwNYCtnagkAAmKkioXPBZ6pC28oqZahiQTliuBEQRsrwxCmFc1URQ9aSNEGmMLOxcPPzChFCittrDwxQAZvapXSWomlg4FmkQU4JdTi1E7Y0AdHvU0d1MrLaeZhZW0o7DoxDUpNA74XphJORUtD3nOHMZVSofafSg0ehnCDDXYNY6HWEnX7YKCXOI3ASOKAAamIZDBP0h9wmMOAzF4SSOwDEQA

In your example, you test against typedObject, instead of typedObject.possibleValue.
This works.

@AugustinLF good catch, it does work in the playground but it doesn't work in my system

src/goalsFramework/goalSolver.js:317
317: 				results.solutionDisplay = roundToDP(processedTimeSolution, 0) + ' ' + timeSolutionDetails.unit
     				                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type cannot be added to
317: 				results.solutionDisplay = roundToDP(processedTimeSolution, 0) + ' ' + timeSolutionDetails.unit
     				                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string

Actually, it does work when I run yarn flow in the terminal but for some reason the flow plugin in VSCode isn't running properly.

Hmmm, sometimes the vscode plugin takes a bit to catch up, but it's usually fine! I would then suggest you to close this issue and open one in the plugin's repo!

I'm closing this. Your initial suggestion did help @AugustinLF, many thanks!


QC "body content media url rewrite" option

if the image does not exist on GCS, do not replace the media URL.
[ ] Does this rewrite do all fields? or just the editor content?

I spoke with @andy about checking GCS before replacing the file url and he explained this would require a long process and make page load times very slow. For now - lets skip that.
Please do a general QC on this feature and see if anything should be improved here. Also - please look into my question I posted in my initial comment. Thanks

Only the the_content filter.

@ewsopp Do we need to replace in meta also?

Yes I think so.
On Jul 15, 2017 1:18 PM, "Md. Alimuzzaman Alim"<EMAIL_ADDRESS>wrote:

@ewsopp https://github.com/ewsopp Do we need to replace in meta also?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wpCloud/wp-stateless/issues/106#issuecomment-315548800,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUfKXSKS4Utr6GwIuoEdOH2KpJ2xgFpks5sOPROgaJpZM4OK8wB
.


some cross references from the bibliography do not contain a bib#

in an IEEE standard being prepared, i am seeing that some bibliography references do show have the "B#" (B-number -not b-sharp) when rendered in the document. some of them do, but some do not.   i understand that if the reference is a "normative reference" then it should not have a "B#".  an example is posted below.

in this example the entry should be B49 and it is not used in clause 2. there are other occurrences in my document where this happens.
thank you for checking.

As discussed with @ReesePlews , this is a problem in the source -- the B# identifier is overridden by this syntax:
<<bib_anchor,OVERRIDING_TEXT>>

Instead of this:
<<anchor>>

It means that instead of this:
==== Artificial Intelligence

A third wave of Artificial Intelligence is currently providing unprecedented
capabilities which are relevant to cognitive computing in the Spatial Web.  An
Artificial Intelligence System is an “engineered system that generates outputs
such as content, forecasts, recommendations or decisions for a given set of
human-defined objectives <<ISO_IEC_22989_2022, ISO 22989 AI Concepts and
Terminology>>”.  AI Systems are built using differing technologies such a
Machine Learning, Natural Language Processing, Reinforcement Learning and Active
Inference.  AI Systems may explicitly or implicitly represent knowledge which is
“abstracted information about objects, events, concepts or rules, their
relationships and properties, organized for goal-oriented systematic use
(<<ISO_IEC_22989_2022, ISO 22989>>)“  Research on AI includes aspects such as
“learning, recognition and prediction”, “inference, knowledge and language” and
“discovery, search and creation”. AI Systems will be included in nodes within
the Spatial Web.

==== Artificial Intelligence

A third wave of Artificial Intelligence is currently providing unprecedented
capabilities which are relevant to cognitive computing in the Spatial Web.  An
Artificial Intelligence System is an “engineered system that generates outputs
such as content, forecasts, recommendations or decisions for a given set of
human-defined objectives <<ISO_IEC_22989_2022>>”.  AI Systems are built
using differing technologies such a
Machine Learning, Natural Language Processing, Reinforcement Learning and Active
Inference.  AI Systems may explicitly or implicitly represent knowledge which is
“abstracted information about objects, events, concepts or rules, their
relationships and properties, organized for goal-oriented systematic use
(<<ISO_IEC_22989_2022>>)“  Research on AI includes aspects such as
“learning, recognition and prediction”, “inference, knowledge and language” and
“discovery, search and creation”. AI Systems will be included in nodes within
the Spatial Web.

This display syntax for bibliographic records is not in accordance with the IEEE SA Style Manual, where:

a normative bibliographic entry shows only the doc ID (e.g. "ISO/IEC 22989:2022")
a non-normative bibliographic entry uses only "[B#]".

The easy fix is to remove all ,OVERRIDING_TEXT from all bibliographic citations.


List possible outbound IPs Command not returning complete list

az webapp show --resource-group <group_name> --name <app_name> --query outboundIpAddresses --output tsv
About the Bug
When the previous command is used against a function app, the returned IPs list is incomplete. This issue was encountered while trying to setup an NSG to protect another resource, adding the returned IPs to the allowed list didn't permit outgoing traffic from the Function App to access the network. By instead getting the outbound IPs from the "ifconfig.me" site and adding those, the NSG was able to permit the outgoing Function traffic to enter.
Steps to Reproduce
This issue can be reproduced by executing the above command with the proper values populated against a Function App. Then verify the results by using an NSG to block all traffic except the returned IPs.
Expected behavior
Command should successfully list ALL the possible outbound IPs.

routing to appropriate team

@ms-v-csacha function app has its own set of commands & we don't recommend using az webapp, are you seeing the same issue when using az functionapp show?

In addition to what @panchagnula , can you also share more details about the hosting model you're using? Is this a consumption or dedicated app? Linux or Windows? Thanks!


Add secrets to repo

Problem
The secrets used in the automated release process seem to have been lost when the repo was migrated :(
see https://github.com/cytoscape/ipycytoscape/runs/4339062992?check_suite_focus=true
Uploading distributions to https://upload.pypi.org/legacy/
Uploading ipycytoscape-1.3.0-py2.py3-none-any.whl

  0%|          | 0.00/3.45M [00:00<?, ?B/s]
  0%|          | 8.00k/3.45M [00:00<01:46, 33.8kB/s]
  4%|▍         | 144k/3.45M [00:00<00:07, 463kB/s]
 13%|█▎        | 464k/3.45M [00:00<00:02, 1.29MB/s]
 32%|███▏      | 1.10M/3.45M [00:00<00:00, 2.93MB/s]
100%|██████████| 3.45M/3.45M [00:00<00:00, 3.71MB/s]
Error during upload. Retry with the --verbose option for more details.
HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/
Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
Error: Process completed with exit code 1.

Proposed Solution
Could I be given enough permissions to add a PYPI api key to this repos secrets?
Not really sure who to ask about that at this point but surely one of
@SylvainCorlay @marimeireles @kozo2 @maxkfranz
will have the power to do that, or to add their own pypi api key?

@ianhi Thank you for reporting.
One moment please. I am asking about this to the Cytoscape team.

Bump - looks as though it's time to make another release to fix both https://github.com/cytoscape/ipycytoscape/issues/294 and https://github.com/cytoscape/ipycytoscape/issues/293


Erroneous request body objects

Description
In OpenAPI you can provide examples on different levels, like:

Schema objects (see example)
Schema objects' properties (see example)
Response objects

openapi-explorer doesn't currently support the second syntax, which results on erroneous request body objects. See the authors value:

Impact
Sometimes the API explorer's examples will be broken by default.
How to reproduce

Open the official demo and load the second example spec's URL, which defines a simple PoC endpoint that's supposed to create books.
Open the Create a new book operation.
Within the Request section, click the "Body" tab. Now you should see the authors key containing the authors value, instead of the actual examples (see the screenshot above).

If you open that same spec on a different library (like Scalar), it will render the examples as you would expect:

See screenshot

Cool, that's a bug, thanks for finding it. We'd be happy to accept a PR to fix it, or someone will get to fixing this in the very near future.

This is now fixed in the latest version. Thanks for the report.

Thank you for the quick fix, @wparad  :)


Update non-functional link in README.md

Issue description:
The hrefs inside README.md and CONTRIBUTING.md were set to graphs/contributors which directs to a non-existent page (https://github.com/shanalikhan/code-settings-sync/blob/master/graphs/contributors)
Solution:
I have changed both to point to https://github.com/shanalikhan/code-settings-sync/graphs/contributors instead.

Thanks


lib: Add PLL enable/disable to UsbBus impl

Adds PLL enable/disable to UsbBus impl, fixing the TODO comments.
Bumps avr-device to 0.5.x to have consistent re-exports with avr-hal.
Minor changes for API differences in avr-device.

Thanks for the contribution!
I think this is a good time to explain why I haven't added PLL yet - I don't want this crate to require ownership of the PLL, because it can be shared with other peripherals (e.g. on the ATmega32u4, the high-speed timer) and the crate user may not want it to be turned off.
So, I don't have plans to merge this as-is, but I would accept a change to store an Option<PLL>. Or even better, a flexible API using a "notifier" trait so it can accept () (default constructor; do nothing), PLL, or a user-defined notifier type.

I think this is a good time to explain why I haven't added PLL yet - I don't want this crate to require ownership of the PLL, because it can be shared with other peripherals (e.g. on the ATmega32u4, the high-speed timer) and the crate user may not want it to be turned off.

I had concerns about this, too. I'll experiment with a less restrictive API.

So, I probably will not merge this as-is, but I would accept a change to store an Option<PLL>. Or even better, a flexible API using a "notifier" trait so it can accept () (default constructor; do nothing), PLL, or a user-defined notifier type so they can conditionally enable/disable the PLL using their own logic.

Definitely, I'll try to get something working. I haven't done a "notifier" trait before. Do you have some examples of what you mean?

"Notifier trait" is not really a pattern that I'm aware of, I'm just giving the trait a name.
Basically, the crate would define a trait like this:
pub trait SuspendNotifier {
    fn suspend(&self);
    fn resume(&self);
}

impl SuspendNotifier for () {
    fn suspend(&self) {}
    fn resume(&self) {}
}

impl SuspendNotifier for PLL {
    fn suspend(&self) { /* disable PLL */ }
    fn resume(&self) { /* enable PLL, wait for lock */ }
}

Then UsbBus can have a generic type that implements SuspendNotifier, and take ownership of a value of that type. Then when UsbBus::suspend and UsbBus::resume is called, it can call the respective methods of the notifier.
This supports the following use cases:

Safe, easy default (UsbBus<()>) - Doesn't modify the PLL, may have higher power consumption but universally works fine even if other peripherals require the PLL clock. (This should also be recommended by the documentation if power saving is not required)

Easy power saving (UsbBus<PLL>) - Automatically enables/disables PLL, can be used when the USB peripheral is the only one using the PLL.

Custom control (UsbBus<CustomType>) - Crate user can write custom logic to handle suspend/resume, so they can still safely power it down in the case where PLL is shared with other peripherals, they just need to provide that logic.

Merged in as 5fafe22f442e696250e86fa536fd2b0b0f968aad


Delivery Status app

http://junecloud.com/software/mac/delivery-status.html
https://secure.helpscout.net/conversation/3242200/31/

Done (https://pilotmoon.com/popclip/extensions/page/Deliveries)


HTML / React JSX highlighting more than just the tag using LSP

Describe the bug
When using vim-illuminate i Neovim with LSP attached, in specific circumstances there is more than just the tag "name" highlighted, additional whitespace is highlighted. It doesn't happen for all tags, I'm not sure what the reasons are specifically, but the problem vanishes if the LSP integration is not added, then just the tag names are highlighted because (I guess) illuminate just compares strings.
Screenshots
Correct:

Incorrect:

You need to provide more information about your configuration, this is not enough information to action on.

Hi, sorry for not providing a minimal config earlier. I had to think on how to do it. I have now tried to create one, I have added the necessary files here:
https://gist.github.com/yngwi/fad735ec72f33fe9c378615db8c9b023
The config includes tokyo night theme, some plugins to get a typescript language server running, indentline (seems to be related to the problem) and vim-illuminate. It  also includes a React file that shows the problem if positioned in a folder with a package.json so the language server gets started.
Here is a screenshot that shows the issue:

If I remove indentline, the highlight works as intended. It also seems that if I remove vim.opt.relativenumber = true then it also works as expected. I'm not sure how to describe the issue better. Sorry.
Thank you!

That's not a minimal init.lua, and this doesn't seem like an issue with vim-illuminate. Your screenshot is showing two different highlight colours, however, vim-illuminate only uses a single highlight colour so the scope highlighting must be coming from a different plugin or part of your config. I would recommend either opening an issue in indentblankline or reducing the size of your minimal init.lua to create a useful minimal init.lua.

OK thank you.


bug with ints

crystal eval 'p Int64[0xFFFFFFFF, -0xFFFFFFFF]'
[4294967295, 1]

ruby -e 'p [0xFFFFFFFF, -0xFFFFFFFF]'
[4294967295, -4294967295]

It's mystery:
$ crystal eval 'p -0xFFFFFFFF == -(0xFFFFFFFF)'
false
$ crystal eval 'p -0xFFFFFFFF'
1
$ crystal eval 'p -(0xFFFFFFFF)'
-4294967295

Seems there's a problem with hex numbers bigger than 0x80000000:
https://play.crystal-lang.org/#/r/siq
Must be a bug in the lexer (the lexer gives the type to these literals)

I think there are other (bigger) literals that might cause the same problem. If you find them, let me know :-)


Next.js server action not getting executed

Describe the bug
Please bear with me, because I have no idea how to best start. I've also done my best to narrow this down as much as possible, but I haven't been able to provide a minimal reproducible example.
Setting the stage
We were noticing more and more lately that our (Cypress) tests are flakey so I started to investigate it. I've managed to track it down to a custom hook not resolving with the correct data.
The hook, useCurrentUser, is in essence a very simple hook
import { useQuery } from "@tanstack/react-query";

import { getCurrentUserWithRoles } from "@/actions/users";

export const useCurrentUser = () => {
  const { data: currentUserWithRoles } = useQuery({
    queryFn: async () => {
      return getCurrentUserWithRoles();
    },
    queryKey: ["currentUserWithRoles"],
  });

  if (!currentUserWithRoles) {
    return null;
  }

  return currentUserWithRoles;
};

getCurrentUserWithRoles is also a very simple server action that does some database fetching.
"use server";

import { AuthDAL } from "@/data/auth";

export async function getCurrentUserWithRoles() {
  return await AuthDAL.getCurrentUserWithRoles();
}

However, when running cypress open and running a test that relies on the useCurrentUser returning correct information, the hook sometimes fails to return any data.
What I've tried
Adding logs
If I add logs to the necessary places, I can see where it goes wrong
    queryFn: async () => {
      console.log("About to get roles");
      const res = getCurrentUserWithRoles();
      console.log("res: ", res);

      return res;
    },

export async function getCurrentUserWithRoles() {
  console.log("Inside server action");
  return await AuthDAL.getCurrentUserWithRoles();
}

The first log gets printed, but the other two don't appear. So for some reason, it seems that it never reaches the server action.
Removing React Query
If I remove React Query and just rely on useEffect and useState, there's no flakiness and test passes 100% of the time
export const useCurrentUser = () => {
  const wasCalled = useRef(false);
  const [currentUserWithRoles, setCurrentUserWithRoles] = useState<Awaited<
    ReturnType<typeof getCurrentUserWithRoles>
  > | null>(null);

  useEffect(() => {
    if (!wasCalled.current) {
      wasCalled.current = true;

      getCurrentUserWithRoles().then((res) => {
        setCurrentUserWithRoles(res);
      });
    }
  }, []);

  if (!currentUserWithRoles) {
    return null;
  }

  return currentUserWithRoles;
};

Replacing the server action with an actual API call
I also went ahead and created an actual API call (via route.ts) where I returned hardcoded data. And again, it works 100% of the time.
import { NextResponse } from "next/server";

export async function POST() {
  return NextResponse.json({
    groupRoles: [
      {
        groupIdId: "77fc6325-96ff-449b-91a8-cd0a8c79e019",
        role: "ADMIN",
      },
      {
        groupId: "4b102177-be72-4910-a46d-90060ca7b178",
        role: "ADMIN",
      },
    ],
    firstName: "Fred",
    id: "33d4cde9-c366-4c77-9669-decdf0e0c6ad",
    lastName: "Flinstone",
    appRole: "ADMIN",
  });
}

export const useCurrentUser = () => {
  const { data: currentUserWithRoles } = useQuery({
    queryFn: async () => {
      // return getCurrentUserWithRoles();
      const call = await fetch("/api/v1/test", {
        method: "POST",
      });

      const res = await call.json();

      return res;
    },
    queryKey: ["currentUserWithRoles"],
  });

  if (!currentUserWithRoles) {
    return null;
  }

  return currentUserWithRoles;
};

Replacing Cypress with Playwright
I even rewrote the test in Playwright but to no avail. The tests are still just as flaky, feeling even worse (but that may be my mental state acting up by now).
Some extra insights
However, the switch to Playwright has brought some extra insights that may be helpful

If I only enable one of the tree browsers in Playwright (so chromium, firefox and webkit), the tests always pass for chromium and firefox, and fail way less for webkit (10% of the times instead of 70%)
Same scenario for setting workers to 1 in Playwright
I tried this suggestion to no avail
All libraries are at their latest versions

Your minimal, reproducible example
I tried, but can't condense it enough to have it always fail
Steps to reproduce
/
Expected behavior
I expect React Query to actually fire the Next.js server action and return the data
How often does this bug happen?
Often
Screenshots or Videos
No response
Platform

OS: MacOS
Browser: Multiple

Tanstack Query adapter
react-query
TanStack Query version
v5.52.0
TypeScript version
v5.3.3
Additional context
Please let me know what other information I can provide. I felt like I've been going down the rabbit hole, with no solution in sight..

Hello!! @RareSecond :)
Ensure you're using `await` with `getCurrentUserWithRoles` in your `queryFn` and add error handling to log issues. Also, check Cypress configuration for handling server-side interactions.

Hi @neehhaa06
While it shouldn't matter, I've tried your suggestion, but nothing changed.

Having the exact same issue. With me it happen when I quickly redirect to another page but useQuery started already, leaving it in a state of always saying isLoading

This stripped down version allowed me to continually reproduce this.
The component causing a redirect
const Checkout = (): ReactElement => {
	const { t } = useTranslation();
	const { cart, syncCart } = useCartStore();
	const [loading, setLoading] = useState<boolean>(true);

	useEffect(() => {
		if (cart && cart.lineItems.length === 0) {
			redirect('/cart');
		}

		setLoading(false);
	}, [cart]);

	if (loading) {
		return <></>;
	}

	return (

				<PaymentMethods />

	);
};

The useQuery being used where getPaymentMethods is the server action:
const usePaymentMethods = (): UseQueryResult<PaymentMethod[]> => {
	const { shop } = useShopContext();

	return useQuery<PaymentMethod[]>({
		queryKey: ['paymentMethods', shop],
		queryFn: async () => {
			return await getPaymentMethods();
		},
	});
};

export default usePaymentMethods;

Inside PaymentMethod the useQuery is initiated due to it being rendered into the DOM, but the redirect quickly interrupts that call, causing it to be in a constant loading state.
The workaround for this is to not use server actions, but to create an API proxy yourself and there running the action. Not the most ideal fix ofcourse since it just shouldn't happen.

I'm facing a similar issue. Few actions are called, but some are pending in an infinite isPending state, and the server action is never called.
Is there going to be any fix for this, as this is a minor issue?

This is coming straight from the Next.js docs

yes, but it's still an "action". The section in the docs is called Server Actions and Mutations, and it's next to Data Fetching and Caching. Using a server action for data fetching is, again, not recommended by next or by us.
I talked to the nextjs team not too long ago and mid-term, they want to provide something like "server actions" but for fetching. But server actions ain't it.

I want to again stress the fact that, when using a simple useEffect and (very high level, I know) recreating the behavior of react-query, everything works as expected.

I hope it's understandable that my answer here can only be:
I want to again stress the fact that, when using a simple fetch and (very high level, I know) recreating the behavior of server actions, everything works as expected.
Bottom line is I really don't even know how to look into this ...

Right now, serverActions run in serial. All of them. One by one. So if you have two unrelated queries, they will be queued up.

This surprised me. I tested this and it seems that it is incorrect, unless I'm missing something - server actions can run in parallel: See this Codesandbox.

@bartcheers your sandbox just calls an async function (that is marked as "use server") in a server component.
To really get a server action, that gets transformed to a POST request under the hood, you need to invoke the action from a client component (e.g. in a button click handler).

Thanks @TkDodo for clarifying. Here's another Codesandbox confirming server actions run in series, not in parallel. Great to know!

While I'm starting to see more why we shouldn't use it for data fetching, I do still think that there's an issue on your part.
I recreated the test in Playwright and ran it 100 times (for 3 different browsers, so 300 tests in total).
This was React Query

This was swr

We will be making the switch to swr, as that's an easier replacement than making the switch to API routes/tRPC.

I've hit this as well on one of my personal projects. wierdly only happening in dev. Using server actions to fetch data client side in combination with react-query and all hell breaks loose...but only with react-query
  const { hasNextPage, isFetchingNextPage, fetchNextPage, data, isLoading } =
    useInfiniteQuery({
      queryKey: key,
      queryFn: ({ pageParam }) => {
        const offset = (pageParam - 1) * pageSize;
        return query(offset);
      },
      refetchOnWindowFocus: false,
      initialPageParam: 1,
      getNextPageParam: (lastPage, pages) => {
        if (lastPage.length === 0) return;
        return pages.length + 1;
      },
    });

lastPage would intermittently be null 🤷

I seem to be experiencing this problem in production, but with useMutation invoking a server action:
export function useUpdateProduct() {   return useMutation({     mutationFn: updateProduct, // this is a server action     onSuccess: () => {       toast.success('Your product has been saved.');     },     onError: (e) => {       console.error(e);       toast.error('Failed to save your product. Please try again.');     },   }); }
Once this problem occurs, this and other mutations fail without even invoking the server action. Once I refresh the page they start working again.

Hi, I would also like to know at least some workaround for this.
I know you should not be fetching data with server actions, but the reality sadly is, that I have an entire application built on top of server action and I cannot really change that.


I hope knock will support grape

I use grape. I hope knock will support grape.

There's an existing port of knock for grape: grape-knock.
Although I don't think it's up to date with the latest version of knock.

No, it is not kept up to date with latest knock.


Add VIM Mode

Hi,
is it possible to add VIM Mode?
I've seen a "developer" Menu from someone where you can pick the VIM Speed for yourself.
There is a slider which can go from 0 to 255 and when applying for example 180 and you go over it, you get the "no video while driving" message
this will be a cool feature

For now you can only copy a patched Storage1.raw file to the unit. The slide within MIB2 Toolbox will be a very cool feature!

I can look into this.

For now you can only copy a patched Storage1.raw file to the unit. The slide within MIB2 Toolbox will be a very cool feature!

I tried that, but the changes are not applied back to the adaption channels.

CaneTLOTW, did you try this script from the experimental branch?
https://github.com/jilleb/mib2-toolbox/blob/experimental/Phone/Apps/0/default/set_VIM.sh

VIM is in there, in a rudimentary way. Will possibly improve it sooner or later.

VIM is in there, in a rudimentary way. Will possibly improve it sooner or later.


Godot editor dropdown menu's interaction will be blocked when tooltip shows up

Tested versions
Reproducible in current master and 4.2 stable
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; <IP_ADDRESS>19) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)
Issue description
Here is the video:
https://github.com/godotengine/godot/assets/8315986/4dcd3170-7006-4795-90b2-3739fcb0a77a
As you can see, when hover the menu for a short time and the tooltip appears, I can't move my cursor to other menu item to hover them, looks like the input is blocked. I have to move the cursor out and in again to make the tolltip disappear, and then all is well.
Steps to reproduce

Open godot, click Debug menu
hover one item until tooltip shows
move the cursor inside the menu and observe

Minimal reproduction project (MRP)
N/A

It can only be reproduced in multi-window mode, plus it should be a duplicate of this one:

https://github.com/godotengine/godot/issues/73926

Yes, closing it as duplicate.


Looking for exemples

Hi there !
First sorry for the issue-oppening ! =/
I'm working on my first React project and Masonry is kind of magic for me right now, i'm trying to figure out how to use react-masonry and i'm in a desesperate need of exemples.
I'm trying to get something like the layout found in the exemple : http://www.hearsay.me/
I can't find the source of it, doesn't anybody knows where i can find there or any other kind of exemples ?
Thanks for reading me, sorry again for the bother and have a nice day :)

Hi @Hydeo The examples are in the Readme. Under the hood it's just Masonry. Please let me know if there's anything in the README that isn't clear.

Hi @Hydeo
I'm going to close this issue. Please feel free to reopen if needed :-)


Support table

Hello! does this library support table tag?

It doesn't at the moment. I think you could support the majority of what table does in html or certainly a good subset

I made an example table renderer (code below) but some enhancements to this library might facilitate the implementation.
The first issue is that htmlAttribs are not inherited from the parent.  If I for instance put 'border: 1' on the  element then this property is not passed to it's children.  It would be nice if htmlAttribs were chained together by means of a 'parent' property containing the attributes of the parent element. This way it's easy to implement the cascading part of CSS.  You could also add a helper method to search for an attribute in the tree.
Would it be possible to also export HTMLStyles inside index.js so that we can easily import it and use some of it's methods?
Another issue is the fact that html styles can be composed.  'border' is such an example.  I could easily say 'border: 1px solid black'.  In RN this has to become 3 different style elements.  It would be nice if this conversation can also be done in HTMLStyles (as it is pretty straightforward).
Do you think it's a good idea to make these changes?  I can always make a PR for it.
This is an example table renderer for those that are interested:
renderers = {
table: (htmlAttribs, children, passProps) => {
return (
<View style={{flex: 1, borderWidth: Number(htmlAttribs.border), padding:Number(htmlAttribs.cellpadding)}} {...passProps} >{children}
)
},
tbody: (htmlAttribs, children, passProps) => {
return (
<View style={{flex: 1}} {...passProps} >{children}
)
}
,
tr: (htmlAttribs, children, passProps) => {
return (
<View style={{flex: 1, flexDirection: 'row'}} {...passProps} >{children}
)
}
,
td: (htmlAttribs, children, passProps) => {
return (
<View {...passProps} style={{flex: 1, borderWidth: Number(htmlAttribs.border)}} >{children}
)
}
}

Another issue.  The default renderers are omitted when a custom renderers object is passed.  It would be better to merge both together.

I'd happily accept a pull request for this ;-)

@DavyDeDurpel I tried to use your code, but I got this error back: Views nested within a <Text> must have a width and height, any help?

I'm sorry but I won't be able to help you a lot.  In the mean time I had to switch from RN to NativeScript because RN is too unstable and it's architecture makes upgrading to a newer version a chimera.  Sadly for me, there is no plugin yet for converting html to native components in NativeScript :-(
Possible causes for your issue are:

 element with a combination of text and other elements

invalid html
or my example renderer is faulty as it is only a very basic renderer missing most of the attributes

@DavyDeDurpel Thank you very much for the hints.


Does check-coverage read .istanbul.yml?

If I have a reporting dir in my .istanbul.yml set to something like build/tmp/coverage, then "instanbul cover" will write to that directory but "instanbul check-coverage" won't read from it.
This can be worked around by passing build/tmp/coverage/*.json into the check-coverage command-line, but it would be best to avoid the duplication.

The answer the question in the title of this issue is yes from what I've seen. I don't know if it reads everything though. I do know that it will read the check/global settings and apply them during check-coverage. You can test this by setting these at 100 and assuming that you don't have 100 coverage on the 4 attributes the check-coverage should fail.
e.g.:
check:
    global:
        statements: 100
        lines: 100
        branches: 100
        functions: 100
        excludes: []

Also command line args override the settings in the file.


Update flash-attn install instructions

match the install instructions to the repo; resolves build issues such as:
Building wheels for collected packages: flash-attn
  Building wheel for flash-attn (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]

      torch.__version__  = 2.1.2

                                                                                running bdist_wheel
      Guessing wheel URL:  https://github.com/Dao-AILab/flash-attention/releases/download/v2.3.6/flash_attn-2.3.6+cu122torch2.1cxx11abiFALSE-cp311
-cp311-linux_x86_64.whl
      Raw wheel path /tmp/pip-wheel-u9phaxns/flash_attn-2.3.6-cp311-cp311-linux_x86_64.whl
      error: [Errno 18] Invalid cross-device link: 'flash_attn-2.3.6+cu122torch2.1cxx11abiFALSE-cp311-cp311-linux_x86_64.whl' -> '/tmp/pip-wheel-u9phaxns/flash_attn-2.3.6-cp311-cp311-linux_x86_64.whl'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for flash-attn
  Running setup.py clean for flash-attn
Failed to build flash-attn
ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based projects

well done


Add Resource Detectors to frontend service

Changes
This will add resource detectors to the frontend service, to create richer data for the backend, e.g.:

Similar could be done for other languages/services, I just wanted to get started with Node.JS where I know how to do it :-)
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[x] CHANGELOG.md updated to document new feature additions
[x] Appropriate documentation updates in the docs folder

@svrnm this is really cool! Thanks for this PR.

Happy to help & that you like it:-)
I will try to add some more eventually across the demo services :-)

We have something similar in Rust, but not with that many resourceDetectors.

There are implementations of container resource detection & cloud resource detection across many languages, so they can be used as a template for rust, since the mechanics are always the same (e.g. for container.id you need to read it from the right files, and for the cloud ones there are APIs).

@puckpuck / @julianocosta89 I feel like we should document the resource enrichment somewhere? Maybe a dedicated file to keep things simple or add to the attributes file

Thanks for the addition @svrnm! This looks great 🚀

@cartersocha is something to discuss in the SIG meeting in the new year, but I think we can put Resource detection in the feature/metric matrix tables. We should also document how it is accomplished in each service doc, similar to how we show other instrumentation features.


Correct erroneous reference to analyses

hi @hlcianfagna thanks for opening this PR and great catch! I've approved and merge this for you - have a wonderful day!


How do I even start learning Python

Hi there I'm trying to learn and get into this whole programming thing and I don't even know where to start

您的邮件已收到！祝生活愉快！

Pick any language (just not html) start learning the basics

Pick any language (just not html) start learning the basics

Any ideas on how to learn basics

Browse in youtube and learn the basics from scratch along with setting up the environment

您的邮件已收到！祝生活愉快！

这是来自QQ邮箱的假期自动回复邮件。已收到。

start from the basics, data types( int, float, bool,) then go to what is a variable , and then start making arithmetic operations (/, //, %,- +). then learn what is a list , a tuple and a dicctionay, after that you can start b y searching about functions, exceptions, and last lambda functions.
thanks

Start from basics and also make program with it.

这是来自QQ邮箱的假期自动回复邮件。已收到。

您的邮件已收到！祝生活愉快！


combine ChrisDill/Raylib-cs-Examples repository

Before submitting a new issue, please verify and check:

[X] The issue is specific to Raylib-cs and not raylib
[X] I checked there is no similar issue already reported
[X] My code has no errors or misuse of Raylib-cs

Issue description
every time i made change to this repository i need to do multiple step just to test if my change is working
for example:

made some change to the code
run dotnet pack on this repository
open https://github.com/ChrisDill/Raylib-cs-Examples repository
delete raylib-cs nuget cache
restore nuget package locally using previous build
check if my change working properly

if we combine the examples repository this can be simplified into

made some change
run examples
check if my change working properly

Environment
Issue screenshot
Code example

Considering merging them back in as I agree it has made it harder to test. Initially want to try out your changes in #186 with Raylib-cs-Examples so it uses Raylib-cs directly instead of using the nuget package.

@anggape Looking more into it I decided to go ahead with merging the main examples project back in. Next I want to get examples working with the local build to complete #186.


is there any support for drawing a candleStick chart!?

hi im trying to draw a candle stick chart pleas help me out
thanks. ❤

AAChart do not support candleStick chart.

is there going to be any update for supporting it!?
should i wait or smth!?

There is no need to wait it.

im closing this issue then
take care


[FLINK-9091] [table] Fix dependency convergence for flink-table

What is the purpose of the change
Since FLINK-8511 solved most of the dependency convergence issues that were described in FLINK-9091. This PR solves the remaining ones by replacing the dependencyManagement section by exclusions.
Brief change log
flink-table/pom.xml modified
Verifying this change
Manually verified by e2e tests and SQL Client query execution.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Does this fix or just improves dependency convergence? I'm asking because dependencies of flink-table (like flink-runtime) still have convergence errors.

It only fixes the issues discussed in the corresponding JIRA. Dependency convergence issues with flink-runtime are a different topic.

I still don't know whether this is the way to go. The exclusion pattern can be icky when dealing with a single dependency A that pulls in 2 different versions of a dependency B. When excluding B you are excluding both versions, and have to add a separate dependency on B to our  module. This not only obfuscates the dependency tree, but also directly blocks other efforts to forbid usages of unused dependencies.

We had a dependency on Janino before so this adds no additional dependency to our module. The only special case is about guava (as always). I think you have the bigger picture about Flink's dependency management, I'm open for other solutions (like disabling the enforcer plugin etc.).

@pnowojski just pointed out that we can replace the Janino exclusion by a dependencyManagement entry in the root pom. I'm fine with this. But how should we deal with guava?

Converging dependencies by enforcing their versions in root's pom dependencyManagement section is the way that we have chosen previously, so it would be more consistent.
https://issues.apache.org/jira/browse/FLINK-7765
https://github.com/apache/flink/pull/4777
Thus I would put janino's entries in root pom. Open question is what to do with guava since I do not know if this comment in root pom is still valid after 3 years and what was it all about:
	<dependencyManagement>
		<!-- WARN:
			DO NOT put 	guava,
						protobuf,
						asm,
						netty
					here. It will overwrite Hadoop's guava dependency (even though we handle it
			separatly in the flink-shaded-hadoop module).
		-->

DependencyManagement in the root pom should cover dependencies that we share and expose across modules.
Enforcing convergence with one module (flink-table) for a dependency that is hidden (shaded) should be handled in that module, not clutter the project-global configuration.


Large size using browserify

Just requiring pouchdb and pouchdb-load in a script and running browserify yields 2.1MB file.
Without pouchdb-load file size is 368K.
I created small repo to reproduce it:
https://github.com/bmihelac/test-pouchdb-load

Fixed in 527c3e3e56120c7d0e9b524eee74e1501871b542, the bundle size is now 17k min+gzipped or 126k raw.

published in pouchdb-load 1.4.6, cheers

Tested it and it work as expected. Thanks a lot.


adb:error:failed to copy '/usr/local/Cellar/scrcpy/1.16/share/scrcpy/scrcpy-server' to '/data/local/tmp/scrcpy-server.jar'

adb:error:failed to copy '/usr/local/Cellar/scrcpy/1.16/share/scrcpy/scrcpy-server' to '/data/local/tmp/scrcpy-server.jar' : remote could't create file

when i run scrcpy,this error occured.i wonder to know how to solve it,thanks!

What is the result of:
adb shell ls -l /dala/local/tmp
adb shell ls -ld /data/local/tmp

?

it shows:
➜  ~ adb  -s 42001 shell  ls -l /dala/local/tmp
ls: /dala/local/tmp: No such file or directory
➜  ~ adb  -s 42001 shell  ls -ld /dala/local/tmp
ls: /dala/local/tmp: No such file or directory

That's the problem, scrcpy expects the device to have this directory. Which device is it? Could you create this directory?

(this android device haven't root)this problem solved when i release system cache, app cache and so on
so i want to know which operation make it works

got it. it's /data/local/tmp


osd: fail check mount partition if not skipped

We forgot to handle the case where "check if any of the raw partitions
are mounted" task gets skipped.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

For more info, see: https://github.com/ceph/ceph-ansible/commit/6915dfcf8135e7ff85ac73cbea1c19887aa2a2e4#commitcomment-22949245

jenkins test jewel-ansible2.2-centos7_cluster

jenkins test jewel-ansible2.2-docker_cluster

jenkins test luminous-ansible2.2-docker_dedicated_journal

jenkins test playbook syntax

jenkins test jewel-ansible2.2-centos7_cluster


Update about-me.mdx

Bunnyshell created the Environment github-emilia / Ghost1eaas-patch-1:master / PR-7 for PR #7:

There are no public URLs to be exposed.


Command Typo For 05

Should be Create: New Jupyter Notebook. Could lead to issues finding the command.

Fixed with your PR


Fix Grid.js bug for phone sizes

Copy/Paste bug I guess :-)

Good catch! ;)
I now understand why it didn't seem to work when I used the phone prop...

Yep that's what I scratched my head around too for some time ;-)


[Bug]: Form and FormField not in registry?

Reproduction
https://nuxt.new
Describe the bug
From the docs it seems like the components should be included when adding the form module, but they are missing from the registry.
https://www.shadcn-vue.com/registry/styles/default/form.json
https://www.shadcn-vue.com/registry/styles/new-york/form.json
Are these two components provided somewhere else?
System Info
/

Contributes

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests

Nevermind, I'm beyond stupid

@blazmrak What was it in the end?  Just reuses the component from the component library.

@blazmrak 🤦thanks!


[release-1.23] add default retry policy for inbound routes

Manual backport of https://github.com/istio/istio/pull/52055

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.23
29297cd2d83c2abebf4d44f61bb72fee0debcbda
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.23
29297cd2d83c2abebf4d44f61bb72fee0debcbda
link
true
/test release-notes

unit-tests-arm64_istio_release-1.23
29297cd2d83c2abebf4d44f61bb72fee0debcbda
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test release-notes

/test unit-tests-arm64


Hidden text overflow on asset detail (mobile)

Using Motorola Moto G2, Android 6.0, Google Chrome browser, I can't see a portion of the description text on portrait view.
Image: http://imgur.com/a/tRELI

Looks like this happens because the tags/stars on top overflow, and thus resize the div...


Ctrl-213: configure metrics-exporter with a configmap

The configmap/storage-metrics-exporter is controlled by StorageOSCluster.Spec.Metrics.* parameters. Whenever the cluster paramers change, the CM gets updated by the operator and storage-metrics-exporter pods get redeployed.
The reloading of the CM inside the exporter's pods is achieved by setting the CM's resourceVersion on the DaemonSet.
Depends on: https://github.com/ondat/metrics-exporter/pull/44

Last thing from me. Can we introduce the new tests in controllers/webhook/suite_test.go and todo in a different PR?
You are introducing a new type of tests and it's would be easier to review/introduce them as a separate piece of work rather than mixed in with he rest of the changed here. Plus it doesn't delay this changes from getting merged (I know at least I would like to have a closer look at those)

Thanks a lot :)

Rebased.


Remove extra line

/cc @JamesNK

@pranavkm  you can't have embedded moniker ranges.  You're adding that to the 2.1/2.2 section, so it's not required.

Register the authorization handlers is the code that needs to be updated.
Can we close this and I'll fix the auth filter replacement?
public void ConfigureServices(IServiceCollection services)
{

    services.AddDbContext<ApplicationDbContext>(options =>
        options.UseSqlServer(
            Configuration.GetConnectionString("DefaultConnection")));
    services.AddDefaultIdentity<IdentityUser>(
        options => options.SignIn.RequireConfirmedAccount = true)
        .AddRoles<IdentityRole>()
        .AddEntityFrameworkStores<ApplicationDbContext>();

    services.AddRazorPages();

    services.AddControllers(config =>
    {
        // using Microsoft.AspNetCore.Mvc.Authorization;
        // using Microsoft.AspNetCore.Authorization;
        var policy = new AuthorizationPolicyBuilder()
                         .RequireAuthenticatedUser()
                         .Build();
        config.Filters.Add(new AuthorizeFilter(policy));
    });
    // Authorization handlers.
    services.AddScoped<IAuthorizationHandler,
                          ContactIsOwnerAuthorizationHandler>();

    services.AddSingleton<IAuthorizationHandler,
                          ContactAdministratorsAuthorizationHandler>();

    services.AddSingleton<IAuthorizationHandler,
                          ContactManagerAuthorizationHandler>();
}

I hadn't looked at the auth handlers. Here's the section I was trying to update: https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data?view=aspnetcore-3.0#require-authenticated-users

@pranavkm  yes, that's what I have in my previous comment. I'll close this PR - see #16101

@pranavkm  this is the problem - right
    services.AddControllers(config =>
    {
        // using Microsoft.AspNetCore.Mvc.Authorization;
        // using Microsoft.AspNetCore.Authorization;
        var policy = new AuthorizationPolicyBuilder()
                         .RequireAuthenticatedUser()
                         .Build();
        config.Filters.Add(new AuthorizeFilter(policy));
    });


feat(docs): add hover effect to footer socials

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Please provide enough information so that others can review your pull request:

Explain the details for making this change. What existing problem does the pull request solve?
I have added a hover effect to the social icons present in the footer

Test plan (required)
Demonstrate the code is solid. If not, please add WIP: in its title.

Closing issues
Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
Closes #2683
Self Check before Merge
Please check all items below before review.

[x] Corresponding issues are created/updated or not needed
[x] Docs are updated/provided or not needed
[x] Examples are updated/provided or not needed
[x] TypeScript definitions are updated/provided or not needed
[x] Tests are updated/provided or not needed
[x] Changesets are provided or not needed

Hi @developer-diganta, Thank you for helping us 🙏
I think we should use the color of the brand owners.
github: #171515
discord: #5865F2
reddit: #FF4300
twitter: #1DA1F2
linkedin: #0077B5

Sure! I'll make the changes.

@developer-diganta Thanks for helping us 🚀


[Access Request] Page 5417 "Item Avail. by UOM Lines" - Item protected

Hi Al team,
I would like to access the following variable from an extension object:
protected var    Item: Record Item;
Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


"sonic-cfggen: command not found" errors in logs

Every time the metrics are being scraped, The error message /usr/bin/vtysh: line 11: sonic-cfggen: command not found appears 28 times in the container logs.
Easily reproducible like so:
$ docker logs -f sonic-exporter -n 0 |& cat -n & curl -s http://localhost:9101 >/dev/null
[1] 14412
     1	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     2	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     3	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     4	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     5	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     6	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     7	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     8	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
     9	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    10	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    11	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    12	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    13	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    14	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    15	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    16	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    17	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    18	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    19	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    20	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    21	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    22	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    23	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    24	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    25	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    26	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    27	/usr/bin/vtysh: line 11: sonic-cfggen: command not found
    28	/usr/bin/vtysh: line 11: sonic-cfggen: command not found

Seems obvious that it is trying and failing to run the UNIX shell command sonic-cfggen inside the FRR console.
sonic-exporter was installed and started using the procedure at https://github.com/STORDIS/monsoon#install-sonic-exporter.
Additional information:
$ sonic-cli -c 'show version'

Software Version  : 4.2.0-Enterprise_Base
Product           : Enterprise SONiC Distribution by Broadcom - Enterprise Base package
Distribution      : Debian 10.13
Kernel            : 5.10.0-21-amd64
Config DB Version : version_4_2_1
Build Commit      : b3aea3ecc9
Build Date        : Wed Nov 29 17:39:51 UTC 2023
Built By          : sonicbld@bld-lvn-csg-02
Platform          : x86_64-accton_as5835_54x-r0
HwSKU             : Accton-AS5835-54X
ASIC              : broadcom
Hardware Version  : R01F
…

I am also getting the same errors in logs.

https://github.com/shammad93/monsoon
I did some fixes and it works now without these errors.


Selecting just a tag returns no results

Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
influxdb-1.0.0_beta3-1.x86_64
centos/7
Steps to reproduce:

select host from cpu where usage_idle < 1 and time > now() - 1h
(the where clause doesn't matter)

Expected behavior: [What you expected to happen]
To see a list of hosts matching the criteria
Actual behavior: [What actually happened]
No results (and no error)
Additional info: [Include gist of relevant config, logs, etc.]
If I add a single field, any field, to the query, results come back. For example:
select host,usage_idle from cpu where usage_idle < 1 and time > now() - 1h

Thanks @phemmer. Closing this in favor of https://github.com/influxdata/influxdb/issues/5548, which has been a longstanding request.


Keyerror 'isp'

That's error with:
"Traceback (most recent call last):
File "/data/data/com.termux/files/home/ipdrone/ipdrone.py", line 52, in
print (b, "[ISP]:", data['isp'])
~~~~^^^^^^^
KeyError: 'isp' "

-------------->
Traceback (most recent call last):
File "/data/data/com.termux/files/home/ipdrone/ipdrone.py", line 52, in
print (b, "[ISP]:", data['isp'])
~~~~^^^^^^^
KeyError: 'isp'
Have same
Also


Outstanding volume is incorrect

It seams it's showing the buy volume in the place of the outstanding volume.

I reviewed, and the endpoint is returning the outstanding volume correctly for both the "auction" and the "auctionOpp"

I think now is fine thanks


Fabric Environment

"Smart Contract" and "Channels" do not appears under my Fabric Environments in VS Code after packaging my first smart contract and starting/connecting to my local fabric environment (I am very new to this space and trying to learn). This means I cannot install or instantiate a smart contract on my program. See attachment.

Thanks!

@depederj1 It looks like you might have a question or a problem with a VS Code Extension. Please try finding the repository for the VS Code Extension you are using and ask for help / report a problem there.


Remove simrat39/rust-tools.nvim

Repo URL:
https://github.com/simrat39/rust-tools.nvim
It's marked as archive and author points to https://github.com/mrcjkb/rustaceanvim which is already referenced in awesome-neovim
Checklist:

[ ] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[ ] The lines end with a .. This is to conform to awesome-list linting and requirements.
[ ] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[ ] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[ ] The description doesn't contain emojis.
[ ] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[ ] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!


fix: pass in and use correct lambda arn for lambdaauthorizers

Description of changes
Lambda authorizers were still computing an ARN which included -NONE at the end, to align w/ older amplify convention. This is no longer guaranteed, given the lambda can be created in a normal CDK app, instead pass in the IFunction ARN in a CDK context, and use that when available.
Updated the all-auth-roles e2e test for CDK to flex this functionality.
CDK / CloudFormation Parameters Changed
Yes, GraphqlApi auth config for lambda will use the arn if possible.
Issue #, if available
N/A
Description of how you validated changes
Updated E2E test and manually.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note: all e2e tests are still running, but the one I touched here all-auth-roles.test.ts has succeeded.


FEATURE: RAIL-2103 Add new interfaces for Analytical Dashboard objects

Currently destined for release R199.
This release is zero downtime release.
Code drop: 2020-02-27 00:00.

Story RAIL-2103 Add new interfaces for Analytical Dashboard Objects
Status: New
Priority: Major
Assignee: Tuan Anh Le

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/49/ : SUCCESS in 9s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/127/ : SUCCESS in 58s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/50/ : SUCCESS in 6s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/128/ : SUCCESS in 46s

Story RAIL-2103 Add new interfaces for Analytical Dashboard Objects
Status: Hacking
Priority: Major
Assignee: Tuan Anh Le

Build failed (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/51/ : UNSTABLE in 17s
gooddata-typings-unit-tests-zuul-docker-el7 : SKIPPED

ok to test

ok to test

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/54/ : SUCCESS in 6s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/131/ : SUCCESS in 1m 04s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-gate/22/ : SUCCESS in 4s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/132/ : SUCCESS in 28s


[Feature]: access tokens for situations like vast.ai

Description
There is a serious security issue with using services like vast.ai and wandb.  Kagglers have complained about having their code and models stolen when using similar systems in china.
Being able to create a temporary least privilege access token (some kind of append only token with very limited read access) would help ameliorate this situation.
It's not perfect, but for those of us who want access to cheap high end GPUs, it would really help a lot.  It also leverages wandb fault tolerant capability with interruptable instances quite nicely.
Suggested Solution
The ability to create a temporary least privilege access token that can only append information and not provide read beyond some basic metadata necessary to do what's required.  Github has an example of this in its new fine grained tokens you can look at.   The token could ideally be rate limited as well so vandals couldn't use it to DOS your account (not a huge requirment, but in a perfect world..)
Alternatives
The only alternative I came up with was not to use wandb and do a sort of roll your own solution by pushing up checkpoints to a cloud storage system where least privilege permissions are possible.
Additional Context
No response

Hi @blazespinnaker! Sounds like a great feature request. So to confirm you'd like to be able to share your project with the least privilege token with another person. What kind of access/permissions do you think the least privilege token should provide? Read-only? Maybe have an access to making runs too?

@ArtsiomWB No, I don't want to share my project - sort of the opposite, actually.

On vast.ai you or I can rent hosted machines with GPUs very cheaply.  Especially 'interruptable' machines which can really leverage wandb fault tolerant capabilities.

Unfortunately, the hosts will have access to my code that I upload to these machines.  In fact, on Kaggle, folks have complained about having their code and models stolen when they do this.

So, I'd like to be able to securely (as possible) use wanddb to upload my code to these machines and train, but without giving the host access to authentication credentials that could be used to hack my wandb account.

I could do this by using an append only (no read) amazon s3 bucket with limited size and push models/checkpoints there, but wandb seems like the right place to do this.

Note there is still some risk to having some code stolen, but that can be minimized by other techniques, such as obfuscation - which is orthogonal to wandb.

Got it, we do have something similar to this, a service account, do you think this would work for you in your use case?

Thanks folks.  I'll try the service account, it sort of looks like what I'm looking for, assuming it is constrained to 'write' only.  My one concern is that it could be used to perform a denial of service attack on my account.


Added Solarized Theme

Looks great. At first I had some doubts about contrast, but reading up on solarized's arguments on why their hue contrast is fine, that's not a problem. :+1:


Support connecting from inside iframes

Our team uses Storybook to develop our application and it would be great to have this tool setup there too, but each story is rendered inside an iframe. Currently it works only when opening the story individually in a new tab.

Hi, it was my goal to allow using this tool from within the iframe (or even from remote environments). This is actually one of the topics that I'd like to focus on, as I'd also like to be able to use RxJS Insights to debug RxJS Insights. While this is not exactly the same, abstracting away the communication layer should make both of the cases easier.


Use AWS SDK vs. subprocesses on AWS CLI

The current implementation makes it very hard to pin the AWS api version. Also, it makes it hard to redirect logs and is dependent on local machine configuration.

Fixed in #30


Unable to set deviceOverrides

Hi!
I just bought an Aroma Difusser compatible with the Tuya Platform.
After adding it to Homebrige, it said that I needed to configure it as DP Insctrution, and set deviceOverrides options, so I added the required config, like this:
{
            "options": {
                "projectType": "2",
                "accessId": "",
                "accessKey": "",
                "countryCode": 34,
                "username": "",
                "password": "",
                "appSchema": "tuyaSmart",
                "deviceOverrides": [
                    {
                        "id": "bf6d4fb264c8e1d74coygb",
                        "category": "xxj",
                        "schema": [
                            {
                                "code": "switch_spray",
                                "type": "Boolean"
                            },
                        ]
                    }
                ]
            },
            "platform": "TuyaPlatform"
        }

But the problem is that, after restarting the HB server, logs it always saying that switch_spray is required and the array lenght for schema is 0.
Can anybody help with this?
Thank you!! :)
Version
1.7.0-beta.33
Difuser specs:
  {
    "active_time":<PHONE_NUMBER>,
    "biz_type": 0,
    "category": "xxj",
    "create_time":<PHONE_NUMBER>,
    "icon": "smart/icon/bay1616480045449faUI/b244b197d3126501f93955bb7efd4fd7.png",
    "id": "bf6d4fb264c8e1d74coygb",
    "ip": "",
    "lat": "",
    "local_key": "",
    "lon": "",
    "model": "GXZ-X909",
    "name": "Difusor",
    "online": true,
    "owner_id": "",
    "product_id": "7fpw5nxkpgiwocxy",
    "product_name": "Diffuser",
    "status": [],
    "sub": false,
    "time_zone": "+01:00",
    "uid": "",
    "update_time":<PHONE_NUMBER>,
    "uuid": "",
    "schema": []
  }

Device Control Mode
DP Instruction
Logs
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [TuyaDeviceManager] Get device specification failed. devId = bf6d4fb264c8e1d74coygb, code = 2009, msg = not support this device
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Fetching scene list.
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Got 2 device(s) and scene(s).
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Device list saved at /var/lib/homebridge/persist/TuyaDeviceList.eu1674823640840r40XT.json
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Restoring existing accessory from cache: Calefactor
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Restoring existing accessory from cache: Difusor
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [Difusor] Product Category: xxj
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [Difusor] Missing one of the required schema: [ 'switch_spray' ]
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [Difusor] Please switch device control mode to "DP Insctrution", and set `deviceOverrides` manually.
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [Difusor] Detail information: https://github.com/0x5e/homebridge-tuya-platform#faq
[3/19/2023, 2:56:34 AM] [TuyaPlatform] [Difusor] Existing schema: [ [length]: 0 ]
[3/19/2023, 2:56:34 AM] [TuyaPlatform] Unsupported device: Difusor.

how do you switch the control mode? on the website? usually "DP Insctrution" will expose all schemas, shouldn't be zero instead...

Seems that Tuya platform did not saved changes. I did it another time and now works. Thank you! :)

I don't know where to write this, so sorry if this isn't appropriate. I just want to share information.
I was able to immediately reflect instruction mode by clicking "Refresh Configuration" button in "Devices tab > All Devices > View Devices By Product > (Your Device name) > Instruction Details(eye icon)".


Issue 1259 concat

Description
Check that domains are not empty when doing a concatenation
Fixes #1259
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

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

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

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

Converting to draft until #1362 is done


Updating the schedule due to the change in weeks we're starting FPGA bootcamp

I received a message today that we'd be starting FPGA bootcamp next week, so this is a revised schedule reflecting this change.

It says that only those with write access to this repository can merge pull requests, so it wont let me resolve the conflicts.

In this case you don't resolve the conflict using github, you resolve it locally using git:

Run git fetch
Merge in changes from main that you are missing: git merge origin/main
Resolve conflict locally.
Push up changes to this branch to fix this PR.

So, I followed these steps and the conflicts are still showing up. Any other ideas?

@JakeEdvenson Doesn't look like the merge got resolved properly.  I see new and old entries in the table.

The table should be fixed, I'm not sure what the errors are that are popping up now in the checks.

@JakeEdvenson  Don't worry about the errors in the checks...but it's now showing 0 files changed.  So somehow you lost your changes.

Sorry about that! I don't know why github was giving me so much trouble on this! Thank you!


Request support for ESP32-WROVER-B-8M-64MBit-flash

https://robu.in/product/espressif-esp32-wrover-b-8m-64mbit-flash-wifi-bluetooth-module/

Please add a URL to the specific development board.

arduino code


Migration from v6 to v8: ValidationError isn't exposed anymore

What version of Ajv are you using? Does the issue happen if you use the latest version?
I was using 6, I wanted to migrate to 8.
Ajv options object
N/A
JSON Schema
N/A
Your code
In v6 I could write code like:
import {ValidationError} from 'ajv';
function formatAjvError(error: ValidationError): CustomErrorDto {}

In v8 I must write:
import Ajv from 'ajv';
function formatAjvError(error: InstanceType<typeof Ajv['ValidationError']>): CustomErrorDto {}

This is  unnecessary verbose.
What results did you expect?
ValidationError is directly exported from ajv module.
Are you going to resolve the issue?
Yes, I can make PR for that.

So the error classes are defined as a static members on the core class, but not on the classes that the users use, and you suggest to add stic members to the subclasses as well - do I understand it correctly?

do I understand it correctly?

No. My issue that it's currently impossible import eg. ValidationError, because it isn't exported from ajv module.
import {ValidationError} from 'ajv';

I updated issue to better reflect intended use.

ok, but let's export both error classes then.

Also having this issue, is there anything I can do to help this over the line?

For anyone finding this, I regressed the install back to 6.12.6 in the short term and its working.

The classes you are missing can be imported from dist/compile/ref_error and dist/runtime/validation_error.


[BUG] Can see and warp to planets that aren't known

Version of Advanced Rocketry
AdvancedRocketry-1.12.2-1.7.0-232-universal
Have you verified this is an issue in the latest unstable build

[ ] Y
[x] N
[ ] N/A

Version of LibVulpes
LibVulpes-1.12.2-0.4.2-75-universal
Version of Minecraft
1.12
Does this occur without other mods installed

[ ] Y
[ ] N
[x] N/A

Description of the problem
My config's planetdefs.dml has this:
	<star name="Null" temp="100" x="-5" y="20" size="0.4" numPlanets="6" numGasGiants="3">
	</star>

and even in my save, it shows as
    <star blackHole="false" name="Null" numGasGiants="0" numPlanets="0" size="0.4" temp="100" x="-5" y="20">
        <planet DIMID="2048" name="Sol-2048">

but all the planets are visible in the Warp Controller

Tested in both creative and survival, though not in a new world.

Additionally, the star shows as a black hole when in orbit

Heya, would it be at all possible to upload the full planet xml file so I can look into debugging the issue further.
As for planets not being known, what is the value of "B:planetsMustBeDiscovered" in config/advRocketry/advancedRocketry.cfg?

    # If true planets must be discovered in the warp controller before being visible
    B:planetsMustBeDiscovered=false

I have brought shame upon my entire family.

This is only for isKnown=false planets, right? Known planets can still be warped to without discovering them?


Added blocks to InsertDestination directly.

As a part of detaching CatalogRelation from InsertDestination, this PR adds blocks directly when constructing InsertDestinations.

LTGM. Merging.


Bump the librarian version number

Third-party puppet modules that use the metadata support in newer
librarian versions are broken under boxen by the 1.0.0 semver
restriction. AFAICT there's no breakage here with 1.4.1.

Going to send this upstream.


Update Plugwise

Breaking Change:
Detection of a legacy Anna (firmware 1.8.x) is no longer automatic: owners of a legacy Anna have to provide info in configuration.yaml, the last line:
climate:
  - platform: plugwise
    name: your_device_name
    password: your_password
    host: your_anna_ip
    legacy_anna: true

This change was needed to be able to fix issue #26520.
Description:
The long awaited Plugwise update:

Feature request (from plugwise_dev github):

Reading the domestic hot water status, when available
Reading the cooling status, when available
Reading illuminance
Reading current boiler temperature
Reading current boiler pressure
Reading outdoor temperature

black implemented
The attribute preset_mode shows the active mode: the selected automatic Schedule, the selected Preset, or "Temporary" when e.g. the set-temperature has been changed manually.

Related issue (if applicable): fixes #26520
Docs PR:
https://github.com/home-assistant/home-assistant.io/pull/11004
Checklist:

[x] The code change is tested and works locally.
[x ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x ] There is no commented out code in this PR.
[x ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Nice work @bouwew - looks like we'll just have to iron out a few LINT things!

@pvizeli, the is not None bits are there on purpose, I quickly tried your suggestion but that did not work.

Anything still needed further changing (or reviewing) on this @pvizeli ? As @bouwew already indicated and discussed on discord we'll have to start working on expanding the integration with sensor and others, but having Bouwe's improvements out would be beneficial to the existing users.

@frenck  The related docs-update can be found here: https://github.com/home-assistant/home-assistant.io/pull/11004

Can be merged when build passes.

Good!

I've added the docs PR link in the description. Our github bot docs check is not working fully in this case it seems.


[RFC] types.listOf: actually validate the contents

Description of changes
This is a footgun. Remove the footgun. I solemnly swear to do my best to deal with the inevitable fallout.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This will probably break things. Things that are broken by this probably deserve it.

@K900  thanks for resolving this! It was driving me mad!

For context, @Deep-Six was hitting a completely inscrutable error after doing environment.systemPackages = [ pkgs.rust ], with pkgs.rust being a random attribute set of assorted Rust stuffs and not a package.

The comment saying check-meta should be enabled "soon" is from 2017... Right now I've enabled it just to see more things fail (or not?), but maybe it should stay that way?
CC @copumpkin who wrote the original comment all those years ago.

OK, so it turns out the validation does work correctly here, the problem is with toPretty specifically exploding when passed pkgs.rust for ... whatever reason?

toPretty probably fails miserably on data structures that involve repetition and recursive references. Maybe that's what happened?
In error messages, we shouldn't enter more than two layers of attrsets and/or lists, to avoid infinite recursions and to avoid some unnecessarily large messages.

Yes, that is what happened. I've submitted a fix (ish) for toPretty in #168327


Support Apple's async/await syntax

You can now use Swift Concurrency in applications that deploy to macOS Catalina 10.15, iOS 13, tvOS 13, and watchOS 6 or newer. This support includes async/await, actors, global actors, structured concurrency, and the task APIs. (70738378)

Major internal change but I think it's possible not to break current API by using method overloading.
And keep the Promises version for a while.

Writing a public wrapper until the SDK completely is re-written with async/await internally .
https://github.com/livekit/client-sdk-swift/pull/168

#168 is merged


First visible control of HUD tree not renders properly with camera viewport

Godot version
4.0.2-stable
System information
Windows 10 x64, Intel Core i5 7th
Issue description
Hello, guys.
I am developing a POC of a space shooter game and noticed some strange behaviour when added some controls to my game viewport.
To simplify, I was trying to achieve this (the red line marks the viewport and the blue lines are the control elements of the game (action buttons, score, etc).):

When I add a camera and a canvaslayer to my player's (space_ship) node. I have strange behaviour in the first control node.
HUD tree:

HUD in-game:

Now I'll invert the tree order:

In-game:

This happens when the camera changes the original position.
Steps to reproduce
Open the reprodution project, play the main.tscn scene and try to move the character (click and drag the mouse)
Minimal reproduction project
bug-project.zip

Possibly related to #58314.

Given how OP is on an Intel HD 630 or lower (i.e. IGPs on 7th-generation Intel CPUs or older), this is most likely the same cause as https://github.com/godotengine/godot/issues/58314 (i.e. an Intel driver bug). All other duplicate reports were also done on similar IGPs.

Thanks for feedback, guys. This bug will not be a problem for now, as my game is in the early stages and probably will not be build by a windows machine. I will make some workarounds while I can't update my windows for the version 11.

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/58314, as this is likely due to the same cause.


stats branch doesn't appear on repo branch list

$ pc list-branch test
BRANCH              HEAD
stats               e0f17ff24b404aaf940085b6b8ffd045
master              6da07fce53734c9ba0cd905350de59c8
$ pc inspect-repo test --raw
{
  "repo": {
    "name": "test"
  },
  "created": "2018-04-14T01:57:01.199814963Z",
  "sizeBytes": "2279201",
  "branches": [
    {
      "repo": {
        "name": "test"
      },
      "name": "master"
    }
  ]
}

I believe this is the same root cause as #2816.


[Swift 3.0] Eliminate CocoaError code naming redundancy

What's in this pull request?

Drop redundant 'Error' in the CocoaError code names. We do this via deprecation + rename so it is not a source-breaking change.
Resolved bug number: (rdar://problem/27778189)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test

LGTM

Bah, I need to handle CoreData and AppKit as well.

LGTM

@swift-ci please test OSX

@swift-ci please test

@swift-ci please test OSX

@swift-ci please test OSX

@shahmishal I can't seem to get it to trigger a new build

@swift-ci test macOS

@swift-ci what does he got that I don't, eh?