WSL should support slicing array refs into smaller array refs

Migrated from https://bugs.webkit.org/show_bug.cgi?id=177341:
At 2017-09-22T03:54:09Z<EMAIL_ADDRESS>wrote:
Something like float[] a = @b[i...j];

At 2017-09-22T04:08:34Z<EMAIL_ADDRESS>wrote:
The offset-of-the-slice would follow the slice, and we would emit an add instruction anytime anyone access a slice.


Jesse: Blacklist wavel.ai

Jesse requests the blacklist of the website wavel\.ai. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

wavel\.ai has been seen in 8 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Getting an error Input string was not in a correct format on every logging statement

Full error:
Input string was not in a correct format.    at System.Text.StringBuilder.FormatError()
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(String format, Object arg0, Object arg1, Object arg2)
at Serilog.Debugging.SelfLog.WriteLine(String format, Object arg0, Object arg1, Object arg2)
at Serilog.Sinks.AmazonS3.AmazonS3Sink.EmitBatchAsync(IEnumerable`1 batch)
Reproduceable in any configuration - see example below, any logging statement. Everything gets written correctly, regardless.
loggerConfiguration.WriteTo.AmazonS3(
bucketFile,
cfg.BucketName,
Region,
awsCreds.AccessKey,
awsCreds.SecretKey,
LogEventLevel.Debug,
"{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}");
Logger?.Information("deleting all files from bucket");

I'm not yet sure where this comes from (And I have added a test and cannot reproduce the scenario yet. My assumption is that either SelfLog.WriteLine($"Uploaded data to Amazon S3 with result: {JsonConvert.SerializeObject(result)}."); or SelfLog.WriteLine($"{ex.Message} {ex.StackTrace}"); fails.

I can see results of logging statement in S3 bucket, so confused.

I can see results of logging statement in S3 bucket, so confused.

Haha okay... I have no idea :D If you manage to get a minimum working example, this would be really great since I wasn't able to reproduce this yet.

I was also encountering this error so I built and ran the assembly from source. In AmazonS3Sink.cs, line 90, the code is serializing the S3 response as a Json string and attempting to pass it into SelfLog.WriteLine() which uses string.Format() under the hood. The exception is caused by un-escaped curly braces in the Json string. If you disable SelfLog in your Serilog configuration, you won't experience the issue.
Personally, I don't see how logging the entire S3 response is useful - seems like a generic success message could be logged instead but even that I wouldn't deem necessary. I'll leave that call up to the maintainer. The other option is to properly escape the curly braces.

If you ask me personally, I haven't used SelfLog at all until now :D I remember that someone wanted to have this as logging output, but I agree to remove the call now as it doesn't make sense. Escaping the curly braces is a workaround, but unnecessary if you ask me. Let's just remove the logging and see if someone complains 😅

This is changed / fixed in version 1.1.10. I try to fix the other issue with the file sizes now.


nanoc lacks contributor code of conduct

I believe that not having experienced any issues is not an excuse for not having a contributor code of conduct.

If you are a jerk, the rest of the community will ask you to stop.
If you don't stop, the rest of the community will ask you to leave.

:+1:

@bobthecow I agree with what you said, but think “being a jerk” is too loosely defined.
I’m in favour of applying the contributor covenant (also see its GitHub repository).

@ddfreyne +1

Sorry to butt in here, but I feel that "being a jerk" in that context is actually pretty well defined. It's defined by point 2: "If you are a jerk, the rest of the community will ask you to stop." E.g. The project's community collectively decides what "being a jerk" is, and will call you out on it if you are being one.
Longer CoC documents like the contributor covenant are just as subjective IMO, and don't add much beyond simple common sense. They provide obvious examples of "being a jerk", but leave everything else to the judgement of project collaborators. Unless you implement a full fledged procedure for defining in exact detail what "being a jerk" is, and exactly how to deal with it when it comes up, everything's all subjective anyway making a formal CoC document pretty pointless. Eh whatever, just my 2 cents. I'll be going now...

@Ajedi32 My reason for having a code of conduct is in order to make everyone feel welcome to contribute. There’s a great deal of unconscious bias in the open-source community, and this is an effort to increase diversity.

Done:

nanoc/nanoc#667
nanoc/nanoc.ws#111


Forbid TODO markers on master branch

this makes TODO markers useful for things which you want to fix before sending a PR

I tend to use TODO and FIXME exactly the other way around ;)

yeah, me to, but rust-lang/rust prefers FIXME, and it makes sense to be consistent with it?

The merge of #982 will have introduced another TODO which will need to be updated to FIXME here. :slightly_smiling_face:

I don't plant to merge this until #988  is r+ed :)

bors r+

A bit of git archeology revealed this: https://github.com/rust-lang/rust/commit/fe77e962a826ac41354a7b1b4afa08c527e86e8c
Basically, there once was a policy in rust-lang to require issue numbers on FIXME comments, and to do was forbidden as a work-around for that.
I guess it's a good idea to create issues for FIXMEs on a best-effort bases!

bors r+


Porting Examples to new API 3

@Erfan-Ahmadi we can continue our work here

@AnastaZIuk and @Erfan-Ahmadi ' TODO:

[ ] rudimentary camera implementation
[ ] Sponza examples (all of them)
[ ] Color Space example
[ ] Bullet example
[ ] Any related example
[x] ScreenShot extension
[ ] FullScreenTriangle extension
[ ] CQuantNormalCache reading/writing

@sadiuk 's TODO https://github.com/Devsh-Graphics-Programming/Nabla/pull/166#issuecomment-890993170

[ ] shaders loading
[ ] loaders (according to the list priority)
[ ] writers (according to the list priority)

@sadiuk what is the status?

@sadiuk what is the status?

@AnastaZIuk according to https://github.com/Devsh-Graphics-Programming/Nabla/pull/166#issuecomment-890993170 obj Loader, png and jpeg writers and loaders are tested, also shader loading was fixed when i was doing ex6, but i'm about to start that CWD work, so it'll most likely need a rework and a new round of testing.

@sadiuk what is the status?

@AnastaZIuk according to #166 (comment) obj Loader, png and jpeg writers and loaders are tested, also shader loading was fixed when i was doing ex6, but i'm about to start that CWD work, so it'll most likely need a rework and a new round of testing.

very nice

@sadiuk perhaps found a new bug for you to fix, there is something definitely wrong with getting shader assets, I think I get infinite loop when trying to execute this one https://github.com/Devsh-Graphics-Programming/Nabla/blob/examplesPort/examples_tests/09.ColorSpaceTest/main.cpp#L86

added https://github.com/Devsh-Graphics-Programming/Nabla/pull/15#issuecomment-890097101

TODO: add camera header after @Erfan-Ahmadi adjusts to following Matt's review https://github.com/Devsh-Graphics-Programming/Nabla/pull/174/commits/c20e00cf03b32727045f21673365eb44fc6870b4

@sadiuk perhaps found a new bug for you to fix, there is something definitely wrong with getting shader assets, I think I get infinite loop when trying to execute this one https://github.com/Devsh-Graphics-Programming/Nabla/blob/examplesPort/examples_tests/09.ColorSpaceTest/main.cpp#L86

@AnastaZIuk fixed that. Tag me if (or rather when XD) you find more bugs.

you guys should merge the latest input_channel_demo which includes C++20

TODO: https://github.com/cloudygeek/baw_Game/commit/a911eba8acf29d65e30f60548d756ad21a322a2d#r54624190

that one is curious @sadiuk

seems like something is wrong when destroying objects after returning from main?

@Erfan-Ahmadi you can use QToQuitEventReceiver.h in your examples to leave the hot loop by the way

TODO: GeometryCreator bugs, only 2 of 9 get displayed, and they are displayed wrong, the geometry is screwed!

TODO: GeometryCreator bugs, only 2 of 9 get displayed, and they are displayed wrong, the geometry is screwed!

fixed, I made a funny mistake

TODO: https://github.com/Devsh-Graphics-Programming/Nabla/pull/186#discussion_r688707333

@sadiuk there is something wrong with TGA writer, it fails when filesystem tries to write with some offset, check it please on 09. example. On the other way I can see that you were able to write tga image https://github.com/Devsh-Graphics-Programming/Nabla/issues/183#issue-965044006, where is the fix?

@sadiuk also there is something wrong with GLI loader, it doesn't load some ktx/dds files, it returns empty assets

@sadiuk GLI writer doesn't work at all, dds files have 0 bytes

and what is that? I get this each time

@sadiuk GLI writer doesn't work at all, dds files have 0 bytes

fixed

@sadiuk also there is something wrong with GLI loader, it doesn't load some ktx files, it returns empty assets

fixed

that one is curious @sadiuk

seems like something is wrong when destroying objects after returning from main?

okay I found that it is probably a bug for @Crisspl
something is wrong with destroyGlObjects

@devshgraphicsprogramming changed the base of PR, ready for you

did you test all the samples which are supposed to work so far (previously ported) ?

did you test all the samples which are supposed to work so far (previously ported) ?

yes, they work but because of changes I need to test and adjust compute shaders sample and megatexture sample


chore: removing webhook validation in favor of kubebuilder CRD validation, and removing old SIG Gallery Logic

Fixes #
Description
We removed ImageID from the AKSNodeClass API, and plan to add it back in the future, so i want to reduce/remove all validation in the webhooks, so removed here, and added Kubebuilder Validation instead for when we do turn it back on.
How was this change tested?
Temporarily added back in ImageID validated it validated our requests, and removed it again.

make presubmit

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

Replaced ImageID Validation webhook with CEL Validation

Seems CI doesnt work from Fork Yet, makes sense, will reopen from branch

Seems the be lowest priority, we can close and reopen later if its needed

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-1 of 3 (66.67%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 97.597%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/apis/v1alpha2/aksnodeclass_validation.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/apis/v1alpha2/aksnodeclass_validation.go
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
35737

Relevant Lines:
36617

💛  - Coveralls


Removing a node does not remove the reference to it from connected nodes

Like shown on the video:
https://github.com/enso-org/enso/assets/1436948/dbaa3f52-21b9-4ee1-93f1-341d22d57c2d
This seems like a regression - IIRC in the past when I removed a node, the connections are disconnected and the reference in other nodes would be removed or replaced with a _ placeholder.
This is especially problematic (as in the video) when the node was connected to an optional argument. If the argument disappeared (as I recall used to be the case in the past) - the node would come back to the previous setting. Now, instead, the node becomes erroneous because it references a name that no longer exists.

I guess it's caused by #7041 change
I think the view was before emitting events about connections being removed before the node was removed. The @Frizi's change may have altered it, and probably it should be done on the controller side (it makes more sense to me).


[2.0 Alpha] A couple things discovered

After an unpack operation the application closes.
When packing files it shows the Now Unpacking text and the item/total items remains 0.
Recommended: possible data binding between the pack and unpack views?

Fixed in a91aeb3


Agent is unable to retain its memory using ConversationMemory()

Describe the bug
Agent is unable to retain its memory if it's provided with tools.
To Reproduce

Run the example code below
Steps to reproduce the behavior:

from griptape.memory.tool import TextToolMemory, BlobToolMemory
from griptape.tools import Calculator, WebScraper, FileManager, TextMemoryBrowser
from griptape.structures import Agent
from griptape.utils import Chat
from griptape.rules import Rule, Ruleset
from griptape.memory.structure import ConversationMemory, BufferConversationMemory

"""
Define tool memory for storing textual and
non-textual content.
"""
text_memory = TextToolMemory()
blob_memory = BlobToolMemory()

"""
WebScraper enables LLMs to web pages.

Here we wrap WebScraper's `get_content` activity
in the text memory. Any result from this
activity will be stored in that memory and the result
ID will be returned to the LLM.
"""
web_scraper = WebScraper(
    output_memory={
        "get_content": [text_memory]
    }
)

"""
FileManager enables LLMs to store and load files from disk.

Here we set input_memory for tool activities to pull data from and
wrap the `load_files_from_disk` activity output with the blob memory.
"""
file_manager = FileManager(
    input_memory=[text_memory],
    output_memory={
        "load_files_from_disk": [blob_memory]
    }
)

"""
TextMemoryBrowser enables LLMs to browse, extract, and query text memory.
"""
memory_browser = TextMemoryBrowser(
    input_memory=[text_memory]
)

agent = Agent(
    memory=ConversationMemory(),
    tools=[web_scraper, file_manager, memory_browser],
)

Chat(agent).start()

Ask a question (e.g., where is new york)

Ask the agent to answer your previous question.

Expected behavior
Agent has memory of the previous conversation.
Screenshots

Interesting. Thanks for posting this. There seems to be a bug w/ conversational memory. That example was demonstrating something different but seems to have caused it. We'll track it down.
For basic conversational memory, you can just use the following code:
`
from griptape.structures import Agent
from griptape.utils import Chat
agent = Agent()
Chat(agent).start()
`
That'll keep track of a basic conversation.
Q: my name is kyle  processing... [07/17/23 22:08:03] INFO     Task ac950f6942494f309900eea138cbd0e5                                            Input: my name is kyle                                                  INFO     Task ac950f6942494f309900eea138cbd0e5                                            Output: Nice to meet you, Kyle! How can I assist                                 you today?                                          A: Nice to meet you, Kyle! How can I assist you today? Q: what's my name  processing... [07/17/23 22:08:07] INFO     Task ac950f6942494f309900eea138cbd0e5                                            Input: what's my name                               [07/17/23 22:08:08] INFO     Task ac950f6942494f309900eea138cbd0e5                                            Output: Your name is Kyle. How can I assist you                                  today, Kyle?                                        A: Your name is Kyle. How can I assist you today, Kyle? Q:

Thank you, Kyle.
Yeah, seems to happen only if you add tools to the agent and similar problem occurs with the pipeline as well.

@jin167, thanks for reporting the issue! The latest version of Griptape (0.14.0) has several base prompt tweaks that fix this issue. Let us know if it happens again.


Why not build on top of the standard HTML  element?

You can read about the <time> element here. You could use the standard datetime attribute instead of data-timeago, and you could also make the library work on <time> elements with zero configuration.

This is a good idea, bolow need to be considered:

browse supported or compatibility
Downward compatibility
can not add little code to keep tiny

thanks for suggestion, if you have free time, waiting for your pr. ^_^~

As for browser support: http://caniuse.com/#feat=html5semantic.

@simevidas @RyanZim I will learn for it. If you has some code, welcome to pull a request. ^_^~


Templates should handle correctly the cases where GLV and CofactorCleaning are set to false

e.g. In ./internal/generator/config/bls12-381.go, if we set GLV: false and CofactorCleaning: false, the template internal/generator/ecc/template/point.go.tmpl handles incorrectly this case.

#281


add pagination

https://github.com/expressjs/express-paginate

Or maybe just use DocumentDB's pagination


Adjust metric names to naming conventions.

All counters should be suffixed with _total in Prometheus land.
The System and Subsystem fields are more of a legacy of the Go client library and a flat representation is recommended.

/cc @Nalum do you have opinions on the changes?

@fabxc could you update your commit to --signoff please.  We do this so folks don't need to sign a CLA.

I'm happy to go with these changes.

I wasn't aware that susystem and name were not seen as good practice.

It seemed a good idea long time ago. But it instruments at a higher level than the exposition format can actually represent because it doesn't have namespacing like heptio.eventrouter.warnings_total.
If the client library supported multiple exposition formats, a case could be made to do it anyway. But an artificial restriction to two upper levels doesn't make sense either. So it's mostly just left to not break people.
Just using plain strings also makes it grep-able, which can some times help when working with larger code bases.


Bypass auth

Hi.
i've just install Winds on my localhost.
I'm looking for a way to bypass the auth process (i never receive email, the registration process just not work).
Is it possible ?
than ks you

Hi @Colir, eliminating auth would require some code modifications on your end. I'd start with the main file. We're actively working on Winds 2.0, so I would suggest holding off on development unless you really enjoy this edition. :)


Retry not working as expected

Describe the bug
I have a client application which is making calls to a service within the Service Mesh, the service intentionally returns 500 errors on a given cadence that I'm trying to mitigate with retry policy as shown in the following VirtualService:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: api-rating
spec:
  gateways:
  - mesh
  hosts:
  - api-rating.mesh.svc.cluster.local
  http:
  - match:
    - headers:
        x-user-agent:
          regex: .*Mobile.*
    route:
    - destination:
        host: api-rating.mesh.svc.cluster.local
        subset: v2
    retries:
      attempts: 5
      perTryTimeout: 1s
  - route:
    - destination:
        host: api-rating.mesh.svc.cluster.local
        subset: v1

On running load I observe the following logs in the sidecar:
[2019-02-07T19:53:53.259Z] "GET /api/rating/v1/rating/3HTTP/1.1" 200 - 0 57 104 103 "-" "-" "344519f9-eaa0-4c88-a4a7-85850137d26a" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:60288
[2019-02-07T19:53:53.262Z] "GET /api/rating/v1/rating/4HTTP/1.1" 200 - 0 57 203 202 "-" "-" "b0656e85-701c-4244-affd-5cd9a413feaa" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34066
[2019-02-07T19:53:53.280Z] "GET /api/rating/v1/rating/6HTTP/1.1" 200 - 0 57 284 283 "-" "-" "50a69010-2b88-4953-8b59-7f3fb94b2066" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34114
[2019-02-07T19:53:53.281Z] "GET /api/rating/v1/rating/5HTTP/1.1" 200 - 0 59 381 380 "-" "-" "d7ba4f45-3d41-4b72-8d74-086362b6813b" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:59598
[2019-02-07T19:53:53.281Z] "GET /api/rating/v1/rating/1HTTP/1.1" 200 - 0 59 482 481 "-" "-" "05f975df-a6e9-4dcc-a359-b372d79c6e4c" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:33206
[2019-02-07T19:53:53.294Z] "GET /api/rating/v1/rating/2HTTP/1.1" 500 - 0 41 570 569 "-" "-" "666b1ba7-951c-4490-883c-df01b55210fe" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34340
[2019-02-07T19:53:53.385Z] "GET /api/rating/v1/rating/8HTTP/1.1" 500 - 0 41 580 579 "-" "-" "d833cbea-fa6f-4421-a2b1-d1c9511c300f" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:58118
[2019-02-07T19:53:53.493Z] "GET /api/rating/v1/rating/9HTTP/1.1" 500 - 0 41 570 569 "-" "-" "9188d5c7-5db3-48d3-a6ff-1efcce6c1f1d" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34374
[2019-02-07T19:53:53.586Z] "GET /api/rating/v1/rating/7HTTP/1.1" 500 - 0 41 578 577 "-" "-" "7e1088b0-a4b3-4d01-bb5e-c541fb3bdade" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34384
[2019-02-07T19:53:53.684Z] "GET /api/rating/v1/rating/10HTTP/1.1" 500 - 0 42 579 578 "-" "-" "7f72f073-6e22-4cf6-b4a1-3489b76a4bc3" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34114
[2019-02-07T19:53:53.891Z] "GET /api/rating/v1/rating/2HTTP/1.1" 200 - 0 57 472 471 "-" "-" "666b1ba7-951c-4490-883c-df01b55210fe" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:33206
[2019-02-07T19:53:53.995Z] "GET /api/rating/v1/rating/8HTTP/1.1" 200 - 0 57 469 468 "-" "-" "d833cbea-fa6f-4421-a2b1-d1c9511c300f" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:34398
[2019-02-07T19:53:54.076Z] "GET /api/rating/v1/rating/9HTTP/1.1" 200 - 0 59 487 487 "-" "-" "9188d5c7-5db3-48d3-a6ff-1efcce6c1f1d" "api-rating" "<IP_ADDRESS>:80" inbound|80||api-rating.mesh.svc.cluster.local - <IP_ADDRESS>:80 <IP_ADDRESS>:59598
[2019-02-07 20:09:06.097][17][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:240] gRPC config stream closed: 13,
[2019-02-07 20:14:06.403][17][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:240] gRPC config stream closed: 13,

The concern is I can see requests 2,8,9 being retired but not 7,10.
Expected behavior
I expect all failed requests that return 5xx to be retried by envoy
Steps to reproduce the bug
create some client load with high currency, say 10 clients, against a microservice within the service mesh that you intentionally get to return 500 errors, that is replica=1.
Version
istio 1.0.5
Installation
helm template & kubectl apply
Environment
docker-for-mac
Cluster state
NA

might be related to envoyproxy/envoy#5023, envoy/issues#5876


send events

Besides needing rebase, is there something wrong with the setup for the secrets?
2020/10/05 18:34:42 smoke-broker-trigger-hbavypkb is not ready, ExchangeCredentialsUnavailable: Failed to get arguments for creating exchange: rabbit "rigging-oxwsdpwp/rabbitmqc" not ready

Besides needing rebase, is there something wrong with the setup for the secrets?
2020/10/05 18:34:42 smoke-broker-trigger-hbavypkb is not ready, ExchangeCredentialsUnavailable: Failed to get arguments for creating exchange: rabbit "rigging-oxwsdpwp/rabbitmqc" not ready

Did you run  ./test/kind/prerequisites.sh?
See  ./test/kind/README.md


Can multiple storageclassname be added in the volumeclaimtemplates

Can a different storageclassname be added in the volumeclaimtemplate for data-volume and log-volume?

as author you can post comment to cllosed issues on github
this restriction from PersistentVolumeClaim specification
storageClassName have string type
look
https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
for details


[AVM Question/Feedback]:  roleAssignments param in resource-group module

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
I probably misunderstood roleAssignments param in resource-group module
I want to create a resource group , set tags and grant certain permissions to the RG.
I have no problem with resource group tags and locks, but the roles are assigned on the subscription level not the RG.
Do I use it incorrectly? wrong version? Sorry, I'm new to AVM/BRM
My code :
module newRg 'br/public:avm/res/resources/resource-group:0.2.1' =  {
  name: '${deployment().name}.${rgName}'
  scope: subscription()
  params: {
    name: rgName
    location: rgLocation
    tags: newTags
    lock: {
      kind: lockKind
      name: '${rgName}-RG-lock-${lockKind}'
    }
    roleAssignments : rbac
  }
}

I guess, that's a bug.
`resource resourceGroup_roleAssignments 'Microsoft.Authorization/roleAssignments@2022-04-01' = [for (roleAssignment, index) in (roleAssignments ?? [])
...
`
should be moved to a nested module: nested_lock.bicep or a new one
Similar module from Azure Resource Manager QuickStart Templates
subscription-deployments/create-rg-lock-role-assignment/main.bicep
works as expected -- the role assigned on RG level.

@OlehGap - I have proposed a change via the PR linked to this thread - this resolves the issue and sets the role assignment scope to /subscriptions/SUBSCRIPTIONID/resourcegroups/RESOURCEGROUPNAME
Pening approval from @Azure/avm-res-resources-resourcegroup-module-owners-bicep

fix: roleassignemts in avm-res-resources-resourcegroup #823

Thanks for the fix, approved.


[Visuals] World modulation settings does not override properly

Fedoraware Version Date: Latest Build (Tested at 23.12.2022)
Description:
A very uncostistent bug which can happen when you load a visual config when you already have loaded another one or you load an imported visual config with the game open which makes the world modulation settings not change either forever until you restart the game or change by loading a specific visual config.
Steps to reproduce:

[ ] I am able to consistently reproduce this error

Steps to reproduce the behavior:

Load any visual config which does have custom world modulation settings
Grab another visual config with different world modulation settings
(Optional) Import one or a couple of new visual configs while the game is open (not sure if the game open has any impact)
Switch to one of the visual configs you have imported and notice world modulation settings stay the same as the previous one which was loaded.

Additional context
Live example can be seen at the last couple of visual configs made by MCPengu and ascendeds1on at FVV. Since these configs were loaded one by one, the world modulation settings remained on the visual config made by ascendeds1on from the previous one although having a complete set of its own world modulation settings. Including screenshots for the reference -
First (and probably the one which creates the issue) - Image
And the second one which "stole" the settings and did not override them by their own - Image

[x] I have included the steps to reproduce to the best I am able to share.

adding onto this that for me it sometimes breaks halfway through games, and wont work again until i change the colour.

It's all my fault I'm sorry

I guess it requires some kind of investigation to find out the exact problem


Equality among moderators

While I realize it's entirely a volunteer position, I personally feel like it would benefit the community to see equality, in all it's forms, represented in the moderator working group. The ratio of those identifying as male and female is even, but I feel a lack of representation of people of color and the lgbtqia community is hurting the ability for proper moderation in discussion and mediation.

Thanks for filing this issue - we will most definitely take this feedback under advisement going forward. At the current time, we are going to let the new CoC changes & application settle in before opening up the CoC team to any new members.


Add to Settings "Max privacy lock time limit"

Please add "Max privacy lock time limit" to Privacy settings https://zpl.io/blkg88X

"Max privacy lock time limit" page https://zpl.io/VxNBE5g

checked


Added the finish upgrade feature to cowpoke

@EvanSnapp can you rebase? PR is showing changes from several weeks ago


Dim vision in dim light

For the last 3 (recent) updates I've noticed that Dim vision changes aren't having any effect.
I have dim vision givng bright light in dim light areas, but when I select a token with dim vision the light levels aren't visibly changing.  It used to work perfectly until recently.

It works on my end. Do you get error messages in the console (F12 -> Console)?

Did you try whether it works when PV is the only active module?

yes, even with only PV on I get the same thing.
I've had this before if a location is set somewhere in the module, because
I run everything off a small server I put together.  Modules that work for
the developers don't work because the location is set incorrectly.  The
thing that is odd this time is that Darkvision is working fine, its just
Low-light vision that is failing.  As a note this is for a pf2e game.
On Tue, Aug 3, 2021 at 3:03 PM dev7355608 @.***> wrote:

Did you try whether it works when PV is the only active module?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dev7355608/perfect-vision/issues/106#issuecomment-891873913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFN3YCE4FPPGOJJHQIKKLUDT27ZKRANCNFSM5BOGBK6A
.
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&utm_campaign=notification-email
.

Do you have PF2e's Rules-based vision enabled?

I am having this same issue and I don't have Rules-based vision enabled. I even jumped onto a test world completely new with only perfect vision enabled and it still does not properly show the dim area as bright for tokens with dim vision.

Sorry, I was confused and tested darkvision all this time for some reason instead of low light. I found the bug in PV and fixed it in v2.3.6.
I also know you didn't have the module Lichtgeschwindigkeit enabled: with it my buggy code would have been skipped. It's a great module that improves sight a lot. I highly recommend it.


cmd/scollector: normalize process metrics into os namespace

@gbrayut @alienth

Back do you, @kylebrandt
:nail_care:

@alienth Ya I considered that but my understanding is that the CPU time will be based on the number of logical cores. So maybe I should just rename it to be clear?

@kylebrandt Rename sounds fine, or maybe just a description note.

:fish: lgtm

LGTM


Directed interaction should be turned into "regulates" edge

should be p(HGNC:GRB2) regulates p(HGNC:PTPN11)

@jmarinllao add case for "DirectInteraction" and convert it into "regulates" relationship in BEL


Adding copy_texture_to_buffer and copy_texture_to_texture

For some reason Bevy did not implement copy_texture_to_buffer and copy_texture_to_texture even though wgpu does support them. This PR adds them back.

Good call. Thanks!

Good call. Thanks!


Post component

Post - photo, timestamp, like button, dislike button, comment button, user, description

@JeraldStephenson I will start this component


Add 2 SQL indexes

Recommend adding indexes to adsb_aircraft.icao and  adsb_positions.flight.  That gives my pi3 well over a 90% decrease in time taken to run flights.py.
Most of the gain is from the optimiser using the index for the "SELECT message FROM adsb_positions WHERE flight = %s AND message = %s ORDER BY time DESC LIMIT 1" query.
# time python2 /usr/src/adsb-receiver/build/portal/python/flights.oneshot.py

real    1m26.028s
user    1m13.218s
sys     0m11.459s

# sqlite3 /var/www/html/data/portal.sqlite 'CREATE INDEX IF NOT EXISTS idxIcao ON adsb_aircraft(icao);'
# sqlite3 /var/www/html/data/portal.sqlite 'CREATE INDEX IF NOT EXISTS idxFlight ON adsb_positions(flight);'
# time python2 /usr/src/adsb-receiver/build/portal/python/flights.oneshot.py

real    0m5.600s
user    0m4.697s
sys     0m0.306s
#

looks like a useful addition :)

Added indexes in v2.7.2.


bug: fix socks5 proxy failed

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 66.053%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fetch.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
323

Relevant Lines:
489

💛  - Coveralls


Mat/Pat - UX - Inform applicant & supervisor that they can edit after submission

Context
Applicants & supervisors can edit. We also have rules on what applicant can edit based on the stage the application is in  - before approval, after approval, after start date etc.
This should be communicated to applicants & supervisors as well.
Potential solutions

Banner with information on top of the form
clean interface in the review page
Note in the Email sent to applicants and supervisors.

Rules in #896 & #906

@Fazil will explore and report on best places to do this and then we will decide when


Filesystem cache not working

this is my config.json:
{
"cache": "filesystem",
"cacheConfig": {
"cacheDurationMinutes": -1,
"cacheMaxEntries": -1,
"snapshotDir": "/home/name/rendertron-cache/"
},
"timeout": 60000
}
but rendertron-cache is not created or after i create it it's empty

Hi,
This is my bad, in some revisions forgot to add back the support for -1 for cacheDurationMinutes, I will submit a fix now, but changing line 169 in /src/filesystem-cache.ts https://github.com/GoogleChrome/rendertron/blob/0f64292ddfd46850f22dc33b360986e18d9b9628/src/filesystem-cache.ts#L169
to:
if (content.expires.getTime() >= new Date().getTime() || parseInt(this.config.cacheConfig.cacheDurationMinutes) === -1) {

Should fix this

well i change this line to:
"cacheDurationMinutes": 72000,

and it's still not working :)

Strange, I've tested in Ubuntu & windows & seems to work for me, what os are you running on?
Does the user you are running rendertron as have the required permissions to create & write to the directory?

yep, sorry, i add writing permissions and everything works ok :)


Bug/1544 tye deploy namespace issues

This addresses issue #1544

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: RSoeborg sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Fix comment permissions

This PR will fix some missed checks for private repositories' data on web routes and API routes.

We can also think of including the changes in the three subsequent files starting at https://github.com/go-gitea/gitea/pull/28212/files#diff-48b3002b3f2195c08566ae3ab77c489ef4d6c07b7be4a734b7071d6533e11066 as well.

Test failure related to changes in test cases

I was unable to create a backport for 1.20. @lunny, please send one manually. :tea:
go run ./contrib/backport 28213
...  // fix git conflicts if any
go run ./contrib/backport --continue

I was unable to create a backport for 1.21. @lunny, please send one manually. :tea:
go run ./contrib/backport 28213
...  // fix git conflicts if any
go run ./contrib/backport --continue


Error sending a snap from a file.

Traceback (most recent call last):
  File "storyfbbot-dev.py", line 40, in <module>
    bot.listen()
  File "/home/n07070/Code/SnapchatBot/snapchat_bots/bot.py", line 71, in listen
    self.on_friend_delete(friend)
  File "storyfbbot-dev.py", line 17, in on_friend_delete
    self.send_snap(friend, Snap.from_file('resources/adieu.png'))
  File "/home/n07070/Code/SnapchatBot/snapchat_bots/snap.py", line 15, in from_file
    if duration is None: duration = get_video_duration(path)
  File "/home/n07070/Code/SnapchatBot/snapchat_bots/utils.py", line 48, in get_video_duration
    duration_string = re.findall(r'Duration: ([0-9:]*)', matches[0])[0]
IndexError: list index out of range

Looks like this does not find anything:
re.findall

Could you test by using a print statement instead of duration_string = to print the following? :
re.findall(r'Duration: ([0-9:]*)', matches[0])

The main issue seems to be that it's dealing with an image as a video, that's why it tries to get the duration of the video w/ ffprobe and fails. It's strange, as I tried creating a Snap from a png file and it correctly handled it on my machine, but I'll look into it further.

@krissrex I cannot reproduce the error, but now, it outputs this error ( it sends the image as a video. )
ffmpeg version 0.8.16-6:0.8.16-1, Copyright (c) 2000-2014 the Libav developers
  built on Sep 17 2014 13:32:57 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
Input #0, image2, from 'resources/auto_welcome.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: png, bgra, 290x600, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x8f8f640] w:290 h:600 pixfmt:bgra
[avsink @ 0x8f8f800] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x8f96300] w:290 h:600 fmt:bgra -> w:290 h:600 fmt:yuv420p flags:0x4
[libx264 @ 0x8f8ea60] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0x8f8ea60] profile Main, level 2.1
[libx264 @ 0x8f8ea60] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
Output #0, mp4, to '/tmp/tmpoeqKZr.snap.mp4':
  Metadata:
    encoder         : Lavf53.21.1
    Stream #0.0: Video: libx264, yuv420p, 290x600, q=-1--1, 25 tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
frame=    1 fps=  0 q=28.0 Lsize=      10kB time=10000000000.00 bitrate=   0.0kbits/s
video:9kB audio:0kB global headers:0kB muxing overhead 8.308453%
frame I:1     Avg QP:26.82  size:  9006
[libx264 @ 0x8f8ea60] mb I  I16..4: 73.4%  0.0% 26.6%
[libx264 @ 0x8f8ea60] coded y,uvDC,uvAC intra: 18.3% 28.0% 27.3%
[libx264 @ 0x8f8ea60] i16 v,h,dc,p: 90%  5%  4%  0%
[libx264 @ 0x8f8ea60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 24% 22%  2%  3%  4%  4%  5%  4%
[libx264 @ 0x8f8ea60] i8c dc,h,v,p: 77% 15%  5%  3%
[libx264 @ 0x8f8ea60] kb/s:1801.20

have you tried using guess_type() on your image? And could you post the code for you bot

I did not try to use the guess_type(). Here is the code of the bot :
#!/usr/bin/python
# -*- coding: utf-8 -*-
from argparse import ArgumentParser
from snapchat_bots import SnapchatBot, Snap
from snapchat_bots.utils import save_snap

class FbStoryBot(SnapchatBot):

    # Acceuillir l'utilisateur
    def on_friend_add(self, friend):
        self.log(str(friend)+" has added me !")
      	self.send_snap(friend, Snap.from_file('resources/auto_welcome.png'))

    # Dire au revoir si il nous supprime
    def on_friend_delete(self, friend):
        self.log(str(friend)+" does not want me anymore...")
        self.send_snap(friend, Snap.from_file('resources/adieu.png'))
        self.log("Said goodbye.")
        self.delete_friend(friend)

    # Ajout d'une story
    def on_snap(self, sender, snap):
        # Ajout d'un log dans un fichier texte ?
        self.log("Recived a snap from "+str(sender))
        save_snap(snap)
        self.post_story(snap)
        self.log("Saved the snap in the directory.")

if __name__ == '__main__':
    # parser = ArgumentParser('Auto-Welcomer Bot')

    # parser.add_argument('-u', '--username', required=True, type=str, help="Username of the account to run the bot on")
    # parser.add_argument('-p', '--password', required=True, type=str, help="Password of the account to run the bot on")

    # args = parser.parse_args()

    bot = FbStoryBot('xxx', 'xxx')
    #Lister tout les utilisateurs puis le nombre d'utilisateurs.
    print("I have "+str(len(bot.get_friends()))+" friends !")
    bot.listen()

I found it.
if media_type is MEDIA_TYPE_VIDEO or MEDIA_TYPE_VIDEO_WITHOUT_AUDIO
should be
if media_type is MEDIA_TYPE_VIDEO or media_type is MEDIA_TYPE_VIDEO_WITHOUT_AUDIO

I corrected this earlier:
https://github.com/agermanidis/SnapchatBot/commit/e21e52c66d32c6aa032acbd546307ab80a1794e1

So how do I implement it ?

Have you tried running your code on the last commit? You shouldn't need to use guess_type, your issue might've been already fixed with https://github.com/agermanidis/SnapchatBot/commit/e21e52c66d32c6aa032acbd546307ab80a1794e1

Okay, it's fixed ! :smile:


custom user images aren't working on nodetube-1

custom user images aren't working on nodetube-1
I suspect it's due to not uploading to backblaze if backblaze is turned on

Fixed with latest commit


vestinggen: generate using hex

btw, in the README maybe add -pubout for the openssl outputting public key cmds?
otherwise both privates and publics dir have private keys

bors merge


Update README.md

added my own Starr Scripts repo to the list.
There isn't much added yet, but I'm actively working on it, the plan is to push at least 2-3 updates a week until its done.

Thanks for the addition!


Missing MD5s from Download Section

I just posted this on the ownCloud forum:
The ownCloud website seems to have been re-designed, and any way of verifying the download seems to have disappeared. Is there any way of verifying the download using MD5 or SHA256?
Thanks.

@hurradieweltgehtunter you can add .asc and .md5 and .sha256 to the archives to access the checksums.

Checksums are included again. See below the download buttons of server zip and tar. Others will follow if available.


Flutter on Android crashes on startup

Seems to be due to the new heap snapshot.
/cc @jason-simmons @mpcomplete

@yjbanov Did our bots catch this, or do we need to add another configuration to catch crashes like these?

We caught something. I can't tell if it's related to heap snapshot though. Something at the native level for sure:
F/flutter : [FATAL:rasterizer_direct.cc(60)] Check failed: surface_. GLSurface required.

It looks like it doesn't happen always (only the mega_gallery test failed, everything else succeeded)

@yjbanov That sounds like a separate bug.  Please file.  Looks like our attempt to allocate our gl surface is failing?

Filed https://github.com/flutter/flutter/issues/4832

Given that flutter run has been crashing on iOS devices for 2 days, seems like we should roll back our Dart until this is fixed?

Fixed.


Print transpose of a table

Currently a class fields printed as columns, I like to print them as rows, any idea how to do that. # @

It would be hard to do currently without manipulating the data manually beforehand.
What's your use case?

Closing due to inactivity.


bottom bits on standard article page

Acceptance criteria

Updated [first three letters of month name] [yyyy]

Based on any change made to the google doc (even fixing a typo), but not comment suggestions

"Did this page help you?"

Click anywhere on left half to say "yes"

"No" then turns grey, and "Thanks for your feedback!" text appears immediately to the left (and stays)

Click anywhere on right half to say "no"

"Yes" then turns grey
Popover appears. After user clicks submit (or just clicks out, if they don't want to leave an answer), it closes, and "Thanks for your feedback" appears to left

Clicking tags will lead to page for that tag

Links

Article
https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=1156%3A12840&mode=dev&t=1aLfVu2DEKlsbEf4-1
Submit feedback popover - article page
https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=2789%3A16740&mode=dev&t=zTwTmuq08p9ZfsM1-1

@buddy-web3 can you adjust the padding to match the design? :) E.g. the tags are right up against the line above them and should have more room

@buddy-web3 I've updated the links to the design you're actually supposed to implement. For MVP I say forget about the "Thanks for your feedback" part

@melissasamworth  please review the branch: https://github.com/StampyAI/stampy-ui/pull/412

@buddy-web3 just confirming that my review was seen and adjusted, then I'll close this!

@melissasamworth code adjusted as per review. except the last 2 comments, aren't those already as requested?


Add options for certs and verbosity, update docs

When using this module, I've been running into a few errors with invalid certs
and responses. In order to address this I've added more error checking and
possible options to ignore invalid certs and verbosity for debugging.

LGTM :+1:

Thanks!


feature: Support for MySQL as a backend database

Feature scope
Other
Description
Similar to what #6167  did for MSSQL

@edgarrmondragon @aaronsteers this isn't necessary for Managed nor is it a critical feature for us right now. I'm going to unassign and put it in the backlog. But we'll welcome community contributions to it of course.

This came up in slack recently https://meltano.slack.com/archives/C01TCRBBJD7/p1682446060687869

I'd like to plus one this.

@lukas-gust if you can give the original comment a thumbsup that does help!

Still relevant


Support int and WinRTEnum types in IIterator, IVector and IVectorView

Here is the summary of the changes in this PR:

Adds support for int and WinRTEnum types in IIterator, IVector and IVectorView
IVectorView's toList() now return immutable List using List.unmodifiable() (I believe this is the correct behavior)
Adds IIterable IIDs into the winrt_constants.dart
Refactor IIterable, IIterator, IVector and IVectorView interfaces
Adds DeviceClass, DevicePickerDisplayStatusOptions and Placement enumerations
Adds DevicePicker, DevicePickerFilter and Printing3DMultiplePropertyMaterial APIs (needed these for testing IVector<DeviceClass> and IVector<int>)
Minor documentation improvements

First, I'd like to explain where I got these IIterable IIDs and why I added them. I got them from here (they are extracted from Windows SDK's header files).
The reason I added them is, before this PR, while we create an instance of IIterable in IVector and IVectorView, we were assuming IIterable IID is always the second item on the iids list for IVector and it is always the last item for IVectorView when we call toInterface():
  // IID_IIterable is always the second item on the iids list for IVector
  late final _iIterable = IIterable<T>.fromRawPointer(toInterface(iids[1]),
      ...);

  // IID_IIterable is always the last item on the iids list for IVectorView
  late final _iIterable = IIterable<T>.fromRawPointer(toInterface(iids.last),
      ...);

Unfortunately, I recently learned that this assumption is wrong for some types (oops! :) ). I did some digging and couldn't find a simple way to find the correct IIterable IID so I came up with this:
I added these IIDs into the winrt_constants.dart and created two Sets for them (mapIterableIids and vectorIterableIids). Then, I created a helper function iterableIidFromIids that takes a List of interface IIDs and searches between the two Sets that I mentioned above to find the correct IIterable IID.
With these changes, we now call toInterface() like this:
  late final _iIterable = IIterable<T>.fromRawPointer(
    toInterface(iterableIidFromIids(iids)),
    ...
  );

Looks good. Ready to check in. Perhaps as you merge (or as part of a separate pull request), we should move the hidden IIDs in winrt_constants into the internal\ folder also...?


User: arn:aws:iam::xxxxxxxxxxxx:user/ is not authorized to perform: apigateway:TagResource on resource: arn:aws:apigateway:eu-west-3::/apis//stages (Service: AmazonApiGatewayV2; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxxx; Proxy: null)

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
11.0.3
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes on concerned resources
Describe the bug
Hello, I am trying to create an API Gateway websocket with amplify add custom (cdk).
I am using cdk V1 because aws_apigatewayv2 of the cdk V2 is in alpha.
Here's my package.json dependencies :
  "dependencies": {
    "@aws-amplify/cli-extensibility-helper": "^2.0.0",
    "@aws-cdk/core": "~1.198.0",
    "@aws-cdk/aws-apigatewayv2": "~1.198.0",
    "@aws-cdk/aws-apigatewayv2-integrations": "~1.198.0",
    "@aws-cdk/aws-lambda": "~1.198.0"
  },
  "devDependencies": {
    "typescript": "^4.2.4"
  }

Here's the relevant CDK code used:
const webSocketApi = new WebSocketApi(this, "XXXXX", {
      apiName: "XXX",
      // this is the default expression, just putting it here for verbose purpose
      routeSelectionExpression: "$request.body.action",
      connectRouteOptions: {
        integration: new WebSocketLambdaIntegration(
          "connectIntegration",
          connectHandler
        ),
      },
      disconnectRouteOptions: {
        integration: new WebSocketLambdaIntegration(
          "disconnectIntegration",
          disconnectHandler
        ),
      },
    });

    new WebSocketStage(this, "websocketStage", {
      webSocketApi,
      stageName: cdk.Fn.ref("env"),
      autoDeploy: true,
    });

Everything is generated fine if I remove the WebsocketStage bit.
The error encountered is the one written in the subject which is :

User: arn:aws:iam::XXXX:user/ is not authorized to perform: apigateway:TagResource on resource: arn:aws:apigateway:eu-west-3::/apis//stages (Service: AmazonApiGatewayV2; Status Code: 403; Error Code: AccessDeniedException; Request ID: XXX; Proxy: null)

it seems that the AdministratorAccess-Amplify policy attached to the amplify created user through amplify configure lacks the apigateway:TagResource permission.
I can't find a way to append a statement to this existing policy like the following :
amplifyPolicy.appendToPolicy(
new PolicyStatement({
        actions: [
          "apigateway:TagResource",
        ],
        resources: [*],
      })
)

I would like to do it with the CDK, and not manually, so that my colleagues could access it without manual interaction with the console, on every user/account-environment we have.
Or maybe this AWs managed policy should contain this statement by default.
Expected behavior
The custom resource Stage of my custom websocket should be created without a permission error.
Reproduction steps

Create an amplify user through amplify configure
Attach to it the policy arn:aws:iam::aws:policy/AdministratorAccess-Amplify
amplify add custom
use cdk v1
import { WebSocketLambdaIntegration } from "@aws-cdk/aws-apigatewayv2-integrations"; import { WebSocketApi, WebSocketStage } from "@aws-cdk/aws-apigatewayv2";
code a websocket API (see bug description for reference)
Initialize a WebSocketStage (see bug description for reference)
amplify push

Project Identifier
No response
Log output

User: arn:aws:iam::XXXX:user/ is not authorized to perform: apigateway:TagResource on resource: arn:aws:apigateway:eu-west-3::/apis//stages (Service: AmazonApiGatewayV2; Status Code: 403; Error Code: AccessDeniedException; Request ID: XXX; Proxy: null)

Additional information
Thank you for help !
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @oyatrides :wave: thanks for raising this! Although I was not able to reproduce by applying tags via amplify/backend/tags.json and creating a REST API via the CLI with amplify add api, I was able to reproduce by creating a similar custom resource.

amplify init -y (be sure to initialize with an IAM user that has AdministratorAccess-Amplify
amplify add custom
Make the necessary adjustments to the amplify/backend/package.json file to use CDK v1
Copy the following into the newly-created cdk-stack.tsimport * as cdk from '@aws-cdk/core'
import * as AmplifyHelpers from '@aws-amplify/cli-extensibility-helper'
import { WebSocketApi, WebSocketStage } from '@aws-cdk/aws-apigatewayv2'
import { WebSocketLambdaIntegration } from '@aws-cdk/aws-apigatewayv2-integrations'
import * as lambda from '@aws-cdk/aws-lambda'

const fakeHandler = `
  exports.handler = async (event) => {
    console.log('event', event)
    return {
      statusCode: 200,
      body: JSON.stringify('Hello from Lambda!'),
    }
  }
`

export class cdkStack extends cdk.Stack {
  constructor(
    scope: cdk.Construct,
    id: string,
    props?: cdk.StackProps,
    amplifyResourceProps?: AmplifyHelpers.AmplifyResourceProps
  ) {
    super(scope, id, props)
    /* Do not remove - Amplify CLI automatically injects the current deployment environment in this input parameter */
    new cdk.CfnParameter(this, 'env', {
      type: 'String',
      description: 'Current Amplify CLI env name',
    })

    const connectHandler = new lambda.Function(this, 'connectHandler', {
      runtime: lambda.Runtime.NODEJS_16_X,
      handler: 'index.handler',
      code: lambda.Code.fromInline(fakeHandler),
    })

    const disconnectHandler = new lambda.Function(this, 'disconnectHandler', {
      runtime: lambda.Runtime.NODEJS_16_X,
      handler: 'index.handler',
      code: lambda.Code.fromInline(fakeHandler),
    })

    const webSocketApi = new WebSocketApi(this, 'XXXXX', {
      apiName: 'XXX',
      // this is the default expression, just putting it here for verbose purpose
      routeSelectionExpression: '$request.body.action',
      connectRouteOptions: {
        integration: new WebSocketLambdaIntegration(
          'connectIntegration',
          connectHandler
        ),
      },
      disconnectRouteOptions: {
        integration: new WebSocketLambdaIntegration(
          'disconnectIntegration',
          disconnectHandler
        ),
      },
    })

    new WebSocketStage(this, 'websocketStage', {
      webSocketApi,
      stageName: cdk.Fn.ref('env'),
      autoDeploy: true,
    })
  }
}

amplify push -y
observe error
Add the following IAM policy as an inline policy to the IAM user{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "apigateway:TagResource"
            ],
            "Resource": "*",
            "Condition": {
                "ForAnyValue:StringEquals": {
                    "aws:CalledVia": [
                        "cloudformation.amazonaws.com"
                    ]
                }
            }
        }
    ]
}

re-attempt push with amplify push -y
observe successful

Transferring to amplify-studio to add this policy to the managed AdministratorAccess-Amplify policy


Update scalatest to 3.2.4

Updates org.scalatest:scalatest from 3.2.3 to 3.2.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, semver-patch

Pull Request Test Coverage Report for Build 88

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 95.0%

Totals

Change from base Build 85:
0.4%

Covered Lines:
57

Relevant Lines:
60

💛  - Coveralls

Superseded by #44.


Intial Server run is throwing TypeError: cannot unpack non-iterable EnumChoices object

Just pulled a repo & installed requirements.txt in virtualenv
gettting below error when I'm starting the app

### The Error:
Traceback (most recent call last):   File "/Users/tusharniras/Desktop/sanbox/flask-admin/examples/sqla/run_server.py", line 1, in <module>     from admin import app   File "/Users/tusharniras/Desktop/sanbox/flask-admin/examples/sqla/admin/__init__.py", line 24, in <module>     import admin.main   File "/Users/tusharniras/Desktop/sanbox/flask-admin/examples/sqla/admin/main.py", line 248, in <module>     admin.add_view(UserAdmin(User, db.session))   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/view.py", line 327, in __init__     super(ModelView, self).__init__(model, name, category, endpoint, url, static_folder,   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/model/base.py", line 818, in __init__     self._refresh_cache()   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/model/base.py", line 910, in _refresh_cache     self._refresh_forms_cache()   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/model/base.py", line 835, in _refresh_forms_cache     self._create_form_class = self.get_create_form()   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/model/base.py", line 1291, in get_create_form     return self.get_form()   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/model/base.py", line 1248, in get_form     return self.scaffold_form()   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/view.py", line 745, in scaffold_form     form_class = form.get_form(self.model, converter,   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 552, in get_form     field = converter.convert(model, mapper, name, prop, field_args.get(name), hidden_pk)   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 263, in convert     return converter(model=model, mapper=mapper, prop=prop,   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 307, in convert_choice_type     accepted_values = [key for key, val in available_choices]   File "/Users/tusharniras/Desktop/sanbox/flask-admin/venv/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 307, in <listcomp>     accepted_values = [key for key, val in available_choices] TypeError: cannot unpack non-iterable EnumChoices object

Facing the same issue. Can this be rectified.

Same error here after tried two times from scratch. To reproduce the issue:
virtualenv env -p python3
source env/bin/activate
pip install -r examples/sqla/requirements.txt
python3 examples/sqla/run_server.py
Traceback (most recent call last):
File "/home/mihe/fa/flask-admin/examples/sqla/run_server.py", line 1, in
from admin import app
File "/home/mihe/fa/flask-admin/examples/sqla/admin/init.py", line 24, in
import admin.main
File "/home/mihe/fa/flask-admin/examples/sqla/admin/main.py", line 248, in
admin.add_view(UserAdmin(User, db.session))
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/view.py", line 327, in init
super(ModelView, self).init(model, name, category, endpoint, url, static_folder,
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/model/base.py", line 818, in init
self._refresh_cache()
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/model/base.py", line 910, in _refresh_cache
self._refresh_forms_cache()
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/model/base.py", line 835, in _refresh_forms_cache
self._create_form_class = self.get_create_form()
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/model/base.py", line 1291, in get_create_form
return self.get_form()
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/model/base.py", line 1248, in get_form
return self.scaffold_form()
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/view.py", line 745, in scaffold_form
form_class = form.get_form(self.model, converter,
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 552, in get_form
field = converter.convert(model, mapper, name, prop, field_args.get(name), hidden_pk)
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 263, in convert
return converter(model=model, mapper=mapper, prop=prop,
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 307, in convert_choice_type
accepted_values = [key for key, val in available_choices]
File "/home/mihe/fa/flask-admin/env/lib/python3.9/site-packages/flask_admin/contrib/sqla/form.py", line 307, in
accepted_values = [key for key, val in available_choices]
TypeError: cannot unpack non-iterable EnumChoices object

Is anyone working this issue? I was thinking about contributing for  this. Can I proceed?

The temp solution I am using is changing the form.py line 307 from
accepted_values = [key for key, val in available_choices]

to
accepted_values = [key for key in available_choices]

I didn't test it completely. I just want to start the server and see the sample app.

So there currently is no way to start the example application without modifying the packet?

Does it have anything to do with python version? I'm running with 3.9
Also, modifying the packet worked

It seems as the issue gets fixed by downgrading SQLAlchemy-Utils to 0.36.

It seems as the issue gets fixed by downgrading SQLAlchemy-Utils to 0.36.

for me, now it trigger a new issue :
Traceback (most recent call last):
  File "examples/sqla/run_server.py", line 1, in <module>
    from admin import app
  File "/srv/flask-admin/examples/sqla/admin/__init__.py", line 24, in <module>
    import admin.main
  File "/srv/flask-admin/examples/sqla/admin/main.py", line 2, in <module>
    from admin.models import AVAILABLE_USER_TYPES, User, Post, Tag, Tree
  File "/srv/flask-admin/examples/sqla/admin/models.py", line 6, in <module>
    from sqlalchemy_utils import ChoiceType, EmailType, UUIDType, URLType, CurrencyType
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/database.py", line 14, in <module>
    from .orm import quote
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
    from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy/orm/query.py)

It seems as the issue gets fixed by downgrading SQLAlchemy-Utils to 0.36.

for me, now it triggers a new issue :
Traceback (most recent call last):
  File "examples/sqla/run_server.py", line 1, in <module>
    from admin import app
  File "/srv/flask-admin/examples/sqla/admin/__init__.py", line 24, in <module>
    import admin.main
  File "/srv/flask-admin/examples/sqla/admin/main.py", line 2, in <module>
    from admin.models import AVAILABLE_USER_TYPES, User, Post, Tag, Tree
  File "/srv/flask-admin/examples/sqla/admin/models.py", line 6, in <module>
    from sqlalchemy_utils import ChoiceType, EmailType, UUIDType, URLType, CurrencyType
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/database.py", line 14, in <module>
    from .orm import quote
  File "/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
    from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/srv/flask-admin/env/lib/python3.8/site-packages/sqlalchemy/orm/query.py)

You have installed SQLAlchemy 1.4.0. SQLAlchemy-utils is currently not compatible with SQLAlchemy > 1.4.0. The solution is to downgrade SQLAlchemy to 1.3.23
My pip list，work well：
Package            Version

arrow              1.1.1
Babel              2.9.1
click              8.0.1
colorama           0.4.4
colour             0.1.5
dataclasses        0.8
dnspython          2.1.0
email-validator    1.1.3
Flask              2.0.1
Flask-Admin        1.5.8
Flask-BabelEx      0.9.4
Flask-SQLAlchemy   2.5.1
greenlet           1.1.1
idna               3.2
importlib-metadata 4.6.3
itsdangerous       2.0.1
Jinja2             3.0.1
MarkupSafe         2.0.1
pip                21.1.3
python-dateutil    2.8.2
pytz               2021.1
setuptools         57.1.0
six                1.16.0
speaklater         1.3
SQLAlchemy         1.3.23
SQLAlchemy-Utils   0.36.8
tablib             3.0.0
typing-extensions  <IP_ADDRESS>
Werkzeug           2.0.1
wheel              0.36.2
WTForms            2.3.3
zipp               3.5.0

Just an update this is still not working SQLAlchemy-Utils==0.37.9 needed to drop back to SQLAlchemy-Utils==0.37.2


Paper Reference: "RSMM: A Framework to Assess Maturity of Research Software Project"

Hi everyone,
I just came across this quite recent preprint and found it pretty interesting as it covers a few of the topic that this paper also touches on. Maybe it is wort checking out / referencing?

:memo: RSMM: A Framework to Assess Maturity of Research Software Project
:busts_in_silhouette: Deekshitha, Rena Bakhshi, Jason Maassen, Carlos Martinez Ortiz, Rob van Nieuwpoort, Slinger Jansen
:link: https://arxiv.org/abs/2406.01788

The organizations and researchers producing research software face a common problem of making their software sustainable beyond funding provided by a single research project. This is addressed by research software engineers through building communities around their software, providing appropriate licensing, creating reliable and reproducible research software, making it sustainable and impactful, promoting, and ensuring that the research software is easy to adopt in research workflows, etc. As a result, numerous practices and guidelines exist to enhance research software quality, reusability, and sustainability. However, there is a lack of a unified framework to systematically integrate these practices and help organizations and research software developers refine their development and management processes. Our paper aims at bridging this gap by introducing a novel framework: RSMM. It is designed through systematic literature review and insights from interviews with research software project experts. In short, RSMM offers a structured pathway for evaluating and refining research software project management by categorizing 79 best practices into 17 capabilities across 4 focus areas. From assessing code quality and security to measuring impact, sustainability, and reproducibility, the model provides a complete evaluation of a research software project maturity. With RSMM, individuals as well as organizations involved in research software development gain a systematic approach to tackling various research software engineering challenges. By utilizing RSMM as a comprehensive checklist, organizations can systematically evaluate and refine their project management practices and organizational structure.

Thank you for that idea! that should be interesting for @jngrad . Do you have an idea where it would fit into?

Maybe interesting in the context of #35?


Get-PowerBIWorkspace : Attempted to access an element as a type incompatible with the array

Hi,
I am getting the below error when trying to use the command Get-PowerBIWorkspace
Error: Attempted to access an element as a type incompatible with the array.
Module Version:
Binary     1.0.326    MicrosoftPowerBIMgmt.Profile
Binary     1.0.326    MicrosoftPowerBIMgmt.Workspaces
Powershell:
Major  Minor  Build  Revision

5      1      18362  752

same here
Get-PowerBIWorkspace
Get-PowerBIWorkspace : Attempted to access an element as a type incompatible with the array.
At line:1 char:1

Get-PowerBIWorkspace

  + CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspace], ArrayTypeMis
 matchException
  + FullyQualifiedErrorId : Attempted to access an element as a type incompatible with the array.,Microsoft.PowerBI.Commands.Workspa
 ces.GetPowerBIWorkspace

Version    Name                                Repository           Description

1.0.867    MicrosoftPowerBIMgmt                PSGallery            Microsoft Power BI PowerShell - All cmdlets for Microsoft Power BI
Version    Name                                Repository           Description

1.0.867    MicrosoftPowerBIMgmt.Workspaces     PSGallery            Microsoft Power BI PowerShell - Workspace cmdlets for Microsoft ...

Please see https://github.com/microsoft/powerbi-powershell/issues/261


[CI] Two or more Jenkins jobs might make the whole unstable

I found that when we executed two or more Jenkins jobs almost simultaneously, all the jobs were unstable with a high probability.

May 20, 2019 7:22 AM : https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2003/
May 20, 2019 7:20 AM : https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2002/
May 20, 2019 7:19 AM : https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2001/
May 20, 2019 7:16 AM : https://amplab.cs.berkeley.edu/jenkins/job/Clipper/4394/

Where is bottleneck? Anyway, to avoid this situation, we have to execute one by one.

I think one of the causes can be because our clusters are not well isolated. The first 3 CI runs in the same worker machine, and 3 of them have request related errors.
@simon-mo and I discussed about it, and he will probably try to use docker-in-docker for testing isolation. Also, I will change test_util to use fluentd instead of naive docker logs. By this, we can see aggregated logs in timely order. It will help us debug what is the problem.

Also, since the 4th job was ran in a different worker, I am not sure if the error is due to simultaneous jobs with other 3.
It seems like it is broken with address already in use. I think port conflicts rarely happen. To solve this, we can probably use lsof or netstat to check available port instead of assigning random port.

I throttled the builds to 1 per node and made sure the the clipper main build and pull request builder share the same throttling parameter. We will see if this helps.

Let's keep this issue open for few more days. So right now there are three builds running, each on different nodes:

worker-07: https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2009/
worker-02: https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2010/
worker-08: https://amplab.cs.berkeley.edu/jenkins/job/Clipper-PRB/2011/

This is the behavior we wanted. But not sure if the collision will happen again.

@withsmilo @simon-mo I think it will be resolved by this. https://github.com/ucbrise/clipper/issues/709 Can I close?

Yes this can be closed.
On Tue, May 28, 2019 at 8:28 PM SangBin Cho<EMAIL_ADDRESS>wrote:

@withsmilo https://github.com/withsmilo @simon-mo
https://github.com/simon-mo I think it will be resolved by this. #709
https://github.com/ucbrise/clipper/issues/709 Can I close?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ucbrise/clipper/issues/702?email_source=notifications&email_token=AFBD7AYKCKJA5NV6HNKXA7TPXXZ7VA5CNFSM4HOF4BSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOBU6I#issuecomment-496769657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBD7A6QSH6UOCNE7SRLMDDPXXZ7VANCNFSM4HOF4BSA
.


velero plugin should support use internal oss endpoint to backup pv datas

velero plugin should support use internal oss endpoint to backup pv datas

现在支持了吗


Bin-Pack Pod Ephemeral Storage Requests

Tell us about your request
What do you want us to build?
Support provisioning time node volume adjustments when pods request ephemeral storage (emptyDir).
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.
Karpenter defaults the node volume to 20GiB, but pods can request ephemeral storage (emptyDir) that Karpenter needs to bin-pack on to instances.
Are you currently working around this issue?
How are you currently solving this problem?
There is not a workaround currently, but there will soon (https://github.com/aws/karpenter/pull/1420) be a workaround by statically setting the volume size at the provisioner level.
Additional context
Anything else we should know?
Attachments
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Per #1859 , we are now bin-packing based on either our default ephemeral storage value (20GB), or the BlockDeviceMappings provided in the AWS Provider Spec.  This should be included in the upcoming Karpenter release.


Battery code commented out?

Great idea! I noticed the battery publisher was commented out, is there a reason for this?

Hey! Thanks for commenting - I decided to refactor all the battery specific code into it's own module 'Battery', that contains published properties for the battery level, state, etc. This is just an artifact from my old code.


Remove macOS OpenGL backend when we roll macOS 10.14 SDK

All hardware capable of running macOS 10.14 (Mojave) have a Metal-capable GPU since Mojave requires a Metal-capable GPU. OpenGL support was officially deprecated in the 10.14 SDK.
When we roll our minimum macOS SDK to 10.14, we should remove the fallback for older macOS hardware and only use the Metal backend on macOS. This will reduce app binary size, team maintenance burden, and testing matrix.
Related iOS issue: https://github.com/flutter/flutter/issues/103929

This has broken Flutter 3.7.0 on all VM based MacOS systems.

I wouldn't expect Flutter will care MacOS running on VM. However, compatibility has been significally decreased. 99% apps from appstore don't have such requirement, I see no reason why Flutter does.


Set aclEnable=true in broker.conf, but acl looks like doesn't work

The issue tracker is used for bug reporting purposes ONLY whereas feature request needs to follow the RIP process. To avoid unnecessary duplication, please check whether there is a previous issue before filing a new one.
It is recommended to start a discussion thread in the mailing lists in cases of discussing your deployment plan, API clarification, and other non-bug-reporting issues.
We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.
Please ensure that your bug report is clear and self-contained. Otherwise, it would take additional rounds of communication, thus more time, to understand the problem itself.
Generally, fixing an issue goes through the following steps:

Understand the issue reported;
Reproduce the unexpected behavior locally;
Perform root cause analysis to identify the underlying problem;
Create test cases to cover the identified problem;
Work out a solution to rectify the behavior and make the newly created test cases pass;
Make a pull request and go through peer review;

As a result, it would be very helpful yet challenging if you could provide an isolated project reproducing your reported issue. Anyway, please ensure your issue report is informative enough for the community to pick up. At a minimum, include the following hints:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

edit conf/broker.conf with aclEnable=true

didn't change conf/acl/plain_acl.yml (just have two accounts : RocketMQ and rocketmq2)

start broker and specify config file( change the name of broker and it work, I can see the broker name actually changed)

create producer with RPCHook with account "RocketMQ" and set group value "groupA", and try to send message with topic "topicA"

What is expected to see?
this producer should be send message unsuccessfully, and report permission error

What did you see instead?
this producer send message successfully

Please tell us about your environment:
rocketmq-4.9.3

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
when check ACL by using getAccessConfigSubCommand, it can give the accounts details:
globalWhiteRemoteAddresses: [10.0.0., 192.168.0., 10.0.0., 192.168.0.]

accounts:
accessKey         : RocketMQ
secretKey         : 12345678
whiteRemoteAddress:
admin             : false
defaultTopicPerm  : DENY
defaultGroupPerm  : SUB
topicPerms        : [topicA=DENY, topicB=PUB|SUB, topicC=SUB]
groupPerms        : [groupA=DENY, groupB=PUB|SUB, groupC=SUB]
accessKey         : rocketmq2
secretKey         : 12345678
whiteRemoteAddress:
admin             : true
defaultTopicPerm  :
defaultGroupPerm  :
topicPerms        :
groupPerms        :

@ChenAllen0305 maybe globalWhiteRemoteAddress contains your client ip, check defaultAclFile for global white remote address.

Yes, the globalWhiteRemoteAddress contains my client ip.
I retry with deleting my local client ip in globalWhiteRemoteAddress, and acl works.
So it means the ip address in globalWhiteRemoteAddress doesn't need to check the acl account?

Yes, the globalWhiteRemoteAddress contains my client ip. I retry with deleting my local client ip in globalWhiteRemoteAddress, and acl works. So it means the ip address in globalWhiteRemoteAddress doesn't need to check the acl account?

@ChenAllen0305 Yes, clients from globalWhiteRemoteAddress always pass ACL check. You could find more details here.

Yes, the globalWhiteRemoteAddress contains my client ip. I retry with deleting my local client ip in globalWhiteRemoteAddress, and acl works. So it means the ip address in globalWhiteRemoteAddress doesn't need to check the acl account?

@ChenAllen0305 Yes, clients from globalWhiteRemoteAddress always pass ACL check. You could find more details here.

Thanks, I got it.


Add page for developer advocates

continuation of #448 (see more discussion there)
This adds a page at /community/developer-advocates (also aliaed to /developer-advocates) which lists the current DAs, along with some other content.
Note: this adds an optional field to the team entries in the data directory; anyone with role = "developer-advocate" will show up on this page.
Signed-off-by: Matt Stratton<EMAIL_ADDRESS>

For ease of review: http://pulumi-hugo-origin-pr-494-bc2aa2f6.s3-website.us-west-2.amazonaws.com/community/developer-advocates/


try reading password from env variable first

I've updated my pull request from https://github.com/plietar/librespot/pull/24 to

keep the -p parameter
remove the env var after reading it
It now first tries to read password via env var, then command line arg, then prompts.

Thanks. I've merged it, but changed the cli arg to have higher precedence.
Btw, next time just amend your commit and force push to the old PR. No need to make a new one.

Thanks for merging.
Btw, I had amended my commit and force-pushed to the env-password branch, but the new commit didn't appear in the original pull request, not sure what I've done wrong (I remember a message saying 'branch was recreated'). Sorry for the noise.


Fails to render on www.Gangbox.com

Noticed this when looking through different sites tonight.
https://www.gangbox.com/
When ng-inspector is not installed, no exceptions are thrown in the console.
Once enabling ng-inspector, the following exception is thrown
Uncaught SyntaxError: Unexpected token p (index):1

This is the first issue I've seen with ng-inspector where the exception is thrown somewhere other than ng-insector.js or angular.js.

Looks like this is two issues:

The site has the Angular lib loaded on the homepage (through a concatenated bundle), but there is no Angular app on the main page. This causes the blank gray inspector window to show in the viewport, without content. We should probably throw a similar warning like we do when Angular is not included on the page.

Something in the Olark Livechat Software script on this page is causing us to throw exceptions in the postMessage code within ng-inspector. Haven't had a chance to dig into this further yet, but the issue can be replicated on their homepage just by having ng-inspector installed - https://www.olark.com/

@rev087 I'm looking to address the issue in "1" above (angular loaded, but no Angular app). How do you want that behavior communicated to the end-user?
I thought about doing an alert like we currently do when the Angular lib is not found, but I'm personally not a huge fan of alerts due to their blocking nature.
How do you feel about introducing a new pattern for notifications to the user? Something like a toast message on the screen that fades after x amount of time?

The ideal would be to show the button on the toolbar in a "disabled" state if AngularJS was not included in the page, but I'm not sure it's possible to dynamically change the toolbar button (for all browsers we want to support: Safari, Chrome and Firefox). For Chrome at least I know it's possible to dynamically add an icon inside the address bar.
I like to use the ng-detector by Igor Minar from the Angular team in conjunction with ng-inspector, he uses this dynamic icon to show pages using AngularJS. Incidentally, his extension doesn't show the icon on the Gangbox but I'm not sure if the detection he uses would work with all the edge cases ng-inspector currently supports.
Still, having visual feedback on the presence of Angular without any required interaction is a very nice feature that I'd like to have integrated in ng-inspector at some point.
Back to the point at hand tho, for a realistic solution that I think is quite elegant, to replace both the current alert about pages not including Angular and this scenario with pages with no Angular apps, I propose we actually open the inspector with a message right inside it:
AngularJS not included:

No AngularJS apps:

Thoughts?

I'm getting a blank grey on pages where an angular app is clearly registered. Is anyone else having this problem?

@nikkwong, I'd recommend opening up a new issue. If you can provide a link to an example app that can be used to replicate, we can take a look.

For example, https://docs.angularjs.org/tutorial, or any other sub-pages on the site, though it is working on the www.angularjs.org homepage. Personally not working on a local repo of angular app. Not sure if I'm doing something wrong—so don't want to open a silly issue :-)
Thanks for the help.

@nikkwong The goal of having you open a separate issue was just to prevent cluttering this issue thread, so we can better identify what the specific problem you're hitting is :)
The issues on the angular docs page are addressed in PR #87, which will hopefully hit the Chrome store once @rev087 has time to review the fix.

but I'm not sure if the detection he uses would work with all the edge cases ng-inspector currently supports.

 The only time I can see that it would fail would be if debugModeEnabled is set to true, but ng-inspector doesn't support that use-case currently, anyway.
I can give his detection methods a shot. I'll just do it in a separate branch from the UI work I'm doing for this issue.

You're right, I have to admit I'm just a bit paranoid and always thought relying on classes and attributes didn't "smell right" to me - but then again, lots of things in Angular itself didn't either and I still learned to be pragmatic and look past "coding prejudices".

The ideal would be to show the button on the toolbar in a "disabled" state if AngularJS was not included in the page

On this, the LiveReload extension actually dynamically changes their tooltip icon, so this is possible on Chrome at least (I'll test on Safari and Firefox)

You're right, I have to admit I'm just a bit paranoid and always thought relying on classes and attributes didn't "smell right" to me

Believe me -- I feel the same way you do about those types of checks. It's relying on checking the presentation layer for state, which doesn't feel right to me.
Having said that, I'm running on the assumption that, if 2 core team members wrote it (Igor + Brian), then it's likely the best means of detection.

Cool -- that's good to know. So, to recap, here's what I think you want to do here. Let me know if anything is wrong.

When Angular app is identified, change the icon (assuming support in Safari/FF) to a colored angular badge.

When ng-inspector toggle/badge is clicked, and either no app is present, or the page does not have Angular, show a friendly error following the example mockups in your comment above.

Sound right?

Yep, that's exactly the idea. I've opened a separate issue on the toolbar icon discussion.

I'm editing the artwork and exporting "enabled" and "disabled" states for the icon.

With the latest update, trying the extension on https://www.gangbox.com/ just produces an empty grey pane, as "expected". I'll close the issue and we can continue the discussion about handling this better in the UI at #90.

:+1:


Add $strict property and adjust validation

Proposed fix for "StringValidator fails on integer #13327"
Adds a $strict property to StringValidator.
If true (default) then it validates as it does currently
If false, then it will use php's is_scalar to convert any scalar values to strings before the existing validation is applied.

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
❌

Tests pass?
✔

Fixed issues
#13327

Added tests, cleaned up and merged. Thanks!


Improve cross-browser consistency of widget appearance

Noticed that IE still had the clipping issue, where some of the widget content was not visible. Made a small change that should fix it for now. I still think the overall structure of widgets should be overhauled in the future.
Screenshots (IE, then Chrome)

:+1:


INTERSECTS MATCH does not work

Hey,
I am currently facing the problem that intersects command search option Match seem to not work at all.
I have a key name 'polygons' and the SCAN command return:
<IP_ADDRESS>:9851> scan polygons
{"ok":true,"objects":[{"id":"1","object":{"type":"Polygon","coordinates":[[[113.91832,22.546208],[113.925733,22.556007],[113.935121,22.562477],[113.949134,22.561745],[113.958403,22.550409],[113.957544,22.535585],[113.955399,22.52393],[113.950891,22.521076],[113.937932,22.518083],[113.929006,22.518896],[113.922826,22.522385],[113.92008,22.52837],[113.91832,22.546208]]]}},{"id":"2","object":{"type":"Polygon","coordinates":[[[114.007326,22.626247],[114.017025,22.631001],[114.027067,22.631001],[114.047237,22.629258],[114.057451,22.617691],[114.056765,22.603429],[114.050757,22.597089],[114.032046,22.594553],[114.008528,22.597407],[114.00046,22.607232],[114.007326,22.626247]]]}},{"id":"3","object":{"type":"Polygon","coordinates":[[[113.823649,22.604697],[113.841673,22.610243],[113.861758,22.614838],[113.874804,22.620067],[113.893343,22.605964],[113.908792,22.588373],[113.912569,22.56856],[113.913942,22.531145],[113.900896,22.52734],[113.858668,22.520362],[113.840128,22.56634],[113.823649,22.604697]]]}}],"count":3,"cursor":0,"elapsed":"150.158µs"}
and
<IP_ADDRESS>:9851> scan polygons match 3
{"ok":true,"objects":[{"id":"3","object":{"type":"Polygon","coordinates":[[[113.823649,22.604697],[113.841673,22.610243],[113.861758,22.614838],[113.874804,22.620067],[113.893343,22.605964],[113.908792,22.588373],[113.912569,22.56856],[113.913942,22.531145],[113.900896,22.52734],[113.858668,22.520362],[113.840128,22.56634],[113.823649,22.604697]]]}}],"count":1,"cursor":0,"elapsed":"86.437µs"}
It seems that SCAN command works well with MATCH.
But when I run the following INTERSECTS command, things start getting abnormal:
<IP_ADDRESS>:9851> intersects polygons match 2 OBJECT {"type":"Feature","geometry":{"type":"Point","coordinates":[113.876386,22.6083}
{"ok":true,"objects":[{"id":"3","object":{"type":"Polygon","coordinates":[[[113.823649,22.604697],[113.841673,22.610243],[113.861758,22.614838],[113.874804,22.620067],[113.893343,22.605964],[113.908792,22.588373],[113.912569,22.56856],[113.913942,22.531145],[113.900896,22.52734],[113.858668,22.520362],[113.840128,22.56634],[113.823649,22.604697]]]}}],"count":1,"cursor":0,"elapsed":"93.048µs"}
Obviously, pattern 2 does not match 3, the result is the same as the one which doesn't have a MATCH option, the MATCH option seem to not work at all, and I have tried other pattern such as 3, abc and so on, but the result is the same.
Maybe I'm not using Tile38 as I should. But please give me some help, thanks!

Hi @zhangyonguu,
I cannot reproduce the problem you describe on my side. I am using Tile38 version 1.17.0 ... which version are you using?
In case it helps, the following is a summary of my results when I tested your issue on my local machine:
For me, the query
intersects polygons match 2 OBJECT {"type":"Feature","geometry":{"type":"Point","coordinates":[113.876386,22.6083]}}

returns
{"ok":true,"objects":[],"count":0,"cursor":0,"elapsed":"126.384µs"}

Also, the query
intersects polygons match abc OBJECT {"type":"Feature","geometry":{"type":"Point","coordinates":[113.876386,22.6083]}}

returns
{"ok":true,"objects":[],"count":0,"cursor":0,"elapsed":"47.363µs"}

These are the expected results since the point object defined in the INTERSECTS queries does not intersect any polygons that would match the pattern '2', and there is no polygon that would match the pattern 'abc' in your 'polygons' collection.
However, like you, when I run the query
intersects polygons match 3 OBJECT {"type":"Feature","geometry":{"type":"Point","coordinates":[113.876386,22.6083]}}

it does return
{"ok":true,"objects":[{"id":"3","object":{"type":"Polygon","coordinates":[[[113.823649,22.604697],[113.841673,22.610243],[113.861758,22.614838],[113.874804,22.620067],[113.893343,22.605964],[113.908792,22.588373],[113.912569,22.56856],[113.913942,22.531145],[113.900896,22.52734],[113.858668,22.520362],[113.840128,22.56634],[113.823649,22.604697]]]}}],"count":1,"cursor":0,"elapsed":"82.049µs"}

as you describe. This is the correct result for this version of the query, because the point defined does intersect the polygon that matches the pattern '3'.

hi, @melbania ,
I am using Tile38 version 1.14.4.
And I tried it again in version 1.12.3, the result is correct, it seems that the issue occurs only in certain version, maybe I need to upgrade my Tile38 version!
I still wonder that is it really a bug in version 1.14.4,  please reply to me if you have a conclusion.
Anyway, thanks!

Hi @zhangyonguu ,
Yes, I was able to reproduce the bug in version 1.14.4. I got the same wrong results that you describe.
I did some digging and testing with different versions, and it looks like the regression occurred with release 1.14.0, which involved significant changes to the code base. It was fixed with release 1.16.1, which addressed a reporting problem with the MATCH option when used with the NEARBY command (see issue #421).  It looks like the MATCH option was being ignored generally in those interim releases. Now it is back to working again, yay!
Hope that helps!

It was fixed with release 1.16.1.


LSTM: Training - reduced learning rate

UpdateSubtrainer:Sub:At iteration 208900/213500/213901, Mean rms=1.25%, delta=3.089%, char train=10.667%, word train=52.114%, skip ratio=0.1%,
UpdateSubtrainer:Sub:At iteration 208998/213600/214001, Mean rms=1.254%, delta=3.094%, char train=10.848%, word train=52.272%, skip ratio=0.1%,
UpdateSubtrainer:Sub:At iteration 209092/213700/214101, Mean rms=1.256%, delta=3.101%, char train=10.847%, word train=52.979%, skip ratio=0.1%,
UpdateSubtrainer:Sub:At iteration 209185/213800/214201, Mean rms=1.254%, delta=3.053%, char train=10.431%, word train=52.914%, skip ratio=0%,
2 Percent improvement time=53864, best error was 12.463 @ 155321
At iteration 209345/213800/214201, Mean rms=1.328%, delta=3.525%, char train=11.958%, word train=56.872%, skip ratio=0%,  Trial sub_trainer_ from iteration 203300
Reduced learning rate to :7.0710674e-05
 sub_trainer=11.534 margin=3.6760881
Sub:At iteration 199366/203400/203780, Mean rms=1.312%, delta=3.444%, char train=11.619%, word train=56.312%, skip ratio=0.2%,
Sub:At iteration 199461/203500/203881, Mean rms=1.321%, delta=3.505%, char train=11.63%, word train=56.225%, skip ratio=0.3%,
Sub:At iteration 199554/203600/203981, Mean rms=1.326%, delta=3.514%, char train=11.654%, word train=56.225%, skip ratio=0.3%,
Sub:At iteration 199649/203700/204081, Mean rms=1.318%, delta=3.468%, char train=11.518%, word train=56.038%, skip ratio=0.3%,
Sub:At iteration 199744/203800/204181, Mean rms=1.323%, delta=3.489%, char train=11.615%, word train=56.275%, skip ratio=0.1%,
Sub:At iteration 199842/203900/204281, Mean rms=1.321%, delta=3.503%, char train=11.612%, word train=56.843%, skip ratio=0.1%,
Sub:At iteration 199936/204000/204381, Mean rms=1.313%, delta=3.454%, char train=11.371%, word train=56.064%, skip ratio=0.1%,

note: this was after almost 10 hours of no improvement in char train% - when training for khmer. The training improved somewhat after this, but still too slow.
Is this to be expected?
File /tmp/tmp.wghU7grpgw/bih/bih.Noto_Sans_biher_UI_Bold.exp0.lstmf page 582 :
Mean rms=1.227%, delta=2.998%, train=10.111%(53.394%), skip ratio=0.3%
Iteration 232102: ALIGNED TRUTH : កំពឺសឡើងពងលើកំពូលភ្នំ 5 ទី១៧ កស្សបៈ
Iteration 232102: BEST OCR TEXT : កំពឺសឡើងពងលើកំពូលភ្នំ 5 ទី១៧ កស្សបៈ
File /tmp/tmp.wghU7grpgw/bih/bih.Noto_Sans_biher_UI.exp0.lstmf page 2139 (Perfect):
Mean rms=1.226%, delta=2.995%, train=10.102%(53.319%), skip ratio=0.3%
Iteration 232103: ALIGNED TRUTH : រួចហើយឆ្លើយយ៉ាងស្រួយស្រេះ៖ ខែ ហុងគ្ររ៉ៀន
Iteration 232103: BEST OCR TEXT : រួចហើយឆ្លើយយ៉ាងស្រួយស្រេះ៖ ខែ ហុងត្ររៀន

This seems to be part of LSTM training process, going back to an older model and trying with a different learning rate to improve the engine.

@Shreeshrii what is the learning rate that you used to improve the engine?


Temporary muskatlon ambassador fix, we had to find a better way.

I don't really want to merge this. I would be glad if you spend more time finding the right fix for the two modules to coexist. Beacue this change will most probably break TOGETHER donations as well. Maybe a context variable would allow to have different behaviours even if we are in the same function.

https://github.com/CompassionCH/compassion-website/pull/16