candy crush saga added

PR Description 📜
Candy Crush Saga added
with more sensitive moves and  scorecard
PR include all code fot candy crush saga
Fixes #3806

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Yashgabani845 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @Yashgabani845 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

/assign

and also i couldnt take action on this repo. because after multiple request admin has not added me.

so this points will be yet to remove in the future.


Added Bard College at Simon's Rock to list

https://simons-rock.edu/

@Sown-Dev Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Moving files via UPath.rename to absolute path locations

Because of this:
https://github.com/fsspec/universal_pathlib/blob/380144c18f291f0f0a15fe8a02bc265233dd594b/upath/core.py#L942-L954
the following happens:
from upath import UPath

path = UPath("s3://lamin-us-west-2/wXDsTYYd/.lamindb/S78k5961PekVzaLrQkGq")
path.rename("s3://lamin-us-west-2/wXDsTYYd/.lamindb/S78k5961PekVzaLrQkGq.csv")
# > S3Path('s3://lamin-us-west-2/wXDsTYYd/.lamindb/s3://lamin-us-west-2/wXDsTYYd/.lamindb/S78k5961PekVzaLrQkGq.csv')

To allow moving files across directories, .rename() should behave as it does in pathlib:

An easy fix would be to replace
def rename(
    self, target, *, recursive=False, maxdepth=None, **kwargs
):  # fixme: non-standard
    if not isinstance(target, UPath):
        target = self.parent.joinpath(target).resolve()

with
def rename(
    self, target, *, recursive=False, maxdepth=None, **kwargs
):  # fixme: non-standard

    if not isinstance(target, UPath):
        target_upath = UPath(target)
        if target_upath.is_absolute():
            target = target_path
        else:
            target = self.parent.joinpath(target).resolve()

This still clashes with pathlib because pathlib resolves relative to the CWD and not relative to self, but that's another discussion.
Let me know if you accept a PR for this!

Hi @falexwolf
Thank you for reporting the issue. And thanks for offering to contribute! PRs are very welcome.
As you've pointed out, we won't easily manage to be in line with pathlib here, due to the fact that we don't have a concept of cwd for remote filesystems.
Your suggested fix is good, and I would add a check to make sure that the provided target uses the same protocol (this is seemingly broken in the current version too):
def rename(
    self,
    target,
    *,
    recursive=False,
    maxdepth=None,
    **kwargs,
):  # fixme: non-standard

    target_protocol = get_upath_protocol(target)
    if target_protocol and target_protocol != self.protocol:
        raise ValueError(f"expected protocol {self.protocol!r}, got: {target_protocol!r}")

    if not isinstance(target, UPath):
        target_upath = UPath(target)

    if target_upath.is_absolute():
        target = target_upath
    else:
        target = self.parent.joinpath(target).resolve()

    ...

If you could add a test for a filesystem that has an empty root_marker as for example "s3" and one for one that has "/" as a root_marker (for example "file") that would be great.
Cheers,
Andreas 😃

Thanks, Andreas! Will give it a shot!

Hi, @ap-- , tried implementing this and observed
`>>> from upath import UPath
>>> path = UPath("s3://lamin-us-west-2/wXDsTYYd/.lamindb/S78k5961PekVzaLrQkGq")
>>> path.is_absolute()
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\sergei.rybakov\Apps\Miniconda3\envs\nbproject\lib\pathlib.py", line 1006, in is_absolute return not self._flavour.has_drv or bool(self._drv) AttributeError: 'WrappedFileSystemFlavour' object has no attribute 'has_drv'`

Would you recommend adding custom is_absolute to CloudPath or trying to add has_drv to WrappedFileSystemFlavour?

Apologies, @ap--, that it took us so long to return to here. Also, we decided that @Koncopd would make the PR as he has more in-depth experience with the library than I.

No worries ☺
I got back from holiday yesterday and am going through my backlog in the evenings now. I'll provide more feedback later tonight or tomorrow.
And thank you so much for contributing!


az costmanagement export: what is the scope of a billing profile?

Describe the bug
All of the documentation (e.g., here) as well as the CLI az costmanagement itself, lacks any documentation about how to specify a billing profile as a scope for creating/listing/etc. billing exports.
E.g., the docs document, subs, management groups, and even resource groups… but not a billing profile.
Related command
az costmanagement export list --scope ???

I've tried using the "id" of a billing profile, i.e., /providers/Microsoft.Billing/billingAccounts/$acct_id/billingProfiles/$profile_id, but that doesn't seem to work. (It doesn't error, but it doesn't seem to work; I have an export under that profile, but the command returns [].)
Errors
N/A
Issue script & Debug output
az costmanagement export list --scope

Expected behavior
To be able to supply a billing profile to the commands under az costmanagement export.
Environment Summary
» az --version
azure-cli                         2.59.0 *
core                              2.59.0 *
telemetry                          1.1.0
Extensions:
automation                       1.0.0b1
costmanagement                     0.3.0
databricks                        0.10.2
ssh                                2.0.3
Dependencies:
msal                              1.27.0
azure-mgmt-resource             23.1.0b2
Python location '/usr/local/Cellar/azure-cli/2.59.0/libexec/bin/python'
Extensions directory '/Users/roy/.azure/cliextensions'
Python (Darwin) 3.11.8 (main, Feb  6 2024, 21:21:21) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
Additional context
:face_exhaling: Exporting the bill — the entire bill — seems like the use case. Like, the first, and the biggest, use case. A billing profile is, AFAICT, the object that corresponds to that.
(Perhaps the right management group might, too, if you have everything under one. But my security team is also loathe to grant privs to things above subs/tenants in that hierarchy. But the separate billing hierarchy is easier to request access to.)

Thank you for opening this issue, we will look into it.


Publish for 2.12.0-M2?

Would it be possible to publish to Sonatype snapshots a version for 2.12.0-M2?

Looks like there are a couple of interesting failures with that milestone, to be investigated / fixed before we publish snapshots.

Thanks so much for the speediness -- I'll try it now.

Hey @andrewdbate, no worries, please just give it a couple of minutes.


Add Target 4.7.2

With 4.7.2, we will be able to move the adapters for RSA and ECD for just 461 and 45.
For this issue, we can open up Creating a JsonWebKey from EC key.
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1317

Hi all, would love to see this feature!


Inconsistent behaviour of rdChemReactions.HasReactionSubstructMatch with aromatic compounds

Configuration:

RDKit Version: 2022.09.3
Operating system: MacOS 13.0.1
Python version (if relevant): 3.8.13
Using conda, but rdkit was installed through pip

Description:
I am trying to do reaction template substructure matching using rdChemReactions.HasReactionSubstructMatch however I ran into inconsistent behavior when trying to do substructure matching with identical reactions containing aromatic molecules when using a different representation for the same molecule. Example has been provided with the code snippet below.
from rdkit import Chem
from rdkit.Chem import rdChemReactions

def has_self_match(template: str) -> bool:
    rxn = rdChemReactions.ReactionFromSmarts(template)
    for r in rxn.GetReactants(): Chem.SanitizeMol(r)
    for p in rxn.GetProducts(): Chem.SanitizeMol(p)
    return rdChemReactions.HasReactionSubstructMatch(rxn, rxn)

has_self_match('N1CCCCC1>>N1CCCCC1') # True

has_self_match('N1CCCCC1>>n1ccccc1') # False

has_self_match('C1CCCCC1>>C1CCCCC1') # True

has_self_match('c1ccccc1>>C1CCCCC1') # False

One of the issues is that you are sanitizing a smarts pattern which probably doesn't do what you expect.
from rdkit import Chem
from rdkit.Chem import rdChemReactions

def has_self_match(template: str) -> bool:
    rxn = rdChemReactions.ReactionFromSmarts(template)
    return rdChemReactions.HasReactionSubstructMatch(rxn, rxn)

print(has_self_match('N1CCCCC1>>N1CCCCC1'))
print(has_self_match('N1CCCCC1>>n1ccccc1'))
print(has_self_match('C1CCCCC1>>C1CCCCC1'))
print(has_self_match('c1ccccc1>>C1CCCCC1'))

True
True
True
True

Should I not be sanitizing SMARTS patterns in general?
As I mentioned in the initial post, I was originally trying to substructure match reaction templates (which are SMIRKS patterns) such as:
[n&H1&+0&D2:1]1:[c:2]:[c:4]:[n&H0&+0&D2:5]:[c:3]:1>>[n&H1&+0&D2:1]1:[c:2]:[c:4]:[n&H0&+0&D2:5]:[c:3]:1

And the rdChemReactions.HasReactionSubstructMatch() returned the following error:
****
Pre-condition Violation
getNumImplicitHs() called without preceding call to calcImplicitValence()
Violation occurred on line 297 in file /project/build/temp.linux-x86_64-cpython-38/rdkit/Code/GraphMol/Atom.cpp
Failed Expression: d_implicitValence > -1
****

Hence I included the Sanitization step. However, with the sanitization step the substructure match returned False for the same template. So in that case, how do I get around to comparing the reaction templates.

I expect that the HasReactionSubstructMatch is made for reactions with fully specified reactants and products like one would find in an ELN.
Doing these types of searches with SmartsPatterns is quite difficult as smarts can be arbitrarily complicated in a way that doesn't lend itself to easy substructure matching.
That being said, you can try and roll one by hand:
'''
def match(query_templates1, templates2):
count = 0
for count, q in enumerate(query_templates1):
for t in templates2:
count += 1
if t.HasSubstructMatch(q, useQueryQueryMatches=True):
return True
return count == 0
def has_match(query_rxn, rxn2) -> bool:
return ( match(query_rxn.GetReactants(), rxn2.GetReactants()) and
match(query_rxn.GetAgents(), rxn2.GetAgents()) and
match(query_rxn.GetProducts(), rxn2.GetProducts()) )
rxn = rdChemReactions.ReactionFromSmarts("[n&H1&+0&D2:1]1:[c:2]:[c:4]:[n&H0&+0&D2:5]:[c:3]:1>>[n&H1&+0&D2:1]1:[c:2]:[c:4]:[n&H0&+0&D2:5]:[c:3]:1")
assert has_match(rxn, rxn)

But even so, useQueryQueryMatches has limitations in that it ignores recursiveSmarts which can be fairly common in smarts reactions.

I'm going to close this, if you want to follow up please add a topic in the discussions tab.

Thanks a lot for the help, this code snippet served my purpose.


Can't get shortcuts from EditorSettings

Godot version:
Godot 3.2.3
OS/device including version:
Ubuntu 20.04.1 LTS
Issue description:
Function get_shortcut() in EditorSettings is not exposed to gdscript, making it impossible to get editor shortcuts in a plugin.
Judging by the code in editor/editor_settings.cpp, it looks like you're supposed to get shortcuts by prefixing its name with "shortcuts" (shortcuts/editor/save_scene, for example) but that doesn't work either.
Steps to reproduce:

Call EditorSettings.get("shortcuts/editor/save_scene")
See warning that shortcuts/editor/save_scene doesn't exist in editor settings
Try to call EditorSettings.get_shortcut("editor/save_scene")
See how gdscript complains that the function get_shortcut doesn't exist in EditorSettings.

Minimal reproduction project:
PluginProblem.zip
Enable the plugin included in the project to see the problem in action.

I can confirm that this behavior is odd, not only because it's not expected, but also because the method get_shortcut already exists within editor_settings.cpp is even used by other methods within the class, at least internally.

I've tried exposing the shortcut to GDScript:

It compiles fine and even shows up in the editor with an autocomplete hint and appears in the class documentation:

But when you actually try to use it it says

Not really sure what's going on here, but I'm not really the most familiar with C++ or with how Godot actually exposes things to GDScript, but I'm sure someone can find what's actually going on here.

There's a proposal to expose those functions (https://github.com/godotengine/godot-proposals/issues/4112) and a related pr that makes it possible (https://github.com/godotengine/godot/pull/58585)

Closing in favor of the aforementioned proposal.


Observability tasks: provider and consumer tracing data buried points(可观测性任务：提供者与消费者tracing 数据埋点)

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have searched the release notes of this repository and believe that this is not a duplicate.

Describe the feature

En:In link tracking, traceid is used to represent the global link id, and spanid is used to represent the id of the local area. There are producers and consumers in dubbo across system calls, and the consumer may be the initial link without traceid spanid and other data that needs to be reset. Generated, consumers need to pass their own traceid to the downstream when they call the provider, and Spanid can be regenerated inside their own application. Of course, in order to track the context relationship, there will also be some self-defined ids such as parent id and custom parameters. Transit should also be taken into account.
中文：在链路追踪中使用traceid来代表全局的链路id，使用spanid代表局部区域的id，dubbo中跨系统调用存在生产者和消费者，消费者可能是起始链路没有traceid spanid等数据需要重新生成，消费者调用提供者的时候需要将自身的traceid传递到下游, 而Spanid可以再自己的应用内部重新生成，当然为了追踪上下文关系也会存在一些自定的id比如父id，自定义参数的传递也应该考虑在内。

plz assign to me, thanks

plz assign to me, thanks

ok

plz assign to me, thanks

Could you tell me your dingding ID to convenient contact?

private message has been sent

This issue should have been solved by https://github.com/apache/dubbo/pull/11021, I will choose other tasks to contribute.


network

Network:   Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e
           IF: eth0 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6200 driver: iwlwifi
           IF: wlan0 state: up mac: <filter>

my function call created a redundant hash nesting on this data structure. I'll get to it shortly.


Upgrade html5lib to >0.9999999

Purpose
This is a follow-up issue of PR #103 [1].
Due to security issue, we need to upgrade html5lib to a release >1.0b8:

The serializer in html5lib before 0.99999999 might allow remote attackers to conduct cross-site scripting (XSS) attacks by leveraging mishandling of the < (less than) character in attribute values.

html5lib is a dependency of djangocms-text-ckeditor, the problem has already been reported [2] and this upgrade is still pending [3].
[1] https://github.com/openfun/richie/pull/103#issuecomment-385416784
[2] https://github.com/divio/djangocms-text-ckeditor/issues/403
[3] https://github.com/divio/djangocms-text-ckeditor/pull/464
Proposal
IMO we have two options here:

wait for a new release of djangocms-text-ckeditor bundled with a recent release of html5lib, or,
use an alternative content editor for Django CMS

Removed in fc81661ce1c23adfc16ea0fb74ab8d66956c69f8


buildbot broken by pylint upgrade

Issue description
Following this commit to upgrade pylint, buildbot no longer builds -- it uses Python 2.7, depends on pylint, and the latest pylint has disabled = pythonOlder "3.4".
Steps to reproduce
Try to install the buildbot package.
Technical details

system: "x86_64-linux"
host os: Linux 4.18.5-arch1-1-ARCH, Arch Linux, noversion
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.0.4
channels(iross): "nixpkgs-18.09pre149415.8395f9aa85e"
nixpkgs: /home/iross/.nix-defexpr/channels/nixpkgs

/cc @dotlambda, @FRidh.

It seems like it's time to move buildbot to python3: https://github.com/NixOS/nixpkgs/pull/45789.

Wow.  That was an awesomely quick response.  Thanks, @dotlambda!

Pylint 1.8/1.9 is still (maintained)[https://github.com/PyCQA/pylint/issues/1763#issuecomment-387697807] until 2020, so that is an alternative to maintain Python 2 support.

Regardless, I wouldn't delay migration to python3 by default without a good reason.  (Even if the official un-supporting is a bit over a year away.)

Moving exclusively to Python 3 has the potential to break configurations, because they are written in Python. This might be fine, but we should be aware of it. See #45789 for more of this discussion.

I think we should provide indeed provide pylint 1.9 as python2Packages.pylint until support ends. I also think we should move buildbot to pythonPackages as @FRidh suggested.
@lopsided98 Do you want to continue my work?

Please discuss ideas/plans and such on the issue (#45789), not the PR.

#45890 was merged a while ago, so this issue is resolved


md-table sort ???

What's the deal with md-table md-sort-by? The component doesn't work on https://vuematerial.github.io/#/components/table.  Am I reading something incorrectly? The demo "With cards with pagination" should sort when md-table-head is selected.. right? I've tested w/ Firefox, Chrome & Safari
Here is my example that doesn't work as well
<md-table md-sort="name" md-sort-type="desc">
      <md-table-header>
        <md-table-row>
          <md-table-head md-sort-by="name">Name</md-table-head>
          <md-table-head md-sort-by="level">Level</md-table-head>
          <md-table-head md-sort-by="source">Source</md-table-head>
        </md-table-row>
      </md-table-header>

      <md-table-body>
        <md-table-row v-for="(row, index) in locations" :key="index">
          <md-table-cell>{{row.name}}</md-table-cell>
          <md-table-cell>{{row.level}}</md-table-cell>
          <md-table-cell>{{row.source}}</md-table-cell>
        </md-table-row>
      </md-table-body>
</md-table>

data () {
    return {
      locations: [{name:"Ghana",level:2, source:"GADM"},{name:"America", level:0, source:"Custom"},{name:"France", level:1, source:"Geoname"}]
    }
  }

Im running<EMAIL_ADDRESS>on<EMAIL_ADDRESS>

I am wondering the same. I tried adding the necessary properties to do the sorting and the only thing I'm seeing is the headers toggle the little arrow icon. The actual data in the table doesn't sort.
I checked in Safari and Chrome and the tables in the pagination demo don't actually sort. Not sure what I'm missing.

It is not working right now but you can easily implement it. my data is coming from the api and i am keeping them in stocks var. You can see sort events in the vue developer tool. I've implemented both server side sorting & client side sorting. Below what i've done for client side sorting for my situation (using lodash) and kudos to @Samuell1 :
template:
  <md-table @select="onSelect" @sort="onSort">
...

methods:
      onSort (sort) {
        this.stocks = _.orderBy(this.stocks, [item => item[sort.name]], sort.type);
      },

Yea I believe the sorting function of your data list needs to be implemented outside of md-vue, like @rkirmizi did with the lodash _.orderBy() method. If your data object is sorted, the table should update automatically because of it's reactive nature

Makes sense now. Seems this same pattern is in place for the table pagination.

Think so. The events are there & waiting for your action :)
Here is my usage:
Template:
  <md-table-pagination
    :md-size="size"
    :md-total="count"
    :md-page="page"
    md-label="Rows"
    md-separator="of"
    :md-page-options="page_options"
    @pagination="onPagination($event)">
    </md-table-pagination>

js:
data(){
      count: '',
      next: '',
      previous: '',
      size: 10,
      page: 1,
      stocks: [],
      page_options: [10, 25, 50, 100],
}

methods: {
      onPagination (e) {
          this.size = e.size;
          this.page = e.page
          this.fetchData()
      },

That's all and it's working :)

Correct. The table components seem to assume that you are doing server-paging/sorting. They are not client side actions. You are given hooks to do those yourself.
This is true as of 0.7.1. Not sure if @marcosmoura is planning to change its behavior before release.

If done a little codepen implementing the solution of @rkirmizi   http://codepen.io/klatooine/pen/EWaaqY

Hello everyone!
We're having some issues this mdTable. Sorry for that. I promise we'll fix it ASAP.
Since nobody replied to @klatooine and we added mdTable in our milestone, I'll close this issue.

@rkirmizi  can you also provide snippet of your pagination code?

@omkardusane It's there above :)

@rkirmizi , oh fo fetchData() must be considering size and page while getting remote data.
Thanks,
I've implemented it to paginate from a local array, using Array.slice()

Yeah, each api response is containing the results array & also the pagination information like belov:
HTTP 200 OK
{
    "count": 1023
    "next": "https://api.example.org/accounts/?page=5",
    "previous": "https://api.example.org/accounts/?page=3",
    "results": [
       …
    ]
}

Thanks @rkirmizi


Atom Beautify comment issue - html

Html beautify comment issue, below should demonstrate the issue
Before Issue

hi

After Issue

hi

Based on what i can tell when Beautify see   with no space between --### it does the above

I am having trouble reproducing on either http://prettydiff.com/ or http://jsbeautifier.org/
Which beautifier are you using for HTML. JS Beautifier is the default.

I just tried it there and it does not cause a problem but when i go back to atom and try it out i get the issue i highlighted.
Here is some more info:
Using atom-beautify v 0.28.22
config.cson
  "atom-beautify":
    _analyticsUserId: hidden
    cpp_configPath: "\\dev\\uncrustify\\cfg\\ben.cfg"
    html_end_with_newline: true
    html_wrap_attributes: "force"
    html_wrap_line_length: 0

Language Config - HTML - Default Beautifier
"JS Beautify"
Anything else that i should provide that would be useful?

Atom fully updated all other packages disabled. (Beyond the default atom packages)

Adding @bitwiseman so that JS Beautify can gain some visibility on this issue.

Success!
I found the source of the issue.
Source:
When Beautify see a html file marked as html (angular) and


Changes needed for GT4Py Graphs

Here for a diff. Includes changes from other PR's.

Blocked (or preceded) by:

PR #323
PR #386
PR #395


Fix SIMDUTF_VERSION value

Refs: https://github.com/simdutf/simdutf/issues/78#issuecomment-892714203

Merged.


Add v6.9.0 release to Spack

Original issue: https://charm.cs.illinois.edu/redmine/issues/2029

No body.

Original date: 2018-11-12 23:39:26

https://github.com/spack/spack/pull/9827


Feedback for “Utilizing Middlewares”

Great stuff, but I can't seem to use RouteHandler as a type on a separate handler function., it's expecting multiple types <1,2,3> to be passed.
RouteHandler requires 3 type arguments.
const authHandler: RouteHandler = (req, ctx) => {   if (!req.headers.get("Authorization")) {     return new Response(null, { status: 401 });   } };

Thanks for the feedback!
Fixed in #341 !


Can I import different robots for use in this project?

I want to replace the robots in the project, but I don't know how to do it

You should be able to chnage the robots by using different urdf files of the robot. See this issue for more details: https://github.com/Genesis-Embodied-AI/RoboGen/issues/2

Thanks for your kind replies!

Hello, I noticed in your code that robots performing operational tasks rely on sliding for movement. I have a wheeled robot and I want it to move based on the rotation of the wheels. What modifications should I make.
Looking forward to your reply.
Hello, I noticed in your code that robots performing operational tasks rely on sliding for movement. I have a wheeled robot and I want it to move based on the rotation of the wheels. What modifications should I make. Looking forward to your reply.
wufeiyang
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "Genesis-Embodied-AI/RoboGen"                                                                                @.>;
发送时间: 2024年4月2日(星期二) 凌晨3:37
@.>;
<EMAIL_ADDRESS>主题: Re: [Genesis-Embodied-AI/RoboGen] Can I import different robots for use in this project?  (Issue #23)
You should be able to chnage the robots by using different urdf files of the robot. See this issue for more details: #2
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


unstoppable autojump complaint(Please install autojump first (https://github.com/wting/autojump)

Hi,
I remove autojump from plugins in my .zshrc and source it.
However, whenever I open a new terminal, it shows Please install autojump first (https://github.com/wting/autojump) which is annoying.
I have no idea about how to fix it.
I have installed and uninstalled autojump both locally and globally again and again.

Please feel free to let me provide more information. Thanks a lot.

The autojump command needs to be available before the plugin is sourced. If the plugin doesn't find it, perhaps you have an issue with your $PATH.

The autojump command needs to be available before the plugin is sourced. If the plugin doesn't find it, perhaps you have an issue with your $PATH.

Thanks, issue fixed. I copied .zshrc to .zshenv mistakenly.


PM mode doesn't work

The README suggests to start it up with:

cargo run --bin trustd

That results in:
2024-05-02T11:55:09.124060Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-02T11:55:09.237346Z  INFO trustd::db: PostgreSQL installed in "/home/jreimann/git/trustify/.trustify/postgres"
2024-05-02T11:55:09.237389Z  INFO trustd::db: Running on port 36325
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 36325 failed: could not initiate GSSAPI security context: Unspecified GSS failure.  Minor code may provide more information: Ticket expired
connection to server at "localhost" (::1), port 36325 failed: FATAL:  password authentication failed for user "postgres"

@carlosthe19916 seems to have the same issue: https://github.com/trustification/trustify/pull/224#pullrequestreview-2035429356

note: I think we can close that probably was just the thing with .trustify directory right?
https://github.com/trustification/trustify/pull/226#issuecomment-2090437410

note: I think we can close that probably was just the thing with .trustify directory right?

not it isn't ...
Jim wrote: I'm wondering if there may be a race condition somewhere.
I did a good amount of different sequences , downgrading to 0.6, removing the dir, running the app, upgrading to 0.9 , running the app, removing the dir etc etc .. not able to reproduce the problem...

It happened to me yesterday. It seemed to be in a state where the error would repeat until I deleted .trustify/
[jim@fedora trustify]$ cargo run --bin trustd
   Compiling trustify-module-search v0.1.0 (/home/jim/src/trustification/trustify/modules/search)
   Compiling trustify-module-ingestor v0.1.0 (/home/jim/src/trustification/trustify/modules/ingestor)
   Compiling trustify-module-fetch v0.1.0 (/home/jim/src/trustification/trustify/modules/fetch)
   Compiling trustify-module-importer v0.1.0 (/home/jim/src/trustification/trustify/modules/importer)
   Compiling trustify-server v0.1.0 (/home/jim/src/trustification/trustify/server)
   Compiling trustify-trustd v0.1.0 (/home/jim/src/trustification/trustify/trustd)
    Finished dev [unoptimized + debuginfo] target(s) in 19.46s
     Running `target/debug/trustd`
2024-05-03T00:27:19.966971Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:27:20.072049Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:27:20.072130Z  INFO trustd::db: Running on port 45235
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 45235 failed: FATAL:  password authentication failed for user "postgres"

[jim@fedora trustify]$ cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/trustd`
2024-05-03T00:27:45.186626Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:27:45.291581Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:27:45.291711Z  INFO trustd::db: Running on port 43947
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 43947 failed: FATAL:  password authentication failed for user "postgres"

[jim@fedora trustify]$ cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/trustd`
2024-05-03T00:27:55.822048Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:27:55.927022Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:27:55.927105Z  INFO trustd::db: Running on port 45925
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 45925 failed: FATAL:  password authentication failed for user "postgres"

[jim@fedora trustify]$ cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/trustd`
2024-05-03T00:27:58.354032Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:27:58.458906Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:27:58.458985Z  INFO trustd::db: Running on port 36155
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 36155 failed: FATAL:  password authentication failed for user "postgres"

[jim@fedora trustify]$ cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/trustd`
2024-05-03T00:28:02.094955Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:28:02.199894Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:28:02.199985Z  INFO trustd::db: Running on port 36951
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 36951 failed: FATAL:  password authentication failed for user "postgres"

[jim@fedora trustify]$ rm -rf .trustify/
[jim@fedora trustify]$ cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `target/debug/trustd`
2024-05-03T00:28:09.138933Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-03T00:28:16.209271Z  INFO trustd::db: PostgreSQL installed in "/home/jim/src/trustification/trustify/.trustify/postgres"
2024-05-03T00:28:16.209364Z  INFO trustd::db: Running on port 43393
2024-05-03T00:28:16.236546Z  INFO bootstrap: sqlx::postgres::notice: database "trustify" does not exist, skipping database=Database { username: "postgres", password: "postgres", host: "localhost", port: 43393, name: "trustify" }
2024-05-03T00:28:16.237259Z  INFO bootstrap: sqlx::query: summary="DROP DATABASE IF EXISTS …" db.statement="\n\nDROP DATABASE IF EXISTS \"trustify\";\n" rows_affected=0 rows_returned=0 elapsed=722.36µs elapsed_secs=0.00072236 database=Database { username: "postgres", password: "postgres", host: "localhost", port: 43393, name: "trustify" }
2024-05-03T00:28:16.263187Z  INFO bootstrap: sqlx::query: summary="CREATE DATABASE \"trustify\";" db.statement="" rows_affected=0 rows_returned=0 elapsed=16.242361ms elapsed_secs=0.016242361 database=Database { username: "postgres", password: "postgres", host: "localhost", port: 43393, name: "trustify" }

When it happens again, I'll try to debug it more carefully.

Now I'm starting to wonder if the only times that PM mode hasn't worked for us is when something changed about the auth to the database, e.g. after the update to 0.9.1, so when you pulled those changes from the repo, the auth didn't match your current postgres install, so you had to blow away .trustify/ in order to get the db's creds in sync with the code's creds.

:man_shrugging:  I got it minutes ago while making an experiment with this tool I found: https://github.com/kurotych/sqlant
( trying to generate the diagram etc...without success.. )
➜  ~ sqlant postgresql://postgres:trustify@localhost:5432/trustify
thread 'main' panicked at /home/heliofrota/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlant-0.3.1/src/main.rs:55:6:
called `Result::unwrap()` on an `Err` value: Postgres(Error { kind: Connect, cause: Some(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }) })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

:thinking: something is wrong with this hour in the screenshot
2024-05-03T19:56:05.954025Z
right now is 17:04 here

Yes, but could that be explained by today's revert of the postgres password? If you created the database beneath .trustify/ with one password, and then pulled down another after the revert, you'll need to blow away .trustify/ to force a re-install with that change.

probably :+1:

but could that be explained by today's revert of the postgres password? If you created the database beneath .trustify/ with one password, and then pulled down another after the revert, you'll need to blow away .trustify/ to force a re-install with that change.

Yes, confirmed. And this behavior also works when using env_vars:
➜  trustify git:(main) ✗ DB_PASSWORD=1234 cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.27s
     Running `target/debug/trustd`
2024-05-06T17:38:24.389679Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-06T17:38:24.496839Z  INFO trustd::db: PostgreSQL installed in "/home/heliofrota/Desktop/tc/trustify/.trustify/postgres"
2024-05-06T17:38:24.496937Z  INFO trustd::db: Running on port 36669
Error: Command error: stdout=; stderr=psql: error: connection to server at "localhost" (::1), port 36669 failed: FATAL:  password authentication failed for user "postgres"

➜  trustify git:(main) ✗ DB_PASSWORD=trustify cargo run --bin trustd
    Finished dev [unoptimized + debuginfo] target(s) in 0.26s
     Running `target/debug/trustd`
2024-05-06T17:38:40.388161Z  WARN trustd::db: Setting up managed DB; not suitable for production use!
2024-05-06T17:38:40.495172Z  INFO trustd::db: PostgreSQL installed in "/home/heliofrota/Desktop/tc/trustify/.trustify/postgres"
2024-05-06T17:38:40.495235Z  INFO trustd::db: Running on port 35781
2024-05-06T17:38:40.513727Z  INFO trustify_common::db: connect to postgres://postgres:trustify@localhost:35781/trustify

I think it's working as designed. I think we can close this.

@jcrossley3 I agree @ctron can we close this ? thanks
extra: a common solution is to delete the directory programmatically but we lost all the data loosing the meaning/design of a pm-mode app.

Closing for now. Re-open when steps to reproduce emerge.


[5.0] Add auto incrementing id column to migrations

As an alternative to #7244 this adds an auto incrementing id column to the migrations table.  This gives the table a primary key but doesn't have any issues around string index length.

Why should it be included? There's no relation between migrations and other tables.

@rscafi Just look at the linked pull ;)

We actually tried this once and it caused issues.

@taylorotwell Adding an id column caused problems?  Are you not getting mixed up with indexing the migration column which can cause issues?


Adding ContinueAs Example

Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please specify parts this PR updates:

[x ] Specification
[ ] Schema
[ x] Examples
[ ] Extensions
[ ] Roadmap
[ ] Use Cases
[ ] Community
[ ] TCK
[ ] Other

What this PR does / why we need it:
Adds example for continueAs
Special notes for reviewers:
Additional information (if needed):

rendered example: https://github.com/tsurdilo/specification/tree/continueassample/examples#Continuing-as-a-new-Execution


Results with fuzzy match feature turned on should be topped by exact match

I don't know the proper computer term for this but the results should come in in order of how exact the matches are.
So for example, in the following attachment, the exact match is down in fourth slot for no reason (I can't see by what fuzzy rule those three finds come in those top positions, either):

Cheers

Ah.. that is an special case.
Various complements are always before the result of phrase-completion than word-completion.

However, as you said, it is not ideal. So I want to give it a try 👍

@zanodor
I have released in obsidian-various-complements-plugin-beta v8.1.0-beta1 🚀
If you use BRAT, please confirm whether it works as you expected.

Released in 8.1.0 🚀


Not working with latest version

Hello, am I making any mistake in this fiddle?
https://jsfiddle.net/0f0hetvg/1/
Why is it not working? I want to test share-button on a custom element actually.

Hey @gauravmak oddly I'm unable to get it to work inside jsfiddle or codepen - though I went ahead and pulled down v1.0.3 and locally got examples/animation.html to work

Surprisingly, its working locally when js and css files are also in local environment. If we include direct links to the files, same problem happens. So, codepen/jsfiddle isn't the reason for sure.

are you downloading the files directly from the latest release?

Yes.

let me give it another go, one sec

I went ahead and downloaded it locally again and created a fresh html file and loaded everything in. Everything is working as it should, which browser & os are you using?

I said its not working when direct links are references i.e.
https://github.com/carrot/share-button/releases/download/v1.0.3/share-button.min.css
and
https://github.com/carrot/share-button/releases/download/v1.0.3/share-button.js
When files are downloaded locally, its dine :)

Ohhh, sorry about that - completely missed what you were saying! But that would be correct it doesn't work as it should because it's coming from github

see http://stackoverflow.com/questions/9841026/reference-github-file-in-jsfiddle

you'll need to reference the raw files here: https://github.com/carrot/share-button-bower/releases. This still might not work considering Github is not a CDN, we previously had these served on a CDN. I'm uploading the previous versions of share-button tonight if you need those a well!
I'll go ahead and create an issue to add share-button to cdnjs

I see. Thank you.
In fact, my issue is different. I can't add share button to custom element.
When I googled the topic, there were some working examples but with new Share() instead of new ShareButton().
To open an issue with an example I went to jsFiddle actually. But, made a mistake of wrong links.

Ahh well as of now with the latest version you'll use new ShareButton(config); instead of new Share() - are you able to get it working now?

Yes, I know that and its working but only with <share-button></share-button>. I want it for something like

Ahh okay, I see where you're trying to go with it now - what you can do is pass the element to `
var element = document.getElemenstByClassName('share-button')[0];
var sharebtn = new ShareButton(element, conf);`

Sorry I was mistaken, just pass:
"div.btn.share-button" instead of  var element = document.getElementsByClassName('share-button')[0];
I just realized my mistake, sorry about that - you'll be able to grab your element using selectors - mdn reference

Not working. You mean this, right?
<button class="btn share-button"> Share</button>
and
var el = document.querySelector("div.btn.share-button");
var share = new ShareButton(el, config);

Can you please guide @hhsnopek ?

@gauravmak I hate to apologize once more, but since share-button v1.0.0 we no long use any divs. The reason behind this is to be modular and use a custom element which is supported all the way back into html 4.1 (if I'm recalling correctly). https://jsfiddle.net/r80akxrr here's a jsfiddle with working resources to sharebutton's lib

I had this issue earlier on when trying to install it but I realised I had forgotten to use document.ready to wait for the page to load before running the share func


WIP: generic proxy: access log and formatter support

Commit Message: generic proxy: access log and formatter support
Additional Description:
This PR mainly contain two different part:

One part is a templated Formatter and AccessLog which could be shared by other modules, like redis, thrift, or others.
Access log support for the generic proxy.

Risk Level: low.
Testing: n/a. wait.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

This is unnecessary for now. Templated formatter and access log support are added by other sub-PRs.


add failing unittest for  #4851

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

Superseded by https://github.com/AvaloniaUI/Avalonia/pull/4853


Prevent default when escape button is pressed?

I have a situation where component is used inside of the modal window. When I click on the button, the popup selector is shown. However, when I press escape key to close the selector, the modal dialog is closed instead.
Maybe we should prevent event propagation? Of couse it should be done only if component is actually focused and selector is opened.
I've tried to experiment with the native <select> element. It behaves as I described in Google Chrome. When you click the escape when list is expanded - the list collapses, but event is not propagating further. I think is is a correct behavior that ensures good usability.

@slavafomin ,
Thanks for the feedback, I never thought of this before. We'll see what I can do.

So is that possible to catch last clicked element in event?


Build failure with v 4.0.0 (error: image must not be null)

Hi, I'm getting following error with plugin when using in a hello world (jetpack compose) project with minSdk 24 & targetSdk 30
Execution failed for task ':app:easylauncherDebug'.

image must not be null

in app/build.gradle i've
plugins {
id 'com.starter.easylauncher' version '4.0.0'
}
Example Project setup/ configs
defaultConfig {
    applicationId "com.example.ribbontest"
    minSdk 24
    targetSdk 30
    versionCode 1
    versionName "1.0"

    vectorDrawables {
        useSupportLibrary true
    }
}

Also tried to specify iconNames like below but it didn't help
easylauncher {
iconNames = ["@mipmap/ic_launcher", "@mipmap/ic_launcher_round"]
}
Does work ONLY if full folder name is specified
easylauncher {
iconNames = ["@mipmap-anydpi-v26/ic_launcher_round"]
}
But it causes then another issue/ app crashes if i try to use that icon in app somewhere e.g. in splash screen
java.lang.IllegalArgumentException: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
    at androidx.compose.ui.res.PainterResources_androidKt.loadVectorResource(PainterResources.android.kt:85)

Image(
            modifier = Modifier.scale(scale.value),
            painter = painterResource(id = R.mipmap.ic_launcher), // same result with R.mipmap.ic_launcher_round, R.drawable.ic_launcher_foreground
            contentDescription = null
        )

Project is just a hello world (jetpack compose) project with minSdk 24 & targetSdk 30

Hey @miduch 👋
Thanks for reporting the issue.
I'm guessing the plugin doesn't support webps and I'd have to do some research if adding support for such would be feasible 👀
As a workaround I can only suggest using pngs as launcher images.
Regarding the IllegalArgumentException: would you be able to share full repro project? I'm curious what's the format of produced artifacts 👀

Hey @miduch 👋
Thanks for reporting the issue.
I'm guessing the plugin doesn't support webps and I'd have to do some research if adding support for such would be feasible 👀
As a workaround I can only suggest using pngs as launcher images.
Regarding the IllegalArgumentException: would you be able to share full repro project? I'm curious what's the format of produced artifacts 👀

zip with all build files
https://github.com/miduch/RibbonTest/blob/main/RibbonTest_1.zip
example project
https://github.com/miduch/RibbonTest

I'm guessing the plugin doesn't support webps and I'd have to do some research if adding support for such would be feasible 👀
As a workaround I can only suggest using pngs as launcher images.

android studio artic fox by default is creating webp for new project when created from wizard. if plugin doesn't support webp (yet?) then atleast this should be mentioned in plugin's ReadMe or somewhere

Hey @miduch Thank you very much for sample repository 🙏
The webp support should be fixed in #207 and I'll trigger the release pipeline soon.
Regarding the error

java.lang.IllegalArgumentException: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
at androidx.compose.ui.res.PainterResources_androidKt.loadVectorResource(PainterResources.android.kt:85)

it is not related to this plugin, but rather to the fact you're trying to load an adaptive icon resource as an image which is not supported. I don't know if that's Composes thing or the Android Framework as a whole, but that's a part I can't help with. If you run your app on a device with api below 26 it would work because it then loads webp resource variant of R.mipmap.ic_launcher

java.lang.IllegalArgumentException
Compose can load same image IF I don't apply this plugin, exception starts to come only after plugin is applied.

java.lang.IllegalArgumentException
Compose can load same image IF I don't apply this plugin, exception starts to come only after plugin is applied.

But let's wait and see how does it work with this new upcoming release of plugin.
Thanks!

Compose can load same image IF I don't apply this plugin, exception starts to come only after plugin is applied.

It's been crashing for me with exactly the same stacktrace 👀
The only difference I see after applying the plugin is a ribbon visible on the launcher:

Compose can load same image IF I don't apply this plugin, exception starts to come only after plugin is applied.

It's been crashing for me with exactly the same stacktrace 👀
The only difference I see after applying the plugin is a ribbon visible on the launcher:

FYI: Version 4.1.0 should be already available for download

when applying plugin, following is the file which seems to be used with
painter = painterResource(id = R.drawable.ic_launcher_foreground)
-> app/build/generated/easylauncher/res/debug/drawable-anydpi-v26/ic_launcher_foreground.xml
Compose doesn't seem to like <layer-list , wants either <vector or png e.t.c.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:drawable="@drawable/easy_ic_launcher_foreground" />

    <item
        android:width="72dp"
        android:height="72dp"
        android:drawable="@drawable/colorribbonfilter_0_ic_launcher_foreground"
        android:gravity="center"
        />

</layer-list>

painter = painterResource(id = R.drawable.ic_launcher_foreground)

Ah, I understood you aimed to load R.mipmap.ic_launcher not R.drawable.ic_launcher_foreground
ic_launcher on >26 api levels is an adaptive icon resource, which I do't
ic_launcher_foreground and ic_launcher_round is a layer-list drawable, which doesn't seem to be supported by Compose
I don't know what you aim for, but the layer-list drawable is the way the plugin injects itself to adds overlay to app icon. If you loaded the ic_launcher_foreground resource to plain old ImageView - it would work as expected, so it seems like the issue is with Compose. Feel free to report an issue to Compose Team and see what they reply :)


feat: add #help (option/attr/tactic) command

The #help command can be used to list all definitions in a variety of extensible aspects of lean.

#help option lists options (used in set_option myOption)
#help attr lists attributes (used in @[myAttr] def foo := ...)
#help cats lists syntax categories (like term, tactic, stx etc)
#help cat C lists elements of syntax category C

#help term, #help tactic, #help conv are shorthand for #help cat term etc.

All forms take an optional identifier to narrow the search; for example #help option pp shows
only pp.* options.
This command depends on several unmerged lean core PRs to add the necessary APIs to support these queries:

[x] Depends on leanprover/lean4#1384 (to get docstrings for attributes)
[x] Depends on leanprover/lean4#1391 (polyfill provided)
[x] Depends on leanprover/lean4#1392 (to enumerate syntax in a syntax category, without which #help cat doesn't work at all)

bors merge

bors merge


QuerySetReadableMixin is not defined

When trying to add the Custom class as given in the README, I get this error.
Also, the current branch does not have this anywhere in the code. Is this an external library Mixin?

 11
 12

---> 13 class AuthorizationTokenSerializer(QuerySetReadableMixin, serializers.Serializer):
14     account = serializers.HyperlinkedRelatedField(
15         queryset=Account.objects.all(),
NameError: name 'QuerySetReadableMixin' is not defined

@johnsonc please just remove this QuerySetReadableMixin mixin from your usage. This is an internal mixin we use and it should not be in the documentation.
We will remove it from the documentation also. Thank you for reporting this.

Fixed in 5e571d4c1349c31d374ec06f57f36648f8a6bfc7


Allowing for redirects in navigation and guards

Flutter should allow for router guards and redirects especially for web as others do offer it. As of now there is not a way to redirect in flutter.

Hi @rlee1990
do the answers to this stackoverflow question
solve the issue?
Thank you

@iapicca  I will give it a shot and see if it has the desired outcome.

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Exception when using Lamar for DI

When using the IoC tool Lamar, I am getting an exception when trying to run a worker. The exception occurs on the following line within the WorkerHostedService
protected override Task ExecuteAsync(CancellationToken stoppingToken)
{
    var activeTasks = Enumerable.Range(0, _options.WorkerCount)
        .Select(_ => _serviceProvider.GetRequiredService<ICamundaWorker>())
        .Select(worker => worker.Run(stoppingToken))
        .ToList();
    return Task.WhenAll(activeTasks);
}

The exception is as follows
Frame type Lamar.IoC.Resolvers.CastRootScopeFrame does not implement IResolverFrame
at Lamar.IoC.Instances.FuncResolverDefinition.BuildResolver()
at Lamar.IoC.Instances.GeneratedInstance.BuildFuncResolver(Scope scope)
at Lamar.IoC.Instances.GeneratedInstance.buildResolver(Scope scope)
at Lamar.IoC.Instances.GeneratedInstance.ToResolver(Scope topScope)
at Lamar.ServiceGraph.FindResolver(Type serviceType)
at Lamar.IoC.Scope.GetInstance(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Camunda.Worker.Execution.WorkerHostedService.<>c__DisplayClass3_0.<ExecuteAsync>b__0(Int32 _) in C:\GitHub\camunda-worker-dotnet\src\Camunda.Worker\Execution\WorkerHostedService.cs:line 33
at System.Linq.Utilities.<>c__DisplayClass2_0`3.<CombineSelectors>b__0(TSource x)
at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Camunda.Worker.Execution.WorkerHostedService.ExecuteAsync(CancellationToken stoppingToken) in C:\GitHub\camunda-worker-dotnet\src\Camunda.Worker\Execution\WorkerHostedService.cs:line 32
at Microsoft.Extensions.Hosting.BackgroundService.StartAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.<>c__DisplayClass3_0.<StartAsync>b__0(IHostedService service)
at Microsoft.AspNetCore.Hosting.Internal.HostedServiceExecutor.ExecuteAsync(Func`2 callback)

The root of the issue is that Lamar is unable to inject an IServiceScopeFactory into the DefaultCamundaWorker. I'm not 100% clear on why that is. However, replacing the IServiceScopeFactory with a IServiceProvider works as intended. This also appears to achieve the same behavior since the CreateScope function is the same across both an IServiceScopeFactory and IServiceProvider.

It looks weird because IServiceProvider#CreateScope uses IServiceScopeFactory to create scopes

Totally agreed. I saw the same code you referenced. I was considering opening an issue in Lamar as well, but when I saw that IServiceProvider worked as an alternative, I thought that might be the better approach.

It's included to 0.6.0 release. Thank you.


Streamlit button on every row

Hi Team,
Is there a way to add a button to each row of given column on an st_aggrid table? I couldn't find any material that allows us to add programmatic elements with the cells.
Could you please point me in the right direction?

Check this example
https://staggrid-examples.streamlit.app/?example=Using Custom Cell Renderer


Add .ttf convert script

This pull request adds a convert-ttf.sh script that generates creep.ttf with correct character widths and heights when font size is 9pt, that is without unnecessary space between letters/lines.
Just running Generate("creep.","ttf") in convert.pe results in a .ttf with wrong dimensions, and my terminal emulator (termite) doesn't allow vertical spacing tuning to make it more compact.

With this each monospace cell is 5x12, looking like this; the ttf conversion process is a bit unwieldy.

This script seems to work but the generated ttf file seems to be empty for me.

Looking a bit deeper into it, the output font creep.ttf (md5sum efbcbff37ce040c77a0c5a1219f6adf2) simply contains the creep bitmap font embedded in the ttf's EBDT table, but is otherwise empty. This works for some usecases (e.g. my terminal emulator termite accepts it without issue) but is probably not sufficient for many other times when you'd want to use a ttf font (it's empty in fontdrop and e.g. Intellij IDEA). The reason this happens is because I just naively use fontforge's Generate function with bitmaptype as ttf, which simply embeds data in the EBDT table but doesn't do any smart bitmap-to-vector conversion magic.
So, the ttf file you get at the end is not empty, but is usable only in limited cases like some terminal emulators. Unfortunately, I'm afraid getting it to work more robustly would require actually doing the bitmap -> vector conversion, which I suspect is a lot more work.

@k-cybulski @romeovs How about using BitnPicas for ttf generation?


GoImpl: The local interface cannot be completed

the golang code is
type DoSomething interface {
        Doing()
}

type Something struct{
   // here is cursor
}

using GoImpl DoSomething. It works,  but it need all code type in, no complete
go.nvim config
require("go").setup({
        tag_transform = "camelcase",
})

Pushed a change for it would you take a look?


mweb - Login - Sign in page scroll to bottom when sign in from public room

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

Version Number: 1.4.83-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Logout of ND if logged in
Visit any public room
Press Sign In button on the bottom right

Expected Result:
Sign in page and email section should be present
Actual Result:
Sign in page scroll to bottom when sign in from public room
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/46bf7b31-774b-4c0d-baf4-b22862518a27
View all open jobs on GitHub

@stitesExpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

Likely caused by https://github.com/Expensify/App/pull/39520

@roryabraham @jnowakow @WojtekBoman it looks like this was most likely caused by https://github.com/Expensify/App/pull/39520. Do we think this is something we can fix quickly?

It seems that there is problem with calculating which element should focus and for some reason focus is moved to the element in the footer instead of input. It may be caused by the complicated structure of components here.
Adding autoFocus prop to TextInput in BaseLoginForm seems to solve the problem.
https://github.com/Expensify/App/blob/main/src/pages/signin/LoginForm/BaseLoginForm.tsx#L241-L242

PR opened

Cherry picking the fix

The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/39520
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/39520#issuecomment-2191270204
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug. Yes - if there isn't already one
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Logout of ND if logged in
Visit any public room
Press Sign In button on the bottom right
Verify that the sign in page shows scrolled to the top, with the email field visible

Do we agree 👍 or 👎

I think we do not have to add a specific regression test for this. It would be quickly noticeable when this regressed

Not overdue, payment is on Friday the 28th.

I'm from Software Mansion, an expert agency, so I'm not sure if there should be any payment 😅

@jnowakow, thanks for the heads up! That's correct; payment is to @jjcoffee only.

@jjcoffee, I sent you the offer in Upwork.
All set!

@isabelastisser Friendly bump to complete the payment :pray:

Sorry for the delay, @jjcoffee! I will complete the payment in Upwork now. Thanks!

All set.


Suppress typeguard warnings that affect testing.

New typeguard 2.11.1 is released and there're new warnings raised for everything time it finds something that is not annotated. We need to suppress these warnings for tests that checks on warnings to pass.

Seems like there is only a single issue with the test suite now:
======================================================================
FAIL: test_loop_lift_warn (numba.tests.test_warnings.TestBuiltins)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vsts/work/1/s/numba/tests/test_warnings.py", line 116, in test_loop_lift_warn
    self.assertEqual(len(w), 4, msg=msg)
AssertionError: 6 != 4 : ----------

Compilation is falling back to object mode WITH looplifting enabled because Function "do_loop" failed type inference due to: Cannot infer the type of variable 'a', have imprecise type: DictType[undefined,undefined]<iv={}>.

File "numba/tests/test_warnings.py", line 103:
        def do_loop(x):
            a = {} # noqa dead
            ^

----------

Compilation is falling back to object mode WITHOUT looplifting enabled because Function "do_loop" failed type inference due to: Cannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>

File "numba/tests/test_warnings.py", line 104:
        def do_loop(x):
            <source elided>
            a = {} # noqa dead
            for i in range(x.shape[0]):
            ^

----------
Function "do_loop" was compiled in object mode without forceobj=True, but has lifted loops.


Red squiggle at wrong location at start of line

https://github.com/aspnet/AspNetCore/issues/14292


Updated maths/rand to maths/rand/v2

Contribution towards #6648

Hey, @antoninbas
I've updated the codebase according to the requirements we discussed. Specifically:

Random Number Generation: For most use cases, I've retained the global random generator, as it's sufficient and simplifies the implementation.
Repeatability in Tests: In scenarios where repeatability is essential, such as testing, I've implemented local generators using NewPCG(seed1, seed2) with fixed seeds. This ensures consistent and deterministic behavior across test runs.

Please review the changes at your earliest convenience and let me know if there are any further adjustments needed.


[Draft] Only report the latest patch versions in rancher-images.txt

Note: This is a PR for an issue which may be rescheduled to a later date (the next minor). Reviews are not expected at this time, however I want to raise this PR for future reference / visibility of the work done
Issue: https://github.com/rancher/rancher/issues/46174
Problem
rancher-images.txt contains many images for outdated rke2/k3s patches that ideally should not be provisioned. This results in a longer time to mirror images for a given rancher release, as well as takes up necessary space in private registries.
Solution
Ensure that the image generation logic in Rancher only considers the most recent patch versions of rke2 and k3s.
Testing
I have run the ci script locally and confirmed that the resulting image list files contain only the images associated with the latest RKE2/K3s patch versions.
Engineering Testing
Manual Testing
Automated Testing

Test types added/modified:

Unit

Existing unit tests have been updated to use more recent versions of rke2/k3s, and to utilize the proper KDM release channel for 2.9.0. They have also been slightly refactored such that they continue to pass with this updated logic. A new unit test has been added which focuses specifically on returning the latest patch versions of rke2/k3s.
QA Testing Considerations
Regressions Considerations

TODO
Existing / newly added automated tests that provide evidence there are no regressions:

TODO

Closing this PR as the milestone has been changed to 2.10, and no 2.10 branch exists yet. This PR can be used for future reference when picking this issue back up in the future


All Reports: Add Scale to Box and Whiskers

Feedback from David Bailey on the Comparative Fall Enrollment Report
No scale to the left of box and whiskers

This is done but not published yet.


Merge two strings

Description
Input  : ABC DEF
Output : ABCDEF

Program added successfully :tada:
Thanks for your contribution :hugs:


is project dead?

Can you provide description @TrejGun . I am seeing strange things with istanbul recently. It was working fine but now I get this:
`No coverage information was collected, exit without writing coverage information
/usr/local/bin/node:1
(function (exports, require, module, __filename, __dirname) { ����
^
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Object.Module._extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/istanbul/lib/hook.js:109:37)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at runFn (/usr/local/lib/node_modules/istanbul/lib/command/common/run-with-cover.js:122:16)
at /usr/local/lib/node_modules/istanbul/lib/command/common/run-with-cover.js:251:17
at /usr/local/lib/node_modules/istanbul/lib/util/file-matcher.js:68:16
`

Can you provide details @TrejGun

@mjilugu I think @TrejGun was asking if this project is "dead" or still being maintained. It looks like it is still being maintained? Although not very frequent updates?
Would be nice to get this issue closed ;-)

Yes, this project is still being maintained. @gotwarlost is a very busy person, but he's been actively working toward a v1.0.0 release 😄

Sorry, I haven't been paying attention to istanbul for some time now. I hope to pick it up in mid-June.
I apologize for all the delays.

Thanks for the useful test coverage too. :)

I'm going to start working on this with gusto starting in a couple of days...


Bulk endpoint

Refactor get_noise method and add test cases and documentation.

@jcollado Just a preference thing and doesn't matter for this client library but checkout http://www.structlog.org/en/stable/examples.html

@Obsecurus I'll have a look at it. Thanks for the suggestion.


Missing checker reject for input traffic

Engine does not receive a rejection when attempting to connect to a not existing checker.

Add iptables rule for rejecting every packet at the end of the INPUT chain

To be safe for future edits of the iptables it could be a good idea to create a simple role just for adding iptables at the end of chains

@ldruschk do you know what the status on this is?

It makes sense to have that, but really only on the checker imo. So this should be moved to a different role. See #58


Odoo container pulled with container failed to link to postgresql container due to randomized IPs, I guess.

Description
Odoo container pulled with portainer failed to link to the postgresql container (also pulled with portainer) after restart.
Steps to reproduce the issue:

Pulled postgresql container
Pullled Odoo container (<IP_ADDRESS>) by linking postgresql database (<IP_ADDRESS>)running in a separate container as of 1.
Odoo started, works fine.
docker instance restarted to connect portainer via docker api (also checked with local portainer instance), but Odoo fails to connect to postgresql instance, but tries to link with the Odoo container itself.

Technical details:

Portainer version: 1.15.5
Target Docker version (the host/cluster you manage): alpine linux 3.7
Platform (windows/linux):linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
Target Swarm version (if applicable):
Browser: Iridium/Chromium/Firefox

Cmd output
# ps aux | grep odoo
16721 101        0:02 {odoo} /usr/bin/python3 /usr/bin/odoo --db_host <IP_ADDRESS> --db_port 5432 --db_user <PGUSER> --db_password <PGPASSWORD>

Expected
# ps aux | grep odoo
16721 101        0:02 {odoo} /usr/bin/python3 /usr/bin/odoo --db_host **<IP_ADDRESS>** --db_port 5432 --db_user <PGUSER> --db_password <PGPASSWORD>

Two basic questions:

How to  make Portainer issue the same IP to specific containers every reboot? In the case above, portainer deployed pgsql container to <IP_ADDRESS>, but odoo was connected to pgsql named container without IPs when deployed. Later on reboot, Portainer assigned <IP_ADDRESS> upon reboot. There must be a way to make them persistent which I could not find in the documents. Any pointers appreciated!

Cheers and Season's greetings,
/z

Heya, I can see only one question, so will answer this one:

How to make Portainer issue the same IP to specific containers every reboot?

Actually, this is the default behavior of Docker, not Portainer. In order to solve your problem, you can choose one of these solutions:

Assign a static IP address to each container, this is done during creation time and can be achieved by using the IPv4 Address field in the network tab.

Create a new Docker network and start the containers inside that network, you'll then be able to use name resolution based on the container names instead of IP addresses to communicate between containers (thus preventing any IP change to break your setup).

Hope that helps, I'll close this issue, feel free to comment or re-open if you think I'm missing something.


[Bug]: API returns bio instead of image in the /profiles/{username} request

Relevant scope
Deployed demo
Description
I'm trying to fetch the profile information and do request: https://api.realworld.io/api/profiles/Ya. The response is
{
    "profile": {
        "username": "Ya",
        "bio": "Desc",
        "image": "Desc",
        "following": false
    }
}

As you can see, the data in the field 'image' is the same as the data in the field 'bio'.
From the other hand, when I do request to url https://api.realworld.io/api/user, thee response is correct and contain proper link to the image.
And one more thing. In the Postman collection, url for getting profile information is {{APIURL}}/profiles/celeb_{{USERNAME}}. When I try to make request to https://api.realworld.io/api/profiles/celeb_Ya, I get 404 Not Found

About the image, it's a bug to fix ;
const profileMapper = (user: any, username: string | undefined): Profile => ({
  username: user.username,
  bio: user.bio,
  image: user.bio,
  following: username
    ? user?.followedBy.some((followingUser: Partial<User>) => followingUser.username === username)
    : false,
});

About the Postman collection, celeb is hardcoded part of the username for the benefit of the tests.
You shouldn't include it. I invite you to use our Swagger documentation as a reference: https://api.realworld.io/api-docs/

Bug fixed.


Create an Atomic Swap Note Script

A Note Script for Atomic Swaps
In Miden, notes can have arbitrary scripts that are executed when the note is consumed. We want to have an Atomic Swap Note Script that allows for an atomic asset swap. So, a user should be able to create a note carrying asset A and the atomic swap script. Then, whoever consumes the note, must send x amount of asset B back to the creator of the note.

Why
This is simply awesome and not possible on EVM chains. But, in fact, we also need this for exchanges built on Miden. And it is a super easy way for users to exchange assets. They don't even need an AMM or other smart contract to facilitate.
How can you do that
The implementation is similar to the P2ID and the P2IDR scripts.
The MASM part
There is some MASM code involved in creating this script. You can follow the design pattern here.
https://github.com/0xPolygonMiden/miden-base/blob/main/miden-lib/asm/note_scripts/basic.masm
When you look at the P2ID script
https://github.com/0xPolygonMiden/miden-base/blob/a95cdb8e3f1e6bc4d3a0e0175d639d14f2d3fd29/miden-lib/asm/note_scripts/basic.masm#L65-L83
you can do the following:

get the asset from the note
call wallet::receive_asset and add the asset to Bob's account
get / create inputs needed for P2ID script (ID = Alice ID)
3.1 requested asset to swap should be Note Input 1 [ASSET]
3.2 tag should be either Note Input 2 or if 0 just use 0 as tag [tag]
3.3 RECIPIENT Word should be provided as Note Input 2  [RECIPIENT]
call wallet::send_asset with the information from 3

RECIPIENT is defined in Miden as hash(hash(hash(serial_num, [0; 4]), script_hash), input_hash). RECIPIENT should be provided as input of the Note with the Atomic Swap Script. So it must be pre-computed by Alice (in our case). In our tests, we should test that only Alice can consume this note then, because she needs to know the pre-image data to the RECIPIENT.
That should be the Atomic Swap Script.
Note: that Bob's account must expose miden::wallets::basic::receive_asset and the expose miden::wallets::basic::send_asset procedure. But that is the same for the P2ID scripts.
_Note: Let me research a bit, it would be cleaner if we could somehow create a new note with the P2ID script, but it looks
The Rust part
You can add your script as an enum here
https://github.com/0xPolygonMiden/miden-base/blob/a95cdb8e3f1e6bc4d3a0e0175d639d14f2d3fd29/miden-lib/src/notes/mod.rs#L15-L23
With the function create_note, users should be able to create notes including the Atomic Swap Script. So you will need to add some code there.
The testing part
You can look how the P2ID and P2IDR scripts are tested here. We need something similar for the Atomic Swap Script. It might be best to start a new file, because your test cases might also be a bit lengthy.

Closed by #363.


Tool crashed while load all event log files

Microsoft-Windows-event-log.zip
Tool crashed while load all event log files, please try with this sample logs.

This Event log is captured from Win11 24H2, and tool crahes while running in 23H2.
I re-tried with system Win11 24H2, and it is no problem there.

Which file in that zip is crashing?


i tried to generate. idk what's wrong

▶ src/pages/index.astro
  └─ /index.html (+73ms)
λ src/pages/rss.xml.ts
 error   [RSS] Invalid or missing options:
  Invalid input (items)
  File:
    src/pages/rss.xml.ts
  Stacktrace:
Error: [RSS] Invalid or missing options:
Invalid input (items)
    at validateRssOptions (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/@astrojs+rss@3.0.0/node_modules/@astrojs/rss/dist/index.js:46:26)
    at async getRssString (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/@astrojs+rss@3.0.0/node_modules/@astrojs/rss/dist/index.js:38:31)
    at async getRssResponse (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/@astrojs+rss@3.0.0/node_modules/@astrojs/rss/dist/index.js:30:21)
    at async callEndpoint (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/endpoint/index.js:105:16)
    at async #tryRenderRoute (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/pipeline.js:108:24)
    at async BuildPipeline.renderRoute (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/pipeline.js:46:20)
    at async generatePath (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/build/generate.js:410:16)
    at async generatePage (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/build/generate.js:231:5)
    at async generatePages (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/build/generate.js:144:9)
    at async staticBuild (file:///C:/Users/Parsifal/astro-paper-3.0.0/node_modules/.pnpm/astro@3.1.3_@types+node@20.4.7/node_modules/astro/dist/core/build/static-build.js:85:7)

is this the repo that threw that error? https://github.com/fountainpen/astro-paper
if so, I'm pretty sure you just named something wrong in your post schema. pubDate is a required parameter, but it's named pubDatetime in your repo.

isnt it the problem in rss????

yes, your content doesn't match the schema for an rss feed item, so it blows up when you try to create a feed. did you look in the astro source code at the file and line number from the first line of the stack trace?

ohh, i'm sorry @fountainpen, I didn't realize that attribute was named wrong in this repo. i had assumed that was a custom schema you had put together for some reason 🤦♂

so basically there should be a ull request to fix that, huh?
if yes, pls make it.

it seems easy enough, but i can't replicate your issue. when you say you "tried to generate," do you mean you ran the astro build command?

it seems easy enough, but i can't replicate your issue. when you say you "tried to generate," do you mean you ran the astro build command?

that's right

I think I might be wrong. That parameter is actually changed to the proper pubDate before it's sent to the @astro/rss library: https://github.com/satnaing/astro-paper/blob/main/src/pages/rss.xml.ts#L18
Since I can't replicate the issue, and because I'm pretty busy at work right now, I don't think I'll have the time to dig into it any further, but I hope you figure it out!

Couldn't reproduce this issue.
I'll close this one for now. You can reopen or create new if you still have problems.


iOS Feeds list: favicons are blurry

A number of my feeds’ favicons appear blurry in NetNewsWire. Two examples:

https://onefoottsunami.com/feed/atom/
http://www.macdrifter.com/feeds/all.atom.xml

Both of these are Feedbin-synced feeds.
I tried adding the Macdrifter feed to a local account which, perhaps predictably, resulted in a slightly different version of ugly.
In both cases, and perhaps all of my feeds, in other apps like Reeder the favicon appears as expected.

Good catch — see https://github.com/brentsimmons/NetNewsWire/issues/1208 for the potential solution.


Deployment manager authentication with Cloud Endpoints

I wanted to know more about the deployment manager authentication against a cloud endpoint.
Documentation states that this works, but there are no examples to guide through.
From the documentation

Related to the previous point, the API has either basic authentication, or, if the API is running on Google Kubernetes Engine or Google Cloud Endpoints, the API supports OAuth 2.0 authentication using an access token from the project's service account.

I have a app engine service behind an cloud endpoint. If I have to integrate it with Deployment manager, what are the required steps that would ensure the communication works ?
I used the description url for the Google deployment manager to be the rest api link of the app engine service
imports:
  - path: echo.jinja

resources:
  - name: echo
    type: echo.jinja
    properties:
      discoverydoc: https://some-test.appspot.com/_ah/api/discovery/v1/apis/echo/v1/rest

I am unsure if the descriptionURL should be the swagger json of the cloud endpoint or of the app engine service ? If it has to be the URL of the cloud endpoint swagger json, how can I access it ?
{% set RC_TYPE_PROVIDER = env['project'] + '/leotaskprovider:echo.get_user_email' %}

resources:
- name: leotaskprovider
  type: deploymentmanager.v2beta.typeProvider
  properties:
    descriptorUrl: {{ properties["discoverydoc"] }}
    options:
      inputMappings:
      - fieldName: Authorization
        location: HEADER
        value: >
          $.concat("Bearer ", $.googleOauth2AccessToken())

- name: get-user-email
  action: {{ RC_TYPE_PROVIDER }}
  metadata:
    dependsOn:
    - leotaskprovider

I cannot get the deployment manager successfuly authenticate against a oauth enabled cloud endpoint.
Any pointers ?

When I use $.googleOuth2AccessToken() call in a deployment manager template, the generated token is of the format
{
 "azp": "anonymous",
 "aud": "anonymous",
 "scope": "https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/ndev.cloudman https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/appengine.admin",
 "exp": "1540590484",
 "expires_in": "2423",
 "email"<EMAIL_ADDRESS> "email_verified": "true",
 "access_type": "offline"
}

This does not look like a valid id token that can be used to authentication.
I do not think Cloud Endpoints can authenticate using such a token with aud set to anonymous and missing iss (issuer)
Does using $.googleOauth2AccessToken() really work with Cloud Endpoints ?

I have received a reply on the issue in a different forum. Just wanted to share the reply I received. Seems like this is a bug
IssueTracker


Angular CDN version are different than package.json

See da-webpack #14 for previous discussion.
Also see #6

Fixed by #6


(Feature) Add a prefix of network to security groups in AWS

Problem: Now we have the same security group for different networks. While tested Sokol I updated a security group and it affected Core. 😳
Solution: Add a prefix to security group, e.g. core- and sokol-

Done.


Remove http-stream-request-body

This is another spin-off from #4903 and it removes http-stream-request-body. Two reasons:

As we move towards support for streaming throughout the runtime, that flag will not be needed anymore
The flag doesn't work today anyways. Per my research on the internals of fasthttp (from #4979):

Setting that flag enables consumers to read data as stream (with the caveats from #4979) but currently Dapr doesn't use the methods to read data as streams: Dapr only uses methods like reqCtx.PostBody() which return the entire request body as a byte slice, regardless of streaming support.
That flag causes some unintended behavior, such as http-max-request-size to not work as expected

Docs issue: https://github.com/dapr/docs/issues/2737

Now that the other PR is merged, this is ready for review

LGTM


add MoneySupply and StakingStatus to the InfoWalletResult type

Added MoneySupply and StakingStatus to the InfoWalletResult type.

Staking status? I don't think that's a variable the Bitcoin Core RPC exposes..

I agree with you, this is from altcoins ... If your rpcclient is exclusively for bitcoin, then I apologize ... I will make my implementation of the rpcclient.
P.S. Are you confused by MoneySupply? I'm not sure what it is in the Bitcoin Core RPC ...


Support complex expressions in select clause

The SELECT clause can contain complex expressions, for example "(condition) OR (condition)", which actually returns a boolean.
Sample query:
SELECT (CASE WHEN col IS NULL THEN False ELSE True END) OR (CASE WHEN col2 IS NULL THEN False ELSE True END) FROM tbl
Adding support for such complex conditions in the SELECT clause.

Greetings. I have provided a similar PR already which is pending since a few days.Sent from my Galaxy
-------- Original message --------From: "Tomer Shay (Shimshi)" @.> Date: 10/11/2021  20:16  (GMT+01:00) To: JSQLParser/JSqlParser @.> Cc: Subscribed @.***> Subject: [JSQLParser/JSqlParser] Support complex expressions in select clause
(PR #1412) The SELECT clause can contain complex expressions, for example "(condition) OR (condition)", which actually returns a boolean.
Sample query:
SELECT (CASE WHEN col IS NULL THEN False ELSE True END) OR (CASE WHEN col2 IS NULL THEN False ELSE True END) FROM tbl
Adding support for such complex conditions in the SELECT clause.
You can view, comment on, or merge this pull request online at:
  https://github.com/JSQLParser/JSqlParser/pull/1412
Commit Summary
Support complex expressions in select clause
File Changes  (2 files)
M
src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
(2)

M
src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
(6)

Patch Links:
https://github.com/JSQLParser/JSqlParser/pull/1412.patch
https://github.com/JSQLParser/JSqlParser/pull/1412.diff
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

@tomershay: I would like to close this PR since a similar PR has been merged quite a time ago and this challenge should be resolved.


Avoid parsing wrong formatted dates at the end of string

Summary
When typecasts an String value to a Date and typecast_to_date method receives a wrongly formatted string, such as '2016-09-030' I think the end of string should be considered in regular expression, by this way we'll be able to recognize an error instead of infer a possible wrong date.

Nice! I think I'd also sick a \A at the beginning so we're covered on both sides. Do you agree?

Sure. In that case we don't raise an error, we'll parse the date (avoiding weird dates)
avoids:
Date.new('abc22016'.to_i, '10'.to_i, '12'.to_i)
 => #<Date: 0000-10-12 ((1721343j,0s,0n),+0s,2299161j)>

returns:
'abc02016-10-03'
 => "abc02016-10-03"
Date.parse _
 => #<Date: 2016-10-03 ((2457665j,0s,0n),+0s,2299161j)>

Ah, true, I'd suggest ^ and $ then to be consistent with the ending. Sam.

When using ^ and $ you don't need the \A and \z :-)

true! 😫 I didn't realize, thanks Sam!


Reorganization of content loading and providers management + Showing Movie/Serie info on selected applicable item

Enhanced the ChannelList UI to show info when selecting an STB vod or serie.
Restructured OptionsDialog in options.py to include tabs for settings and providers, with new fields and buttons for managing provider settings. Adding settings for checking updates and showing content info.
Allow to give a user-friendly name to each provider (if no name given, use URL as name by default)
Added new signals to VideoPlayer to show/hide media controls in main panel.
M3U source handle 'group-title' (group-title value shown in content tree as first column).
M3U export 'group-title', 'tvg-logo' and 'tvg-id'
Centralized provider-related operations through a new provider_manager in channel_list.py, improving code organization and maintainability.
Introduced SetProviderThread class for improved responsiveness during initialization or change of provider.
Added ContentLoader class in content_loader.py for asynchronous content loading.
Updated ConfigManager in config_manager.py and added new default options. Added new properties for configuration options.
ProviderContext and ProviderManager classes in provider_manager.py for managing provider configurations and interactions.
Adding tzlocal  module as required new dependency. Used to know the local zone name (for example Europe/Paris) to use in STB cookie. Needed to have a correct EPG info from STB requests in future.

Wow, too much stuff, thanks! @pcjco
I am really busy this month but when I have time I will review and merge hopefully.
Thanks again for your contributions!

No problem.
In a next PR, i should be able to add some support for EPG but as it was going to make too much changes i wanted to make an intermediate PR.

Not gonna lie, this looks really nice!
One reminder is that while doing these changes please make sure that the functionality of M3U/Xtream list views and play functionality are not affected (probably not affected but still these features are generally overlooked while we design this app focused on STB).
I will be looking forward to receive that PR as well! 🥳

Hi @pcjco I merged this to dev to test and merge into main, I see couple of important issues in a glance,

the search in m3u list does not work as intended, then I created a pr from your epg stuff to see if you fixed, which is way too complicated to update on top of that.
Also verify_url is missing (a small detail I can fix, but the functionality is affected it seems)

I believe we must be solving the issues before we can merge further, I will be trying more about that later, but if you want to fix them, you're welcome and thank you for your support with this app.


[BUG] cardinal_t is the worst name

For the second time I expect cardinal_t<T> give me expected_cardinal_t<T>
I mean that's quite confusing rly.
Let's delete it.

There is an old issue a out that already. We need something that return scalar cardinal for dcalr and correct cardinal or wide anyway.
Remember I alos want to move fixed from type to NTTP so maybe we can have a deep thought on that at this moment.

Duplicate of #886

After mulling over it, here's a proposal:

[ ] remove scalar_cardinal as it is used mostly nowhere and adapt simd_value accordingly
[ ] remove cardinal_* and use T::size() everywhere it should have been
[ ] rename T::size() to T::lanes()
[ ] rename expected/fundamental_cardinal to something based on lanes

By doing this, it also prepare the change to NTTP lanes in wide type.
What do you think of this ?

I do not mind size() or lanes().
This will affect quite some usage links but w/e - we agreed that's what we do.
I don't see why we need scalar cardinal.

It was used at one point, then we discard 99% of its use case when we reworked load/store.
We need to rewrite simd_value and it can be eliminated


chore: fix incompatible type in test fixture

This PR is related to #551 . In that PR the GitHub CI was fine, but after merging the change found out "type" issue in test fixture reported by mypy. See https://github.com/gitlabform/gitlabform/actions/runs/5617292516/job/15221155542
Not sure why the issue wasn't originally caught in the PR's CI but I had also missed running the mypy locally to validate it.
This PR addresses the type issue so that we have a clean codebase.

The types validation in this PR is now failing with the same error mentioned in the description:
conftest.py:170: error: Incompatible types in "yield" (actual type "Callable[[Any, Any], Any]", expected type "Optional[Group]")  [misc]

Not sure why it's reporting the same error. It's as if the checks are running on main branch code instead of this PR. That error doesn't exist anymore in this PR.

The types validation in this PR is now failing with the same error mentioned in the description:
conftest.py:170: error: Incompatible types in "yield" (actual type "Callable[[Any, Any], Any]", expected type "Optional[Group]")  [misc]

Not sure why it's reporting the same error. It's as if the checks are running on main branch code instead of this PR. That error doesn't exist anymore in this PR.

After going through the GitHub Actions workflow config, I realized that's exactly what was happening. For the types step, the PR commit wasn't being checked out.
I updated the PR workflow config, but it's not being reflected in this PR's workflow run. Is it because the workflow config is only taken from the main branch?

I updated the PR workflow config, but it's not being reflected in this PR's workflow run. Is it because the workflow config is only taken from the main branch?

Yes, exactly.


Fix links in ListViewBase.SelectionMode table

When using  tags, markdown inside them does not properly work without empty lines between them. To fix the faulty links, we are using  tags now. Fixes #2077

@chingucoding : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; verified. Thanks for the fix @chingucoding.


Add Spring 6-related exclusions to Shiro BOM

Need to make it easier to use Spring 6/SB3
Exclusions are needed in the BOM for starters
Also, Spring 6/ SpringBoot 3 examples are needed
Suggestion:
https://github.com/apache/shiro/issues/891#issuecomment-1581192622
(untested, for now)
Continuation of #891

It's pretty clear that it's too difficult for an average user to use without these exclusions or an example


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/672 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 6672ac0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-12-15-07-24-24 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-12-15-07-24-24

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Issue in minikube docker --> ERROR: http://nl.alpinelinux.org/alpine/v3.5/main: DNS lookup error

I am using minikube configured docker. But when i am building docker image, which is giving error DNS lookup error. I am stuck to build docker. But if i am building docker image without minikube it is working and giving desire output. can any one help me to solve issue. As per my understanding issue occurs with minikube.
# Image Used
FROM golang:alpine AS builder

# Get dependent packages
RUN apk update && apk add git && apk add make

# First Stage: Builds the app
WORKDIR /app
COPY . .

# Run the custom Makefile to manage build flags and inject
RUN make docker_build

# Second Stage: Copies the binary and requirements and runs the app
FROM alpine AS bin
......

EXPOSE 8080
CMD ["./my_service"]

Try to add
RUN sed -i -e 's/http:/https:/' /etc/apk/repositories

After FROM line, that helps me


Fixes #16

@dbarrosop With this do you intend to fix #17 too? The code seems to contain the changes proposed in #18

God dammit! Good catch. I am just tired today and forgot to change the branch.
Will fix it.

Fixed.

Is there a button to approve the PR? :)

you can use your favorite emoji/gif to show you are happy with it and I will merge and release ;)

🏆

It would be nice to have an "Approve" button though


"FrozenError" in Rack 2.2

Using this exporter on rack 2.2.2, I got the following stack trace on every request -
FrozenError (can't modify frozen Hash):
rack (2.2.2) lib/rack/etag.rb:35:in `call'
rack (2.2.2) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.2) lib/rack/head.rb:12:in `call'
(rest of the stack removed for brevity)

Now, according to rack's changelog for 2.2.0,

Etag will continue sending ETag even if the response should not be cached.

The problem is that Rack::Etag modifies a response's headers, and this exporter freezes its headers. The no-cache header used to prevent these two pieces of code from conflicting, but that's no longer the case.
Individual applications can work around this by deleting their Rack::ETag middleware, but that's probably not ideal. I would instead propose that we either make the exporter return non-frozen headers, or set a Last-Modified header equal to the current time. I can open a PR, but let me know if there's a specific approach you prefer.

Hey @sobels, thanks for your effort! I would say if we will add Last-Modified header, then we would need to modify the headers hash, then I would prefer no unfreeze it and allow Rack to add Etag key.
So yes, I would vote for unfreezing the headers hash 👍

@sobels Hey, for your convenience I've added HEAD test suite in this branch feel free to use it for your adjustments.
In case if you don't have time, I can finish it as PR, just good to know do you have time or not?

@sobels Thanks for your effort, I release a fix as v0.1.13 🎉

Hey thanks for covering this, I totally forgot about it! 🍻

@sobels No worries 🥂


Support gridded + geographic + auto refresh_plot for explorer

Much to fix and figure out, but here's a MVP!
https://github.com/holoviz/hvplot/assets/15331990/2789cc12-8ef1-4143-8091-801ac5ac1721

Looks great so far!!!

Ok I think it's in a decent spot.
https://github.com/holoviz/hvplot/assets/15331990/c0b03fc3-5b88-4ed4-9fe3-0639cd9f53a9
Thinking of adding a CLI tomorrow:
hvplot air.nc -x lon -y lat which triggers `hvplot.explorer(xr.open_dataset("air.nc"), x="lon", y="lat")

Nice progress! If you intend to add a CLI please do it in another PR.

Looks great. I think most of the geo features need to be on top of the data, not behind it, so that they will work with raster plots:

Here you can see the coastlines only because of zooming out past the data, which most people wouldn't do. But "land" might have to be in the background so it doesn't obscure data. Tricky.

Fixed the overlaying underlaying here.
https://github.com/holoviz/hvplot/pull/1145

Can we merge this?

@Hoxbro was assigned as a reviewer on this PR, he'll let you know if it's ready to be merged :)

I believe your IDE formatted some files by mistake, I tried to revert that
Nit pick again but I also prefer when quotes are consistent, reverted to single quotes
I re-implemented the "refresh plot" feature so it's now available at the bottom of the explorer, in what is meant to be/become a status bar. Got some inspiration from the Perspective viewer, and motivated by the fact I found it was weird to have this button part of each Control pane.
I've reviewed (although not in great details) the Xarray+Geo changes, which seemed good to me.
I've reduced the min_height too 400 (updated from 300 to 600 in this PR), assuming 600 would be to high for users on smaller screens.

Thanks again @ahuang11 for taking this over!