fcitx-engines.anthy: 0.2.2 -> 0.2.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/fcitx-anthy/versions.
These checks were done:

built on NixOS
fcitx result is not automatically checked, because some binaries gets stuck in daemons

meta.description for fcitx-engines.anthy is: '"Fcitx Wrapper for anthy"'.
cc @ericsagnes for testing.
This build is cached with Cachix. To use the cache follow these instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 987feced652d63b96c4bb4952fa8d5bb66e27e42 && nix-shell --pure -I nixpkgs=. -p fcitx-engines.anthy

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: fcitx-engines.anthy
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Attempted: fcitx-engines.anthy
Partial log (click to expand)
copying path '/nix/store/4rxlbgc1jflls7sq0lgm3s17mvinp7h5-qt-4.8.7' from 'https://cache.nixos.org'...
acquiring/releasing lock: Resource deadlock avoided

trying http://download.fcitx-im.org/fcitx-anthy/fcitx-anthy-0.2.3.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0   1141      0 --:--:-- --:--:-- --:--:--  1134
100 78020  100 78020    0     0   109k      0 --:--:-- --:--:-- --:--:--  109k
cannot build derivation '/nix/store/djlbhlz2f57l8hjns4iwv1b0ilbrx44a-fcitx-anthy-0.2.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/djlbhlz2f57l8hjns4iwv1b0ilbrx44a-fcitx-anthy-0.2.3.drv' failed


Documentation for STM32f446 Nucleo Board

Addressed the review comments:

Updated the statement regarding 1 LED usage.
covered the cargo commands in ```powershell block.

looks good. @Strange21 - nice work.
I've made a few changes. Please perform a - git-pull to pull the changes into your local repo.


linuxPackages.wireguard: 0.0.20200214 -> 0.0.20200215

Motivation for this change
https://lists.zx2c4.com/pipermail/wireguard/2020-February/005014.html
Things done

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

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

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

cc  @elseym  @ericsagnes  @Mic92  @globin  @Ma27

Thanks! Backported to release-20.03 as 50edd0f565aa26a557b8848316bdc4631782b004 and to release-19.09 as 6b47f71542931d4a5d6e18cdccd7d477a3cb0817.


Addition of lots of resolvers and cleanup

Hi Frank,
I've done quite a bit of work on the resolvers CSV; Sourcing complete lists from providers, cleanup and validation.  I've also changed some of the 'names' and 'full names' to add some clarity though I haven't been using dnscrypt long so I wasn't sure if this might affect anything else.  I've been testing with OSXClient and everything seems ok but if there are dependencies elsewhere I'm not aware of please let me know and redo the additions more conservatively.

Hi Gavin,
And thanks for these changes!
Unfortunately, quite a few of these resolvers do not work or do not exist any more.
The resolvers-check.sh script can be used to validate the CSV file, by automatically testing each entry.
Also, it's better to avoid changing the names of existing resolvers, because users having configured their computer to use one of these names would suddenly get an invalid or a different configuration.
Some resolvers are accessible using different ports or IPs. The CSV file doesn't currently include all these options to avoid bloat in GUIs, and because the best option in this case should probably be detected automatically. Including all the ways to access the same resolver will require a change to the CSV file or maybe switching to a different format.
The file was updated with missing entries from your pull request that were verified to be up and running, as well as the cleanups you made.
Thanks!

There is a timeout for the following resolvers: fvz-rec-de-muc-01 fvz-rec-fi-ulv-01 fvz-rec-fr-par-01 fvz-rec-gb-lon-02 fvz-rec-lt-vno-01 fvz-rec-nl-cpi-01 fvz-rec-nl-dro-01 fvz-rec-nl-fl-01 fvz-rec-ru-led-01 fvz-rec-sg-ea-01 fvz-rec-us-dal-01 fvz-rec-us-sea-01
https://dnscrypt.me:8443/resolvers.html


Link to GitHub.io docs is incorrect

In the about section of the repo, the docs link points to answerdotai.github.io/lmtools.
It should point to answerdotai.github.io/toolslm

Thank you!


Icon request: Infomaniak

URL of the site or app (required): https://www.infomaniak.com/
Logo resources for the icon (optional, but recommended): https://www.infomaniak.com/img/common/logo-infomaniak-small.svg

Here you go!
For Aegis v2.0 and above (recommended):
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Infomaniak.svg
For Aegis v1.4.2 and below:
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Infomaniak.png
❓ How to add icon(s) to Aegis?


Fix Typo on RTL Support

@gsalaun1 Thank you. I appreciate.
I will merge your PR as a quick fix in master, without a proper release.
But your contribution will disappear because it has already been fixed in the dev branch.
Preview here: https://picocss.github.io/pico/docs/rtl.html


feat: add apis for wxml inspector

Added Component.listChangedProperties to list properties changed by wxml.
Changed Component.prototype.getExternalClasses to return the mapping of external classes.
Trigger MutationObserver when external classes or dataset changed.
Dump external classes and dataset when dump elements.

track in #181


Fix TagList formwidget

The TagList formwidget was not working properly in relation mode if the relation was not using a pivot table (e.g. morphMany/hasMany)
All modes did not update the model field or relation when all tags had been cleared.
Fixes #1223

@bennothommo I just saw you started a PR on TagList as well, thought you might want to review this one.

This PR fixes the TagList in relation mode for MorphMany relations, but looks like it breaks it for BelongsToMany relations.

@mjauvin it's probably worth adding an example in the Test plugin if there isn't one already, if adding the unit tests becomes too difficult.

yeah, that's what I'm going to do for now.

tested working with the following modes using Winter.Test plugin in Post model:

relation (belongsToMany)
array (useKey = true/false)
string (useKey = true/false)

All the above tests also include clearing all values and making sure the model field or relation was updated accordingly.

@LukeTowers Anything more before merging this?

@mjauvin @bennothommo Has it been fully tested?

@mjauvin @bennothommo Has it been fully tested?

Yes, see previous comment above.

Oh it seems to generate 2 tags instead of one when creating a tag for the first time

@AIC-BV can you show your tag field definition and relation?

@mjauvin
There is no relation
tags:
    label: Tags
    type: taglist
    customTags: false
    options:
        nieuw: Nieuw
        best: Beste deal
    span: auto

@AIC-BV can you open an issue for that so that we don't release 1.2.8 until it's fixed?

https://github.com/wintercms/winter/issues/1275


[zookeeper] build numbers in version create broken links

We are currently having lots of broken links because of build number parts in version info
I am not sure if we really need build/patch version parts which not even seen by users whenever they want to download
related version in zookeer's web/storage site
Possible solutions :
a - Change changelogTemplate and write it to trim version part without build info
b - Completely remove build part from regex and template [under auto part ]
c - Everyone loves bugs we love them and keep them happily lived after [just kidding]

@captn3m0 ping?

Maybe @anmolnar can clarify here.
There's some diff between 3.8.0 and 3.8.0-1: https://github.com/apache/zookeeper/compare/release-3.8.0-0...release-3.8.0-1
But only 3.8.0 is released on the maven repository.
Can easily change the auto.template to drop the build number from our versioning, but I'm not sure if it's a good idea?

but normally we are not adding rc or alpha versions of products these buillds are something like rc/alpha versions so they will be added in without -1 -2 -3 -x[buildNo] versions
you can observe here :

I'm not entirely sure if these are rc/alpha builds.

They release like this
let say 3.5.1 will be released
first 3.5.1-0 then 3.5.1-1 then 3.5.1-2 then if needed 3.5.1-3 and at last they release 3.5.1

just check dates for taggings and their version numbers :

so i suggest we just fetch the verisions which doesnt have - at be right side [stable versions]

I haven't checked for all versions, but specifically for 3.8.0:

There's no 3.8.0 tag, only 3.8.0-0 (4th Feb) and 3.8.0-1 (25th Feb).

Maven marks 3.8.0 as being released on 4th March: https://mvnrepository.com/artifact/org.apache.zookeeper/zookeeper/3.8.0

The website marks it as released on 7th March: https://zookeeper.apache.org/releases.html#news

The release notes for 3.8.0 mention ZOOKEEPER-4465, ZOOKEEPER-4469, and ZOOKEEPER-4478 - all of which are present only in 3.8.0-1.

The build info in the maven release jar says:
java         String REVISION_HASH="5a02a05eddb59aee6ac762f7ea82e92a68eb9c0f";         String BUILD_DATE="2022-02-25 08:50 UTC";         System.out.println("Apache ZooKeeper, version 3.8.0 2022-02-25 08:50 UTC");

The above commit is identical to the 3.8.0-1 tag: https://github.com/apache/zookeeper/compare/5a02a05eddb59aee6ac762f7ea82e92a68eb9c0f...release-3.8.0-1, https://github.com/apache/zookeeper/releases/tag/release-3.8.0-1

All of this makes me believe that 3.8.0-1 is actually the correct tag, with a build date of 25th Feb, and a release date of 7th March. So probably tracking Maven releases might be better here (have a separate issue for that: https://github.com/endoflife-date/release-data/issues/10)

there isnt 3.8.0 because it is not released yet

It's listed on the Zookeeper website, so I'd count it as released: https://zookeeper.apache.org/releases.html#news
lots of distros shipping it: https://repology.org/project/zookeeper/versions
Might be worth raising on the zookeeper mailing list.

yep looks like it is released but forget to be tagged on github

but i am pretty sure that other -X are all rc versions and it is a missing variable that forgets to add rc after - so it looks like a new release


darcs: Allow newer graphviz

Fixes #41306
Fixes #41307

@GrahamcOfBorg build darcs hydra

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: darcs, hydra
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: darcs, hydra
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21
shrinking /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21/bin/hydra-evaluator
shrinking /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21/bin/hydra-eval-jobs
shrinking /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21/bin/hydra-queue-runner
patching script interpreter paths in /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21
checking for references to /build in /nix/store/dcy8pkmqkhkacqa6304s6wphzxnbr924-hydra-2017-11-21...
finalPhase
build time elapsed:  0m0.521s 0m0.507s 1m17.851s 0m8.203s

Iff graphviz will get bumped in 18.03, this needs a backport.

Success on x86_64-darwin (full log)
Attempted: darcs
The following builds were skipped because they don't evaluate on x86_64-darwin: hydra
Partial log (click to expand)
Warning: The directory
/nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0/bin is not in the
system search path.
Registering darcs-2.14.0...
post-installation fixup
gzipping man pages under /nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0/share/man/
strip is /nix/store/r5mcn9vqq80v5pfqp45d7290cis7dwp4-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0/lib  /nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0/bin
patching script interpreter paths in /nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0
/nix/store/96a0xssrcvggl0sjkxyy3dsagjykmm1q-darcs-2.14.0


masscan: fix build on darwin

Motivation for this change
ZHF: #144627  (@NixOS/nixos-release-managers)
Things done
Patch install command on Darwin.

Built on platform(s)

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Shouldn't this be fixed upstream or is this specific to Nixpkgs somehow?

Shouldn't this be fixed upstream or is this specific to Nixpkgs somehow?

This is specific to nixpkgs, because upstream uses the BSD install command, but nixpkgs use GNU install on all systems, so the patch makes the build work with the later.


[WFRP4e Core] AOE not working

Fate's Fickle Fingers AoE is not coming up in yards as for other spells, but as "Initiative Bonus Yards" and overcasts are unable to be used for increasing the AoE of effectFrom: Perkuns#9523wfrp4e: 5.0.5wfrp4e-archives1: 2.3.0wfrp4e-core: 2.3.3wfrp4e-dotr: 2.2.1wfrp4e-eis: 2.2.1wfrp4e-middenheim: 2.3.1wfrp4e-pbtt: 2.1.1wfrp4e-rnhd: 2.3.2wfrp4e-starter-set: 2.2.1wfrp4e-ua1: 2.2.1

after careful checking "Initiative Bonus yards" is misspelled as "Initative Bonus yards"


Add a list of connected Channels for Thing

Add one more row in list of Things where the number of connected channels is displayed
Consider where to place list of channels to which the Thing is connected to

Moving this one to new MainfluxLabs/ui-elmrepo: https://github.com/MainfluxLabs/ui-elm/issues/1


Proof Of Work Consensus Algorithm In The Blockchain

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[ ] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #7375

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@wilkistermumbi
I see you have too many PRs assigned at one time. 👀
Lets please be sure to get the ones that are ready for final published by pinging the CM team to get those completed before assigning more PR.

plagiarism check done ✔

Hello @wilkistermumbi. How far with this article review?

Can we reassign this article to another reviewer @hectorkambow? @wilkistermumbi seems not available for a very long time.

I'll be sure to take a look asap

@Greggmun
Be sure to see your live published article on the site (it should be live within 30 mins).
To give your article a boost in page engagement - share it across your social site (linkedin/twitter) and tag the EngEd program so we can also share it and give it some traction as well!
If you have not done so already - consider adding a skill section to your author page. This will go a long way for potential future employers.


‼ Conflict with Hover Editor Plugin

Enabling both leads to flickering and occasional inability to get the hover. I tried adjusting some of the settings and delays, but with little success. setting default hover editor mode to "current file" seemed to help a little.
https://github.com/user-attachments/assets/9340f945-98f5-4cf8-87e9-a45052083bbb
https://github.com/user-attachments/assets/2e783eb3-7b55-4dd0-b2ea-dc26397b0a1d

@ksdavidc
This is a tough one, as Obsidian uses a Shadow DOM to control its content, its not trivial to prevent rich-foot from being removed when the hover editor popover is being initiated.
Will need time to rethink/work this one out.
Would love some help 🤣 as rich-foot isn't the only project I'm working on.

sorrry to have been the bearer of bad tidings. It's way out of my league, but someday I guess. For now I will use one or the other, depending on the vault.

@ksdavidc thank you again for reporting the conflict with Hover Editor.
we will get it fixed, just not an easy one at the moment.
I'll ping you back here when something is deployed addressing it.
In the meantime we did just have to release today (rich foot & pixel banner)
https://github.com/jparkerweb/pixel-banner/releases/tag/2.12.0
https://github.com/jparkerweb/rich-foot/releases/tag/1.9.2

no worries, low priority. Hover seems a bit in the weeds with issues and also "leverages Obsidian functionality that is not currently exposed in the official API.", so you may have your work cut out for you.

@jparkerweb if you have any questions for me on how Hover Editor works or need something changed in it, leave a comment on the HE ticket for this and I'll see what I can do.

@pjeby likewise.
I'm not planning on changing the current implementation of rich-foot as it already works with the core plugin hover "preview" notes, etc.
I haven't had time to dig into the hover edit implementation, but based on the comments, it seems the preferred API's from Obsidian might not be available at this time.
good luck to you.


Missing note about precondition for the command to generate example Rails application

Steps to reproduce

prepare an environment without running Elasticsearch at http://localhost:9200.
proceed as described in the "Usage" section of the README.
try to start the sample application with the following command.

rails new searchapp --skip --skip-bundle --template https://raw.github.com/elasticsearch/elasticsearch-rails/master/elasticsearch-rails/lib/rails/templates/01-basic.rb

Actual result
The following error occurs.
ERROR    Cannot connect to Elasticsearch on <http://localhost:9200>

                The application requires an Elasticsearch cluster running, but no cluster has been found on <http://localhost:9200>.
                The easiest way of launching Elasticsearch is by running it with Docker (https://www.docker.com/get-docker):

                docker run --name elasticsearch-rails-searchapp --publish 9200:9200 --env "discovery.type=single-node" --env "cluster.name=elasticsearch-rails" --env "cluster.routing.allocation.disk.threshold_enabled=false" --rm docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.0

Expected result
Successfully proceeded with no error.
Proposal
I propose that note in the README ahead of time that Elasticsearch needs to be running on http://localhost:9200.
I'm trying to send a pull request to do that.

@yamashun Have you opened a pull request for this, as you mentioned you might?

Closing because no response.


Should we pin to a version of Bazel in CI?

Currently we pin to a version of Bazel in CI.
Most projects in the bazelbuild org don't do this (a couple do, though). Some pin for specific configurations (e.g. to check support for a "minimum Bazel version").
The benefit of pinning is that we can opt-in to breakage in a particular PR. The downside is that we want to move quickly. A mitigating factor is that post-1.0 the intent is for Bazel to be reasonable about the pace of breaking changes.

I'd prefer it if we didn't pin the version of bazel in CI at the moment. When the rules have reached (or close to) D2L generally usable, I'd be more in favour of pinning them.
If we pin the version now, we will need to wait for a version bump to identify any breaking changes (or deprecation notices). How frequently that occurs requires dependabot, or someone to be on top of updating bazel in CI.
Not pinning isn't without risks (such as a breaking change failing every pull request), but I'd be more confident with the rules if we were forced to always be at the latest version.

Closing in favour of #155 which will allow us to mitigate the downsides of pinning.


IBKR API Gateway - Option Data

Hi,
I don’t know why, but I can never get real-time data and always get "NaN" as the value. I also get the error message: "Requested market data is not subscribed. Delayed market data is available." However, I’ve subscribed to "OPRA (US-Optionsbörsen) (NP, L1)".
I just want a script that retrieves the option chain for all expiration dates so I can save it in my database (right now, I’m only using Yahoo Finance).
from ib_insync import *

def get_multiple_expirations_strikes(exp_list,strike_list):
    ib = IB()
    ib.connect('<IP_ADDRESS>', 8888, clientId=4, readonly=True)
    for i in exp_list:
        print('Expiration: ', i)
        for x in strike_list:
            for k in ['C','P']:
                contract = Option('SPY', i, x, k, 'SMART')
                details = ib.reqTickers(contract)

                ib.sleep(5)

                print ('strike: ',x,' C/P: ',k," ",details[0].close)

get_multiple_expirations_strikes(["20241122"], [590])

Output:
Expiration:  20241122
Error 354, reqId 3: Requested market data is not subscribed.Delayed market data is available.SPY NOV 22 '24 590 Call (SPY   241122C00590000) /TOP/ALL, contract: Option(symbol='SPY', lastTradeDateOrContractMonth='20241122', strike=590, right='C', exchange='SMART')
Error 354, reqId 3: Requested market data is not subscribed.Delayed market data is available.Error&BEST/OPT/Top&BEST/OPT/Top
strike:  590  C/P:  C   nan
Error 354, reqId 4: Requested market data is not subscribed.Delayed market data is available.SPY NOV 22 '24 590 Put (SPY   241122P00590000) /TOP/ALL, contract: Option(symbol='SPY', lastTradeDateOrContractMonth='20241122', strike=590, right='P', exchange='SMART')
Error 354, reqId 4: Requested market data is not subscribed.Delayed market data is available.Error&BEST/OPT/Top&BEST/OPT/Top
strike:  590  C/P:  P   nan

Probably a mix of:

If the error message is complaining about "not subscribed" market data, then the correct market data just isn't available on the account for the request. Check the market data IBKR settings page for more bundles or data packages to use.
All contracts for requests should be run through qualify() first so the exact contract id values are populated.

If the goal is to find the full option chain, then reqContractDetails() with a partial date would return more matching values for the full date range.

I just want a script that retrieves the option chain for all expiration dates

Then reqTickers() doesn't help because reqTickers() provides live market data (and reqTickers() is mostly just a wrapper around reqMktData()).
What you would want is reqContractDetails() to fetch a list of option contracts for a partial contract specification (just provide a date of 202412 and it'll return for every date in the month, but since SPY has daily expirations, you may want to request dates sequentially).


[BUG] Tracing does not work with playwright.request.newcontext()

Context:
I am using playwright to test REST API endpoints.
I do not see trace.zip after I run pytest --tracing=on.
Code Snippet
Simple test script
import os
from typing import Generator

import pytest
from playwright.sync_api import Playwright, APIRequestContext

@pytest.fixture(scope="session")
def api_request_context(
    playwright: Playwright,
) -> Generator[APIRequestContext, None, None]:
    request_context = playwright.request.new_context(
        base_url="https://api.publicapis.org",
        ignore_https_errors=True
    )
    yield request_context
    request_context.dispose()

def test_should_create_bug_report(api_request_context: APIRequestContext) -> None:
    response = api_request_context.get("/entries")
    assert response.ok

Describe the bug
pytest --tracing=on test_mytest.py  does not produce trace.zip

AFAICT, it also doesn't work with Browser.new_context (e.g., using the browser fixture to create a context with a different scale factor browser.new_context(device_scale_factor=2)); not sure if that ends up using the same APIRequestContext in the end.

And this is particularly problematic as the only way to test chrome extensions is by creating a new context as per https://playwright.dev/python/docs/chrome-extensions
Please help :)

In fact I just reimplemented my fixture copying it from https://github.com/microsoft/playwright-pytest/blob/fb2e7c74bbce5913897b75be35311e22480fa5ab/pytest_playwright/pytest_playwright.py#L232 and creating the context the way I need it and everything worked as expected. Might not help in all cases but to me it kinda solved....

I've found the same issue, if this it not by design.
It appears that we should use fixture new_context, so tracing/videos/screenshots are taken automatically if enabled but new_context is a function fixture and not session.
https://github.com/microsoft/playwright-pytest/issues/232
https://github.com/microsoft/playwright-pytest/pull/216

The issue is still there


Windows 11 Breaking changes (as expected)

Expected Behavior
Since there is no compatibility list in wiki (or i missed it) this should work
Actual Behavior
crash (not enought rights to acces file in site-packages/comtypes/gen  (i think it is a wright priveledge)
and once i resolved it  it crashes again on
module 'comtypes.gen.UIAutomationClient' has no attribute 'CUIAutomation' (full traceback at end)
Steps to Reproduce the Problem

migrate windows 10 to 11
run script that used to work
fix premissions
clean install off Python 3.9.7 does not help

Specifications

Pywinauto version: 0.6.8
Python version and bitness: Python 3.9.7
Platform and OS: windows 11 x64 (build 22000.194)

Traceback
File "<Redacted but hapen durring import>", line 14, in <module>
  from pywinauto import Application
File "C:\Program Files\Python39\lib\site-packages\pywinauto\__init__.py", line 89, in <module>
  from . import findwindows
File "C:\Program Files\Python39\lib\site-packages\pywinauto\findwindows.py", line 42, in <module>
  from . import controls
File "C:\Program Files\Python39\lib\site-packages\pywinauto\controls\__init__.py", line 36, in <module>
  from . import uiawrapper # register "uia" back-end (at the end of uiawrapper module)
File "C:\Program Files\Python39\lib\site-packages\pywinauto\controls\uiawrapper.py", line 47, in <module>
  from ..uia_defines import IUIA
File "C:\Program Files\Python39\lib\site-packages\pywinauto\uia_defines.py", line 181, in <module>
  pattern_ids = _build_pattern_ids_dic()
File "C:\Program Files\Python39\lib\site-packages\pywinauto\uia_defines.py", line 169, in _build_pattern_ids_dic
  if hasattr(IUIA().ui_automation_client, cls_name):
File "C:\Program Files\Python39\lib\site-packages\pywinauto\uia_defines.py", line 50, in __call__
  cls._instances[cls] = super(_Singleton, cls).__call__(*args, **kwargs)
File "C:\Program Files\Python39\lib\site-packages\pywinauto\uia_defines.py", line 63, in __init__
  self.ui_automation_client.CUIAutomation().IPersist_GetClassID(),
AttributeError: module 'comtypes.gen.UIAutomationClient' has no attribute 'CUIAutomation'```

it may be bad luck after migrating back to 10 a full uninstall (with manual removal of pip files from app data) was needed to be done to make it work again... but before i migrated back  a forced reinstal via pip was also attempted.
also bitnes was x64

Well, such issues happen when comtypes cache is broken. So removing and installing comtypes from scratch should help. If you meet this issue again and comtypes cache clean up doesn't help, please re-open it.


chrome driver keep running in the background

I have two issues with chrome driver
The first one is : chrome driver keep running in the background and many instances
the second one i have it when iam running tests in a template: chrome driver not working with template only the first test will go well and when i close browser and windows it will give this error. Is it an option that i do not close the windows and the browser?
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 74.0.3729.6 (255758eccf3d24..., userDataDir: C:\chrome-selenium-profile}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:62733}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), rotatable: false, setWindowRect: true, strictFileInteractability: false, takesHeapSnapshot: true, takesScreenshot: true, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unexpectedAlertBehaviour: ignore, unhandledPromptBehavior: ignore, version: 74.0.3729.169, webStorageEnabled: true}
Session ID: 4d2c5c3c05603c0264c5346b89999b40". Retries left: 2.
17:15:37 Using local Selenium server
17:15:37 TRACE: Setting system property "webdriver.chrome.driver" to "C:/Webdrivers/chromedriver.exe"
Jun 04, 2019 5:15:37 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 30359
Only local connections are allowed.

Make sure the parameter selenium.reuseDriver in actor.yaml is set to false:
selenium:
    reuseDriver: false

You should only set it to true when you are developing/debugging tests, so you don't have to run the test from the beginning all the time.

ok it works now thanks


Fix portion clippy issues

@alex-semenyuk you might want to take a look at https://github.com/rust-lang/rustfmt/pull/5400 to make sure that you're not addressing the same lints.

I was actually addressing everything that's enabled by default except clippy::too_many_arguments. It's nice that you're providing a little "changelog" in your PRs though :)

Yeah, seems it was addressed at #5400


Example of tables with fixed height or not

I begin to try gofpdf (coming from Reportlab of Python) and I need tables. Then i did some tests that I like to share to have review if I do it correctly, and if yes maybe it could go in the examples.
One table is with fixed height where the cells doesn't overlap. The other is with multi-lines with height of the highest cell.
Thanks for this lib, the speed is really impressing with thousands of pages in few seconds ! and sorry for my english
package main

import (
	"fmt"
	"strings"

	"github.com/jung-kurt/gofpdf"
)

const MARGECELL = 2 // marge top/bottom of cell

/*
Table with one line by row
*/
func tableClip(pdf *gofpdf.Fpdf, cols []float64, rows [][]string) {
	pagew, pageh := pdf.GetPageSize()
	_ = pagew
	mleft, mright, mtop, mbottom := pdf.GetMargins()
	_ = mleft
	_ = mright
	_ = mtop

	for _, row := range rows {
		_, lineHt := pdf.GetFontSize()
		height := lineHt + MARGECELL

		x, y := pdf.GetXY()
		// add a new page if the height of the row doesn't fit on the page
		if y+height >= pageh-mbottom {
			pdf.AddPage()
			x, y = pdf.GetXY()
		}
		for i, txt := range row {
			width := cols[i]
			pdf.Rect(x, y, width, height, "")
			pdf.ClipRect(x, y, width, height, false)
			pdf.Cell(width, height, txt)
			pdf.ClipEnd()
			x += width
		}
		pdf.Ln(-1)
	}
}

/*
Table with multi lines by row
*/
func tableMulti(pdf *gofpdf.Fpdf, cols []float64, rows [][]string) {
	pagew, pageh := pdf.GetPageSize()
	_ = pagew
	mleft, mright, mtop, mbottom := pdf.GetMargins()
	_ = mleft
	_ = mright
	_ = mtop

	for _, row := range rows {
		curx, y := pdf.GetXY()
		x := curx

		height := 0.
		_, lineHt := pdf.GetFontSize()

		for i, txt := range row {
			lines := pdf.SplitLines([]byte(txt), cols[i])
			h := float64(len(lines))*lineHt + float64(MARGECELL*len(lines))
			if h > height {
				height = h
			}
		}
		// add a new page if the height of the row doesn't fit on the page
		if pdf.GetY()+height > pageh-mbottom {
			pdf.AddPage()
			y = pdf.GetY()
		}
		for i, txt := range row {
			width := cols[i]
			pdf.Rect(x, y, width, height, "")
			pdf.MultiCell(width, lineHt+MARGECELL, txt, "", "", false)
			x += width
			pdf.SetXY(x, y)
		}
		pdf.SetXY(curx, y+height)
	}
}
func main() {
	cols := []float64{60, 80, 40}
	rows := [][]string{}
	for i := 1; i <= 88; i++ {
		word := fmt.Sprintf("%d:%s", i, strings.Repeat("A", i))
		rows = append(rows, []string{word, word, word})
	}

	pdf := gofpdf.New("", "", "", "")
	pdf.SetFont("Arial", "", 12)
	pdf.AddPage()

	tableClip(pdf, cols, rows)
	tableMulti(pdf, cols, rows)

	pdf.OutputFileAndClose("tables.pdf")
}

@flibustenet Your example illustrates clipping and wrapping within table cells nicely.
Common Go style uses all capital letters only for initialisms (for example, URL), so
const MARGECELL = 2 // marge top/bottom of cell

should be something like
const margeCell = 2 // marge top/bottom of cell

or
const marginCell = 2 // margin of top/bottom of cell

or
const cnMarginCell = 2 // margin of top/bottom of cell

Also,
pagew, pageh := pdf.GetPageSize()
_ = pagew
mleft, mright, mtop, mbottom := pdf.GetMargins()
_ = mleft
_ = mright
_ = mtop

would be more clearly coded as
_, pageh := pdf.GetPageSize()
_, _, _, mbottom := pdf.GetMargins()

In order to get your example into fpdf_test.go, I recommend the following:

Make sure the page margins are equal (that is, choose the values for cols so that the right page margin is the same as the left page margin, or center the table)
Instead of placing all 88 increasingly-long strings into rows, use fewer strings (for example, use i = i + 22 instead of i++)
Separate the two modes into different tables, and provide a title for each to help the viewer understand the intent (for example, 'Clipped table cells' and 'Wrapped table cells')

Thanks for your interest and kind words!

Thanks for your review, I will try to submit a PR with this example.
The 88 was to test the jump to next page.

@flibustenet Ah, that makes sense to the page break.


text-show requires old version of transformers-compat

transformers-compat-<IP_ADDRESS> is out of bounds for:

[ ] text-show-3 (>=0.5 && < 1). Ryan Scott<EMAIL_ADDRESS>@RyanGlScott. @RyanGlScott

First of all this should say that text-show requires a too new version. Second, I don't really understand why but removing this bound doesn't cause any issues, it seems text-show is held back by something else, somehow...


GetClusterMappingInfo() test fails on unmarshal.

Describe the bug
The TestGetClusterMappingInfo test fail at times:
=== CONT  TestGetClusterMappingInfo/mapping_file_found_with_empty_data
    cluster_mapping_test.go:158: GetClusterMappingInfo() error = failed to fetch cluster mapping: unmarshal failed (unexpected end of JSON input), raw buffer response: , expected Error false
--- FAIL: TestGetClusterMappingInfo (0.00s)
    --- PASS: TestGetClusterMappingInfo/mapping_file_not_found (0.00s)
    --- FAIL: TestGetClusterMappingInfo/mapping_file_found_with_empty_data (0.00s

@humblec in which PR it's failing?

it was failing locally @Madhu-1 while on make contenarized-test on devel branch
=== CONT  TestGetClusterMappingInfo/site3-storage_cluster-id_mapping
=== CONT  TestGetClusterMappingInfo/cluster-id_mapping_not_found
=== CONT  TestGetClusterMappingInfo/site1-storage_cluster-id_mapping
=== CONT  TestGetClusterMappingInfo/mapping_file_found_with_empty_data
    cluster_mapping_test.go:158: GetClusterMappingInfo() error = failed to fetch cluster mapping: unmarshal failed (unexpected end of JSON input), raw buffer response: , expected Error false
--- FAIL: TestGetClusterMappingInfo (0.00s)
    --- PASS: TestGetClusterMappingInfo/mapping_file_not_found (0.00s)
    --- FAIL: TestGetClusterMappingInfo/mapping_file_found_with_empty_data (0.00s)
    --- PASS: TestGetClusterMappingInfo/site3-storage_cluster-id_mapping (0.00s)
    --- PASS: TestGetClusterMappingInfo/site1-storage_cluster-id_mapping (0.00s)
    --- PASS: TestGetClusterMappingInfo/site2-storage_cluster-id_mapping (0.00s)
    --- PASS: TestGetClusterMappingInfo/cluster-id_mapping_not_found (0.00s)
--- PASS: TestGenerateCipher (0.12s)
--- PASS: TestWorkflowSecretsMetadataKMS (0.37s)

Cc @nixpanic

--- PASS: TestGetClusterMappingInfo (0.00s)
    --- PASS: TestGetClusterMappingInfo/mapping_file_not_found (0.00s)
    --- PASS: TestGetClusterMappingInfo/site3-storage_cluster-id_mapping (0.00s)
    --- PASS: TestGetClusterMappingInfo/site2-storage_cluster-id_mapping (0.00s)
    --- PASS: TestGetClusterMappingInfo/cluster-id_mapping_not_found (0.00s)
    --- PASS: TestGetClusterMappingInfo/mapping_file_found_with_empty_data (0.00s)
    --- PASS: TestGetClusterMappingInfo/site1-storage_cluster-id_mapping (0.00s)
--- PASS: TestGenerateCipher (0.23s)
--- PASS: TestWorkflowSecretsMetadataKMS (0.63s)
PASS
ok  	github.com/ceph/ceph-csi/internal/util	0.718s
./scripts/lint-go.sh
WARNING: golangci-lint not found, skipping lint tests
./scripts/lint-extras.sh lint-all
FAILED: All checks required, but shellcheck not found!
make: *** [Makefile:116: lint-extras] Error 1
make: *** [Makefile:189: containerized-test] Error 2

I don't see it getting failed on any of the PR's and also locally it's passing for me. Maybe some issue with setup?
Sent https://github.com/ceph/ceph-csi/pull/2381 based on the guess not sure it will fix the problem as am not able to reproduce it locally.

It is the same file used for different runs causing the issue.

Repeated runs sometimes fail for me too. Because the parallel tests use the same filename, the file might exist in the case TestGetClusterMappingInfo/mapping_file_not_found gets scheduled after one of the other tests. Using a different filename for each test should prevent the dependency on the order of the tests (or not run them in parallel).

okay in that case #2381 should fix it.


Where can we find the Azure AD Domain Join artifact for dev/test labs

[Enter feedback here]
Step 6 of the documentation references an Azure AD Join artifact however I cannot find this.  There is only a AD join artifact.

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

ID: 6d411465-b3f4-4ddb-4a3c-649fc86f21e0
Version Independent ID: 61ddc008-e16e-7381-6d22-b7aeb10e5792
Content: Use Azure DevTest Labs for developers - Azure DevTest Labs
Content Source: articles/devtest-labs/devtest-lab-developer-lab.md
Service: devtest-lab
GitHub Login: @j-martens
Microsoft Alias: juliako

@sagarlankala - can you assist here please? thanks!

Hi @odee30 ,
Thank you for reaching out. The artifact that we have in the repository is an AD domain join and not specific to the AAD domain join. Are you looking for AAD domain join or does AD domain join suffice?
Hi @j-martens - we should correct the documentation in Step 6 to say 'Active Directory domain join' and not 'Azure Active Directory domain join'

The documentation has been corrected.
#please-close

Thanks for the update @sagarlankala.  I was specifically after the ability to Azure AD join, as you can with Virtual Desktop.  The documentation does need to be updated to reflect that only Domain Join in supported.
Is the ability to Azure AD join something that is on the roadmap?  it would be great if we were able to deploy and register dev machines with Azure AD and Intune.