Update 063.1-unikitty-flag.md

Added matter.js version of cloth flag: https://editor.p5js.org/leimapapa/sketches/5Jv2d3Nxu

Community Contribution
Link to live project, video, or image:
https://editor.p5js.org/leimapapa/sketches/5Jv2d3Nxu

Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

Thank you for this awesome contribution ❤


Company Import - Genius ITR

sample sheet

Name => Company Name
PAN => Required
AADHAAR => Company Custom Field
GSTIN => add if possible
DOB/DOI => Company Custom Field
Address => Company Address
Mobile => Contact Mobile
Email => Contact Email
Salary => Not sure what to do
Form No => ITR-Return Service Link
Covered under Tax Audit => if "Yes" Tax-Audit Service Link

Ignore row if PAN is Missing

All Software Imports are just for adding new Company, Editing existing companies are not supported
Verified / Approved over phone with @vinpahilwani / @sureshsirvi

for all Software Import
Discussed behavior
Company =>
if GST is provided =>
Save PAN and GST both
append pan if not present
create new if gst pan not matching / gst is different
1st priority check of gst
2nd pan
3rd name
Contact =>
create new if
Phone or email not matching
1. check phone
2. check email
3. check exact name

Fresh import working correctly, all done

When there is number in company name, then contact name will be firstname lastname


On Linux: How exactly does NVM update the path variable? Doesn't work for GUI apps.

I'm having an issue on Xubuntu with PhpStorm (WebStorm), and that is that apparently the application itself does not have the current node bin directory in the path variable. This is a little odd, since the variable is set properly terminal (even in the terminal that is launched inside PhpStorm).
The specific functionality that is affected by this is configuring node based programs as external tools (such aus autoless, or nodemon). To demonstrate, here is the result of printenv PATH in my bash terminal:
/home/alex/.nvm/v0.10.26/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

And here is the result if I configure printenv PATH as an external tool in PhpStorm and run in that way:
 /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

You see, in the latter case, the NVM path is not present even though it's the same command. I should mention that if I run PhpStorm from the terminal, then NVM is in the path. I'm relatively new to Linux, but it seems to me that somehow the path set by NVM does not make it's way into GUI apps (or at least this particular GUI app).
Maybe if someone could tell me how exactly NVM is setting and updating the path variable on version change, I'd understand why this happens.

For those who stumble across this looking for an answer to the question, nvm.sh is sourced in .bash_profile/.bashrc and it appears that nvm.sh changes the path through the nvm_prepend_path function which is called here.

Yes, that's correct - but please don't rely on any nvm internal functions, as I'm liable to break them at any time. If there's functionality you need exposed, please file an issue and let's talk about how to do that.


General Inspiration

General ideas, maybe source of inspiration for future projects

openwebicons
goodwin88/GameDev
Flat UI based color scheme for MLVL visualizations
neon

demo
blog

Wikipedia: Dubins path
shapefile.js
NTF - Non Fungible Tokens
Creating a scrollable list
How to Make a Two Players Game / Split Screen
How to display Sprites as Texts (with Numbers)
I made a 1D Racing Game with a LED strip
How to Make A Roguelike in One Day
Zyger:

Weapon Wheel - Unity Beginner Tutorial
I made a GAME using ONLY PARTICLES
Making a game only using ONE COLOR...
I made a GAME with ONLY using Particles
Creating a HyperCasual GAME!

Creating a scrollable list: #20


Bump copyright year in README.md

Description
This PR bumps the copyright year in the README.md file.
Happy new year! 🎉
Note
This PR should only be merged once a change to the content of this repository was done.

@f11h Would you take a look at this, please?

Hi @Ein-Tim ,
I did not forget your PR - but to complete the copyright topic we also have to adapt the file headers in all files and I would like to do it within one release. ETA: Next week


How to open external link in browser form electron app.

Is your feature request related to a problem? Please describe.
How to Open external Link from electron app in browser?
Describe the solution you'd like
i have window.open('https://google.com', '_blank') its not opening in browser. it should open default user browser.

any update?

Bumping this issue

Bumping this issue

https://github.com/capacitor-community/electron/issues/163#issuecomment-1709697060


Add support for assembly tests

This is a port of https://github.com/rust-lang/rust/pull/58791

That looks great! Would it be possible to add an example test case in the test-project?

Done! I put it behind a new "assembly" feature since it requires the FileCheck tool from LLVM.


fetch sends "OPTIONS" instead of "POST" when "Content-Type" is added to headers

When I add a "Content-Type"-header to the fetch-properties as in the example from the documentation, the http-request-method changes to "OPTIONS". When I remove the "Content-Type"-header, it's a POST.
I verified what's really sent out with wireshark. I'm running<EMAIL_ADDRESS>via npm.
saveRoute() {
  fetch('http://localhost:6543/users', {
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      name: 'Hubot',
      login: 'hubot'
    })
  })
};

Forget it, I just learned about preflight requests and since I didn't have POST implemented in my backend yet, it failed.


Document NaN propagation semantics

The language reference is not so clear on what happens when floating point arithmetic instructions produce a NaN. We should specify that.

Can instructions return a signaling NaN or only quiet NaNs?
When propagating a NaN input, can the payload bits change?

The specification should be tight enough that WebAssembly semantics are simple to represent, and loose enough that we don't need lots of NaN adjustment code emitted for fadd on common targets.
Copying the WebAssembly semantics is probably a good choice.

For reference: https://github.com/WebAssembly/design/pull/660

Some background questions:

Can Cretonne depend on the IEEE 754-2008-recommended encoding for signaling NaN? This would simplify some things in the NaN rules, with the only practical downside being incompatibility with older (though still in use) MIPS CPUs. For reference, WebAssembly has this dependency, though Rust doesn't.

Should Cretonne keep the non-associative minnum/maxnum operators?

On one hand, these map to instructions on ARM and Power.
On the other, they need special-casing in the NaN rules, IEEE 754-2018 is expected to remove them, WebAssembly omitted them, and Rust doesn't depend on their particular sNaN behavior.

I think we should follow WebAssembly on NaN representations for now. We can revisit if old MIPS chips become relevant for us.
I would be OK with removing fmaxnum and fminnum. We should add a note to the remaining fmin and fmax to make it clear that they are not the functions from IEEE 754-2008.


UtilityPV example file is incomplete

Sam and Tj to complete the Utility PV file
Graphs are incomplete

@tjlca Do you still plan to add graphs to this analysis notebook, and if so, will you be able to complete this issue by the end of this month (December 2022)?

I will be working on this now and get this done.

Closed in PR #121


Jamie dataset preview column toggler

I added a column toggler feature to the dataset preview so users can select which columns to display.
DESIGN

AS IMPLEMENTED

Duplicate of https://github.com/DARPA-ASKEM/Terarium/pull/1589


Trigger is typing for only character keypresses

Hello, thanks for this package. I was wondering how to only trigger the is-typing flag for character keypresses like "A", "2" etc. and ignore function keys like "SHIFT", "CTRL" and "ENTER"?

I'm not actively maintaining this project, but feel free to fork it and make it your own.


Skip invite if user already belongs to the school

The shovel << throws a PG index duplicate entry error, so we should check before shovelling a school in.

 BUG: Inviting existing school user can cause an error if already invited


Fix issue #295 - Moving api to its own folder and restoring example page as home.

Fix issue #295
You can view the result here: http://adayth.github.io/DropKick/
To update the example and/or docs you should follow these steps:

Copy generated docs inside gh-pages:/api
Copy repository build folder to gh-pages:/
Copy example/css folder  to gh-pages:/
Move example.html to gh-pages:/index.html

I also modified some paths of the example.html and added a few lines of CSS. The example could be refactored to even do this more easily.

Thanks for the PR!! I'm going to try and get to this today. There's a couple of tweaks I've wanted to do to the example page. (Like remove the search dk, since it's not an official feature)

I'm just getting a second to check this out and it doesn't look like you alter the build step. We've got to change the build step so we're not manually doing this every time there's a new DK :)
I promise I'm going to carve some time out tonight to give DropKick a little love. I'm going to try and tackle this!


Skewed tray icon

The following image is a screenshot of the tray icon when I have 43 unread messages: . The number is still visible, but very distorted.

Zulip version 5.5.0 (release)
Xfce 4.14, xfce4-panel
NixOS unstable

Moved to https://github.com/zulip/zulip-desktop/issues/1061.

Moved to https://github.com/zulip/zulip-desktop/issues/1061.


Basic testing framework

Here's what I've managed to cobble together for a testing framework. This simply calls hermit-shell on each example and sees if it runs to completion. To run the tests, type
cabal test --show-details=streaming

The --show-details=streaming bit is optional, but it shows you the results of each test as it's running, which is nice.
You can filter which tests get run by searching against a pattern. For example:
cabal test --show-details=streaming --test-options="-p concatVanishes"

Current limitations:

At the moment, the only way for a test to fail is if hermit-shell fails to launch (e.g., if the .hs file it's run on isn't present). Lamentably, GHCi itself doesn't seem to have a mechanism for returning a non-zero exit code, so once GHCi starts, it's pretty much guaranteed to return ExitSuccess, even if something did go wrong (e.g., if the script didn't typecheck). This makes it less than ideal for running on Travis at the moment, since we wouldn't readily know if something went wrong.
In the future, we should probably diff the output against a golden file like the HERMIT tests do.

The cabal test options are pretty annoying to type. If my make-fu were stronger, I could alias the above commands with something more memorable.

Is there a reason why we can't just pull this? It looks reasonable to me.


python3Packages.cmsis-svd: 0.4 -> 0.4-unstable-2024-01-25

Description of changes

Prerequisite to get python3Packages.greatfet to work again.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 330123 run on x86_64-linux 1

the reason you get 0 rebuilds is because commit message is wrong, it should be using python3Packages.cmsis-svd attribute

Result of nixpkgs-review pr 330123 run on x86_64-linux 1

the reason you get 0 rebuilds is because commit message is wrong, it should be using python3Packages.cmsis-svd attribute

Interesting, thanks!

ok so i am not sure why there are still no rebuilds, still investigaging, but commit message is more correct, as its what ofborg will use.
you can also use python312Packages.cmsis-svd as its currently default version of python

ok mystery solved https://github.com/NixOS/nixpkgs/pull/330205

Result of nixpkgs-review pr 330123 run on x86_64-linux 1

Result of nixpkgs-review pr 330123 run on x86_64-linux 1

4 packages built:

python311Packages.cmsis-svd
python311Packages.cmsis-svd.dist
python312Packages.cmsis-svd
python312Packages.cmsis-svd.dist


! Stopped recording data

Data stopped logging today - maybe new oath token must be used for auth?
https://www.reddit.com/r/teslamotors/comments/l837jv/did_tesla_silently_deprecate_the_owners_api/
Expected behavior
Data is logged
[will upload logs soon]
Environment

TeslaMate version: 1.20.1
Type of installation: Docker
OS TeslaMate is installed on: Docker/Ubuntu
User OS & Browser: Windows, Firefox
Others:

Mine's still recording, as are my other usages, but it appears when the token expires the refresh endpoint is no longer valid.
Expect everyone to fail over the next 45 days while the new endpoint is identified.

Mine's still recording, as are my other usages, but it appears when the token expires the refresh endpoint is no longer valid.
Expect everyone to fail over the next 45 days while the new endpoint is identified.

Either I am going cross eyed, or something seems to be wrong with the Tesla get token API:
iex(1)> {:ok, token} = ExTesla.get_token(<email>, <censored>)
** (MatchError) no match of right hand side value: {:error, "http get error %Mojito.Error{message: nil, reason: %Mint.HTTPError{module: Mint.HTTP2, reason: :closed_for_writing}}"}

(as a side note, recently I noticed an issue where my Tesla reported full network signal, but wasn't actually talking on the network until I rebooted the center console - so check that also)

Either I am going cross eyed, or something seems to be wrong with the Tesla get token API:
iex(1)> {:ok, token} = ExTesla.get_token(<email>, <censored>)
** (MatchError) no match of right hand side value: {:error, "http get error %Mojito.Error{message: nil, reason: %Mint.HTTPError{module: Mint.HTTP2, reason: :closed_for_writing}}"}

(as a side note, recently I noticed an issue where my Tesla reported full network signal, but wasn't actually talking on the network until I rebooted the center console - so check that also)

It's all here: https://github.com/timdorr/tesla-api/issues/215

It's all here: https://github.com/timdorr/tesla-api/issues/215

@IMgoRt If I am reading this correctly, Teslamate needs to be updated to use another URL for refreshing tokens.
Have I understood this correctly? Is there anything else that needs to be changed?

@IMgoRt If I am reading this correctly, Teslamate needs to be updated to use another URL for refreshing tokens.
Have I understood this correctly? Is there anything else that needs to be changed?

@IMgoRt If I am reading this correctly, Teslamate needs to be updated to use another URL for refreshing tokens.
Have I understood this correctly? Is there anything else that needs to be changed?

There's a whole new auth process to get the token used.
It's being reverse-engineered, so watch that issue

@IMgoRt If I am reading this correctly, Teslamate needs to be updated to use another URL for refreshing tokens.
Have I understood this correctly? Is there anything else that needs to be changed?

There's a whole new auth process to get the token used.
It's being reverse-engineered, so watch that issue

Oh, joy. If only Tesla actually supported 3rd party users of its API. But I think I am dreaming here.
At least existing tokens seem to be working still. For me at least anyway :-)
Is there any easy way to tell when my Token will expire?

Oh, joy. If only Tesla actually supported 3rd party users of its API. But I think I am dreaming here.
At least existing tokens seem to be working still. For me at least anyway :-)
Is there any easy way to tell when my Token will expire?

Oh, joy. If only Tesla actually supported 3rd party users of its API. But I think I am dreaming here.
At least existing tokens seem to be working still. For me at least anyway :-)
Is there any easy way to tell when my Token will expire?

The full token has issue time and validity period within the object, I've got just over 21 days left on the one I use in my js, fingers crossed.

Oh, joy. If only Tesla actually supported 3rd party users of its API. But I think I am dreaming here.
At least existing tokens seem to be working still. For me at least anyway :-)
Is there any easy way to tell when my Token will expire?

The full token has issue time and validity period within the object, I've got just over 21 days left on the one I use in my js, fingers crossed.

Mine must have expired today also.  Home screen is barren and for some reason the dashboards won't load either.

Mine must have expired today also.  Home screen is barren and for some reason the dashboards won't load either.

TeslaMate already support the new auth flow. Please update to v1.21 @kocsenc.
Refreshing tokens only works with the latest development version. I'll release a new version soon.

TeslaMate already support the new auth flow. Please update to v1.21 @kocsenc.
Refreshing tokens only works with the latest development version. I'll release a new version soon.


Fix ClassCastException for TopN with long-type dimension

This PR fixes #8348 by ensuring that DimValHolder converts dimension values to the output type specified in the dimension spec of the TopN query.
This PR has:

[x] been self-reviewed.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] been tested in a test Druid cluster.

LGTM but a test of some sort would be appreciated.

(Beyond the test in a live cluster, I mean.)

I had looked into how to make a test for this, for unit testing, I initially tried setting up a toolChest.mergeResults merging test (like how TopNBenchmark merges queryable indices) using the replication case described in https://github.com/apache/incubator-druid/issues/8348, but that doesn't have the JSON serde step.
An integration test could be made to specifically test this, but the test would require two historicals, and the integration tests are already somewhat resource constrained (it also feels a little overkill to me)
I could make a unit test that just tests DimValHolder type conversion, but that doesn't really test the original bug situation.
Any thoughts?

Hmm, that's a good point. I think given those facts, a test of DimValHolder would be sufficient for this patch, even though it doesn't test the original bug situation. Perhaps in the future we could consider testing this class of bugs through a more powerful integration testing framework.

Only coveralls check failed, and coveralls is being removed, will go ahead and merge


fix intro3 readme typo

Noticed a tiny typo in the readme section for "intro 3".
:beers:

Nice, thanks @liamgriffiths! :)


"dotnet" is  not recognized as internal or external command, operable program or batch file

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Did you make sure the cmd window was closed and reopened after you installed dotnet?

pay me

Closing due to no response.


[API Feature Request] Select file

Describe the feature and the current behavior/state.
I'd like a way to select a file from the user hard drive, ideally it should be part of the Form fields since I would like to use it on my Transmission extension to let them add a torrent from a .torrent file.
Will this change the current api? How?
Nope.
Who will benefit with this feature?
Extension that require to select/load a file from the user hard drive.
Any Other info.

I think this would make so many more business workflows possible. Passing around files is just so necessary. Could be cool to be able to drag and drop into Raycast as well, and add multiple files. I can imagine a ton of extensions this would unlock.

Available in 1.44


[GitHub Codespaces] The "Starting" state next to the VM's name doesn't disappear after finishing "Start" command

OS: Remote Codespaces
Build Version: 20211018.1
Regression: Not a regression
Repro Steps:

F1 -> Create Virtual Machine...(Advanced) -> Enter a name -> Linux -> Select "Red Hat Enterprise Linux 8.2(LVM)" image -> Default username -> Empty for passphrase -> Select a location.
Right Click the VM -> Click "Restart".
Click "Start" after finishing "Restart" command.
Check whether the "Starting" state next to the VM's name disappears after finishing "Start" command.

Expect:
The "Starting" state next to the VM's name disappears after finishing "Start" command.
Actual:
The "Starting" state next to the VM's name doesn't disappear after finishing "Start" command.

More Info:

The  "Starting" state next to the VM's name changes to "Stopped" state after refreshing.

This issue doesn't reproduce on other images.

Verified on the latest build 20220922.1, it doesn't reproduce, So close it.


Weekly update for outdated packages

eslint 5.3.0 -> 5.5.0
request 2.86.0 -> 2.88.0
wdio-mocha-framework 0.6.2 -> 0.6.3
webdriverio 4.13.1 -> 4.13.2
webpack 4.13.2 -> 4.17.2
atob 2.1.0 -> 2.1.2
firebase 5.3.1 -> 5.4.2
source-map-support 0.5.8 -> 0.5.9
typescript 3.0.1 -> 3.0.3

TESTED=passes unit tests, manual tests, and adhoc browser checks

tests pass at head


Change the release workflow user

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

Current dependencies on/for this PR:

master

PR #120   👈

This stack of pull requests is managed by Graphite.


GitHub API rate limiting

The GitHub API is used anonymously in this library. If used more than 60 req per hour the API will say no. This limit could be reached when asserting a bunch of software like on https://www.research-software.nl/ .
One way to solve is to use an OAuth token which will up the limit to 5000 req per hour. It would be nice if the howfairis tool would allow passing a GitHub OAuth token either as environment variable or as command line argument.
GitLab also has rate limit, but is much higher so not such a problem.

Agreed, this is something we should fix. It has already been a problem: https://github.com/fair-software/badge/issues/36

Agreed, this is something we should fix. It has already been a problem: https://github.com/fair-software/badge/issues/36

When recordings are used in tests we should filter the token out of the recording so they don't leak. See https://vcrpy.readthedocs.io/en/latest/advanced.html#filter-sensitive-data-from-the-request

Issue was auto-closed by fix keyword, reopening

PR was merged, closing


Lack of Livekit documentation for deployment on linux virtual without using docker

The livekit documentation is silent on deploying on linux virtual machines without using docker.

Docker is our official recommendation when deploying the builds. We also provide installation steps here.
Do you have any suggestions on how we could improve the docs? Feel free to include links and/or screenshots


Vector has element type specifier

I usually check it with (declare (type (vector fixnum 123) x)) and see if thats valid.

I'm surprised that I missed that and more surprised the ANSI tests missed it. Maybe I need harsher tests.
Thanks.


Can not execute pressKey for down arrow

Hello,
I am able to use I.pressKey('Tab') or I.pressKey('Enter') and it works fine, but I have not been able to use for down arrow key? What is the correct parameter to pass in for this to work? Or there is a bug. I have tried everything and read all the documentation, including this website: https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/element/:id/value
and I still haven't been able to find the correct parameter to pass in to get a down key press. Please help!

Could you ask the same in WebDriverIO Gitter Channel?
If you will receive an answer please put it here and we will implement it in CodeceptJS.
Also could you provide HTML+JS snippet we can use for testing Down Arrow key

I was looking for this functionality too, and eventually found in https://github.com/webdriverio/webdriverio/blob/master/lib/protocol/keys.js a reference to the key code <-> Unicode mappings in the constants file at https://github.com/webdriverio/webdriverio/blob/master/lib/helpers/constants.js
There it specifies using I.pressKey('Down arrow') which I've tried and... it works!
It also says you can use I.pressKey('Arrow_Down') too.

Closing this issue, answer is in the comment above


Update TOC.yml

Docs Build status updates of commit 1cf97fe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/TOC.yml
:white_check_mark:Succeeded

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


Existing Sharded -> Enclave Migration Flow

Existing sharded ecosystem wallets will be auto migrated to enclave ecosystem wallets with this PR.

PR-Codex overview
The focus of this PR is to enhance encryption and migration functionalities in the In-App Wallet system.
Detailed summary

Added JToken usage for data key generation
Updated migration paths and methods
Improved encryption data generation process

The following files were skipped due to too many changes: Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet.Authentication/AWS.cs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.07%. Comparing base (36b4c2c) to head (ad38ed2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   87.07%   87.07%
=======================================
  Files          26       26
  Lines        3730     3730
  Branches      514      514
=======================================
  Hits         3248     3248
  Misses        482      482

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bump to Go 1.18

See https://github.com/stolostron/backlog/issues/22428
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17

go mod tidy: go.mod file indicates go 1.18, but maximum supported version is 1.17

I wonder if this is because of https://github.com/openshift/release/blob/master/ci-operator/config/stolostron/submariner-addon/stolostron-submariner-addon-release-2.5.yaml#L22.
images:
- dockerfile_path: Dockerfile
  from: base
  inputs:
    stolostron_builder_go1.17-linux:
      as:
      - registry.ci.openshift.org/stolostron/builder:go1.17-linux
  to: submariner-addon

Yes, it definitely is, we need to switch to 1.18 builders.

If no one else takes care of it, I will do it when I get back from PTO next week.

If no one else takes care of it, I will do it when I get back from PTO next week.

@dfarrell07 can you take care of switching to 1.18 builders?

can you take care of switching to 1.18 builders?

https://github.com/openshift/release/pull/30293

/retest-required

[2022-07-08T22:31:49Z] Tagging stolostron/builder:go1.18-linux into pipeline:root.

It seems the builders are running with golang 1.18 now.
{"command":"PWD=/go/src/github.com/stolostron/submariner-addon  git fetch https://github.com/stolostron/submariner-addon.git 7d07850528394d280f39b662522cc9315ab4e10c","component":"clonerefs","file":"k8s.io/test-infra/prow/pod-utils/clone/clone.go:83","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func2","level":"info","msg":"Ran command","output":"From https://github.com/stolostron/submariner-addon\n * branch              7d07850528394d280f39b662522cc9315ab4e10c -\u003e FETCH_HEAD\n","severity":"info","time":"2022-07-08T22:33:39Z"}
{"command":"PWD=/go/src/github.com/stolostron/submariner-addon GIT_AUTHOR_DATE=1657267286 GIT_COMMITTER_DATE=1657267286 git merge --no-ff 7d07850528394d280f39b662522cc9315ab4e10c","component":"clonerefs","error":"exit status 1","file":"k8s.io/test-infra/prow/pod-utils/clone/clone.go:83","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func2","level":"info","msg":"Ran command","output":"Auto-merging vendor/modules.txt\nCONFLICT (content): Merge conflict in vendor/modules.txt\nAuto-merging go.sum\nCONFLICT (content): Merge conflict in go.sum\nAuto-merging go.mod\nAutomatic merge failed; fix conflicts and then commit the result.\n","severity":"info","time":"2022-07-08T22:33:39Z"}

The build seems to just be failing now because of a git merge conflict.

/lgtm


Fort Prestiege Issues

Currently Gym Prestige is capped in the game at 50,000 and level 10 , Pokeminer reports an incorrect value when this scenario is met.
Gym is fully prestiged with open spots available and then a  new trainer adds their Pokemon to the gym, 2000 extra prestige points are added even with the gym being capped at 50000, Pokeminer then reports 52000 from there out.
Problem scales up
50,000XP in gym with 5 extra open spots that get filled after its already full lvl reports 60,000 in pokeminer.
Can we get a hard cap on Gyms @ 50000, or look for the root cause.

I also See 52000/50000 Prestige ingame. Everything is working fine

no you only see that in game for less than a few minutes, if you click out of the gym it resets to 50,000 next time you view it.
everything isnt fine. lol

There is #243 which could explain why it possibly is not getting inserted in the db once it goes down.

Can someone also confirm that >50k gyms get "corrected" to 50k in game? Unfortunately I have only a handful of such entries in my database and they are a few days old.

@modrzew can confirm - we tested this today - will automatically go down to 50k

Thanks @Aiyubi.
I wonder what's the best course of action here - just cap gym's prestige to 50k and don't care about overflow?

My suggestion:

display latest data, once it goes down and the other bug is fixed it will go down to 50k once server decides so
for all statistics based on it, calculate it as 50k


Events not dispatched upon save.

When saving an entry, then it seems that the EntrySaving event is not dispatched.
From what I can see in the code, the EntryCreated, EntryDeleted and EntrySaved does not seem to be dispatched either.

They definitely should be firing (and do for me on our usage of this driver).
Eloquent Entry inherits from the file-based Entry which is where all the event firing takes place.
Can you share some code to show what you're doing, or provide a sample repo with the issue so I can look into it further?

protected $listen = [
        EntrySaving::class => [
            EntrySavingListener::class,
        ],
        EntrySaved::class => [
            EventSavedListener::class,
        ],
];

Here the EntrySavedListener is fired, but the EntrySaving did not fired.

I just tested in on one of our sites using the driver and it worked fine for me so it does seem to be something specific to your setup.
If you can provide full code showing what you're doing I'll take a further look.

To share the whole thing I cannot since it is for a customer, and it is a fairly large project.
But I basically just do the above, and then dd in the handle function in the listener to see if it gets to it. Ill add some event debugging and see what happens.

The only thing I can think of that might make a difference, is that this happens in a Statamic addon. And I am using the listen property inside its service provider.

Ahh ffs, I have the problem, i'll close the issue.


Feat/documents

Is this cool to go down @Smudge3806? - I refactored some of the files so getters and stuff are at the top of the documents and functions are underneath, I havent removed any code though


Add E4S FR translations

Thanks for fixing all these up.  I just wasn't sure whether or not to capitalize everything.  Maybe I should make the auto translator do that by default?


feat(transport): port router to axum

This ports tonic's previous routing setup to axum. This is mostly just a proposal. I think it lead to some decent wins but might not make that much difference in practice. Its a breaking change so we have to wait until 0.7 if we decide to go this way.

The router type is no longer generic and conceptually simpler.
Should resolve any compile time issues people might be having due to regression in Rust 1.56.
Performance might be slightly better if users are routing between a lot of services. This is due to axum's router using matchit rather than the nested services.
I also removed Never since axum requires services to use Infallible. Can easily convert between them but if we're making breaking changes we might as well remove Never.
add_service now requires service's to be infallible. This shouldn't cause any breakage since generated services were already infallible, the trait bounds just didn't require it.

We also probably want to consider doing a blog post for this, since it shows how the ecosystem can glue together  and that tonic and axum are not really competitors in a sense.

We also probably want to consider doing a blog post for this, since it shows how the ecosystem can glue together and that tonic and axum are not really competitors in a sense.

Thats a great idea! I'll do that when we ship the next major version of tonic 😊


NAs produced when converting classification predictions to numeric

In the infinitesimalJackknife.R the following code is supposed to convert a classification prediction to numeric values:
predictions = predict(rf, newdata, predict.all = TRUE)
pred = predictions$individual
# in case of classification, convert character labels to numeric (!)
class(pred) = "numeric"

However this produces NAs when I try it locally:
class_matrix <- matrix(sample(c("Yes", "No"), size = 30, replace = T, prob = c(.3, .7)), nrow = 10)
head(class_matrix)
#>      [,1]  [,2]  [,3]
#> [1,] "No"  "No"  "No"
#> [2,] "No"  "No"  "Yes"
#> [3,] "No"  "No"  "No"
#> [4,] "No"  "No"  "No"
#> [5,] "Yes" "Yes" "Yes"
#> [6,] "Yes" "Yes" "Yes"
class(class_matrix) = "numeric"
#> Warning in class(class_matrix) = "numeric": NAs introduced by coercion
head(class_matrix)
#>      [,1] [,2] [,3]
#> [1,]   NA   NA   NA
#> [2,]   NA   NA   NA
#> [3,]   NA   NA   NA
#> [4,]   NA   NA   NA
#> [5,]   NA   NA   NA
#> [6,]   NA   NA   NA

Am I missing something of what it is supposed to do? This is a very dirty/quick way to properly convert a character matrix to numeric:
class_matrix <- matrix(sample(c("Yes", "No"), size = 30, replace = T, prob = c(.3, .7)), nrow = 10)
numeric_matrix <- 1 * (class_matrix == class_matrix[1,1])
head(numeric_matrix)
#>      [,1] [,2] [,3]
#> [1,]    1    1    0
#> [2,]    0    1    0
#> [3,]    1    1    0
#> [4,]    1    1    0
#> [5,]    0    0    0
#> [6,]    0    0    0

Sorry for taking so long to get back to you on this; it had fallen off my radar last year. Yes, this definitely seems like a real bug, and needs to be fixed.
I think the multi-class function currently being added by @alionaBER also fixes this issue; so maybe it would make sense to just have a single, separate function for classification (that also does multiclass) and not try to combine it with regression?

Sorry for taking so long to get back to you on this; it had fallen off my radar last year. Yes, this definitely seems like a real bug, and needs to be fixed.
I think the multi-class function currently being added by @alionaBER also fixes this issue; so maybe it would make sense to just have a single, separate function for classification (that also does multiclass) and not try to combine it with regression?


fix validation of command option descriptions and scheduled event users

The validation for several options was incorrect. This PR fixes that issue.

I believe the current clippy failure should be ignored, because in theory the min length could change and doing this is more correct IMO. Let me know what I should do here.

Yea, ig in this case an ignore should be ok.
Don't forget to update the doc comment for the test too /// o .-.


iPod Touch does not focus after first scan

Expected Behavior
Autofocus engages automatically and scans barcode when detected.
Actual Behavior
Initial scan works as expected, but subsequent scans are unable to focus properly. Must close app and re-open to perform a scan. Some focusing does occur but barcode never becomes clear after first scan.
In some cases the barcode is still scannable by moving device closer or further from page to manually focus after autofocus stops adjusting.
Reproduce Scenario (including but not limited to)
Steps to Reproduce

Open app
Scan a barcode
Scan a second barcode (app fails to focus)

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 9.2.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Apple iPod Touch 5th Generation
Cordova CLI version and cordova platform version
cordova --version
  6.5.0

cordova platforms
  ios 4.3.1

Plugin version
cordova plugin version | grep phonegap-plugin-barcodescanner
  phonegap-plugin-barcodescanner 6.0.4 "BarcodeScanner"

*Affects 6.0.4 and 6.0.5
Sample Code that illustrates the problem
function scanBarcode(){
	cordova.plugins.barcodeScanner.scan(
		function (result) {
			// Check if scan was cancelled
			if(!result.cancelled){
				// Do something with code
			}
		},
		function (error) {
			// Show error message
		},
		{
			formats : "CODE_128"
		}
	);
}

Logs taken while reproducing problem
No logs generated, device simply fails to properly autofocus and continues to look for a barcode.
Possible Cause
Only occurs in versions after "Focus improvements" #186. I believe this is causing issues for iPod Touch devices because they focus differently than iPhones. I am able to scan properly on 6.0.4 and 6.0.5 on my iPhone 6s, but 6.0.4 and later (anything after this commit) cannot focus properly.

We have the same problem with an iPad mini, it does not focus after the first scan.
Platform and Version
iOS 11.2.6
Cordova CLI version and cordova platform version
cordova version: 7.1.0
ios platform: 4.5.4


Screen Coords Finder

What feature or new tool do you think should be added to DevToys?
Find screen pixel coordinates on the current cursor position
Why do you think this is needed?
sometimes when developing an automated software you need to locate coordinates on the screen, this feature would be helpful for these situations
Solution/Idea
No response
Comments
No response

You could use PowerToys (from Microsoft) for this feature:
https://learn.microsoft.com/en-us/windows/powertoys/screen-ruler

thanks, didn't try screen ruler


flutter has exited unexpectedly || after latest upgrade

Please include the results of flutter doctor -v in text form. Thanks! (The -v flag is for "verbose", and we need it in text form for easy searching.)

Thanks


Update README

Existing README is being moved to the documentation repo / pages site. The README in this repo needs to be updated to reflect a more standard development README.
At the Documentation planning meeting it was decided that a member of the dev or engineering team should take on this update.

@sharicarlson13 FYI I took the liberty of updating the readme to remove the content and at the same time added some placeholder details about the project, how to access docs/install, and how to contribute which will show up once my PR gets approved. (#1261 )

Closing for now as it's updated - dev can add more content later if they like via a new issue.


IQ recorder

Hello,
I’m working on an IQ recorder for the Pyrpl FPGA module. The goal is to route the IQ outputs from any of the demodulators to the scope module, allowing for offline processing of the recordings on the PC client. Do you think this is feasible with the current design, or would it be better to consider an alternative?

The scope module of PyRPL allows you to record 16000 samples of any signal present inside the board including the IG outputs of the demodulator. The sample frequency goes from 125 MHz down to 2 kHz.

Also recording quadrature1 and quadrature2 signals from the iq modules?

Yes. I think the section about the Phase Lock Loop developed in this article (https://arxiv.org/abs/2310.00086) could interest you.

Thanks! I saw it and they mention a cordic phase estimator that I don't see implemented in any place :( not even at the new_pll branch. The pfd estimation with the rising edges is not sufficent for my application.

It is present on the "modif_fpga_pfd" branch and only available for iq2 if I remember correctly.

Hey Michael! I found the implementation, fixed some errors and made it work. Do you think would be useful If I post the changes? Or was this like a deprecated functionality that we don't want at the main repo anymore.

Hey, Great news ! This branch is still being used and I try to keep it up to date with the main branch. I haven't pulled the most recent changes made so chances are you faced some bug if you used a recent version of python. Anyway if you have some bug fixes, you can post a pull request and I will look at it. Thanks !

Cool, I'll post the PR soon as I can. Closing this issue. Thanks for the help!


feat(module:skeleton):add skeleton component

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #1808
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@wenqi73 Thanks for you contribution. Hopefully we would commit these to master branch this weekend.

@wendzhue Please review again.

@wenqi73 And there's an avatar skeleton demo in card component page. Please add it. See https://deploy-preview-11226--ant-design.netlify.com/components/card-cn/#components-card-demo-loading.
Besides, please change your first commit message to feat(module:skeleton): add skeleton component once you're all done.

@wendzhue Another question: card loading demo has changed to skeleton, I think the test is useless so I commented it. please check again and I will change the commit message later.

@wenqi73 Ant Design had released this component and added a new demo. See https://ant.design/components/skeleton-cn/#components-skeleton-demo-complex. Please add it.

Add please rebase your commit to tag 1.4.1. Since it was checked out some versions ago.

LGTM. @simplejason If possible, this could be released this weekend.


thanks

good

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

ID: aa9700f5-b9e0-dfe1-ddbc-b5a3231dde11
Version Independent ID: 11728c80-1474-c1dc-caf0-2c6b6c44bbb3
Content
Content Source
Service: vs-appcenter

Ага


Master

Documentation updates and marking required parameters

This change is

Hi @BrianBlum, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (brianbl). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@johanste @amarzavery FYI this PR includes all the modification in https://github.com/Azure/azure-rest-api-specs/pull/654

Closing this request and creating another with one more update.


Leading ~ character (and maybe others?) cause a 404 error with GH pages

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
content/pages/getting-started-with-github-pages/troubleshooting-404-errors-for-github-pages-sites.md
What part(s) of the article would you like to see updated?
An additional cause of a 404 is a directory or filename starting with the ~ character (I tested that ~ in the middle and end of filenames are acceptable).  I am unsure what other characters would cause this to occur, but would be helpful if a complete acceptable naming guideline section was added to this document.
Additional information
No response

@ghfields Thanks for opening this issue! I’ll get this triaged for review ✨

Thanks.  Honestly, I'd be happy if those were valid, since I have a use case for that, but if not, documenting the limitation is the next best thing.

@ghfields 👋 Thanks for opening this issue! I checked internally whether it should be possible to use the ~ character at the start of a directory or field name with GitHub Pages, and it should work. Based on my colleague's testing, they suspect Jekyll is the issue. Anytime there is something odd with a file name Jekyll is the usual suspect (you cannot have a file name starting with _ with Jekyll for example).
If you continue having difficulty, please reach out to GitHub Support. We really appreciate you contributing to the community. 🎇

I appreciate the feedback. I am assuming your colleague confirmed the issue.  I believe you are also saying since it is a bug, it won't be documented in the github docs hopes Jekyll is is fixed and will leave the concern undocumented in the meantime.  As I don't see any references in this issue, I assume there has not been a Jekyll issue opened.  I will do so now.


Custom stylesheet editor throws wrong errors

Winter CMS Build
1.1
PHP Version
8.0
Database engine
MySQL/MariaDB
Plugins installed
Winter.Sitemap, Winter.Pages, Winter.TinyPNG, Winter.Translate
Issue description
Noticed at Customize backend -> styles that the error messages displayed are wrong.
At first I thought it was a CSS file.
But apparently it supports SCSS and it throws errors (but it still works)

Steps to replicate
add scss in Customize backend -> styles
Workaround
No response

Yeah, at some point we're looking to replace the usage of Ace Editor with Monaco (the editor used by VS Code) which will probably solve those sorts of issues. Going to close this as I don't personally plan on doing anything to address this at the moment, but if anyone else is interested in making a PR (to either fix this or replace Ace with Monaco) then I'd be happy to reopen it.

Might be as simple as changing the language used for that field from CSS to SCSS btw, feel free to try that and report back.

Might be as simple as changing the language used for that field from CSS to SCSS btw, feel free to try that and report back.

Yeah changing the language to scss solves the problem!


Issue1595: deal with plugins with unknown total tests count

What this PR does / why we need it:
Issue1595
Some plugins do not declare the total number of tests, so the progress update is confusing
Which issue(s) this PR fixes

Fixes #1595

You'll need to squash the commits down too. You can ping me if you need help with that.
Then the only github magic is that instead of just mentioning "Issue 1595"; if you put Fixes #1595 it will automatically link/close the issue upon merging. It can be in the PR comment, it doesnt have to be in the commit message.


document valid options in config file --

can just use config attrs class docstrings?
so there's a single source of truth, instead of writing it multiple times

This should go in "reference" section


series_premiere plugin crashing on season packs

This is obviously caused by the new support for season packs:
2017-04-05 22:50 DEBUG    parser_internal tv_premieres   Parsing series: `My.Love.from.Another.Star.S01.The.Beginning.HDTV.AAC2.0.x264-SAM` kwargs: {'identified_by': u'auto', 'name': None, 'allow_seasonless': True}
2017-04-05 22:50 DEBUG    parser_internal tv_premieres   Parsing result: <SeriesParser(data=My.Love.from.Another.Star.S01.The.Beginning.HDTV.AAC2.0.x264-SAM,name=My Love From Another Star,id=S1,season=1,season_pack=True,episode=None,quality=hdtv h264 aac,proper=0,status=OK)> (in 3.017 ms)
2017-04-05 22:50 CRITICAL task          tv_premieres   BUG: Unhandled error in plugin series_premiere: u'series_episode'
2017-04-05 22:50 CRITICAL manager       tv_premieres   An unexpected crash has occurred. Writing crash report to /tmp/.flexget/crash_report.2<IP_ADDRESS>036904002.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.10.27
2017-04-05 22:50 DEBUG    manager       tv_premieres   Traceback:
Traceback (most recent call last):
  File "/tmp/flexget/flexget/task.py", line 483, in __run_plugin
    return method(*args, **kwargs)
  File "/tmp/flexget/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/tmp/flexget/flexget/plugins/filter/series_premiere.py", line 64, in on_task_metainfo
    if entry['series_season'] == 1 and entry['series_episode'] in desired_eps:
  File "/tmp/flexget/flexget/utils/lazy_dict.py", line 71, in __getitem__
    item = self.store[key]
KeyError: u'series_episode'

Additional information:

Flexget Version: 2.10.27
Python Version: 2.7.13
Installation method: git
OS and version: osx 10.11.6

Paste config please

As shown in the above example, when encountering a season pack for season 1, the entry doesn't have a series_episode field. This is an obvious fix for an obvious bug:
diff --git a/flexget/plugins/filter/series_premiere.py b/flexget/plugins/filter/series_premiere.py
index 42b11c4cd..65a0cd064 100644
--- a/flexget/plugins/filter/series_premiere.py
+++ b/flexget/plugins/filter/series_premiere.py
@@ -61,7 +61,7 @@ class FilterSeriesPremiere(FilterSeriesBase):
        guessed_series = {}
        for entry in task.entries:
            if guess_entry(entry, allow_seasonless=allow_seasonless, config=group_settings):
-                if entry['series_season'] == 1 and entry['series_episode'] in desired_eps:
+                if entry['series_season'] == 1 and entry.get('series_episode') in desired_eps:
                    normalized_name = normalize_series_name(entry['series_name'])
                    db_series = task.session.query(Series).filter(Series.name == normalized_name).first()
                    if db_series and db_series.in_tas

Then create a PR.


feat: add overview.md and preview flag

Details

Add overview.md for extension page in VS Marketplace
Add preview flag for canary, staging, and prod. Visibility of extension is still private

Motivation

Context

Pull request checklist

[n/a] Addresses an existing issue: Fixes #0000
[n/a] Added relevant unit test for your changes. (yarn test)
[n/a] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[x] Ran precheckin (yarn precheckin)
[x] (after PR created) The Accessibility Checks (pull_request) check should fail. All other checks should pass.

Codecov Report

Merging #879 (0eb1cbe) into main (2353526) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #879   +/-   ##
=======================================
  Coverage   87.36%   87.36%
=======================================
  Files          39       39
  Lines         823      823
  Branches       97       97
=======================================
  Hits          719      719
  Misses        104      104

Continue to review full report at Codecov.

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


copyable npm install command in docs landing page

I knows its a weird ask, but can we make the npm install command on the landing page a text instead of an image?
I usually copy the install command from the docs to save a few seconds instead of retyping it and if its an image then:

It's just below it in the body text.

oh yeah, did not notice it. I guess the header image caught all of my attention there.


fix: withCredentials forced to false in Angular

This forces the Angular calls made to our API with withCredentials set to false (even if the user set them to true on their side, like when behind a Basic Auth)

@pixelastic do npm run lint

I've fixed the lint issues. I'll add a jsfmt syntax checker to syntastic also

pAS

@pixelastic you can now do a release! :)


callback

https://github.com/slint-ui/slint/blob/master/docs/langref.md#callback
in the second example

With the change I suggested this could be merged but reworking blocks (field declaration lists) to allow for a single expression will probably take a lot of changes and tracking down a chain of issues


drivers: i2c: add STM32G0X I2C support

Add I2C driver support for STM32G0X SoC series.
Signed-off-by: Filip Brozovic<EMAIL_ADDRESS>

@erwango I've only tested it briefly on STM32G0316-DISCO, since I don't have any other STM32G0 hardware.... If someone else would be willing to test on another STM32G0 platform, e.g. NUCLEO-G071RB, that would be great.


How can I insert xml with style for another docx file?

Now I want to extract some information from A docx format file,and insert the information into B docx format file.When I get paragraph from A file, I can insert the information into B file
code like this:
from docx import Dcoument
docx_A = Document("A.docx")
docx_B = Document("B.docx")
ind_dict = {}
inds = []
for ind,p in enumerate(docx_A.paragraphs):
      ind_dict[ind] = p.paragraph_format.element
      ##some filters
      inds.append(....)

pp = docx_B.add_paragraph("")
for ind in inds:
     pp.paragraph_format.element.insert_element_before(ind_dict.get(ind))

docx_B.save("result.docx")

Now I use the code above，I just can insert element about text,not for table,image and chart etc. and I don't know how to insert information into a location I want.
then I found another method for inserting informations.
code like this:
from docx import Dcoument
from docx.oxml.table import CT_Tbl
from docx.oxml.text.paragraph import CT_P
from docx.oxml.section import CT_SectPr
from lxml.etree import _Element

docx_A = Document("A.docx")
docx_B = Document("B.docx")
parent_elm_A = docx_A.element.body

xmls = []
# we all know image information always in text information or table information,so I just want insert information about text and table.
for child in parent_elm_A.iterchildren():
      if isinstance(child,CT_P): # this case for text
         xmls.append(child)
     elif isinstance(child,CT_Tbl): # this case for table
           xmls.append(child)
     elif isinstance(child,CT_SectPr): this case for section
         pass
parent_elm_B = docx_B.element.body
for child in parent_ele_B.iterchildren():
     #some filters for xmls list
           child.insert_element_before(...)
docx_B.save("result.docx")

Now I can get the result.docx file,but I can not open result.docx,the error information is
unknow error
/word/document.xml,row:0,columns :0

anyone can tell me how can I fix it?

I'm afraid you're more on your own when you manipulate the underlying XML directly. I recommend you check out the opc-diag tool and compare working and broken XML to see where you went wrong if you're going to take this approach.

I'm afraid you're more on your own when you manipulate the underlying XML directly. I recommend you check out the opc-diag tool and compare working and broken XML to see where you went wrong if you're going to take this approach.

Apart from these methods，are there other methods can achieve the goal？


Email notifications are not descriptive enough

Steps to reproduce

share files with people on https://ocis.ocis-traefik.latest.owncloud.works/
open https://mail.ocis-traefik.latest.owncloud.works/
read notification mails

Received: from localhost ([<IP_ADDRESS>]) by inbucket
  for<EMAIL_ADDRESS>Tue, 26 Jul 2022 06:18:37 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
Date: Tue, 26 Jul 2022 06:18:37 +0000
Mime-Version: 1.0
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Content-Type: text/plain; charset=UTF-8

You got a share!

example:

Expected behaviour

Incorporate learnings from oc10 mails

Mails should be enriched by:

clear sender name
useful subject
useful description
link in description
imprint
maybe HTML mail

Mails will be send on those events

"you received a share"
"virus found" (receiver: user; implications: file not uploaded; filename + path; Infos about the virus so that the user can )

exact content incl. subject and sender name / header (write off form oc10?)

plaintext

i18n: german + english in 1 mail for a start

This has two aspects:

GA Release -> make the share notification "nicer"
2.1.0 Release -> according to top post

updated:
- Mails will be send on those events
 - "You have been added to a Space"

@fschade if a virus is detected, we need to inform the user about it via mail.
something like this:

could you please state which information we have about the virus ex. virus name, type, description etc.?

@micbar,
what exactly needs to be done for the GA?
I think this ticket should be a story and not a bug since what is implemented was exactly requested like that.
We need a story with detailed acceptance criteria of what should be in the mail, in what format, etc.

I think this ticket should be a story and not a bug since what is implemented was exactly requested like that.

Well, "You got a share" is too little unfortunately. What we would like to see for GA is the following (or a variation of it depending on possibilities).
From
<Share creator display name> via ownCloud<EMAIL_ADDRESS>Subject
<Share creator display name> shared <file/folder> with you
Body
Hello <recipient display name>,
<Share creator display name> invited you to <file/folder>. Click here to view it:

Hallo <recipient display name>,
<Share creator display name> hat dich zu <file/folder> eingeladen. Klicke hier zum Anzeigen:
ownCloud - Store. Share. Work.
https://owncloud.com/

removing from GA milestone, requirements reached.


missing documents

when i runs mongo connector a few days ，i found
number of old cluster‘s collection：
mongos> db.doc1.count()
46792573
on  the new  cluster is：
mongos> db.doc1.count()
46743486
on the new cluter  reduce about   50000 documents
why？

Hi,
I'm going to need more information from you. What version of mongo-connector and what version of MongoDB are you using?
How are you starting mongo-connector?
Do you see any errors in the mongo-connector or mongodb logs?
Thanks!

Closing due to inactivity.


Coldstarting dynomite

As much as I appreciate dynomite-manager, we don't run a production cassandra installation so it's not very useful for us. I'm curious what my other options are for cold starting a dynomite server, without dynomite-manager

[ ] We only use one set of shards. Our datasizes are relatively small we just want to write them anywhere
[ ] We are using this as a cache, and all the data gets flushed into s3 eventually anyway
[ ] We want to be able to add and remove servers, but it doesn't have to happen that way all the time. Our current plan is to bootstrap a new cluster, and switch users over to the new cluster when topology changes.

You do not need to use Cassandra to leverage Dynomite-manager. We are only using Cassandra for token management. Since DynamoDB now supports global tables and transactions, I think it should be a great option to store the tokens.
The Cold Bootstrapping process is explained here. As you can see the only thing that is needed is to identify from which node to bootstrap. We use the tokens for that. All steps could be done in a small script.

let’s discuss this script, as i’d like to make a guide to use it this way... with enough help. just a hostname - token mapping?

There are a few details that you are missing in the script (1) monitor the offset to make sure it is small enough. Sometimes you may not achieve the perfect offset; (2) set Dynomite in write-only, so even if there is an offset then you can flush it then and then enable Dynomite to accepts reads as well. These circumstances are useful in a high write scenario, but if you have low traffic, you can probably leave without them. However, you have to find a way/logic to stop the Redis replication (when to call SLAVEOF NO ONE

what happens if you have write only and slave mode activated? double writes? that’s probably fine for a lot of use case.

If Redis is in Slave mode, it cannot accept writes and therefore Dynomite will return exceptions to the client. You should not be in that mode.

ipapapa, so does that mean when transitioning there's  write hole?

That is why I mentioned above (2) set Dynomite in write-only, so even if there is an offset then you can flush it then and then enable Dynomite to accepts reads as well.. Then you disable the slave mode. Hence, Dynomite will buffer the writes and flush them once you switch.

Ooh nice! We should really make it explicit that this is what is going on


Updating install instructions to include the build step

Fixes # .
Overview

Data Model / DB Schema Changes
<N/A if no changes>
Environment / Configuration Changes
<N/A if no changes>
Notes

Thank you!


mopidy: 3.2.0 -> 3.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for mopidy is: "An extensible music server that plays music from local disk, Spotify,\nSoundCloud, and more\n"
meta.homepage for mopidy is: "https://www.mopidy.com/"
meta.changelog for mopidy is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.3.0 with grep in /nix/store/mwmz6511yfxv4z7nm1fas7qihsl18ih6-mopidy-3.3.0
found 3.3.0 in filename of file in /nix/store/mwmz6511yfxv4z7nm1fas7qihsl18ih6-mopidy-3.3.0

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

34 total rebuild path(s)

17 package rebuild(s)

17 x86_64-linux rebuild(s)
17 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
mopidy-iris
mopidy-jellyfin
mopidy-local
mopidy-mopify
mopidy-mpd
mopidy-mpris
mopidy-muse
mopidy-musicbox-webclient
mopidy-podcast
mopidy-scrobbler
mopidy-somafm
mopidy-soundcloud
mopidy-spotify-tunigo
mopidy-subidy
mopidy-tunein
mopidy-youtube
mopidy-ytmusic

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mwmz6511yfxv4z7nm1fas7qihsl18ih6-mopidy-3.3.0
ls -la /nix/store/mwmz6511yfxv4z7nm1fas7qihsl18ih6-mopidy-3.3.0/bin

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

20 packages built:

mopidy
mopidy-iris
mopidy-jellyfin
mopidy-local
mopidy-moped
mopidy-mopify
mopidy-mpd
mopidy-mpris
mopidy-muse
mopidy-musicbox-webclient
mopidy-podcast
mopidy-scrobbler
mopidy-somafm
mopidy-soundcloud
mopidy-spotify
mopidy-spotify-tunigo
mopidy-subidy
mopidy-tunein
mopidy-youtube
mopidy-ytmusic

Maintainer pings
cc @fpletz for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 170870 run on x86_64-linux 1

17 packages built:

mopidy-iris
mopidy-jellyfin
mopidy-local
mopidy-mopify
mopidy-mpd
mopidy-mpris
mopidy-muse
mopidy-musicbox-webclient
mopidy-podcast
mopidy-scrobbler
mopidy-somafm
mopidy-soundcloud
mopidy-spotify-tunigo
mopidy-subidy
mopidy-tunein
mopidy-youtube
mopidy-ytmusic


Boost a single field

Is it possible to boost a field in the search (v2)?
Example:
On the demo page, https://olivernn.github.io/moonwalkers/ , if I search two fields like this: name:pete^10 body:pete, I expect the result which has a match on the name field to come first. However, the result with the match in the body comes first.

I also tried to achieve field boosting after the upgrade, and ran into the same issue.
However, I then checked the observed issues also with my old setup running lunr 0.7.2 - and essentially found the same unexpected behaviour: Hits in the body kind of dominate the results, and boosting even using large values seems to have only a marginal effect on scores. It just was/is more obscure there, because only lunr 2.0 gives you the score details in the result metadata.
Could this maybe be caused by the fact that body content is (a lot) larger than other fields' content? @olivernn it would be great if you could shed some light onto this. Thanks!

I am facing the same issue at the moment. Heavily weighing one field over others should take precedence in the index.
In the example, if you ran "name:pete^10 body:flight" or simply "name:pete^10 flight", I would expect the Pete Conrad record to be first.

Yeah, the boost is definitely not working as intended 😞
I'll take a look and see what is going wrong, thanks for letting me know.

I've got a good idea whats going wrong here and I think I've got a solution. Specifically it is to do with how lunr is treating documents, currently there is just a single vector space model for the entire document. With field search it really needs to have a vector space of each individual field. I have a rough implementation of this locally and it performs much better with field based searches.
I'm just trying to figure out a way of testing the relevancy of search results in an automated, repeatable manner. This is tricky to get right. I've found some resources from a now defunct apache project that might be useful in assessing how good the relevancy of lunr is before and after this change. Basically, I want to be able to see the impact on changing the scoring algorithms within lunr.
Anyway, long story short, I think I've got a good solution to this issue, I just need to make sure it doesn't negatively impact any other kind of searches.

I've also noticed some examples with people boosting the index so that a field (e.g. "title") will have more weight by default, example: this.field('title', {boost: 10});
However, I looked at builder.js and there is no support for that, the field is simply pushed, and there are no options such as boost. Would be nice to include this.

@Andargor this part of the interface has changed since 2.0.0, this is covered in the upgrading guide.
That said, with the changes discussed earlier in this thread, it should be possible to bring back this feature, allowing build time boosts for certain fields again.

@olivernn Ok, I see that now, thanks. I've tried the new method for example to better score the search term if found in the title field than the body field, and as outlined here I am not seeing any measurable difference in scoring. I also tried something along the lines of "title:term^10 body:term" to no avail.
My current workaround is placing the results with title metadata first in the list when assembling HTML, but ideally building in the boost in the index would be preferable.

I've just published an alpha build of lunr 2.1 with the changes to improve the field based search and boosting. If you have time please try it out to see if it solves the issues you were seeing.
I have tested it locally with the moonwalkers site and the queries mentioned in this issue now return results as expected.
You can install the alpha with the following:
{
  "dependencies": {
    "lunr": "alpha"
  }
}

If all looks right I'm hoping to release a non-alpha build in the next couple of days.

I've tried around with the alpa a bit.
Search results are much better now for my corpus and test queries. That is, without field boosting.
I'm still fiddling around with field boosting. In many cases, there is no effect on result scores, or at least not in the way I would expect. Without a public demo, this is needless to discuss though. I'll continue experimenting, anyway.
Finally, unboosted search works so well I am not sure whether I even need field boosting, anymore.

@j1m1lo yeah, I think the issue is that they are really term boosts within a field not across fields. Getting them to work across fields now might be tricky. I might need to rethink these changes. What I have in mind shouldn't affect the un-boosted search results that seem to be working much better now. Thanks for helping with the testing of this!

I've released 2.0.4 which includes a fix that was probably affecting some non-boosted search results. It actually fixes the query at the beginning of the issue too.
That said I need to do some more investigation/testing into how field boosts currently work and how they should.

@olivernn Good work! It was a bit unfair of me to sneak in a feature request in someone else's bug report, even if it was loosely related, so feel free to close the issue. I'm in the middle of a deadline right now and have not tested your alpha. Do you want me to open a separate feature request?

@Andargor yeah, please open another issue regarding the build time field boosts, just makes it easier for me to keep track of things.

Feedback to the 2.1 alpha:  I just experimentally applied it to a software documentation site with three indexed fields (title, description, body).
The results are pretty promising, even without passing any boost information at all. The index behaves more "intuitive" now, clearly preferring matches in title or description over body matches.

@nkuehn thanks for taking the time to test out the alpha. I've also released 2.0.4 which should include most of the improvements to result relevancy without having any major structural changes to the index, and hence no minor version bump.

you're welcome.  I tried 2.0.4, too but it does not yield good enough results without boosting at query time.   Only 2.1 had ootb-in behavior that did not require boosting.

2.1 boosting worked for me too. No luck with 2.0.4

I've just pushed a new alpha version (2.1.0-alpha.2) which has some further improvements for field based boosting, results should be better where a term is boosted in one field, but not another.
If everything seems fine I'm hoping to publish a non-alpha in the next couple of days.

I am having some good luck with the newer alpha build.  I might need to change my data structure a bit based on my issue here with array data: https://github.com/olivernn/lunr.js/issues/266, but it shouldn't be too big of an issue.
Thank you!

I've just pushed 2.1.0 with the changes discussed to improve boosting and field based search.


Added legal disclaimer to readme.

Branching to create PR for merge to release branch

Preview is available here:http://amm-demo-pr35.previews.kube001.services.stellar-ops.com/

Preview is available here:http://amm-demo-pr35.previews.kube001.services.stellar-ops.com/


documentation for use with remote data service

I have this working successfully with my application, using the demo code with the local data service. Do you have any example of how to use it with a remote data service? I have a REST API to perform the search on a remote database that I'd like to use.

@Toby-Mills there are several examples of remote data in the demo app.

Don't know how I missed that!
Got it working beautifully now - thanks a lot!

Doesn't make any sense

@oferh It Doesn't make any sense


[FLINK-14439][runtime] Enable RestartPipelinedRegionStrategy to leverage JM tracked partition availability in DefaultScheduler

What is the purpose of the change
In current region failover when using DefaultScheduler, most of the input result partition states are unknown. Even though the failure cause is a PartitionException, only one unhealthy partition can be identified.
The may lead to multiple unsuccessful failovers before all the unhealthy but needed partitions are identified and their producers are involved in the failover as well. (unsuccessful failover here means the recovered tasks get failed again soon due to some missing input partitions.)
This PR is to enable failover strategy in DefaultScheduler to leverage JM side tracked partition availability for better failover experience.
Brief change log

Change FailoverStrategy.Factory#create(FailoverTopology) to FailoverStrategy.Factory#create(FailoverTopology, ResultPartitionAvailabilityChecker).
Add schedulerBase#getResultPartitionAvailabilityChecker which returns getExecutionGraph().getResultPartitionAvailabilityChecker()
In DefaultScheduler use the resultPartitionAvailabilityChecker from SchedulerBase to create the failover strategy from the factory

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
The PR of FLINK-14440 which is based on this one also proves it works.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run travis

Rebased onto master

Merging.


Add share buttons

This closes #103.
Share buttons are added to entry detail views. I have opted for including Twitter, Facebook, Reddit, and Tumblr in the available share options. Furthermore, when the device supports it, a "More..." button will be displayed to use the device's sharing capabilities (e.g. the share menu on mobile phones).
Similarly, when the device supports it, a "Share" link is displayed in the info menu. I did not include the share buttons here, since on most platforms where you'd like something like this, the URL can be easily copied.

Can we add a "copy to clipboard" option in that list as well? If you install the mobile app you aren't able to grab a url from anywhere.

Might be good to add a set of these at the bottom of the main menu as well, if people want to share the whole site rather than a specific event/location/character?

I should have read your comments first... XD
The "More..." option on mobile is probably good enough if a "copy link" button isn't worth the trouble... Mobile Chrome gives me a copy url when I click "More...". Mobile Firefox doesn't... but there's plenty of share options there, so it's probably flexible enough.
That said, there's a bug with how it is displayed currently... (typing on desktop now so I'll leave this comment and then post screenshot from my phone)


Update reame to fix code blocks

This change is

Hi @brunodles,
thanks for contributing.
Sorry it took so long to merge. :(


CI is red because of templates and examples containing out of date code

What happened?
CI is red. See:

https://github.com/pulumi/pulumi-java/actions/runs/5556293904
https://github.com/pulumi/pulumi-java/actions/runs/5540864463

Expected Behavior
CI is green for valid PRs.
Steps to reproduce
Attempt a PR.
Output of pulumi about
NA
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Both PRs have merged, and CI is now green.


VanillaFurnitureExpanded.CompProperties_MountableOnWall is incompatible with Replace Stuff

Adding VanillaFurnitureExpanded.CompProperties_MountableOnWall is incompatible with Replace Stuff while having Replace Stuff loaded breaks the ability to replace the wall under the cooler without  destroying the cooler. Could you please add a PatchOperationFindMod to check that Replace Stuff isn't loaded before adding that comp?

Hey sorry I didn't see this issue on the git until now (github why aren't you notifying me about this stuff?). Anyway this should have already been long fixed, so closing.


Ensure repos don't restore/build tests, guided by test prebuilt heuristic labels

https://github.com/dotnet/source-build/issues/731 tracked removing all prebuilts that are detected to only ever be restored by a test project. This issue tracks investigating other project.assets.json files that appear to be for test projects (based on TestProjectByHeuristic in annotated-usage.xml) and disabling those projects during source-build.
This might not end up removing many prebuilts, because (if the heuristic is correct) these prebuilts are also being used by non-test projects.

Done: no test heuristic attributes are present in the latest rolling build annotated-usages.xml.


vscode multi-workspace plugin is invalid

UnoCSS version
0.60.0
Describe the bug
I use the monorepo+vscode multi-workspace mode. The plug-in in the sso workspace can work, but it does not work in the system-manage workspace.
After looking at the unocss plug-in log, it is normal and no error is reported.

Reproduction
no
System Info
vue 3.4.23
vite 5.2.8
pnpm 9.0.5
node 20.10.0
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I will temporarily close this issue and wait for the reproduction steps or demo. You are welcome to open it again.


feat(user-object-sanitizer): added user object sanitizer

First, we need to sanitize the User object, right before passing it to the client or external functions to avoid exposure of services array with the encrypted passwords.
Also, added to options the ability to provide another external sanitizer, so now the developer can filter fields before sending it to the client.

Nice but maybe it's better to use pick than omit?

@pradel, the internal uses omit because we just want to strip the services object.
The signature for the custom sanitizer is (user, omitFunction) so it will be easy to implement the method without any other dependencies.
Maybe expose the pick as well, so the developers will be able to choose?

With the custom function you will be able tu use pick in your omitFunction so it's okay 😄

@pradel , also, I don't want to to use pick inside the internal sanitizer because then we might strip fields that aren't managed by jsaccounts from the user.

I was thinking in a meteor way only fields in profile should be accessible on client by default

Meteor exposes also the rest of the fields, not only the profile field. (am I wrong?)

I think the direction we are starting to head towards will leave the profile section of a user on a separate data store or even owned by the microservice it self.
IMO profile should not be mentioned in this package at all.

@TimMikeladze Are we good on this PR?


Create markjp tolentino

Description
Please include a summary of the change and/or which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Target Release
Please specify which release this PR should align with. e.g., 1.0, 1.1, 1.1 Preview 1.
Checklist

[x] Samples build and run using the Visual Studio versions listed in the Windows development docs.
[x] Samples build and run on all supported platforms (x64, x86, ARM64) and configurations (Debug, Release).
[x] Samples set the minimum supported OS version to Windows 10 version 1809.
[x] Samples build clean with no warnings or errors.
[x] [For new samples]: Samples have completed the sample guidelines checklist and follow standardization/naming guidelines.
[x] If I am onboarding a new feature, then I must have correctly setup a new CI pipeline for my feature with the correct triggers and path filters laid out in the "Onboarding Samples CI Pipeline for new feature" section in samples-guidelines.md.
[x] I have commented on my PR /azp run SamplesCI-<FeatureName> to have the CI build run on my branch for each of my FeatureName my PR is modifying. This must be done on the latest commit on the PR before merging to ensure the build is up to date and accurate. Warning: the PR will not block automatically if this is not run due to '/azp run' limitation on triggering more than 10 pipelines.

donskip


Integration Test - Release - 2019/02/28 15:47:20

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

PRMergerTest1 is not a valid GitHub ID, or is not a collaborator on this repo.

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

PRMergerTest2 is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close

The feedback you logged for Integration Test - Release - 2019/02/28 15:47:20 has been in our backlog for 90 days. While we try to respond individually to as many feedback items as possible, we are not able to respond to all of them. Since this item has been in the backlog for 90 days, we’re closing it.
For more information about the process by which we handle documentation feedback, see "How we respond to Azure technical documentation feedback" in our public contributor guide.


1.1.5.wmagent patch3

#8760 Complement for 8748 skipping dbsbuffer inserts
#8757 Convert a few DBS3Uploader logs to debug

@amaltaro, As we discussed I am not creating the new tag now. You can create a new tag if everything runs OK. Thank you.

Thanks, Seangchan. I see a weird behaviour with vocms0261, which doesn't have any updates in wmstats (job and progress numbers basically) unless the workflow is in completed status. Those in running present 0 for all the columns. I couldn't find any issues with the agent neither wmstats in testbed. I also deployed the same tag+patches to another node, injected workflows and I see all agent job info up there...
Please let me know if you have any clue of what that could be. Meanwhile I'm creating a patch3 tag and will push it to the relval agent.

 Fix #8761 - bundle of wmagent patches for 1.1.15.patch3


Update the link location for the issue3115 test file

The file (lshort.pdf) has changed a couple of times since the test was added, hence there's no guarantee that the current version accurately reflects the issues the test was added to check.
In this patch, I'm updating the link location to point to the intended file version (hosted on the "Internet Archive").

/botio test

/botio makeref

Thanks!


Add power mean for matrix

This PR:

implements the power mean for SPD matrices
(original code from https://github.com/plcrodrigues/means-field-classifier/blob/master/power_means.py)

completes tests.

Also, I would have added an example showing how the power means can be used to make a more robust classifier, like what we did in here.

Also, I would have added an example showing how the power means can be used to make a more robust classifier, like what we did in here.

Yes, I do agree: I will add an example, but in the next PR adding MeansField() classifier.
You can squash+merge if current branch is ok for you.

Hi, i would allow passing p=0 as argument, calling in this case the function for computing the geometric mean.


all % string formated to .format is done in logic.py

There is no space between 'string' and .format()

This is a good change, but there are many conflicts due to reorganization -- could you fix and resubmit?


Tensorrt_yolo issue in autoware universe

Discussed in https://github.com/orgs/autowarefoundation/discussions/229

Originally posted by amtommy April 26, 2022
Hello!
I tried to run the tensorrt_yolo, but I got the incorrect detection results. (see figure)
How to fix it?
Thank you!

@amtommy I tested YoloV3, YoloV4, and YoloV5l with the bag file provided by you. It looks like working well without any change current codebase.
Could you share your steps for reproducing your detection results?
I shared result videos:
YOLO V5L:

YOLO V4:

YOLO V3:

@kaancolak  Thanks for your verification.
I compare my code with the current codebase.
I find the problem is the module uses the default anchor size[link], so I got the incorrect result.
Now I use the correct anchor size [link], and I get the same result as yours.
The problem is solved, thanks for your help.


bug: search jumps back to original line on each character input

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.0-dev-2503+gda2130934-Homebrew
Operating system/version
macOS 14.3.1 (23D60)
Describe the bug
When searching, each time a character is entered the cursor shortly jumps back to the line it was on when the search was started. This causes the whole split to be redrawn if the original line is off-screen compared to the current match.
It almost feels like the search term was being emptied between keypresses.
Steps To Reproduce

Start searching with / or ?
Start entering a search term
The file will jump between the starting line and the line containing the match each time a character is entered

Expected Behavior
I expected the search to behave like it does without noice.nvim, with no jumping around.
Repro
No response

Not stale.

This is fixed for a recent Neovim nightly


Same as bundler-inject?

Hi all.  I noticed this new bundler plugin, and was curious if this offered the same functionality as bundler-inject?  Seems similar.

Hi @Fryguy, this work is heavily inspired by bundler-inject, but serves slightly different purpose. We needed a tool that would allow to use a published dependency and allow to override its transient dependencies, allowing to remove them or update the version requirements. Such functionality is available in dependency management tools for other languages but not for ruby. This is mainly needed when your dependency is abandoned and no one maintains its dependencies which may contain CVEs. Also can help when you have a conflicting versions of transient dependencies, like one of your dependency requires gem x in version < 2 and another in version > 2. Another case is when your dependency has broad functionality and you don't need all of that, like Chef and support for windows when targeting linux only.
Of course modifications of transient dependencies is unsafe and can break your direct dependencies, so one needs to verify that such changes did not introduced a regression in their functionality. Also if you use that and something breaks that's definitely not a fault of the original gem maintainers.
To the best of my understanding of how bundler-inject works such use case would require persisting of a modified version of your dependency with your code.

Ah, thanks for the details.  Sounds like the use case is similar to npm overrides?

To the best of my understanding of how bundler-inject works such use case would require persisting of a modified version of your dependency with your code.

Only if the override requires code changes would the code need to be available.  The override_gem directive in bundler-inject can also just take a version a parameter, so you could point to a different updated version of a transitive dependency.
If the gem does need to be modified, then the modified version would need to be available somewhere and published.  It could be vendored alongside your code, but it could also just be a git fork or packaged to a custom rubygems instance.  Since rubygems doesn't support namespacing, I don't think you could publish into rubygems.org (I wish there was an option to gem that you could point to a different gem and say "use this gem and pretend it's really the listed gem").
So, I think you could use bundler inject for your purposes, where you would persist a file into the bundler.d directory, but admittedly that does start blurring the lines between dev and prod use cases.

Have you opened an issue in rubygems discussing an overrides directive? (or perhaps there's already an open issue - I didn't check)  Considering it's in other package managers, there's strong evidence of its utility, and the security aspects you described help give weight to the argument.

Oh, I forgot to mention, we do want to support overriding transitive dependencies, but there's just a bug right now (this one.  So, if that helps your use case, we'd be happy to accept a PR to fix that.  I just haven't been able to figure it out (nor do I have cycles for it at the moment).


Export to Cirq - implement all gates

Missing gates:

[ ] cy
[ ] ch
[ ] csrn
[ ] crx
[ ] cry
[ ] csrswap

I am willing to take this up if its still open! :)

You’re welcome!


The error for using dart:io is unhelpful

From @lukechurch on January 5, 2015 12:30
"Error compiling:
[500 Internal Server Error] [error, line 1] Library not found 'dart:io'."
Should be something along the lines of
"The dart:io library cannot be used in a browser context. Please see support page for common work arounds."
Lets chat about where we put in the fix.
Copied from original issue: devoncarew/dartpad_ui#14

We should prevent the Run button from being clickable, if the code somehow imports dart:io.

The error has been cleaned up quite a bit. We can get some more info from the backend when analyzing, to be able to recognize a sample that directly or transitively imports dart:io.

I am confused.
I am able to read a file in the darrrrt codelab, which depends on dart:html. So I expected that creating a simple example that relies on dart:io would also be able to read a file.
I tried it and got a confusing error:
CONSOLE
Error compiling to JavaScript:
[error on line 1] Library not found 'dart:io'.
[warning on line 7] Cannot resolve 'File'.
If dart:io is not supported, I would expect a clearer message saying that dart:io is not supported.
And why can I read a file in the Pirate codelab (dart:html) but not dart:io?
You can see my example here:
https://dartpad.dartlang.org/75e9c57f714e8a51ef21
Here is the Pirate codelab, which reads a JSON file:
https://dartpad.dartlang.org/9ccf6694c91268e78e79

Yeah, the net-net is that dart:io is not supported, and there's no real path to supporting it in dartpad.
We can do something like scrap the error message that comes back from dart2js in order to display a better error message.
You can use the dart:html apis to read a file because we compile your app to javascript and execute it in the browser (in an embedded iframe). We can't run a dart:io app in the browser, and we don't have a sandboxed environment to be able to execute it on a server :(

The action item here is to improve the error message in order to make it clear that the reason the app failed to run is because the dart:io library is not supported in dartpad.

Yes, thanks.

Still an issue. You can even import 'dart:io' and get reasonable looking docs, which makes you think it'll be OK to use...

Another user ran into this.

Just opened a related but broader issue: #1000. I'm going to close this one as a duplicate of the new one.


ReflectionUtils ExecuteForEachProperty overflow exception

When iterating over DateTime data types the code is throwing an overflowexception due the fact the DateTime also have a recursive property name Date
DateTime date;
date.Date.Date.Date

https://github.com/marionzr/Nzr.ToolBox/commit/a77202aa791d4397b18a3e8e60fc10cb056169cd


Synology Camara: The detail view don't work

Home Assistant release with the issue:

hass 0.88.0
Last working Home Assistant release (if known):
??
Operating environment (Hass.io/Docker/Windows/etc.):

hass.io
Component/platform:

https://www.home-assistant.io/components/camera.synology/
Description of problem:
You can see the preview Card of the Cam. But if you klick on the Card the detail popup show only a little "?".
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
camera:
  - platform: synology
    url: http://<IP_ADDRESS>:5000
    username: user
    password: password
    timeout: 15
    verify_ssl: False

Traceback (if applicable):

Additional information:

/move to home-assistant/home-assistant-polymer


Rendering to a texture (similar to CefSharp Offscreen rendering)

Hello,
Is it possible to render photino to a texture ?
My use case is a Game Engine and I would like to integrate photino in a GUI window to allow web-browsing and multi-viewport via imgui + SDL.
I currently see the requirement is to have WinForms running to display webview, I can see a possibility of intercepting the back-buffer of winforms and render it in a window, but have you considered it?
Thank you.

Hello.
For this scenario it doesn't sound like Photino would be an ideal fit.
We're not very familiar with the technologies you're using for your game development, but it seems like the setup is dependent on Windows (not cross platform) and a simpler webview integration without the Photino wrapper would be more beneficial. Photino in essence is not a browser alternative.

Hello. For this scenario it doesn't sound like Photino would be an ideal fit. We're not very familiar with the technologies you're using for your game development, but it seems like the setup is dependent on Windows (not cross platform) and a simpler webview integration without the Photino wrapper would be more beneficial. Photino in essence is not a browser alternative.

Thank you for your reply,
I was looking at Photino primarily because of its cross-platform nature. CefSharp is Windows only, while imgui, SDL can run anywhere. My question was poorly phrased, the better way would be:
Does Photino team plans to support off screen rendering, so web view of Photino can be rendered in 2D, 3D applications?

If you want to Render a browser to a texture to use web UI tech to build things for gaming, there is a product specifically designed for that called UltraLight UX, over here: https://github.com/ultralight-ux/Ultralight


[AD] Support special characters in user principal name

Related command
az ad user
Description
Close https://github.com/Azure/azure-cli/issues/23807
The Graph API document directoryObject: getMemberGroups doesn't mention userPrincipalName should be URL encoded, but it is mentioned in Get a user API.

To query a B2B user using the userPrincipalName, encode the hash (#) character. That is, replace the # symbol with %23. For example<EMAIL_ADDRESS>
@ doesn't need to be encoded. However, similar to what I described in https://github.com/Azure/azure-cli/pull/22739, there is also an inconsistency here between the doc and the old graphrbac SDK. SDK also encodes @:
az ad user get-member-groups --id<EMAIL_ADDRESS>--debug
...
msrest.http_logger: Request URL: 'https://graph.windows.net/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a/users/jiasli_microsoft.com%23EXT%23%40AzureSDKTeam.onmicrosoft.com?api-version=1.6'

This was done by msrest:
https://github.com/Azure/msrest-for-python/blob/c97db9df00c7802b1a1af3ab8dcdbf6a5acbbdd7/msrest/serialization.py#L659
                output = quote(str(output), safe='')

Here we also encode @ so that we can reuse azure.cli.testsdk.utilities.MSGraphNameReplacer.

AD

Many tests fail with
E           /v1.0/users/testuser000002%40azuresdkteam.onmicrosoft.com !=<EMAIL_ADDRESS>
It looks like VCRPY can't match escaped characters in the URL path section.


NoMethodError: undefined method `split' for #Array:0x000000014a189ef8

immediately didn't work.  Not sure what's up

Oh I passed an array in instead of a string. :)