Cannot unlock files locked by other user using above documentation in Visual Studio Enterprise 2017 as well as through Command line

I am one of the Project Collection Administrators with all permissions to projects. I do have permission to Unlock Other Users Changes and Undo Other Users Changes. Yet I am unable to unlock files locked by others.
When using Visual Studio Enterprise 2017 client . Unlock option is disabled for files locked by others when I right click on the file and navigate to Advanced-> unlock.
When I useCommand line to execute
tf lock /lock:none "File location" it threw error TF14090: Cannot Unlock "File location". It is not currently locked in your work space
Please update the document with working instructions and commands.

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

ID: cd0761c2-64dd-3923-5533-9de10e956514
Version Independent ID: 94173d96-5a14-98b2-45ce-2a66f70d9656
Content: Use the Lock Command to lock or unlock a TFVC file or folder - Azure Repos
Content Source: docs/repos/tfvc/lock-command.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

Try something like this:
tf lock /lock:none /workspace:"joesmithsworkspace;Joe J. Smith" /login:mydomain\myusername $/Root/Dev/Dev/src/MyProject/somecode.cs
The /workspace:"joesmithsworkspace;Joe J. Smith" is the name of the workspace on the other person's machine where the file is currently locked.
You may get the message: The item xyz.exe must remain locked because its file type prevents multiple check-outs.  If so, just execute an undo:
tf undo /workspace:"joesmithsworkspace;Joe J. Smith" /login:mydomain\myusername $/Root/Dev/Dev/src/MyProject/xyz.exe

@yashwanthmb -- you may find answers here:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@Nightwalker76 -- thank you for your answer.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.
My apologies for the delay in responding.

Is there any way to call the Lock Command from REST API?


Error: failed to parse payload

Im using Windows 10 CMD. No python installed.
Getting a error message:
when:
otadump.exe payload.bin
Error: failed to parse payload
Caused by:
Parsing requires 4 bytes/chars

Looks like your payload file is corrupted - what is the file size of payload.bin?
Is it possible to link the payload file here?

Closing stale issue


CoverMultistepOptions environment appears to find invalid solutions

I changed the hand regions in the environment, but solutions seem to allow the robot to place outside of the changed hand regions:
https://user-images.githubusercontent.com/8839164/155862505-3d29193f-0ba6-49c3-b161-7fa18212ec18.mp4

@ashayathalye just fyi, not sure if you know about this

I think this issue was generated before we merged the most recent changes to this environment were merged, so they may have been resolved. @ashayathalye is making some changes to the environment again, but when those are complete, we'll test to see if this issue comes up.


Upgrading to 3.0.0 and application crashes

Upgraded to 3.0.0 and received the following crashes.
Running Seq version 2020.3.4761

Thanks for the heads-up, @xantari ; I think this one is:
https://github.com/datalust/seq-tickets/issues/1242


issue with creating cookies on chrome driver

hey, i've created an empty laravel project with laravel-selenium and when i try to run my tests
php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
I get this:
PHPUnit 5.7.11 by Sebastian Bergmann and contributors.

..01:00:50.763 INFO - Executing: [new session: Capabilities [{browserName=chrome}]])
01:00:50.764 INFO - Creating a new session for Capabilities [{browserName=chrome}]
Starting ChromeDriver 2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6) on port 47295
Only local connections are allowed.
01:00:52.230 INFO - Done: [new session: Capabilities [{browserName=chrome}]]
01:00:52.243 INFO - Executing: [get current url])
01:00:52.249 INFO - Done: [get current url]
01:00:52.252 INFO - Executing: [add cookie: PHPUNIT_SELENIUM_TEST_ID=SeleniumExampleTest__testExample; path=/])
01:00:52.264 WARN - Exception thrown
org.openqa.selenium.WebDriverException: <unknown>: Failed to set the 'cookie' property on 'Document': Cookies are disabled inside 'data:' URLs.
  (Session info: chrome=56.0.2924.87)
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.12.3 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 7 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'INTENS-MBP.thuis.net', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6), userDataDir=/var/folders/4t/dz5rc8md2wvc73w5gnq8xwt80000gn/T/.org.chromium.Chromium.aMt5UL}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 87959f3ace1ea64d3c754b182f13bf03

any idea about whats happening? seems like it's setting a cookie before doing anything
here's my test:
<?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Modelizer\Selenium\SeleniumTestCase;

class SeleniumExampleTest extends SeleniumTestCase
{
    /**
     * A basic test example.
     *
     * @return void
     */
    public function testExample()
    {
        $this->visit('www.google.com/');
    }
}

the issue occurs when we put COVERAGE LOGS as one of our reports logs. If we uncomment the COVERAGE code lines our test run smoothly on Chrome Browser.
For more details you can check out https://bugs.chromium.org/p/chromedriver/issues/detail?id=728


Missing library

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps

create a react project with Vite
add following dependencies to package.json file:

        "@mui/lab": "^5.0.0-alpha.137",
        "@mui/material": "^5.14.2",
        "@mui/x-data-grid-pro": "^6.10.1",

add DatePicker via import statement: import { DatePicker, LocalizationProvider } from "@mui/lab";
create a state for the value of date picker: const [value, setValue] = useState<Dayjs | null>(null);
import Dayjs type using: import { Dayjs } from "dayjs";

Current behavior 😯
My build is failing on this line:
import { Dayjs } from "dayjs";
In order to resolve issue I needed to add the dayjs dependency manually.
Expected behavior 🤔
Dayjs type to arrive packaged with MUI lab so that I won't need to add it to my project.
Context 🔦
I'm trying to add a type to my state variable
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 13.4.1
  Binaries:
    Node: 18.14.0 - ~/Library/Caches/fnm_multishells/15077_1689767866799/bin/node
    Yarn: Not Found
    npm: 9.3.1 - ~/Library/Caches/fnm_multishells/15077_1689767866799/bin/npm
  Browsers:
    Chrome: 115.0.5790.114
    Edge: 114.0.1823.67
    Safari: 16.5.2
  npmPackages:
    @emotion/react: ^11.10.5 => 11.10.6
    @emotion/styled: ^11.10.5 => 11.10.6
    @mui/base:  5.0.0-beta.8
    @mui/core-downloads-tracker:  5.14.2
    @mui/icons-material: ^5.14.1 => 5.14.1
    @mui/lab: ^5.0.0-alpha.137 => 5.0.0-alpha.137
    @mui/material: ^5.14.2 => 5.14.2
    @mui/private-theming:  5.13.7
    @mui/styled-engine:  5.13.2
    @mui/system:  5.14.1
    @mui/types:  7.2.4
    @mui/utils:  5.14.1
    @mui/x-data-grid:  6.10.2
    @mui/x-data-grid-pro: ^6.10.1 => 6.10.2
    @mui/x-license-pro:  6.10.2
    @types/react: ^18.0.28 => 18.0.28
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    styled-components:  5.3.8
    typescript: ^4.9.5 => 4.9.5

Thank you for opening this issue.

Consider updating the usage of date pickers to come from the @mui/x-date-pickers. The lab version has not been maintained for quite some time.

Dayjs type to arrive packaged with MUI lab so that I won't need to add it to my project.

Thank you for the suggestion, but we will not add a direct dependency on any date management library internally, because our end users can choose the library they want. That's one of our most unique features in the industry.
If we were to add a direct dayjs library dependency, we'd need to do the same for all the libraries.


Fix md5 authentication

When the auth method was "MD5" the library was using hashlib incorrectly to compute the password hash

+1 to this. This has been bringing my code down for a while now.
The MD5 library is being called wrong. Thanks @rahul1 for fixing! Can someone review/merge this?
cc: @alexjikim @pedercandersen

awesome thanks.


az aks create --node-osdisk-type is improperly validating values

Describe the bug
If the value to --node-osdisk-type is not exactly Managed or Ephemeral (case sensitive, too), the input is ignored. No error is given for an invalid value to this argument - example, --node-osdisk-type BOGUS will create a cluster, but using whatever the default is.
Additionally, the documentation for the argument says:
OS disk type to be used for machines in a given agent pool. Defaults to 'Managed'.
May not be changed for this pool after creation.

This is no longer true; per the documentation when a user does not explicitly request managed disks for the OS, AKS will default to ephemeral OS if possible for a given node pool configuration.
Command Name
az aks create Extension Name: aks-preview. Version: 0.5.47.
Errors:
None, that's the problem!
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az aks create -l eastus -c 1 --node-osdisk-size 64 -s Standard_E16ds_v4 --no-wait -n e4lower --node-osdisk-type managed
az aks create -l eastus -c 1 --node-osdisk-size 64 -s Standard_E16ds_v4 --no-wait -n e4junk --node-osdisk-type BOGUSVALUE

Expected Behavior

if a bad value is specified: an error is emitted
if a correct but non-camel-case value is specified: validation succeeds and uses the appropriate value

Environment Summary
Linux-5.11.0-1022-azure-x86_64-with-debian-bullseye-sid, Ubuntu 20.04.3 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.32.0

Extensions:
fzf 1.0.2
aks-preview 0.5.48

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

@alexeldeib would this be in your area?

route to service team


check out 9eSec's converged security suite

https://github.com/9elements/converged-security-suite/tree/master/pkg/amd/manifest

The data structures have been ported to Fiano and are already featured in Fiedka. 🙂✨🐙


Query Block Number before deploying contracts.

Description
Please provide a detailed description of what was done in this PR
This  PR modifies the setup of the genesis file so that the value set for the block tracker is before the deployment and initialization of the genesis contracts. This has two major benefits:

If someone deposits in the gap between initialization and querying, their statesync event will not be missed
If any state sync messages are sent during initialization of the bridge contracts, they will not be missed.

Changes include

[X] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[ ] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[ ] I have tested this code manually

Manual tests
Please complete this section if you ran manual tests for this functionality, otherwise delete it
Documentation update
Please link the documentation update PR in this section if it's present, otherwise delete it
Additional comments
Please post additional comments in this section if you have them, otherwise delete it

I have read the CLA Document and I hereby sign the CLA

recheck

recheck

recheck

recheck


[Minor] Fix Java Lint errors introduced by #13286 and #13280

What changes were proposed in this pull request?
revived #13464
Fix Java Lint errors introduced by #13286 and #13280
Before:
Using `mvn` from path: /Users/pichu/Project/spark/build/apache-maven-3.3.9/bin/mvn
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[340,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[341,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[342,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[343,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/sql/streaming/OutputMode.java:[41,28] (naming) MethodName: Method name 'Append' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
[ERROR] src/main/java/org/apache/spark/sql/streaming/OutputMode.java:[52,28] (naming) MethodName: Method name 'Complete' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
[ERROR] src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java:[61,8] (imports) UnusedImports: Unused import - org.apache.parquet.schema.PrimitiveType.
[ERROR] src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java:[62,8] (imports) UnusedImports: Unused import - org.apache.parquet.schema.Type.

How was this patch tested?
ran dev/lint-java locally

cc: @srowen

Test build #60161 has started for PR 13559 at commit 80ddcb4.

OK

Test build #60161 has finished for PR 13559 at commit 80ddcb4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60161/
Test FAILed.

retest this please

Test build #60168 has started for PR 13559 at commit 80ddcb4.

Test build #60170 has started for PR 13559 at commit 80ddcb4.

Test build #60168 has finished for PR 13559 at commit 80ddcb4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60168/
Test PASSed.

Merged build finished. Test PASSed.

Merged to master/2.0

Test build #60170 has finished for PR 13559 at commit 80ddcb4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60170/
Test PASSed.


HSEARCH-4265 Make sure events are outdistanced

https://hibernate.atlassian.net/browse/HSEARCH-4265

Here is a full-build: https://ci.hibernate.org/job/hibernate-search/view/change-requests/job/PR-2624/2

Thanks for the review. I'll merger as soon as it passes!

Merged, thanks!


TODO: solve this repo

pending issue https://github.com/oven-sh/bun/issues/7806

Problem resolved, confirmed with bun v1.1.17


Attaching file without extension is rejected with no feedback for the user, loading spinner gets stuck

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open a chat
Click + button next to "Write something..." and click "Add attachment"

Attach a file that has no extension in its filename (i.e. no-extension-file in this case)

Expected Result:

The file should have been rejected
We should have got proper feedback about the failure
The spinner should dissapear

Actual Result:

We can see an error in the Chrome dev tools' console
The spinner spins forever
No feedback about failure

https://user-images.githubusercontent.com/87341702/134412534-9c907ae7-b3d5-4e65-b747-e2eaba799cdc.mov
Workaround:
If they upload a file with an accepted extension, it should work.
To get rid of the endless spinner, the user has to reload the page
Platform:
Where is this issue occurring?
Tested in web, but I would guess it will happen in others too.

Web
iOS
Android
Desktop App
Mobile Web

Version Number:
Reproducible in staging?:
Reproducible in production?:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Re-tested this, it seems like in production it was just taking a long time and in my local I have something miss-configured.


Fixed new consumer Javadoc typo

Changed "an" to "and"

Thanks, LGTM.
Jenkins failures are not related, filed a separate JIRA (https://issues.apache.org/jira/browse/KAFKA-2910) to track it.


Remove /usr/lib references at DaemonSet

In most cases shared libraries directory /lib is a dynamic link to /usr/lib but in some other cases as Ubuntu 18.04 LTS or Debian 11, those directories have completely different content. In any case in-tree modules can be found on /lib/modules/KERNEL_VERSION/ so in order to avoid compatibility issues depending which OS Kubernetes nodes are running we should stick to /lib as a mount point for DaemonSet. Also nodeLibModulesPath has been restricted to /lib/modules/KERNEL_VERSION/.

/cc @ybettan @qbarrand

/ok-to-test

/lgtm
/approve


SearchBar content seems blurry

I explored the documentation, pressed the search bar, and discovered the content was blurry.
This happened in my case when the screen size is over sm (small) both on edge and chrome.
(The image below shows which component. The image is not an accurate representation of the problem)

If this is only a problem on my side, I would greatly appreciate a response. Thank you for taking the time to read this, and have a great day. 👋

Hi @abbbringu, this is a duplicate of #711.


Question on app.options

/ Example of responding to an external_select options request
app.options('external_action', async ({ options, ack }) => {
// Get information specific to a team or channel
const results = await db.get(options.team.id);
if (results) {
let options = [];
// Collect information in options array to send in Slack ack response
for (const result in results) {
options.push({
"text": {
"type": "plain_text",
"text": result.label
},
"value": result.value
});
}
ack({
"options": options
});
} else {
ack();
}
});
Hi, I read above and have a question, if const results = await db.get(options.team.id); take much time than expected, above will throw error like below:
[ERROR] { Error: An incoming event was not acknowledged before the timeout. Ensure that the ack() argument is called in your listeners.
at receiverAckTimeoutError (/Users/acostry/Workspace/Git/avm-bot/node_modules/@slack/bolt/dist/ExpressReceiver.js:213:19)
at Timeout.setTimeout [as _onTimeout] (/Users/acostry/Workspace/Git/avm-bot/node_modules/@slack/bolt/dist/ExpressReceiver.js:39:32)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10) code: 'slack_bolt_receiver_ack_timeout_error' }
Do you know how to avoid this error when the db action take much time ? Thanks a lot.

It seems for app.options, 3 seconds is all you get to query your database and send it back. We solved this by requiring at least 4 characters as the minimum instead of 3, which reduced the search time on our backend.

So for min_query_length, how many characters should I set? I am using 2, but sometimes it will return options for me, sometimes not.

We're using 4 for the min_query_length. I checked first that we don't have any options that are less than 4 characters.

@acostry
👋 Hello, it seems all your questions have been already answered by @stephenkalnoske-sans (thanks!).
Allow me to close this issue now. If you have something further to ask others for help, feel free to re-open this or create another one.

Hi, what URL did you use for the Options Load URL while using app.options? Something like this:

@sanju-27 You can go with https://{your-domain}/slack/events as with the other Request URLs. Bolt handles everything it supports at a single endpoint.


Model trained in Runpod does not work in the ComfyUI cell.

Just this:
It's a SDXL LoRA, rank 256, 50 epochs
I copied the created safetensors file by hand to the ComfyUI directory, is this the right way?
`Total VRAM 24260 MB, total RAM 257664 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
Using xformers cross attention
Starting server
✔ Connected
https://***
got prompt
!!! Exception during processing !!!
Traceback (most recent call last):
File "/workspace/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/workspace/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/workspace/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/workspace/ComfyUI/nodes.py", line 446, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
File "/workspace/ComfyUI/comfy/sd.py", line 1163, in load_checkpoint_guess_config
model_config = model_detection.model_config_from_unet(sd, "model.diffusion_model.", fp16)
File "/workspace/ComfyUI/comfy/model_detection.py", line 119, in model_config_from_unet
unet_config = detect_unet_config(state_dict, unet_key_prefix, use_fp16)
File "/workspace/ComfyUI/comfy/model_detection.py", line 36, in detect_unet_config
model_channels = state_dict['{}input_blocks.0.0.weight'.format(key_prefix)].shape[0]
KeyError: 'model.diffusion_model.input_blocks.0.0.weight'
Prompt executed in 0.04 seconds
got prompt
!!! Exception during processing !!!
Traceback (most recent call last):
File "/workspace/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/workspace/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/workspace/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/workspace/ComfyUI/nodes.py", line 446, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
File "/workspace/ComfyUI/comfy/sd.py", line 1163, in load_checkpoint_guess_config
model_config = model_detection.model_config_from_unet(sd, "model.diffusion_model.", fp16)
File "/workspace/ComfyUI/comfy/model_detection.py", line 119, in model_config_from_unet
unet_config = detect_unet_config(state_dict, unet_key_prefix, use_fp16)
File "/workspace/ComfyUI/comfy/model_detection.py", line 36, in detect_unet_config
model_channels = state_dict['{}input_blocks.0.0.weight'.format(key_prefix)].shape[0]
KeyError: 'model.diffusion_model.input_blocks.0.0.weight'
Prompt executed in 0.03 seconds`

Also in A1111 I'm getting a longer error with I guess this relevant piece at the end:
modules.devices.NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

Hmm here is something weird, I also did a SDXL LoRA with an A100 and the Kohya trainer, and still get the same error...

once done the training, you don't need to copy it manually, simply run the testing cell and you'll find the lora ready, try removing any model that you copied and restart

No, there was only the base model when running the ComfyUI cell, that's why I had to copy it by hand.
Those errors are weird though, and happen both in your notebook, as well as when loading the model to ComfyUI native notebook... Both RTX 3090 and A100 models, all three which I created, fail in the same way.
The only reason I can think of is that there's maybe alpha channel preset in the training or regularisation images, maybe that can throw things off?

the trained model isn't a full model, it's a LoRA, and it's automatically put inside the loras folder, you don't need to copy anything

That's... True 🤦🤦🤦🤦
I'll just go be ashamed in the corner 😅 This is what you get when doing stuff past midnight...


Bump the dotnet version after a script update

As suggested in https://github.com/devcontainers/features/pull/698#pullrequestreview-1645175515

Tested on my fork: https://github.com/sliekens/devcontainers-features/pull/8
@samruddhikhandale


Fix range parsing

Problem: https://github.com/tree-sitter/tree-sitter-rust/pull/100 solved https://github.com/tree-sitter/tree-sitter-rust/issues/86 but then it introduced collateral issues such as https://github.com/tree-sitter/tree-sitter-rust/issues/107 and https://github.com/tree-sitter/tree-sitter-rust/issues/121. Those breakages were not caught because we didn't have tests for them.
Solution:

Work around the problem without having to mess with precedence values
Add more tests

Thanks!


Proper URLs

Remove /category/ and /product/ in URLs and stop using ID numbers.
Wordpress figured this out 10 years ago, don't bring in bad habits.
URLs should be permanent, unique and have no ID numbers. The system should not need to distinguish a page, category or product using the url. That should be handled by the API router.
Saleor looks promising but there is no way we are 301 redirecting over 10k SKUs to worse URLs than we have today.

I think if you propose such a change in such a mature project, it's on you to prove the point.
Your request is not informative, as using subjective adjectives, such as "worse," won't help us to get the full picture.
But I'm interested in what you've written.

How can one profit from using "good" URLs over the "bad" URLs? If by "bad" we understand Saleor's and by "good" - Wordpress's.
What's the reasoning behind dropping /product/ and /category/ from the URLs?

If you look at the big brands, several ones are using the same tactics as Saleor does, e.g., eBay, Booking. I wonder how Wordpress's approach is superior to them?
On the other hand, having an ID in URL has its benefits; ID is constant. I
f the product's slug changes, it's super simple to redirect the user to the new URL, matching by the ID.
We should not expose our data size and velocity in the URLs, due to business intelligence security, but that's another topic.


[WIP] (feat): InPageMenu and InPageMenuItem components

Resolves #66
Impact: minor
Type: feature
Component
This PR adds the InPageMenu and InPageMenuItem components, for use as sub-navigation menus inside of pages.
Screenshots
[WIP]
Breaking changes
None
Testing
[WIP]

🚀 Preview deployed
Built with commit 9a855f52fc7761f2ea691abadf6479ed6fe3545a
https://deploy-preview-324--stoic-hodgkin-c0179e.netlify.com

@spencern @aldeed
Having a slight issue with getting linting to pass. Aside from this the PR is ready to be reviewed, what should I do about this, it doesn't really make sense...
On my local machine, I get this error:

And on circleci I get this error for the same lines:

Regarding the issue I was having above with linting, I went ahead and fixed it so it passes CircleCI, but it is not passing locally. That's something we should probably look into or try to figure out at some point.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The already installed version of sbt is not reused

A fixed reference to sbt "0.13.13" is set in the properties file.
Can it be replaced by:
sbt sbtVersion | tail -n 1 | grep -oE '\d+.\d+.\d+'
This way you will not need to download 2 versions of sbt

In general, for build reproducibility, a project is expected to specify an exact sbt version, rather than just using whatever's lying around more globally. What you have globally is just a launcher, capable of launching many different versions of sbt.
see also #6

Nicely said. We should say that officially. /cc @eed3si9n

(closing, but @dwijnand, if there are release steps followed whenever a new sbt version comes out, perhaps you could add add "bump version in scala/scala-seed" to them, so updates like #13 don't get delayed?)

I'll add it to the checklist, thanks.
Btw, as of sbt 0.13.15 sbt writes out its version in project/build.properties: https://github.com/sbt/sbt/pull/3025 / https://github.com/sbt/sbt/releases/tag/v0.13.15.


Update asset #45 info (TBD)

refer to
https://statemine.statescan.io/asset/45_1243780

Logo
logo-monkeydoodle.zip
Symbol
CRIB
Name
Crib
About
Crib Coin
Links
website (link icon)
https://www.monkeydoodle.io/

I can not get confirmation from the team, so I will close this issue.


Add GaussMarkovProcess pybind11 interface and examples

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature

Part of #300

Summary
This PR creates a GaussMarkovProcess Pybind11 interface and adds examples
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1


--split throws an error

when running on 0.2.1 the command
# Echo exemplifies the fact that my input is a list of IDs from a process
echo -e "SRR19440534\tSRR19440543" | grep . | xargs ffq --split -o T/

The program throws this error:
Traceback (most recent call last):
  File "/mnt/disk/miniconda3/bin/ffq", line 10, in <module>
    sys.exit(main())
  File "/mnt/disk/miniconda3/lib/python3.9/site-packages/ffq/main.py", line 245, in main
    with open(os.path.join(args.o, f'{result["accession"]}.json'),
TypeError: string indices must be integers

Notes:

omitting --split works
even ffq --split -o T/ SRR19440534 SRR19440543 fails, but I wanted to supply my use case

Thank you for the PR! For other readers, this issue has been resolved thanks to @telatin and is now in the dev branch (and is soon to be merged into master).


Keep example updated: change result type

Now the code does not compile. It compiles when i change all the return type from -> Result<(), Box> to -> Result<(), String>

change result type
This makes lib.rs compile.
add the missing argument
There is one missing argument in $contract.call which makes Vue crash. After adding the missing argument, it works.
https://github.com/johnhorsema/wavelet-todo/pull/1

Thanks a lot for updating the tutorial! LGTM :).


Badge with number of stashes

It would be nice to have a badge indicating the number of stashes on each repo line in the explorer.
This is especially handy when working with multiple repos.

Nice suggestion. I added it as a configuration token (${stashesCount}) for the repository label. You may want to check documentation to configure it the way you prefer.

Works great, thanks :)


[IMPROVEMENT] Create our own loading indicator instead of AVLoadingIndicatorView

Description
I think we should create our own loading view instead of using AVLoadingIndicatorView.
com.wang.avi.AVLoadingIndicatorView is deprecated and we are not using other types of loading view.
Removing this library and creating our own loading widget will also help us to reduce the app size.

Replying here too: There is an internal work to change our loading indicator. Not sure if it need to be done right now.


OCR fails saying "/bin/bash: line 6: tesseract: command not found"

Hi again ...
I'm trying to OCR a piece of text on my computer.
If I take a screen shot with the Mac, store it as scr.png, then run tesseract scr.png stdout -l fra+engin the directory where sir.pngis stored, everything works well, and I get an echo of the text.

Hmm, most likely this means that tesseract has been installed at a different location than usual. Could you tell me which installation method you used?
Nevertheless, this should be an easy fix, as I'll only have to add your installation location to the list of locations Alfred should look for binaries. Could you run which tesseract in the terminal and copypaste the result here?

Yep, so the issue is that my version of homebrew stores the bins in /opt/homebrew/bin/.
I'm going to try to propose a pull-request - if I can learn how to do it ...

Ah, I think that is a result from Homebrew using a different installation directory for M1 Macs. I added the location to the PATH Alfred will use.
I am rejecting your PR, not because it does not work, but because I decided to break out the OCR-related code into a separate script file, so it is easier to fix / add locations to it in the future via Pull Request without having edits all over Alfred's info.plist 🙂


Updates for “Advisory board” page

[ ] Remove Phil

[ ] Add “Katrina Alcorn” portrait, title

Title:
General Manager of Design

[ ] Update Mike’s title to “Executive Creative Director, Design, IBM Distinguished Designer”

[ ] Add Tessa Rodes portrait

[ ] Add Nigel Prentice portrait

FYI @alisonjoseph

Crops. FYI @jeanservaas

@laurenmrice Can we get these updates done soon and PR made for approval.


Mention discourse forum

I think it would be good to connect this with the discourse forum.
Something like?

Registered ecosystem packages can get their own tag to use on the scverse forum for user discussion.

We can also mention that possibility in the statement about support level


IErrorProviderFactory Crash when multiple instances open

If I open multiple instances of VS and try to launch a second project it crashes.
Using 1.1 Beta

Microsoft Visual Studio
No exports were found that match the constraint:
ContractName	Microsoft.VisualStudio.Text.Adornments.IErrorProviderFactory
RequiredTypeIdentity	Microsoft.VisualStudio.Text.Adornments.IErrorProviderFactory
OK
222 ERROR SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage] {E269B994-EF71-4CE0-8BCD-581C217372E8} 80131500 VisualStudio 2015/05/06 20:30:18.168
223 ERROR End package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]

@crwilcox can you reproduce this issue at all with the latest builds?

closing, as there's been no repro on this yet.


Spaces in Connection String leads to unexpected behaviour

As mentioned in the documentation, connection strings defined in the format of "RunAs=xxx; yyy" - the space causes the connection string to not work as tested locally (Visual Studio credential vs AzureCLI scenario being tested locally).
We were setting AzureCLI connection string "RunAs=Developer; DeveloperTool=AzureCli" but it was picking up Visual Studio credential.
Removing the space did the trick.

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

ID: fe303b99-ea26-a458-6f98-2f93465fb346
Version Independent ID: 1acbd255-4c40-4f9f-7205-3fcdcc1a527b
Content: App Authentication client library for .NET - version 1.6.0 - Azure for .NET Developers
Content Source: api/overview/azure/latest/service-to-service-authentication.md
Product: azure
GitHub Login: @jlichwa
Microsoft Alias: jalichwa

//cc: @nonik0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Thanks for sharing @aakashpahwa-msft. I created a PR here  with the fix to the documentation
This was the section in code. I would have thought an error would have been triggered.


[Tooling][Release] Adding release script

What are you going to find here?

New script to start the automation of bittensor release
New file CHANGELOG.md to track releases

Right now this file is the concatenation of releases descriptions

This script will generate:

new github tag
new github release (with release notes auto generated)
new release notes (autogenerated by github) in CHANGELOG.md file
new python wheel in pypi
(TODO) new docker image in dockerhub

Nice! Can we also add some instructions on how to use this script?


Add node 4.2 (LTS) to travis CI

The node 4.2.* branch is LTS. Should be important that Ramda supports these releases.

:herb:

I would certainly also suggest to get rid of iojs - what about nodejs v5 though ?

Removed iojs build. I can add v5 if you want.

:deciduous_tree:


Express. static invalid in PM2 production environment

Is what circumstance can make static resource is invalid, I met this problem in a production environment, the path I'm sure the server is a path, through the "domain name" (HTTTP: / / www.xx.xx/resourceName) "access return status code is" 404 ", However, in a development environment access through ("localhost:9000/ resource name ") is fine
my  code:
app.use(express.static(path.join(__dirname, '../public')));

Hi @whitedxz sorry you are having trouble. Even though the path may be right, the only reason is that the file is just not there on your production server. You can add DEBUG=send to see exactly the full path of the files it is looking for on your server when you make a request to help you debug. You can find more information on debugging at http://expressjs.com/en/guide/debugging.html
If you still need help, please reach out to one of our support channels like Gitter.

I tried..... find this path, but I'm sure there is this path on the server, and there are resource files in it,Still not accessible

I then return the HTTP status code 404 with [" domain name/filename "]

Hi @whitedxz sorry you are still having trouble. Unfortunately without access to your environment, we don't know what could be wrong. I suggest that you run that debugging statement on your server to see the exact path it is looking for your files.


[feature] functionality to change the tracking ID name

[description]
eg. the tracking ID variable originally set to the name "GA4 ID", need to manually update the name in the config file, otherwise the current google tag is taking the GA4 ID than GA4 config and the new ID variable will link to every GA4 tags
[target]
add functionality to change the tracking ID name (Measurement ID -> custom name if set)

Hi, @55GL
The Google Tag new feature has been released. You may use your own measurement ID or variables with Google Tag Name. For example,

if you have an existing GA4 - Configuration Google tag
there also existed a measurement ID that says, G-X

With two input fields filled, we'll modify the existing configurations in GTM after importing it. Also, the used measurement ID will be applied to the created tags. Then, we can abandon the changes made accordingly. Let me know if you have further questions and if so, please open the issue again. Thanks.
Best,


Update the production guide to use pipx

We are now using pipx rather than pip3 so the step-by-step guide should reflect this.

Thanks!


[fix][broker] Fix avoid creating new topic after migration is started

Motivation
Right now, blue broker deletes the topic once all producers and subscriptions are migrated to green cluster. Blue cluster persist topic's migration state into zk with managed-ledger metadata. However, once topic fully migrates to green cluster, blue cluster broker deletes the topic and deletes the topic's managed-ledger metadata because of that next time if client connects to blue-broker on the same topic, blue broker recreates the same topic again which can cause incorrect connection and data loss during migration. Therefore, blue broker should not allow any new topic creation if migration is started for that namespace to avoid such data loss and incorrect connection. This PR depends on #21354
Modifications
Broker fails to create topic if migration is enabled for that namespace and sends migration error to client so, client can connect to green cluster.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report

Merging #21357 (0619693) into master (eb9fa63) will decrease coverage by 35.34%.
Report is 4 commits behind head on master.
The diff coverage is 11.35%.

@@              Coverage Diff              @@
##             master   #21357       +/-   ##
=============================================
- Coverage     72.10%   36.77%   -35.34%
+ Complexity    32291    12263    -20028
=============================================
  Files          1875     1711      -164
  Lines        140068   130851     -9217
  Branches      15431    14288     -1143
=============================================
- Hits         100997    48115    -52882
- Misses        31008    76398    +45390
+ Partials       8063     6338     -1725

Flag
Coverage Δ

inttests
24.21% <11.35%> (?)

systests
24.65% <11.35%> (?)

unittests
32.00% <11.65%> (-40.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...org/apache/pulsar/broker/ServiceConfiguration.java
98.05% <100.00%> (-0.92%)
:arrow_down:

...ava/org/apache/pulsar/client/admin/Namespaces.java
0.00% <ø> (-66.67%)
:arrow_down:

...g/apache/pulsar/common/policies/data/Policies.java
54.54% <ø> (-4.55%)
:arrow_down:

...ava/org/apache/pulsar/broker/service/Consumer.java
62.65% <0.00%> (-23.59%)
:arrow_down:

.../java/org/apache/pulsar/admin/cli/CmdClusters.java
0.00% <0.00%> (-74.08%)
:arrow_down:

...oker/service/nonpersistent/NonPersistentTopic.java
48.01% <50.00%> (-23.67%)
:arrow_down:

.../org/apache/pulsar/broker/admin/v1/Namespaces.java
8.26% <0.00%> (-43.86%)
:arrow_down:

.../org/apache/pulsar/broker/admin/v2/Namespaces.java
19.48% <0.00%> (-47.42%)
:arrow_down:

...pache/pulsar/common/policies/data/ClusterData.java
11.11% <0.00%> (-60.32%)
:arrow_down:

...rg/apache/pulsar/broker/service/AbstractTopic.java
59.22% <50.00%> (-26.97%)
:arrow_down:

... and 9 more

... and 1476 files with indirect coverage changes

I will reopen this PR as soon as other depending PR will be merged.


Redesign third party extensions table

Kind of issue

[ ] Feature
[ ] Bug
[x] Design
[ ] Other, namely:

Description
The third party extensions table is now a bit unusable because the third party extensions have grown a lot. We definitely need scrolling.
Also seems to me that the even-odd contrast change is too much aggresive.
I want to propose too to add the icon before the extension name, but for that we need to extract the icon slug from the link in the main repo utils.js file. Thinking on something like:

Note in the main repo we've now got 'extensions' and 'libraries' - perhaps something similar here would help?

I've separated both types of extensions in the wasm site, check https://wasm.simpleicons.org/?modal=extensions

Lovely! Unsure what the 'optimal' implementation of this would be for any re-work of the site, maybe dedicating some of the grid to a 'use Simple Icons in...' card with our officially recognised extensions, and then have the libraries be the modal?


Test env clean up

TravisCI build is failing for some reason. Same test passes locally. Will ignore failure


Make version name required for now in FrontendHubAccess.getChangesetFromNamedVersion

IModelHub team needs some time to implement this change and would hold up 3.0 release. Temporarily make it required

Had another discussion with Hub and Viewer team; we will close this pr, and add some client-side handling in the new client pkgs to fulfill our requirement.


feature suggestion: add a callback for expired entries

Hello,
At this precise moment, I'd really love a callback called just before (or right after) an entry expires.
Thanks

There is timeout callback, undocumented.
It runs after the key is deleted without sending the value into it. One of the 2 should be available:

(preferably) sending both the key and the value to the callback
running delete after callback so that the value could be accessed from the cache

Thoughts @ptarjan?

I like it happening after the delete since the notion of a callback is to tell you once it is done. Is be open to adding the value if you send a PR (and add it to the docs :))
Sent from my iPhone

On Jun 7, 2016, at 7:14 AM, Robert Pallas<EMAIL_ADDRESS>wrote:
There is timeout callback, undocumented.
It runs after the key is deleted without sending the value into it. One of the 2 should be available:
(preferably) sending both the key and the value to the callback
running delete after callback so that the value could be accessed from the cache
Thoughts @ptarjan?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


README.md: Real-world examples are outdated/contain dead links

Inside the README.md, you've linked and briefly described the sops-nix setup of your personal configuration as real-world example.
However, its description appears to be out of date as your configuration seems to have deviated quite a bit from the documented method of using sops-nix: For once, it no longer has a secrets directory for each host containing secrets. Consequently, the respective link is dead. In addition, it does no longer contain a .sops.yaml with the respective creation_rules. (Instead, you seem to have resorted to using a 'sops' directory in your configuration repository's root containing symlinks and 'key.json' files for each host/user.)

You are right. I am using this cli now: https://git.clan.lol/clan/clan-core/src/branch/main/docs/secrets-management.md
I replaced the link.


Workaround to cross-DB queries

Cross-DB queries in Babelfish are supported in procedures, but not in views and functions. This limits the usage of joins in cross-DB queries. The following workaround was suggested in #20:
GRANT SELECT ON ALL TABLES IN SCHEMA department_dbo TO PUBLIC;
ALTER DEFAULT PRIVILEGES IN SCHEMA department_dbo GRANT SELECT ON TABLES TO PUBLIC;

Copying it here for better visibility and for opinions on the applicability of such workaround.

@bill-ramos-rmoswi  what's your view on this?

Hi @psrinivasa2 , if this syntax works for you using T-SQL syntax in Babelfish, go for it!
However, if you need to do the grant and alter's in PostgreSQL, you are in unsupported territory.
The Aurora PostgreSQL team does not support changing any permissions using a PG connection because of unintended consequences to the base security model implemented in T-SQL with multi-db migration mode. You are completely on your own and could be open to security vulnerabilities.

@bill-ramos-rmoswi  thanks bill, I will do check on targeted role permission rather than public. Curious to know what is the workaround for CROSS-DB queries in Aurora PostgreSQL?

@bill-ramos-rmoswi  any idea on above query?
_Curious to know what is the workaround for CROSS-DB queries in Aurora PostgreSQL?

@bill-ramos-rmoswi waiting for this, helpful to know about the workaround for cross db joins in  Aurora PostgreSQL? so that in future if we need to come 'Aurora PostgreSQL', we will have clue on it

The next release of Babelfish looks like it will be fixed. In PostgreSQL, databases are very different than Babelfish "virtual" databases. To do cross DB joins, you need to use the PostgreSQL Foreign Data Wrapper - like a SQL Server Linked Server - to create a foreign table that you can perform queries against.


Fix jumpbox key

It was referencing the director SSH key, rather than the jumpbox ssh key.
Thanks!
Jake & @alamages

Thank you, @aclevername and @alamages


feat: remote fk errors

This PR was merged but not closed here, hence closing it, all the CI changes in this have been merged into the prev PR and will come in the new features PR from cleanup


Replace Pandas with Polars

Would it be possible to replace Pandas with Polars https://github.com/pola-rs/polars ?
Polars is Rust based dataframe library, which is much faster, has less memory usage and lightweight in size.
https://github.com/pola-rs/polars?tab=readme-ov-file#performance-

@simjak Hello I am interested in this enhancement. Could you please assign it to me ?


Add CheckBoxController

Enables to create checkboxes, I provided a sample in the SimpleExample.
Closes #9.

Looks good. Thanks for your contribution!


[FR] Tests: provide a way to point to a custom setuptools wheel

What's the problem this feature will solve?
I want to update setuptools to 60.9.3 in Fedora. In our build environment there's no internet access. This means that tests using among others a newly added fixture setuptools_wheel have to be disabled, as this fixture uses module build which needs internet to install wheel. But, during the build, we create our own setuptools' wheel which could well be accessed and used by the tests.
Describe the solution you'd like
If the fixture was enhanced to first look at a customizable location (eg. by an environment variable) and if not found, proceed to the current logic, this could bypass the internet issue. As this feature could find other use cases, would you be interested in such enhancement? Do you have any suggestions about the preferred approach?
PoC working in our case:
def setuptools_wheel(tmp_path_factory, request):
    if 'LOCAL_WHEELDIR' in os.environ:
        for filename in os.listdir(os.environ['LOCAL_WHEELDIR']):
            if filename.endswith(".whl"):
                return os.path.join(os.environ['LOCAL_WHEELDIR'], filename)
    with contexts.session_locked_tmp_dir(request, tmp_path_factory, "wheel_build") as tmp:
        <snip>

Alternative Solutions
No response
Additional context
No response
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

Hi @befeleme , thank you very much for bringing this up.
Would something like I did here https://github.com/pypa/setuptools/blob/4b5baaa91ea439fc629fe50e8450077ebf061580/setuptools/tests/conftest.py in the context o #3049 work for you?

Hi @abravalheri, thank you, we could definitely utilize those bits in our environment! :)

Perfect, let's extract that part of the PR in a separated one.


better way to set Cookies.default

I meet the Cookies.expire doesn't work problem, cause by wrong way to set Cookies.default.

Then when you use Cookies.expire('key') will not expire the Cookie key in the current path. You can still get the cookie by Cookie.get('key').
If someone meet the problem that Cookies.expire doesn't work as you wish.  Cookies.default = assign({}, Cookies.default, { expires: 3600 }).
do the assign inside cookie-js. Maybe will need a func setDefault, Cookies.setDefault({ expires: 3600 }).just like some other Project . eg: i18next, i18next.init({yourSetting}).

Hey @AnthonyACE ,
You can do the following to set the expires parameter without overriding other settings:
Cookies.defaults.expires = 3600;

Thx a lot


[SP-5232] - Backport of PDI-17440 - Preview at Mapping step freezes S…

…poon when previewing with fewer rows (7.1 Suite)
@smmribeiro

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/debug/TransDebugMeta.java
  engine/test-src/org/pentaho/di/trans/debug/TransDebugMetaTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: +0.1% (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:


CXXCBC-53: expose get and upsert to public API

This is the part of CXXCBC-53, it does not include implementation of durability, but refactores several internal structures to expose them in public API section. In particular get() and upsert() operations. Next PR will depend on this one, and add the rest of mutation APIs including durability options.

+1 -- The changes look good to me, but probably should have another pair of eyes to confirm due to the breadth of change.


Use lasso-istanbul-instrument-transform to instrument FE code

I was getting some coverage errors that had to do with correctly instrumenting the FE code. It's currently done after Lasso has loaded and wrapped it. This switches to do it once it is required.

Thanks! Just published<EMAIL_ADDRESS>🎉


Add micropython for running python programs

Hi,
this PR adds micropython to the sources, enabling the execution of python scripts on the yi camera.
After https://github.com/roleoroleo/yi-hack-Allwinner-v2/pull/461 is merged, a small python program could be used to receive messages (via the ffi module) in a loop, instead of having ipc_notify spawn a new process for each message received.

I just wrote a simple python program which receives a message from the ipc_dispatch queue, which works great!
#!/tmp/sd/yi-hack/bin/python3

import ffi

# Constants
O_RDWR     = 0x0002
O_CREAT    = 0x0200
O_NONBLOCK = 0x0004
BUF_SIZE   = 512
QUEUE_NAME = "/ipc_dispatch"

# Open standard library
libc = ffi.open("libc.so.6")

# Lookup mq_open and mq_receive functions
mq_open    = libc.func("p", "mq_open",    "si")
mq_receive = libc.func("i", "mq_receive", "isip")

# Call mq_open on /ipc_dispatch queue
queue = mq_open(QUEUE_NAME, O_RDWR)

# Receive one message
buf = bytearray(BUF_SIZE)
mq_receive(queue, buf, BUF_SIZE, None)
print(''.join('{:02x}'.format(byte) for byte in buf))

I think this opens many new possibilities regarding plugins. Looking forward to feedback and ideas :slightly_smiling_face:

I think you have forgotten a redirection in the file system.sh
About micropython compilation I have a couple of question:

The build process cannot find ffi.h. Probably you have this include in the host and it works but in my case I have to add CFLAGS in compile.micropython:
export CFLAGS_MOD=-I(PATH_TO_ffi.h)
I also have a linker problem. I need to chagne LD_FLAGS_MOD to
export LDFLAGS_MOD="-L${SCRIPT_DIR}/libffi/_install/lib -lffi"
The last section of compile.micropython:

# Copy upip package manager for micropython
#mkdir -p "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1
cp ./build-standard/frozen_mpy/upip.mpy "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1
cp ./build-standard/frozen_mpy/upip_utarfile.mpy "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1

doesn't work for me, the path doesn't exist.
Could you please check these problems?

Hi @roleoroleo,

I think you have forgotten a redirection in the file system.sh

Do you get errors on startup?

About micropython compilation I have a couple of question:

The build process cannot find ffi.h. Probably you have this include in the host and it works but in my case I have to add CFLAGS in compile.micropython:
export CFLAGS_MOD=-I(PATH_TO_ffi.h)
I also have a linker problem. I need to chagne LD_FLAGS_MOD to
export LDFLAGS_MOD="-L${SCRIPT_DIR}/libffi/_install/lib -lffi"

You are right, I accidentaly installed libffi inside the dev container and didn't notice that the compiler used the host's header file. This should be fixed now :slightly_smiling_face:

The last section of compile.micropython:

# Copy upip package manager for micropython
#mkdir -p "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1
cp ./build-standard/frozen_mpy/upip.mpy "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1
cp ./build-standard/frozen_mpy/upip_utarfile.mpy "${SCRIPT_DIR}/_install/.micropython/lib" || exit 1

doesn't work for me, the path doesn't exist.

Just to be sure: Did you comment out the mkdir command by accident? Which path exactly does not exist?
I just rebuild the dev container (dropping any state it had before) and ran init.micrypthon && compile.micropython which works with the latest commit.

Do you get errors on startup?

No, simply /etc/profile is not filled:
echo "PATH=/tmp/sd/yi-hack/bin:/tmp/sd/yi-hack/sbin:/tmp/sd/yi-hack/usr/bin:\$PATH"

Just to be sure: Did you comment out the mkdir command by accident?
Yes, sorry.

Which path exactly does not exist?
I just rebuild the dev container (dropping any state it had before) and ran init.micrypthon && compile.micropython which works with the latest commit.

./build-standard doesnt' exists
Inside micropython-1.19/ports/unix I have variants and x86_64-pc-linux-gnu folders.
Probably it depends on the host architecture.
I'm using a 64 bit debian.

No, simply /etc/profile is not filled: echo "PATH=/tmp/sd/yi-hack/bin:/tmp/sd/yi-hack/sbin:/tmp/sd/yi-hack/usr/bin:\$PATH"

Yes you are right. Seems I missed this line :sweat_smile: Fixed with https://github.com/roleoroleo/yi-hack-Allwinner-v2/pull/471/commits/8a5ce3952be63d742ddb0379f7688172408fc3c4

./build-standard doesnt' exists Inside micropython-1.19/ports/unix I have variants and x86_64-pc-linux-gnu folders. Probably it depends on the host architecture. I'm using a 64 bit debian.

It seems that the host's toolchain is picked up. I don't really know why this is happening. Did you
export STAGING_DIR="/opt/yi/toolchain-sunxi-musl"
export PATH="/opt/yi/toolchain-sunxi-musl/toolchain/bin:~/.local/bin:$PATH"

before running init.micropython and compile.micropython? The latest commit https://github.com/roleoroleo/yi-hack-Allwinner-v2/pull/471/commits/3b62f4bbe89ce97477a90655960e47a2145a1500 explicitly sets the variant name and the build output folder and uses absolute paths for copying the build files. Maybe this will work.

The latest commit https://github.com/roleoroleo/yi-hack-Allwinner-v2/commit/3b62f4bbe89ce97477a90655960e47a2145a1500 fixed the problem of the folder.
The last problem I encountered is install.libffi, you need to add a "../":
mkdir -p ../../../build/yi-hack/bin/ || exit 1
rsync -av ./_install/* ../../../build/yi-hack/ || exit 1

Ah no...
Another question.
The SD card is FAT32 formatted, so doesn't support symbolic links.
You should copy libffi.so.8.1.0 to libffi.so.8 and libffi.so

https://github.com/roleoroleo/yi-hack-Allwinner-v2/pull/471/commits/c0a5902c9d006e5e221512a0eb764567f1166826 added the missing ../ in install.libffi and fixed the cp command in compile.libffi to use dereference mode, so that symbolic links are followed and the actual files are copied. I hope it works now :grin:

Yes, it works properly.
Thank you for your contribution.


Section 10 Notes

Hello,
At section 10 would it be possible to add what version the setinputmessagehandlerasync was removed and also delete the last line of code as it causes a little bit of confusion.
at section 10, could the last line be removed as it causes confusion:
// Register callback to be called when a message is received by the module
await ioTHubModuleClient.SetInputMessageHandlerAsync("input1", FilterMessages, ioTHubModuleClient);)

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

ID: 181d5562-f8d7-9c59-85ea-09efbe397f3e
Version Independent ID: dbedd952-a050-286e-c951-4529ec8e87b8
Content: Azure IoT Edge C# module
Content Source: articles/iot-edge/tutorial-csharp-module.md
Service: iot-edge
Product: unspecified
GitHub Login: @kgremban
Microsoft Alias: kgremban

Found SetInputMessageHandlerAsyncunder preview-001's

@Wintekso Thank you for your feedback! We will investigate and get back to you with our findings.

@Wintekso We have assigned this issue to the author to investigate further and take the right course of action.

Hi @Wintekso are you asking that in the code snippet in the article, we include what the setinputmessagehandlerasync call looks like in the template before you replace it. Is the confusion coming from the code itself, or from not knowing where to paste the code snippet and how much to overwrite?

@Wintekso Checking in again to see if you can clarify your feedback in this issue.

@mike-urnun-msft would you #please-close this issue until Wintekso is able to provide more details?

@Wintekso We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@kgremban Hello, sorry for the delay, yes had to work out that it was before and after but think it would be helpful to state in the snippet with comments to say before/after, or have two snippets showing before and after so its obvious straight away.


automatically stop overwrite

I know that you can automatically overwrite if output exist with .overwrite_output()
but what if you don't want to overwrite?
it is not possible to add overwrite_output=True for over write and overwrite_output=False for not.

If you call ffmpeg-python like this:
import ffmpeg
stream = ffmpeg.input('input.mp4')
stream = ffmpeg.output(stream, 'output.mp4')
ffmpeg.run(stream, overwrite_output=False)

You can provide the overwrite_output keyword when calling run or other 'output' methods.
Here is the option in the source code for the run method: https://github.com/kkroening/ffmpeg-python/blob/master/ffmpeg/_run.py#L297
The other output_operators also have that keyword.

@153957

Note that 'False' is already the default. If you simply do not specify it it will not overwrite it.

I was not able to confirm this behavior. overwrite_output=False acts as if neither -y nor -n was specified, making it ask interactively and then error out when file exists, whereas one would expect overwrite_output=False to just not overwrite the file.
Current behavior:

overwrite_output=False -> asks interactively, errors out when not overwriting
overwrite_output=True -> overwrites (-y)

Expected (intuitive) behavior:

overwrite_output=False -> does not overwrite (-n)
overwrite_output=True -> overwrites (-y)
overwrite_output not specified (perhaps the default should be overwrite_output=None) -> errors out when file exists


docker-compose.yml should not be reformated

Including a docker-compose.yml as project, causes some reformating (e.g. indenting), which means a version control system recognizes this as change. This is not so ideal if a IDE reformats file before commiting based on a team wide configuration.
It would be helpful if this can be configureable within settings and disabled by default.

I'm not sure that it's easy way. Because during your some change action -
We parse your YML config to an array -> adding your changes to the array -> convert array comeback to YML and write it to file. We got a default YML standards with 2 spaces. If you're using some other style I think that need to find some other way for after styling your config. If we disable the possibility to change YML config you will not able to make changes from the app.

Ok, i see. That might be a big change.
Maybe you could make the number of spaces configureable.

Yep. We can add it into project settings.
Do you use 4 spaces?

Normally we're also using 2 spaces, but it seems we looked over it in the coding styles for our IDE.

Not just spaces. It also removes blank line. In my docker-compose file I have all services separated by 1 line to make reading easier. After initializing a project in DockStation all blank lines got removed :)

Any news on this? Looks like all strings are reformatted and encapsulated, comments are removed, syntax is then re-optimized, ...

Yes. We're testing this. We implemented AST processing.

Re: any news on this? I am still getting reformatting and removal of comments, which I was using to delineate groups of containers.


Get enum from memory reference

Hello,
I'd like to set and get an enum from the memory, but it seems like there are no getter for it. I found the MemoryReference::set<T: JsSerialize>() but there is no MemoryReference::get<T: JsDeserialize>(). Any idea how I could do that?
Thanks!

The getters are per type. If you expect to get a f64, you should use MemoryReference::path_f64(path).
This is made to insure the values extracted from the memory are typed. If you don't want to type them, it should be always possible to extract them via MemoryReference::path_string(path) or your_reference.string(key).

I do it in my fork, https://github.com/Stargateur/screeps-in-rust-via-wasm/commit/7daa17ee1095fabb9ba4fb355b6fa6366fe3c3b5. However, if you want stock an enum I think you must use https://docs.rs/stdweb/0.4.8/stdweb/macro.js_deserializable.html and https://docs.rs/stdweb/0.4.8/stdweb/macro.js_serializable.html to make it work with custom type.

That's what I wanted to do, use js_serializable and js_deserialisable. What I find weird is that the setter is implemented for T, but there is no getter for T. (Btw, the setter works for enums that implement JSSerialize, so I'd expect it to work for JSDeserialize as well).
I can make a PR for get and get_path, otherwise I'll just implement it in my fork.

I think a generic get was originally avoided because it could be used incorrectly with RoomObject types like Creep, but #45 and the change to return Option<Result<>> rather than Option have largely fixed those concerns for me.
I'd be good with adding get and get_path. If @ASalvail agrees, feel free to PR or one of us could implement it as well.

So, I am trying to use the set and get methods to store and retrieve a screeps::RoomPosition to memory, but I'm not entirely sure how to correctly use this.
match creep.memory().get<screeps::RoomPosition>("target")
{
    Ok(target) => move_to(target),
    Err(_) => warn!("Something went wrong trying to get target from creep")
}

Is this the correct way to go use this method?


ALVR over internet?

Would it be possible to run ALVR over internet like you can with moonlight or streamtheater? I imagine the lag would be nauseating but would be an interesting experiment.

It is possible! Take a look at the guide that I posted in the Wiki for ideas. It's based on using a Cloud Gaming server, but you could technically use the same methods if you're hosting yourself. The key would be having enough internet upload speed to make it a good experience. Keep in mind that ALVR recommends a 30 Mbps connection. So your internet should have at least that much upload to handle it smoothly.
https://github.com/polygraphene/ALVR/wiki/Setting-up-ALVR-for-VR-Cloud-Gaming-(no-Gaming-PC-required)

I have 80Mbps upload and download.. ill see if i can get it working

It's a interesting idea.
It would be nice if ALVR works good over the Internet.
But, we need a lot of work for solve some problems (e.g. securiy, performance) if using over the Internet.
Currently, I recommend to use VPN if you want using the Internet like the above article.

Yeh for sure. Ill give it a go on vpn and see how it fairs

I tried this method using the inbuilt windows 10 vpn, connected successfully with my phone and made a hotspot then connected the GO. It was working and pulling 30Mbps up and down on the go, however alvr did not find the client. Ill try it qith zero tier next and see if it can work.

vpn is probably fine for doing this but it would be a lot easier just having a "allow this device to connect over the internet" checkbox next to "auto-connect". Also a setting for host ip address somewhere on the server settings so we can enter "something.dyndns.org" and this gets sent to client next time it connects to the server on the local network.

I couldnt get it working thru my mobile phone with zerotier and wifi hotspot. But i wasnt able to do some of the steps without using a router and wrt so not surprising i suppose. I dont rly know how zero tier works tho, its all very complicated. Mabe you want to test that setup and let me know if u can work it. The vpn did connect, just didnt find alvr again.

ALVR uses broadcast packet to detect clients. So you must put ALVR server and client on the same subnet.
For example, if ALVR server is on <IP_ADDRESS>, the client must have address 192.168.1.*.
Therefore we need layer-2 VPN which can transport broadcast packets.
I think you are using layer-3 VPN. Please check IP Address on both server and client.

Right, the key with my guide is that the VPN Router is acting as a wireless bridge to the VPN network. It’s making sure that your headset ends up on the same ZeroTier subnet as your server. So it won’t work over a hotspot unless someone comes up with a ZerTier client for the Go. Which is possible, but beyond my skills. I’m a network guy, not a programmer.

I see. Well i do have an asus router that can take internet (wan) from my mobile via usb, so i guess ill try that avenue next to test it.

Btw- the zerotier client works on the go, you can configure it using Vysor.. but its still not working. any ideas?

Did you setup the ZeroTier network to use the IP’s and ranges from the guide? Did you uncheck the IPv6 box on the ZeroTier page? Did you assign the proper IP’s and enable both the Cloud Server and the Go on the ZeroTier page?

Yep i did all those things except instead of using the ips u gave i used similar ones in the same range as my home network (<IP_ADDRESS>) would that mess it up?

okay i changed the settings to exactly in your guide and still no go. the VPN is definately working though as the go is showing the same web ip address as my pc, and doing a speed test shows that the internet connection is through my home ISP, even tho the go is connected to the web via my mobile LTE

On the headset side of things, the setup will be the same as the Gaming PC at home. So we aren’t checking the bridging box on the ZeroTier Page. Did you manually assign the headset an IP in the 10.99.5.x range? Are both the headset and Gaming PC showing that they’re online on the ZeroTier network page? In the ZeroTier App on the Go, does it show that it’s connected and that the Status is Ok?

Ahh ok ill try unclicking the bridging then. And yes i manually assigned ip addresses for both but only on the zerotier page as there is no way to assign an ip on the go itself for the phone hotspot connection

And yes both are online with good status

The only other detail that makes my setup different from yours is that my local network is setup for a 192.168.1.xxx subnet. Not sure if that will make a difference, but you're using a similar IP range to what's setup on the ZeroTier network. Might make a difference to switch your router to 192.168.1.xxx and see if it changes anything.

I got it to work with SoftEther.
I use a thin client (but any PC will do it) with Windows here for Shadow that also acts as the SoftEther VPN daemon. I also connected my Oculus by USB-ethernet, but a WiFi dongle connected to the thin client would do it also.
It's way easier to set up and less costly. For USB-Ethernet beware that not all dongles are compatible with the Oculus.
Just before, don't use the SoftEther VPN protocol. As far as I remember it is Ethernet over HTTPS and results in heavy packet loss when streaming (350000 loss were just 150000 were successfully sent).
For the SoftEther daemon you'll need L2TP over IPSec and EtherIP/L2TPv3 over IPSec enabled.
SoftEther is already listining on TCP port 443, but you may also need to open the port in your firewall settings. On the routers side, forward port 443 on TCP.
That's it on the Shadow client side.
On the Shadow PC install the SoftEther client and just create a new connection with the host/IP to your home. The default port 443 is already the correct one. On the right hand side enter your credentials you previously defined in the SoftEther daemon. Connect and ALVR will find your Oculus device.
Unfortunately, there's a caveat. Here I have some small random distortions in the video stream. I'm not 100% sure, but as ALVR still shows me some package loss and that's might the reason for that, if the displayed information is correct.

After playing around a while with settings, reducing the packet loss, I fiddled out a setup that is far from perfect, but quite usable.
In the SoftEther client, so on the remote (Shadow) PC, right click on the connection and select "Properties". In the lower right click "Advanced Settings" and on the right hand side check "Disable UDP Acceleration". Save and reconnect.
Depending on the video bitrate and video content the packet loss rate is something between 0 and 40 now. Before with just a 5 Mbps video bitrate, I had a packet loss of ~1500 per second. Sometimes even higher.
In the ALVR video configuration set HEVC/6 Mbps/3072x1536 resolution & keep the buffer size at 200kB. The ALVR buffer size didn't really make a difference for me. Just too high values was even worse.
You could play around with the bitrate, but my reasonably acceptable limit were around 8 Mbps. With each MBit higher the packet loss significantly increases.

My main thing is that we just got access to an Oculus Quest. Due to the portable nature of it, I figured it'd be cool to leave the processing to the beast under the desk at home rather than trying to make a sad laptop try to keep up. Thanks for all of the tips. I'll see what I can get working.

It would be great to make it work without second router and additional software...


Add Rdklogger support for MQTTCM in Pods

Adding Rdklogger support for MQTTCM in Pods

For opensource repos, we use cimplog library which is wrapper for rdk logger . mqttcm is also github project similar to webcfg, so rdk logger apis wont be good to add in opensource code as it cannot be built in local PC. Can cimplog be used or can we follow same as webcfg rdk logger integration?


Implicit declaration of function 'TextToFloat', undefined reference to `TextToFloat'

Hi there. Trying to create program from example:
#define RAYGUI_IMPLEMENTATION

#include "raylib.h"
#include "raygui.h"

int main()
{
    InitWindow(400, 200, "raygui - controls test suite");
    SetTargetFPS(60);

    bool showMessageBox = false;

    while (!WindowShouldClose())
    {
        // Draw
        //----------------------------------------------------------------------------------
        BeginDrawing();
        ClearBackground(GetColor(GuiGetStyle(DEFAULT, BACKGROUND_COLOR)));

        if (GuiButton((Rectangle){24, 24, 120, 30}, "#191#Show Message"))
            showMessageBox = true;

        if (showMessageBox)
        {
            int result = GuiMessageBox((Rectangle){85, 70, 250, 100},
                                       "#191#Message Box", "Hi! This is a message!", "Nice;Cool");

            if (result >= 0)
                showMessageBox = false;
        }

        EndDrawing();
    }

    CloseWindow();
    return 0;
}

Compiling program with w64devkit:
gcc main.c -o main -I"C:\raylib\raylib\src" -L"C:\raylib\raylib\src" -lraylib -lgdi32 -lwinmm -std=c99 -Wall -mwindows -lopengl32

Did I miss any parameter or any library?
P.S. raygui.h file is in the raylib/raylib/src directory.

I modified the code by making
static float TextToFloat(const char *text) { ... }

the first function in raygui.h, and it works for me now.

I modified the code by making
static float TextToFloat(const char *text) { ... }

the first function in raygui.h, and it works for me now.

Thank you very much, man!!!
But could you explain why it helped?

TextToFloat() is provided in raylib 5.5-dev, that is the version that should be used with latest raygui.


Twilio alerts not working

I configured cabot according to the documentation. SID and Auth key are correct, and I have outgoing number set to a freshly bought number. I have a service with Twilio Voice alerts enabled on it, with Critical status. I never get a call :( Do I have to do anything on the Twilio Console, apart from buying a voice capable number?
I had duty rota disabled until now, just tried adding one but I get 'no shifts downloaded' on the shifts page. Could this be a problem? Is there a guide on setting up shifts?
I don't get any twilio related errors in celery-1.log or web-1.log if that's where I should get them.

AFAIR when I was doing some tests with Twilio, the duty rota had to be enabled. So yes, that might be the problem.

I've just got duty rota to work, I am on duty and I still don't get calls. I have the feeling that I have to configure the number I want to use in some way in the Twilio Console. I bought the number and haven't touched it, it has the default settings.

Alright, got it working. The problem was I didn't have permission to place international calls. If anyone runs into the same problem, I got this error:
Error making twilio phone call: HTTP ERROR 400: 21215: Account not authorized to call +36305830161. Perhaps you need to enable some international permissions: https://www.twilio.com/user/account/settings/international
Use the URL above to request it.


Regenerate .mlirbc files in e2e tests/benchmarks disabled in LLVM integrate #17330

Summary of what happened:

LLVM integrate #17330 had to disable a number of e2e tests/benchmarks. Specifically, all tests compiling a .mlirbc source that contains a tensor.expand_shape op.
The reason is that https://github.com/llvm/llvm-project/pull/90040 was a compatibility-breaking change to this op. The MLIR bytecode format version was not bumped, so it results in a cryptic error: https://github.com/iree-org/iree/pull/17330#discussion_r1595789780

This issue is about re-enabling these tests. First, all these .mlirbc files need to be re-generated with tools rebuilt after https://github.com/llvm/llvm-project/pull/90040.

was a compatibility-breaking change to this op. The MLIR bytecode format version was not bumped

That's expected. The bytecode format version is not tied to any particular dialect, and the tensor dialect makes no guarantees about its format or ops (unlike, say, VHLO from StableHLO). We've been fairly lucky recently in avoiding similar breaks.

I tried to regenerate the .mlirbc files for https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/resnet50 and https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/opt-125M, but hit issues with both. Need to apply more rigor to those frontend workflows.

resnet50 crashed in the compiler at mlir::iree_compiler::IREE::Util::serializeResourceRawData D:\dev\projects\iree\compiler\src\iree\compiler\Dialect\Util\IR\UtilAttrs.cpp:230:0
opt-125M regressed in PyTorch at some point - I can't even export it to torch-mlir (marked as failing, along with nearly all other models, at https://github.com/nod-ai/e2eshark-reports/blob/main/2024-05-07/turbine_reports/statusreport.md)

Looking through the history of https://github.com/iree-org/iree/commits/main/build_tools/python/e2e_test_framework/models/matmul.py, I can't tell how to regenerate those matmul test files. Quite a few PRs with completely empty descriptions :/
Possibly https://github.com/iree-org/iree-experimental/tree/main/iree-torch/library, https://github.com/iree-org/iree-experimental/tree/main/iree-jax/library, etc.?
We might be able to download the existing files, edit them manually to use the new tensor.expand_shape syntax, then upload them and update the URLs. I'm not sure who has access to https://storage.googleapis.com/iree-model-artifacts/ anymore though. We could push there if someone still has access or push elsewhere (a github repo with LFS, Azure, etc.)

@mariecwhite, we're going to need help here! Context in the issue description above.

For https://github.com/iree-org/iree/tree/main/experimental/regression_suite/tests/pregenerated, tests are still disabled: https://github.com/iree-org/iree/blob/258707898ae4a62d53468a51dc9dc44a1a8e22e4/.github/workflows/pkgci_regression_test.yml#L190-L197
Instructions for regenerating are at https://github.com/nod-ai/SHARK-Turbine/tree/main/models/turbine_models/custom_models#instructions, but that code hasn't been touched in a while, so it might need other updates too.

I tried to regenerate the .mlirbc files for https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/resnet50 and https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/pytorch/models/opt-125M, but hit issues with both. Need to apply more rigor to those frontend workflows.

resnet50 crashed in the compiler at mlir::iree_compiler::IREE::Util::serializeResourceRawData D:\dev\projects\iree\compiler\src\iree\compiler\Dialect\Util\IR\UtilAttrs.cpp:230:0
opt-125M regressed in PyTorch at some point - I can't even export it to torch-mlir (marked as failing, along with nearly all other models, at https://github.com/nod-ai/e2eshark-reports/blob/main/2024-05-07/turbine_reports/statusreport.md)

Okay, so https://github.com/nod-ai/SHARK-TestSuite/blob/main/.github/workflows/test_e2eshark.yml (what is generating reports like these) is actually pinned to a very old PyTorch version (2.1.0, 8 months old) by using the requirements files in https://github.com/nod-ai/SHARK-Turbine/tree/torch_2.1/core (that repo itself has also moved to https://github.com/iree-org/iree-turbine).

When I try those pinned versions I get RuntimeError: Windows not yet supported for torch.compile
When I try with PyTorch 2.4.0 I get TypeError: forward() got an unexpected keyword argument 'constraints'

Sorry this got buried in my inbox. I've updated the matmul MLIR files and included instructions on how to regenerate them here: https://github.com/iree-org/iree-comparative-benchmark/pull/181


Getting Error when inference video with detection.py with cloned model weight

command:
python detection.py -i raw_video/many_wild_birds.mp4 -o inference.mp4 --model models/model_1.00.hdf5

Error:
  File "/home/puff/anaconda3/envs/bee4exp/lib/python3.6/site-packages/keras/engine/saving.py", line 1030, in load_weights_from_hdf5_group
    str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 1 layers into a model with 13 layers.

Seems the model structure does not match, can you provide the pre-trained model?
Thanks!

@jet-c-21 , Hi, have you fixed that problem, I do have it now


Lead car speed broken

Describe the bug
Lead car speed indicator is broken and stuck at 0 mph while lead car distance work as intended
openpilot version
dragonpilot 2022.11.01 release3

fixed!
dp-priv: 44a24aebf3018e14c662aaaf928c8fe47503ee75


Update forging how-to to Qiskit Nature 0.5

This was overlooked in #83.  It is now causing CI errors in the docs workflow (see #448), now that a Qiskit version without PauliTable has been released.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2957

Relevant Lines:
3201

💛  - Coveralls


[Feature]: Multiple palettes

User story
Right now a user can only have one palette saved in localStorage.
With this feature, each palette will be saved separately (still in localStorage) and a user can view a list of all their palettes. When clicking on one of their palettes the default viewer will open again.
Requirements

[x] Save list of palettes
[x] Migrate single palette into list format
[x] Add list view for palettes
[x] Warn user about unsaved changes to current palette

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Platform view cannot be null

I'm getting the exact same error as described in this GitHub issue on the latest version
https://github.com/dotnet/maui/issues/17165
I'm testing it using a simulator running VS code on a Mac

What Maui Controls version are you on?

0.4.12

Microsoft.Maui.Controls version 8.0.40 is what you should have!

@FrankVDL2471 any updates?

I was using Maui.Controls version 8.0.40.
But couldn't wait so I removed the dependecy on FreakyControls

@FrankVDL2471  I have had this issue in the past are you facing this same issue
https://github.com/FreakyAli/Maui.FreakyControls/issues/76

I have been trying for a while and cannot replicate this!!

@FrankVDL2471 Any updates?


Bug-Fix: Fix intTestHost property, allow taking protocol + host

Update integration test command in Jenkinsfile to include protocol

retest this please


Reporting Bug: Cloud TPU init failed

Description
UserWarning: cloud_tpu_init failed: KeyError('\n\n  \n  \n  Error 404 (Not Found)!!1\n  \n  \n  404. That’s an error.\n  The requested URL /computeMetadata/v1/instance/attributes/accelerator-type was not found on this server.  That’s all we know.\n')
This a JAX bug; please report an issue at https://github.com/google/jax/issues
_warn(f"cloud_tpu_init failed: {repr(exc)}\n This a JAX bug; please report "
What jax/jaxlib version are you using?
3.25
Which accelerator(s) are you using?
TPU v2
Additional system info
Python 3.7
NVIDIA GPU info
No response

Can you share the command you used to create the TPU VM? Also are you still getting this error? (Asking to see if it's a transient error, or if you continue to get it every time)

After struggling with it for a while I found this resource (https://github.com/ayaka14732/tpu-starter#104-start-a-server-on-tpu-vm) which allowed me to develop JAX on cloud TPU without any issues. Linking for others who may also run into similar issues.


Unable to finetune graphcodebert and unixcoder

I'm trying to finetune graphcodebert and unixcoder on ubuntu vm but every time the run stops and can't proceed

Can you provide the error message？


Che 32 most queens in game

can remove the piecesOnBoardCount as it doesn't have a ton of value i think?

do you mind resolving merge conflicts on this one? Did it for your other PR

yep will resolve merge conflicts. thx for doing for the other

needs final review after merge conflicts resolution


[bug]assets path error

Ubuntu22.04, miniconda, python3.9
I just uninstall metadrive using pip and delete metadrive folder(delete assets folder). And install metadrive by pip install git+https://github.com/metadriverse/metadrive.git. However, it can't run test python -m metadrive.examples.drive_in_single_agent_env with this error:
[INFO] MetaDrive version: <IP_ADDRESS>
[INFO] Sensors: [lidar: Lidar(50,), side_detector: SideDetector(), lane_line_detector: LaneLineDetector(), dashboard: DashBoard(), main_camera: MainCamera(1200, 900)]
[INFO] Render Mode: onscreen
[WARNING] Assets folder doesn't exist. Begin to download assets... (base_engine.py:704)
[INFO] Pull assets from https://github.com/metadriverse/metadrive/releases/download/MetaDrive-<IP_ADDRESS>/assets.zip
100% |#########################################################################|
[INFO] Successfully download assets, version: <IP_ADDRESS>. MetaDrive version: <IP_ADDRESS>
Known pipe types:
  glxGraphicsPipe
(1 aux display modules not yet loaded.)
:shader(error): Could not find shader file: /home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/assets/../shaders/skybox.vert.glsl
Traceback (most recent call last):
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/examples/drive_in_single_agent_env.py", line 78, in <module>
    raise e
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/examples/drive_in_single_agent_env.py", line 52, in <module>
    o, _ = env.reset(seed=21)
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/envs/base_env.py", line 485, in reset
    self.lazy_init()  # it only works the first time when reset() is called to avoid the error when render
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/envs/base_env.py", line 371, in lazy_init
    initialize_engine(self.config)
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/engine/engine_utils.py", line 12, in initialize_engine
    cls.singleton = cls(env_global_config)
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/engine/base_engine.py", line 36, in __init__
    EngineCore.__init__(self, global_config)
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/engine/core/engine_core.py", line 288, in __init__
    self.sky_box = SkyBox(not self.global_config["show_skybox"])
  File "/home/lzh/miniconda3/envs/metadrive/lib/python3.9/site-packages/metadrive/engine/core/sky_box.py", line 53, in __init__
    skybox.set_shader(skybox_shader)
TypeError: NodePath.set_shader() argument 1 must be Shader, not NoneType

maybe there are some path error? the assets are download successfully.
Besides, I install it with pip install metadrive-simulator, no error.

Thank you. I reproduced it. It should be fixed now. Can you try it again?

It works well now! Thank you!


Text Selection Popup Positioning issue (overlapping selected text).

Issue / Feature - Text Selection Popup overlapping selected text.
FolioReader version -  0.5.4
FolioReader Stock / Modified -
Android SDK - SDK R and S.
Mobile / Tablet / Emulator Info -  Tested on Nokia 5.4 and Xiaomi Poco F11
Crash / Error - No Crash or Error
Steps to reproduce / Describe in detail -

Open any epub to get its data.
Select a particular section of text or a complete paragraph on a long tap.
As soon as the text is selected, the text_selection layout pops up. Sometimes it works fine but mostly it overlaps the selected text and makes it hard to find the start or end of the selected text.

i faced the same issue,
it overlaps the selected text if the action bar is visible.
once youre in full screen mode or i think its called (distraction free mode) no overlap occurs


[hbmqtt.broker] [MQTT-3.1.0-1] Can't read first packet an CONNECT: No more data

Home Assistant release: 0.54.0
Python release: Python 3.4.2 / Python 3.5.4
Component/platform: mqtt
Description of problem: the embedded mqtt broker does not pass messages and reports frequent new connections
I am trying to connect two hass servers so that a keypress in one can cause an action to be executed in the other.
Expected: messages pass and connections are stable
Problem-relevant configuration.yaml entries and steps to reproduce:
mqtt:
  username: skldhf84d
  password: !secret mqtt
  client_id: kooka

mqtt:
  username: skldhf84d
  password: !secret mqtt
  broker: kooka
  client_id: stuartpi3

open the firewall on the master for port 1883
start the 2 HA servers
note that no mqtt messages appear to be exchanged (may be a configuration error)
observe logs lines concerning failed and new connections

Additional info:
The HA running the broker says
2017-09-29 07:45:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:37315): Can't read first packet an CONNECT: No more data
2017-09-29 07:45:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 648 connections acquired
2017-09-29 07:45:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:53749 on listener 'default'
2017-09-29 07:45:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 649 connections acquired
2017-09-29 07:45:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:44539 on listener 'default'
2017-09-29 07:47:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:44539): Can't read first packet an CONNECT: No more data
2017-09-29 07:47:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 650 connections acquired
2017-09-29 07:47:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:56817 on listener 'default'
2017-09-29 07:47:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 651 connections acquired
2017-09-29 07:47:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:33845 on listener 'default'
2017-09-29 07:49:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:33845): Can't read first packet an CONNECT: No more data
2017-09-29 07:49:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 652 connections acquired
2017-09-29 07:49:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:57789 on listener 'default'
2017-09-29 07:49:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 653 connections acquired
2017-09-29 07:49:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:56357 on listener 'default'
2017-09-29 07:51:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:56357): Can't read first packet an CONNECT: No more data
2017-09-29 07:51:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 654 connections acquired
2017-09-29 07:51:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:40653 on listener 'default'
2017-09-29 07:51:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 655 connections acquired
2017-09-29 07:51:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:43647 on listener 'default'
2017-09-29 07:53:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:43647): Can't read first packet an CONNECT: No more data
2017-09-29 07:53:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 656 connections acquired
2017-09-29 07:53:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:39799 on listener 'default'
2017-09-29 07:53:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 657 connections acquired
2017-09-29 07:53:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:56027 on listener 'default'
2017-09-29 07:55:23 WARNING (MainThread) [hbmqtt.broker] [MQTT-3.1.0-1] (client @=<IP_ADDRESS>:56027): Can't read first packet an CONNECT: No more data
2017-09-29 07:55:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 658 connections acquired
2017-09-29 07:55:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:34117 on listener 'default'
2017-09-29 07:55:23 INFO (MainThread) [hbmqtt.broker] Listener 'default': 659 connections acquired
2017-09-29 07:55:23 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:48013 on listener 'default'

The slave HA says:
Sep 29 07:45:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:47:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:49:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:51:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:53:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:55:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server
Sep 29 07:57:23 stuartpi3 hass[629]: INFO:homeassistant.components.mqtt:Successfully reconnected to the MQTT server

The full configuration for the master and slave are in github. Discussed on the forum.

do you get any answer to this question?I want to know how to solve this problem too.

Were you able to resolve it? I am experiencing this problem too.

I replaced the embedded MQTT broker with the mosquitto broker.  That works.  You can find the configuration that I'm using to send messages between my 3 hass instances on github


Fix for breaking changes in Dash.js 2.4.0

There are 2 changes that breaks the wrapper on 2.4.0:

Change in xhr.withCredentials interface.
Refactoring of event names.

I attempted to fix these issues and add in 2 pages to test specific version of Dash.js with the build.

It would be trivial with PHP but I am looking for something totally HTML5 so it might take a while...

I think the fixes on Dash.js have higher priority so I will work on your issue on a separate PR. @ruslandinov

Just one thing left -- update the CHANGELOG, and we are good here.