Many images don't have an alt attribute

Description
Currently, we have about 100 images that don't have an alt attribute (see below how that was calculated).
This is not the best idea for accessibility, i.e. in case the browser blocks the images, the internet connection is not good enough to load the pictures, the user uses a screen reader, …
Hence, we should probably add an alt tag for every icon and image.
The only question is: Do we translate (all | some | no) alt attributes? Do we always use the English version?
In favor of not translating would be the reduced effort to fix the problem and smaller binary size / file size.
Against it is that users probably want it translated.
So, what approach should we choose?
Screenshots
Use ag '<img' | grep -v 'alt' for a good estimate of where alt attributes are missing.
Gitea Version
1.18.0+dev-198-g4f14c6de1
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Irrelevant
Browser Version
Irrelevant

The only question is: Do we translate (all | some | no) alt attributes? Do we always use the English version?
In favor of not translating would be the reduced effort to fix the problem and smaller binary size / file size.
Against it is that users probably want it translated.

It depends. I see a lot of logo's those just should be "{logo name} logo".
Some of them are loading/failed (for migration) images. They add no value for those using alt, so rather should be aria-hidden I assume.
Anything should and could be either provided a static alt or aria-hidden. As I don't see any that depend on user-provided content.

Chiming in to say that images that are purely decorational should have an empty alt tag for assistive technologies. For example in repository Settings > Webhooks, there's a dropdown for adding new webhooks that lists 3rd party services with their logos. The logos in this case seem purely decorational since the service's name is right next to it. It's similar to the W3C's example 2.


Collections support visualizing assets #11

Add support for visualizing Collections assets, fixes #11

Do you happen to have some STAC data that we can create a test with?

No, unfortunately not yet.

I'll create a test case soon.


yolov3-tiny score

I downloaded yolov3-tiny_final.weights and yolov3-tiny.cfg and compile model like this
helmet_net = cv2.dnn.readNetFromDarknet(
    'cfg/yolov3-tiny.cfg', 'model-weights/yolov3-tiny_final.weights')
helmet_net.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV)
helmet_net.setPreferableTarget(cv2.dnn.DNN_TARGET_CPU)
blob = cv2.dnn.blobFromImage(image, 1 / 255, (416, 416),
                                 [0, 0, 0], 1, crop=False)
helmet_net.setInput(blob)

# Runs the forward pass to get output of the output layers
outs = helmet_net.forward(get_outputs_names(helmet_net))

after this I map outs to get only items where confidences are >0.7 and get following result

What can be a problem of this behavior? Actually it didn't find real helmet...

blob = cv2.dnn.blobFromImage(image, 1 / 255, (416, 416),
[0, 0, 0], 1, crop=False)
try a different mean value instead of [0,0,0].

@wujixiu could you please provide this parameter for yolov3? I tried different values that you provide for another models but It didn't help :(
blob = cv2.dnn.blobFromImage(image, 1/255, (416, 416),
                                 [104, 117, 123], 1, crop=False)

There was a trouble in cfg file, I used wrong one, now it's working as expected, thank you

@alexkarpxb  hello sir , could you please tell me how can be run this project , the file README.md is note clear , please help me


Cannot use static resources in Razor Component Library

CSS and the Image don't get used/displayed.. why???

I didn`t include anything in my main project i just created the project with the template and startet coding

???

@moritz-mm Thanks for contacting us.
The convention is to use _content/<<LibraryName>>/<<pathfromwwwroot>> when referencing static assets from libraries.
You can read about it here https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-3.0&tabs=visual-studio#create-an-rcl-with-static-assets
Let us know if you have more issues.
Thanks!

The convention is to use _content/<<LibraryName>>/<<pathfromwwwroot>>

If you try to reference the RCL static assets in the "site.css" of the main project do this instead: ../_content/"LibraryName"/"pathfromwwwroot"
or this to be more precise:
@import url('../_content/"RCLLibraryName"/"path+filename"');
Intellisense is not working yet, so make sure you write this properly.
To check if both projects were properly wired/referenced and have the requirements (Microsoft.AspNetCore.Components), during runtime, you can write this:
https://localhost:"nº"//_content/"RCLLibraryName"/"path+filename"
NOTE: Do not write the wwwroot!


Changed ToroDB's homepage on SonarQube metainfo

Current coverage is 10.23% (diff: 100%)

Merging #120 into master will not change coverage

@@             master       #120   diff @@
==========================================
  Files           649        649
  Lines         24723      24723
  Methods           0          0
  Messages          0          0
  Branches       2765       2765
==========================================
  Hits           2530       2530
  Misses        21944      21944
  Partials        249        249

Powered by Codecov. Last update c13bed8...cc1f4c0


Notes field in the report

The 'Notes' field is currently available in the individual sample page:

It should also be added into the Summary Report page as another tab under the Sample table. Tab name: 'Sample Notes'

Correction: Make column to the right of Assay instead of Tab


Fix SAK-33451 and SAK-33371: Save the owner of an external calendar and his time zone.

Calendar tool saves info in tool properties.
externalCalendarSubscriptions: tool property for older subscriptions, it contains URL of calendar and a name.
externalCalendarSubscriptionsWithTZ: tool property for new subscriptions, it so includes the creator and his time zone.
When calendar subscription is loaded, if the component VTIMEZONE is defined with TZID property, all events will move to calendar's time zone.
If VTIMEZONE is not defined in the iCal, all events will move to owner's time zone. (Owner's TZ is stored in the new tool property).
If VTIMEZONE is not defined and the calendar owner is not known, the events will move to current user's time zone. (It works as before).
Additionally this PR incorporates a fix for SAK-33371.

Should calendar events be saved in UTC time that way when users get the calendar event they just convert it to their timezone?
What happens if the events time is updated?

The external events are not stored in database, they are managed on memory, they cannot be modified in Sakai, they are modified on remote, and they are updated when they are not cached.
The implementation of events are based on TimeRange and the deprecated org.sakaiproject.time.api.Time, I had to adjust to current user's time zone the events imported from external calendars, it should be interesting to change this and use the java date time library, I think this is out of the scope of this issue.

Thanks for the explanation. My concern here is we should be storing dates in UTC unless we sure every time will have tz info. For example if an external calendar event is fetched then it is converted to UTC then references to this events time are now more uniform. The other way to deal with this is to always ensure that every events time has tz info.
However in this case I believe storing the time in UTC makes more sense, as then you don't need to store the user or his tz info.

I think we should bring this issue up at the next Core Team call so that it can be discussed further.

Using UTC for in-memory storage makes sense to me

The external calendar event is stored in memory using the TZ of the current user with a Sakai custom external event implementation: https://github.com/sakaiproject/sakai/blob/1dc2b84ba355b8be8a1262fd2572b1a3bfd3900c/calendar/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/BaseExternalCalendarSubscriptionService.java#L1114
Everything is implemented considering that the event is in the current user TZ, using Sakai Time API (deprecated), so change this to use UTC stored events I think is a deep deep change, affecting multiple places.
I agree with you, and it is reasonable to do that change, but I think it should cost a lot of time and I'm afraid we wont be able to do it. So, this fix, that it's good enough (using the bad design already present in calendar) would be lost, and I think it's worth to merge the fix and then open a jira to make the deep change storing events using UTC.


old azcopy version in azure pipelines hosted pool

Which version of the AzCopy was used?
azcopy 7.3.0-netcore Copyright (c) 2018 Microsoft Corp. All Rights Reserved.
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux)
pool:   vmImage: 'Ubuntu-16.04'
What command did you run?
azcopy
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
Old Version of azcopy in hosted ubuntu agent on azure pipelines
azcopy 7.3.0-netcore Copyright (c) 2018 Microsoft Corp. All Rights Reserved.
------------------------------------------------------------------------------
# azcopy is designed for high-performance uploading, downloading, and copying
data to and from Microsoft Azure Blob, and File storage.

# Command Line Usage:
    azcopy --source <source> --destination <destination> [options]

# Options:
    [--source-key] [--dest-key] [--source-sas] [--dest-sas] [--verbose] [--resume]
    [--config-file] [--quiet] [--parallel-level] [--source-type] [--dest-type]
    [--recursive] [--include] [--check-md5] [--dry-run] [--preserve-last-modified-time]
    [--exclude-newer] [--exclude-older] [--sync-copy] [--set-content-type] [--blob-type]
    [--delimiter] [--include-snapshot] [--block-size-in-mb]

How can we reproduce the problem in the simplest way?
Make a pipeline and run azcopy
Have you found a mitigation/solution?
update azcopy on hosted ubuntu agent image
Or keep multiple version if backwards compatibility is needed, e.g. azcopy-7.3, azcopy10, ...

@rishabpoh
This is also a problem for Ubuntu 18.04

Is this issue still being tracked?

I've make some enquiries internally, but responses may be delayed due to the holiday season.

And I see Rishab is actively following up with the relevant team (but again, responses may be delayed due to the holiday season).

Hi @fabianallendorf, I am tracking this issue and I have noted that this issue exists for 16.04 and 18.04. I am waiting for a response from the internal team and will post an update here as soon as possible.

Update: This is now being worked on with an eta of ~1 month until deployment. I will post a final update upon completion.

Hi, I see that azcopy 7.3.0-netcore is still installed on Ubuntu 18.04. Any plan when you update the agents?

Hi, any progress on this in the last 5 months? Having standalone AzCopy (not part of the AzureFileCopy task) could be useful if you want to copy/update files on storage account where subscription is not within your control.

@amishra-dev and @rishabpoh

Now upgraded to v10


Game stuck on messenger action

The game is stuck, no card may be selected to share a space with, here's a link:
https://everdell.vercel.app/game/x1CvFS5kSJdMJGG4tE2FTg?playerSecret=qV5vKRN7AMQdmm3jJVaR5z

This is the same issue: https://github.com/ymichael/everdell/issues/62

https://github.com/ymichael/everdell/issues/62 is the same issue -- will close that task + keep this one as the main tracking instance


3308 negate subject provider search

Context

https://trello.com/c/XSJooptJ/3308-m-6a-api-add-negated-subject-filtering-support-to-providers-endpoint
Enables searching of training providers that do not offer specified subjects

Changes proposed in this pull request

Refactor AccreditedProviderTrainingProvidersController with internal service class
CourseSearchService now supports subjects prefixed with - which will negate these subjects from the search

Guidance to review

curl "http://localhost:3001/api/v3/recruitment_cycles/2020/courses?filter%5Bhas_vacancies%5D=true&include=site_statuses.site%2Cprovider%2Csubjects&page%5Bpage%5D=1&page%5Bper_page%5D=10&sort=provider.provider_name%2Cname" | json_pp
curl "http://localhost:3001/api/v3/recruitment_cycles/2020/courses?filter%5Bhas_vacancies%5D=true&include=site_statuses.site%2Cprovider%2Csubjects&page%5Bpage%5D=1&page%5Bper_page%5D=10&sort=provider.provider_name%2Cname&filter[subjects]=-00" | json_pp
these should now return different results with Primary courses removed

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 [M] 6a. (API) Add negated subject filtering support to providers endpoint

I don't think this will work in a way we want 😞
We want it to return training_providers that don't offer a specific subject (say PE). Currently a training provider will not be returned if they only offer that negated subject. However, if they have some other ones eg. biology and PE, biology will be returned by CourseSearchService and this provider's id will end up in eligible_training_provider_ids.


Prefill Commit Message?

Is it possible to have the commit message already prefilled (based on the template) when opening the "Commit Changes" dialog in phpstorm? That way there would be one step less since the "commit message" arrow icon wouldn't have to be clicked.

+1
I'm also interested in this feature.

+1


Embed videos are not reproducible

Why embed videos are not reproducible? There is a div medium-insert-embeds-overlay that not allow videos to be reproduced.
Why that div exists?

Our demo page is showing you an editor side of things. In editor videos are not playable, because you need to be able to select them instead.
But when you save the serialized content (editor.serialize()) it will get rid of this overlay div and then when you use this HTML on your "show" side, the video will be playable for your visitors.


US 04.01.02

As an owner, I want to see the images I've attached to my items displayed when viewing them in a list.
Requirements/Prerequisites:

US 04.01.01: Requires the ability to add images to items
Image should be displayed in a small box on the left side of the item.
If there is multiple images then the first one added should be displayed.

Going to start working on this

You sure?


Block placers can't place into spaces occupied by replacable things, such as water

Block placers won't place blocks into water spaces, not even running water, which placing a block by hand would normally replace.

As stated in that commit, this is now fixed. You'll just need to wait for the automation update, which will happen as soon as features-automation is able to be merged with master.

I don't know why I reopened this. This issue was resolved.


Internal editor should not open when creating connections if external is enabled

Ubuntu 16.10 - Godot version: 2.1.2
Issue description:
Setting an external code editor and creating a signal connection with function using the Node panel, opens the internal code editor and adds the created function there, then appears the external editor, without function added (of course).
I think that the connection creation should not open the internal editor if an external editor is active, even if than means no new function added.
Steps to reproduce:

Set up an external editor in editor settings.
Create a connection to a node with a script with "make function" enabled.
Both editors should open, the internal with the function, the external without it.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

This seems to be solved on 2.1 and 3.


TWEEN_PAUSE_PROCESS doesn't work anymore

Godot version
4.0.beta3.official
System information
Windows 10
Issue description
When pausing the scene tree, tweens don't process anymore even if they define Tween.TWEEN_PAUSE_PROCESS. This seems to be a regression from 3.5, and goes against the documentation:

TWEEN_PAUSE_PROCESS = 2 --- The Tween will process regardless of whether SceneTree is paused.

Steps to reproduce
extends Node2D

func _ready():
	get_tree().paused = true

	var tween = create_tween()
	tween.set_process_mode(Tween.TWEEN_PAUSE_PROCESS)
	tween.tween_property($Icon, "rotation", 360, 10)

Minimal reproduction project
BugTest.zip

It seems that I used set_process_mode when it should have been set_pause_mode. Weirdly enough, it worked as expected in 3.5 ...

Weirdly enough, it worked as expected in 3.5 ...

That's because Tweens in 3.5 are Nodes. In 3.5 the SceneTreeTween has the same behavior as new Tweens.


refactor: simple_tokenizer to return strings instead of matches

I wonder why you chose to change the default behavior of simple_tokenizer()? I'd prefer it to stay the same.

This is a pre-step to make the tokenizer configurable just as the DictionaryFactory or the TokenSampler
I was planning to do a separate PR wrapping the tokenizer in a class and making it configurable.
Conceptually, a tokenizer receives a text (string) and return a list of tokens (strings).
Returning the regex matches is leaking the implementation details of your specific tokenizer. And they are never used. Only the actual text is.
Imagine that I want to use my own tokenizer which is richer than the simple_tokenizer. Let's say that is processes hyphens or character normalization and that's not done through regex.
Would I need to wrap my resulting tokens in an array? That doesn't make sense to me.

After a few tests my impression was that findall is faster than finditer + list, that's why I chose to make findall the default, let the users choose and offer a lemma_iterator() function separately (this refactoring looks good btw).

I guess that the CPU/memory advantages/disadvantages will depend on the size of the text. Iterators are design to minimize memory footprint.
I think that making everything work with iterables is a good appraoch. It's trivial for users to move everything to lists.
Personally, I would just remove lemma_iterator and make text_lemmatizer return iterator. I didn't change that to keep compatibility.

Codecov Report

Merging #53 (be14640) into main (891a670) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
- Coverage   95.68%   95.67%   -0.01%
==========================================
  Files           9        9
  Lines         487      486       -1
==========================================
- Hits          466      465       -1
  Misses         21       21

Impacted Files
Coverage Δ

simplemma/langdetect.py
100.00% <100.00%> (ø)

simplemma/lemmatizer.py
98.80% <100.00%> (-0.04%)
:arrow_down:

simplemma/tokenizer.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Hi,
Reading up about this performance difference between finditer and findall, it seems that the gains are different depending on the number of matches and the size of the input string.
In any case, the simple_tokenizer is hardcoded in both text_lemmatizer and lemma_iterator to always use finditer. So, the potential performance gain from findall is never used in practice. That's why I removed it.
I've added the customizable Tokenizer class so you see the full picture.
Wdyt?

This PR now closes #44

I tried different Python versions and different text lengths, the speed difference between finditer and findall was consistent.
I prefer to keep the simple_tokenizer() function as splitting_regex.findall(text). It's faster and that way people already using it don't suddently end up with an iterator instead of a list. Could you please revert this one to its previous state?
The rest looks good, I just have a remark on the tokenizer name.

I prefer to keep the simple_tokenizer() function as splitting_regex.findall(text). It's faster and that way people already using it don't suddently end up with an iterator instead of a list. Could you please revert this one to its previous state?

Sure thing. I will do that.
However, That is not how it used to work before.
Before it was always using the iterate true. So, it was always using the iterator and never the list approach. 🙂

It will be much better now, before that the situation was confusing.
As you say internally the iterator was used but the default was iterate=False.
See here in the Readme: https://github.com/adbar/simplemma#tokenization So far the defaults are:

simple_tokenizer: list
text_lemmatizer: list
lemma_iterator: generator

Design decision on my side, we don't have to agree on everything :)
I personally use the simple_tokenizer() and I'd like to keep it as fast as it was.
I'll merge this PR in the current state, we can work on another one to make further changes.


🚀 Feature: Implement Auto-Labeling Workflow for GitHub

🔖 Feature description
This workflow will automatically apply specific labels "gssoc-ext" and "hacktoberfest-accepted" to issues and pull requests
🎤 Why is this feature needed ?
This workflow will automatically apply specific labels "gssoc-ext" and "hacktoberfest-accepted" to issues and pull requests
✌ How do you aim to achieve this?
git hub workflow features
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

Not needed


Machine Translation : Deep Fusion

Does MT code include Deep Fusion method from "On Using Multilingual Corpora in NMT" [Gulcehre, 2015] ?
I ran the code but could not find any LM data inside search_model_X folder.
Am I missing it?

Unfortunately, we don't have any implementation for deep fusion in blocks (to my knowledge).
But if you are interested, you can check this repo, which is in GroundHog and no longer maintained.

Ok. Thank you.


Replace HPX_INLINE_CONSTEXPR_VARIABLE with inline constexpr

Unrelated to this PR, but the partitioned vector minmax failure is unfortunately not gone: https://cdash.cscs.ch/testDetails.php?test=57780895&build=198648.

bors merge

bors merge

If bors ends up being more annoying than useful we can revise the conditions it requires for a merge. However, I'd try it like this still for a while. At least this forces someone to check that requests for changes have actually been resolved.


stream.next() blocks when camera unplugged

When I start a stream and unplug the camera, the stream.next() call blocks forever. It would be nice if I could set a timeout. Perhaps I'm missing something, but I can't see a way to do that in this library.
It seems like there's a poll function that's made for this.
Perhaps this should be the standard behavior - I think most users would expect an error when a camera is unplugged.

I'm going to test this later. Returning an error (or None in the case of next() should definitely be the default behavior.

Okay, I was able to reproduce this.
Do you want to work on a PR that adds something like a set_timeout(..) and a poll(..) method to the two stream implementations in src/io/{mmap, userptr}/stream.rs?
The next() method should then perform the polling and return None in case of timeout I think. I'm going to merge the next branch into master today or tomorrow, so I'd advise to start on top of that branch instead of the current master.


Getting (EACCES (Permission denied)) when using file_store as the cache when deploying on an azure app service(WebApp)

Hi,
I am using rack-attack with the file_store as the cache for an app i have deployed as a azure WebApp(app service). the rails version is 2.3.8 and rackattack gem version is 5.0.1.
I am aware that the azure app service can scale up to multiple servers, and if that does then file_store might not be the correct option. But currently I am not expecting my service to scale up, cause only my team is using it.
So whenever i refresh my page i get a 500 internal server error and when i look at the logs
Errno::EACCES (Permission denied @ rb_file_s_rename - (/home/site/wwwroot/tmp/cache/rack%3A%3Aattack%3A2632711%3Asign_in%2Fip%3A<IP_ADDRESS>%3A3229920200121-191-gbb78k, /home/site/wwwroot/tmp/cache/10D/561/rack%3A%3Aattack%3A2632711%3Asign_in%2Fip%3A<IP_ADDRESS>%3A32299)):
  lib/compressed_requests.rb:24:in `call'

I checked the user and the group for the given folders above and they are nobody/nogroup. So it is not the case of the process not having access to the folder else it would have failed everytime and when it succeeds I do see the rack-attack* file being moved to the correct folder.

Hi @mrinalsymc ,
I still don't see anything that points to an issue in rack-attack.
Still feels like something specific to permissions in your deployment environment. There's nothing in rack-attack's source code doing file renaming.
If possible, I recommend updating rails and rack-attack version, those you're using are 4-5 years old.
Sorry to say there's not a lot we can do to help with the information you provided so far.


Getting "No records found." response on /scrobble/start for a show

Hello,
I'm trying to send a request to the /scrobble/start endpoint with a TV show in the body like this:
{
    "show": {
        "ids": {
            "tvdb": 364928,
            "trakt": 136863
        },
        "year": 2020,
        "title": "Snowpiercer"
    },
    "episode": {
        "number": 1,
        "season": 1
    },
    "progress": 1
}

But I'm only receiving a "No records found." response.
However, when sending a movie in the body, the endpoint is fine:
{
    "progress": 1,
    "ids": {},
    "year": 2014,
    "title": "Guardians of the Galaxy"
}

I just tested that above JSON and it worked fine when using /scrobble/start -- what are the exact headers and response you get from the API?


Alarmo components doesn’t appear

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Please edit the issue and fill in the requested information.

It is ok


OpenAPI Specification: Quantity for SubscriberPlan should be a nullable type

Describe the bug
I think that quantity for SubscriberPlan should be a nullable type: https://github.com/Azure/commercial-marketplace-sdk-dotnet/blob/312388c2b0eb161028dfa86f4105283381fdaaad/generator/Microsoft.Marketplace.SaaS/2018-08-31/saasapi.v2.json#L1013
To Reproduce
Create subscription and choose a plan with no seats - i.e flat rate.
Try activating the plan with quantity = 0 and it fail stating that the quantity is wrong with this exception:

ApiException: Bad request. Validation failures. Status: 400 Response: {"message":"Unable to activate subscription. The provided quantity does not match the one we have on record for this subscription.","target":"quantity","code":"BadRequest"}

Also the documentation for "Activate a Subscription" says: "purchased number of seats, can be empty if plan is not per seat" in the example:
{  // needed for validation of the activation request
  "planId": "gold", // purchased plan, cannot be empty
  "quantity": "" // purchased number of seats, can be empty if plan is not per seat
}

Additionally, I've tried changing Quantity from Long to to nullable Long, in code generated from the OpenAPI specification, and then resubmit the activation with a null value for quantity. With this change the activation was indeed accepted.

Our approach for this version of the SDK is to stick to the public documentation of the API, and implement that, and let the rest of the behavior managed/handled at the calling code.
The current documentation says the validation is done on the service side, and a 400 returned, thus we leave the validation on the service side, and error checking on the calling code.

This is how I've observed the API working:
For the API to accept activation of per seats plan, the API expects Quantity to be a positive integer.
For the API to accept activation of a flat rate plan, the API expects Quantity to be null.
This is not currently reflected in the Open API specification. Agree?

Agreed, but as I mention, we stick to the public API documentation, not the service side implementation of the API with the OAS doc.
For the current release, we leave the validation on the service side, and not bubbling up to the OAS doc thus, generated code.

To the best of my understanding this means that the API expects a nullable integer type to accommodate both per seat and flat rate plans.
When autogenerating code with the current OpenAPI specification, it would not be possible to activate a flat rate plan, with that code, unless the developer afterwards go and make changes to the autogenerated code, or implement some other work-around.
I agree that the documentation is a little unclear here, but the example in the documentation does in fact states that to activate a flat rate plan, the value of Quantity must be an empty string "". Hence, I respectfully disagree that the current Open API specification aligns with the documentation, which is unclear about this at best. The API service is however not unclear, it will only successfully activate a flat rate plan when Quantity is set to null - setting it to 0 will not work.
Anyhow, as far as I understand, the OpenAPI 3.0 way of specifying a nullable long, looks like this:
"quantity": {
            "type": "integer",
            "format": "int64",
            "nullable": "true" // to make it nullable
          }


Introduce debug logs to leave the request and response contents of ECS task submission

What does this PR change?
This PR introduces debug logs for EcsCommandExecutor to show the contents of request/response of a submitted task.
Background
When we faced error responses (4xx) from AWS ECS API, we can not inspect what parameters are included in the request that  EcsCommandExecutor sent.
This PR shows the contents for request/response from AWS ECS API to do that.

@myui
According to your comments, I fixed this PR at 75ccbff.
Could you check this again?


lyrics from "www.azlyrics.com" appear as an empty string

this is the response to await songlyrics(Whats Poppin (feat. DaBaby, Tory Lanez & Lil Wayne) (Remix) (Bonus Track)])
{
  title: 'Jack Harlow - WHATS POPPIN (Remix) Lyrics',
  lyrics: '',
  source: {
    name: 'AZLyrics',
    url: 'www.azlyrics.com',
    link: 'https://www.azlyrics.com/lyrics/jackharlow/whatspoppinremix.html'
  }
}

Hi @GlxryX , the result is not always as expected. I suggest you can normalize your query first, for ex:
Whats Poppin (feat. DaBaby, Tory Lanez & Lil Wayne) (Remix) (Bonus Track)] to: Whats Popping
or just return Lyrics Not Found in your app.
anyway I just tried with the same query and the result is expexted.

That interesting. One issue is that the song you've shown isn't the remix version that I get from the link in my response. I'm assuming it's because your response is from a different source. As for "normalizing" my query, it already is so I'm guessing that's what was causing the issue to arise in the first place. Regardless, the response is clearly there but does not appear in the response. Could it be possible it's just an issue with web scrapping from that site in particular?


Suspected Mod: Apoli            Description: Ticking entity

So when want start new wold it allways crash
crash-2024-03-13_20.20.32-server.txt

huh, weird. I'll get this sorted in a bit.

Should be fixed in <IP_ADDRESS>

Thx just curious, what was problem?

Thx just curious, what was problem?

A lack of a null check in the replace_loot_table power type logic.


✨ fix: better markdown url

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for new/updated/fixed functionality.
[ ] I have updated/added dartdoc comments with ///.

Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Related Issues

Codecov Report

Merging #890 (3d6d7bb) into main (714e0ab) will increase coverage by 3.10%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #890      +/-   ##
==========================================
+ Coverage   82.14%   85.24%   +3.10%
==========================================
  Files         253        5     -248
  Lines        3214      122    -3092
==========================================
- Hits         2640      104    -2536
+ Misses        574       18     -556

see 248 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


forc run simulate txs

@adlerjohn

Not really sure how to test this
Would I just forc init --contract a new project and forc run --simulate-tx ?

Getting a Error: Response errors; Unknown argument "utxoValidation" on field "dryRun" of type "Mutation". error when taking this route

Wondering basically if I have to do anything special  test this and ensure it's working

That's how you would test it, yes. I think that error is popping up because your version of fuel-core is outdated.


fix bug

ERROR  Failed to compile with 4 errors                                                                                2:58:01 PM
These relative modules were not found:

./PageSearch in ./src/components/platformCom/install.js
./PageSection in ./src/components/platformCom/install.js
./PageTable in ./src/components/platformCom/install.js
./PageToolbar in ./src/components/platformCom/install.js

Listening at http://localhost:9000

抱歉，对git不太熟悉，所以还原了，我会重新提交的

harsima<EMAIL_ADDRESS>周二08:47写道：

抱歉，对git不太熟悉，所以还原了，我会重新提交的
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/harsima/vue-backend/pull/8#issuecomment-372509361,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP0SciOchrPquRns2GMLS9Uu3vDKlUlHks5tdxc7gaJpZM4Sb2CJ
.

就是导包大小写有误 导致项目起不来


Adds some enhancements to DropList

Feature
Continuing the replacement of Dropdown, found a few more things to improve:

Cleaned up togglers file (moved all styled components into a css file)
Adds 'is-active' class to all preset togglers
Adds some options to IconBtn toggler (withCaret, iconSize, caretSize)
Adds a11yLabel to togglers that are just icons so we can pass text that will not be rendered but readable for screen readers
Adds closeOnBlur flag to DropList, mainly because is useful when debugging (so that the menu DOM Node can be inspectable on devtools)
Improves the padding/margin of menu when there is only one item in the DropList

Pull Request Test Coverage Report for Build 3617

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 93.754%

Totals

Change from base Build 3615:
-0.01%

Covered Lines:
6576

Relevant Lines:
6838

💛  - Coveralls


[MQ Scaling Path] Support production grade deployment for MQ-specific mapping.

Context
The DPM pulsar client needs two mappings in the following to enable message multicast, one is group topic to host ip mapping, and the other is multicast topic to group topic mapping.
host.ip.to.group.topic.map=group-topic1:<IP_ADDRESS>,<IP_ADDRESS> group-topic2:<IP_ADDRESS>,<IP_ADDRESS>
group.topic.to.multicast.topic.map=multicast-topic1:group-topic1,group-topic3 multicast-topic2:group-topic2,group-topic4

The mappings are currently stored as configurations in application.properties. For actual production deployment, this solution will not sustain due to the large number of production nodes.
Request
Think of a long-term solution to support production grade deployment. One possibility to store the mapping in node metadata manager, as this is a host-level resource.

@VanderChen @chenpiaoping Based on discussion in open-source meeting, we will need to break down the task into three parts:
(1) Add two new fields on web entity (NodeInfo) and UTs change
(2) Node Metadata Manager => DPM (async call) and new API in DPM for node registration
(3) Fallback mechanism: DPM to retrieve missing data from NMM in case of cache miss

Addressed by PR #532


Suppress openssl warning about reading from stdin.

Fixed some more locations where warnings about reading from stdin showed up.

Instead of redirecting stderr, wouldn't supplying an explicit -in /dev/stdin be cleaner?

Instead of redirecting stderr, wouldn't supplying an explicit -in /dev/stdin be cleaner?

Not sure it is as compatible, but would probably also work.
It seems for openssl they are acknowledging that the error message was a bad idea will only output if stdin is actually a tty, so this will hopefully become obsolete.

Closing in favor of #940 now that "-in -" is supported.


Logging interface

Changes/Added

Ability for the user to choose their own file
=> Logger extends ILogger for easier use, or for the user to create their own logger

Needs : A version of the logger that extends ILogger and/or the .NET ILogger


Allocation update policy

How often and at what time points should allocation be re-evaluated?

This has been implemented in https://github.com/Deltares/Ribasim/pull/699.


Right rail improvements

Closes https://github.com/newrelic/docs-website/issues/847
Closes https://github.com/newrelic/docs-website/issues/750
Closes https://github.com/newrelic/docs-website/issues/741
Relates to https://github.com/newrelic/docs-website/issues/427
Description
This PR addresses several items:

Updates the design of the right rail to conform to recent feedback
Adds a GitHubIssueButton component to make it easy to create links to issues in GitHub
Adds a CreateIssueButton that wraps GitHubIssueButton to maintain consistency for GH buttons to report issues
Include environment information for the user in the GitHub issue body by default

Screenshots

Love it... :shipit:

Looking so good! Great work @jerelmiller @djsauble @jpvajda

Thanks so much @austin-schaefer!!!


Tab List API

This is my idea for a tab-list API. It's a simple two files and a method in Player.
First file: TabList.java:
package org.spongepowered.api.entity.player.tab;

import java.util.List;
import java.util.UUID;

import org.spongepowered.api.text.message.Message;

import com.google.common.base.Optional;

public interface TabList {

	/**
	 * Sets this list's header.
	 * @param header The new header.
	 */
	public void setHeader(Message header);

	/**
	 * Gets this list's header.
	 * @return The current header.
	 */
	public Message getHeader();

	/**
	 * Sets this list's footer.
	 * @param footer The new footer.
	 */
	public void setFooter(Message footer);

	/**
	 * Gets this list's footer.
	 * @return The current footer.
	 */
	public Message getFooter();

	/**
	 * Gets the players on the list.
	 * @return The players on the list.
	 */
	public List<PlayerTabInfo> getPlayers();

	/**
	 *
Adds a player to the list. This should throw an
	 * IllegalArgumentException when it attempts to add a player
	 * already on the list. This is to prevent modification of a
	 * {@link PlayerTabInfo} by overwriting it.

	 * @param player The player to add.
	 */
	public void addPlayer(PlayerTabInfo player) throws IllegalArgumentException;

	/**
	 *
Removes a player from the list. This should only be used to completely
	 * remove a player, not add it back later.

	 * @param playerId the UUID of the player to remove.
	 * @return The {@link PlayerTabInfo} that was associated with the UUID.
	 */
	public PlayerTabInfo removePlayer(UUID playerId);

	/**
	 *
Finds a {@link PlayerTabInfo} matching the specified UUID. If none
	 * were found, it returns Optional.absent().

	 * @param uuid The UUID to search for.
	 * @return An Optional containing a PlayerTabInfo if one was found.
	 */
	public Optional<PlayerTabInfo> getPlayer(UUID uuid);

}

Second file: PlayerTabInfo.java
package org.spongepowered.api.entity.player.tab;

import org.spongepowered.api.entity.player.gamemode.GameMode;
import org.spongepowered.api.status.PlayerProfile;
import org.spongepowered.api.text.message.Message;

public interface PlayerTabInfo {

	/**
	 * Sets the connection time for this player.
	 * @param milliseconds The new connection time, in milliseconds.
	 */
	public void setConnectionTime(int milliseconds);

	/**
	 * Gets the connection time for this player.
	 * @return The connection time for this player.
	 */
	public int getConnectionTime();

	/**
	 * Sets this player's gamemode.
	 * @param gamemode The new gamemode.
	 */
	public void setGameMode(GameMode gamemode);

	/**
	 * Gets the {@link GameMode} this player is in.
	 * @return The Gamemode this player is in.
	 */
	public GameMode getGameMode();

	/**
	 * Sets this player's display name.
	 * @param displayName The new display name.
	 */
	public void setDisplayName(Message displayName);

	/**
	 * Gets this player's display name.
	 * @return This player's display name.
	 */
	public Message getDisplayName();

	/**
	 * Sets this player's username.
	 * @param name A new username.
	 */
	public void setName(String name);

	/**
	 * Gets this player's username.
	 * @return This player's username.
	 */
	public String getName();

	/**
	 * Sets the {@link PlayerProfile} associated with this player.
	 * @param profile The new PlayerProfile for this player.
	 */
	public void setProfile(PlayerProfile profile);

	/**
	 * Gets the {@link PlayerProfile} associated with this player.
	 * @return The PlayerProfile associated with this player.
	 */
	public PlayerProfile getProfile();
}

It would also add a TabList getTabList() to Player, for obvious reasons. TabPlayerInfo will need some way of being created by plugins, because they may want to add fake tablist entries, and consequently this would require a way to create PlayerProfiles. I talked about this a while ago in IRC.
Implementation Details Below:
NOTE: These are MCP names.
Whenever someone calls setHeader() / setFooter(), the server should send a S47PacketPlayerListHeaderFooter containing the new header and footer to that client.
PlayerTabInfo would have to behind the scenes have a is-linked value, that is true when it's in a tablist, and set to false when removePlayer() is called, to not only prevent abuse of removePlayer() If it's true, when calling setter methods in one a S38PacketPlayerListItem must be sent to the client with an appropriate Action and data, one of it's subclasses. For reference the Actions that must be sent when modifying a PlayerTabInfo are UPDATE_GAME_MODE, UPDATE_DISPLAY_NAME, and UPDATE_LATENCY. When TabList's addPlayer() and removePlayer() are called, similarly, the same packet must be sent with an action of ADD_PLAYER or REMOVE_PLAYER, respectively. The actual info is relatively easy to figure out, just by looking at the packet's code.

It should be noted that setting a player's gamemode in the tab list to SPECTATOR is responsible for both the player being invisible client-side, and noclip being for a player.

As the connection time is rendered as a connection bar (the actual value set isn't displayed), the javadoc should indicate how values are mapped to different values.

@Aaron1011 Agreed, I just mentioned that over IRC.

Also, as you already have done the code.. Why not PR it instead of making an issue?

@mcmonkey4eva I noticed you were having loads of issues with players in the tab list on minecraft 1.8.1 maybe you have some thoughts on what should/shouldn't be done.

Be aware that spoofing the tab list to remove players will influence skin rendering if the player is visible in-game, since the tab list is used to transfer skin information.

The skin data is actually sent as well, in the form of a property array. However, it does have to be signed by Mojang.

@SpaceManaiac Oh, I didn't know that. I'd assume the main use of removing someone would be vanish plugins, however.

@me4502 Generally, unless it's more than a few interfaces I open an issue to allow for the simplest feedback, we can discuss edits and just use the original code a template for what we need, and then someone else can conglomerate the suggestions.

I'm going to work on this, unless someone else is.

@AlphaModder You seem to have already made most of the changes, this would fit great as a PR

@gratimax So, I should make one then?

@AlphaModder yes, that's what I was saying

Can be closed now, #433 was merged.


Increase Loop Protect Timeout to 1000

Up the timeout from 500 to 1000.
Tested Locally.
Closes #5112

:+1:


⚠ Samsung has degraded performance

In da44389, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2751 ms

Resolved: Samsung performance has improved in a2f338a.


Cannot set property trace of # which has only a getter

starting today we are getting this error
[ERROR] 14:32:05 TypeError: Cannot set property trace of #<Object> which has only a getter
TypeError: Cannot set property trace of #<Object> which has only a getter
api.apt.local     |     at Object.replaceLoggingMethods (/usr/src/node_modules/loglevel/lib/loglevel.js:96:30)
api.apt.local     |     at Object.Logger.self.setLevel (/usr/src/node_modules/loglevel/lib/loglevel.js:267:40)
api.apt.local     |     at Object.<anonymous> (/usr/src/api/src/config/logger.ts:6:8)
api.apt.local     |     at Module._compile (node:internal/modules/cjs/loader:1241:14)
api.apt.local     |     at Module._compile (/usr/src/node_modules/source-map-support/source-map-support.js:568:25)
api.apt.local     |     at Module.m._compile (/tmp/ts-node-dev-hook-024130929438604287.js:69:33)
api.apt.local     |     at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
api.apt.local     |     at require.extensions..jsx.require.extensions..js (/tmp/ts-node-dev-hook-024130929438604287.js:114:20)
api.apt.local     |     at require.extensions.<computed> (/tmp/ts-node-dev-hook-024130929438604287.js:71:20)
api.apt.local     |     at Object.nodeDevHook [as .ts] (/usr/src/node_modules/ts-node-dev/lib/hook.js:63:13)

Node: node:20.6.1-alpine3.17 also tested node:20.10.0-alpine3.17

Also been having this issue on Node.js v20.11.0 and v18.14.2 (very recently)

This must be related to the v1.9.0 version just released - you can downgrade to v1.8.1 to avoid this.
Can you provide a standalone example to reproduce the issue though? I'm not sure exactly what would cause this.

@pimterry  thanks, that was it

@designamx this is clearly still an issue in the package, but glad to know the downgrade resolves this for you.
Can you please share an example to help reproduce this, or any more information you can about how you're using loglevel? Otherwise this isn't going to be resolved in future releases of the package and so you'll just hit the same issue again later on.

sure, I can do that

I have placed a small docker project, to replicate you just need to docker build -t logleveldebug . and then docker run logleveldebug
Repo
Please let me know if there is anything else I can help with

Thanks @designamx, that's perfect.
Looks like it's something to do with ts-node-dev's ESM emulation, which treats the exported properties as unmodifiable. That is true for pure ESM modules, but this package isn't actually ESM at all, I think it's just that the runtime is effectively emulating that.
You can fix this failure in the current version by importing with import Logger from 'loglevel' instead of import * as Logger from 'loglevel'. That will avoid this bug but otherwise behave exactly the same.
That said, I think I know what's caused the underlying issue in this case, so it should be easy enough to fix properly so everything works in the previous syntax too. I'll dig into that and release a fully fixed update shortly.

Now fixed in v1.9.1.
I've tested in the above repo and using the latest package version everything once again works correctly with no changes required to imports or anything else.
I'm going to close this now as resolved, but please shout if anybody is still seeing this issue elsewhere.


It seems that flake8 plugin is not active

Describe the bug
I have a code which is missing type annotations. I have installed flake8 and flake8-annotations to my virtual env, but when I am running:
$ python3 -m flake8 .

I am not getting any warnings. Maybe it worth to mention that pycodestyle does not work as well...
To Reproduce
Minimal code example to reproduce the behavior:
def main():
    return

def fun(a, b):
    return a + b

Version Information
$ flake8 --version
3.9.1 (flake8-annotations: 2.7.0, mccabe: 0.6.1, pycodestyle: 2.7.0, pyflakes: 2.3.1) CPython 3.8.12 on Linux

As well as your Python version:
$ python -V
Python 3.8.12

I'm not able to reproduce on my end:
(.venv) $ python -V
Python 3.8.12

(.venv) $ python -m flake8 --version
4.0.1 (flake8-annotations: 2.7.0, mccabe: 0.6.1, pycodestyle: 2.8.0, pyflakes: 2.4.0) CPython 3.8.12 on Darwin

(.venv) $ cat ./asdf.py
def main():
    return

def fun(a, b):
    return a + b

(.venv) $ python -m flake8 ./asdf.py
./asdf.py:1:11: ANN201 Missing return type annotation for public function
./asdf.py:4:1: E302 expected 2 blank lines, found 1
./asdf.py:4:9: ANN001 Missing type annotation for function argument 'a'
./asdf.py:4:12: ANN001 Missing type annotation for function argument 'b'
./asdf.py:4:14: ANN201 Missing return type annotation for public function

I see a few different ways you're invoking python and flake8, can you confirm that they are all pointing to the correct interpreter?
If that's not the issue, what does flake8's verbose output (flake8 -v) look like?

Your question about flake config file was very helpful. Problem was there!
The line select = B,C,E,F,W,T4,B9 was limiting flake8 output. Thank you for your fast response.


See https://github.com/apache/incubator-mxnet/pull/18323


Failure handling some "real" columns on Sybase 11

I'm not sure what's happening and I'm not sure how to debug this. I'm open to suggestions on how to gather the right data.
I'm connecting to Sybase <IP_ADDRESS> and thda/tds seems to handle the TDS protocol this server version is using just fine normally. However I have one particular query that causes it to behave oddly, sometimes returning no data and sometimes entering an infinite loop or crashing.
I've simplified the failing query to select convert(real, @@timeticks) x. It does not fail if I do convert(real, 1) or just do select @@timeticks. It does fail with converting other @@ variables to real though. It also doesn't fail if I do convert(float(5), @@timeticks) but does fail if I do convert(float(4) @@timeticks)
I noted "real" is handled as a single precision float, I wonder if the TDS protocol isn't actually sending a double-width float though? Or perhaps the single precision parsing is just not quite right?

Here's a simple test program I've been using to test this issue though it does require a connection string to Sybase 11 to test it :)
tdsbug.tar.gz

Thanks for reporting.
Could you please try to run the tests ?
It might help to pinpoint the issue.
As mentionned in the readme this library is only tested on 12.5 or later versions.


Editor page with bucket/project list

Editor page is difficult / unintuitive to get to.
Possible options include making a editor view that's first class, similar to the browse view

We might consider an workflow, that allows the user to go into the editor as a first class (like you mentioned), and then encourage them to select a project to open once they land on the editor.
For instance, we could reveal a modal similar to adding scenes to a project modal, that simply lists all projects.

Closed by #891


As an integrator, I'd like the importData call to be available in the API

The Data Import object (table) can be directly written to through the standard REST API. If we expose the "importData" call (method currently resides in the BDI_DataImport_CTRL class) it would make integrations, such as online-payment apps, a lot easier.
This allows things like:

Create multiple Contacts at once for a Household
Create multiple Donations for a Contact
Create a Contact with a Donation

Included in beta release version 3.35 (Beta 4) and higher

Included in production release version 3.35


Adds threshold

Checks to see if user has scrolled further than the event firing threshold.
Useful for complex tables that are jittery because of the constant updates.
This shouldn't change the current functionality unless threshold is set.

obsolete


ci: use yarn cache

Using the Yarn cache can speed up the builds significantly.

Coverage remained the same at 96.399% when pulling 82224fc023b48c02ddbaeac6d0953dbc0b60f369 on DanielRuf:ci/use-yarn-cache into 7d2f3086f7fcf720125cce55d0f5a6b01da95acd on mweststrate:master.


Error with different path format

i found a bug problem...  maybe is a bug for django-responsive-images
on some OS there is no problem if image path inside database is:
media\images\myimage.jpg
or
media/images/myimage.jpg
but in other OS ( like unix in raspberry pi ) django-responsive-images works only if path is with / so when it try to modify/copy an image dosen't founds it and trigger an error
(instead on Windows a path / is same as \ )
note: for Browsers there is no difference for : and   both works well
so in a template if image.path have wrong slashes like media\images\myimage.jpg on unix/raspberrypi
 this works and
 this trigger an error
instead on windows both solutions works works anyway

Attempting to guess file paths is far beyond of the scope of this package.
Any package that reads files from the file system is going to have problems if the paths in your database are not consistent. I am not surprised that you are having problems if you are trying to run from the same database on both Windows and Unix.
Closing, as this is not a bug (for me, anyway).


Adding helper function for events and property deprecation

References and relevant issues
This PR includes deprecation utilities implemented in #5861
Description
It adds utility functions to help deprecate properties and events.
cc: @DragaDoncila @Czaki once this PR is merge I will submit the _edges to _border PR.

@Czaki is it me or is pre-commit still misbehaving?

I just found that you uses f-string in trans script. It will corrupt future translations. Could you update it following this instructions: https://napari.org/dev/developers/translations.html#additional-arguments-inside-strings ?

@DragaDoncila @Czaki I fixed the trans._ calls in other strings from the same file and added some typing

@Czaki I've added deferred for the translations, but now docs build is failing. I don't think it's related? Same failure here.

@DragaDoncila Re: docs fail: yup it's related to a sphinx-tags release.
There are some fixes in flight.

Merged main to fix docs building.
Deployment is still failing, but that is the other repo and I have a PR to fix:
https://github.com/napari/docs/pull/263

Is the milestone checker broken? I've added 0.5.0 as the milestone :woman_shrugging:


[🐛 BUG]: on_init command with defined user fails

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
I was playing around the on_init command and noticed that it does not work if custom user is passed. Attaching error output.
Related change: https://github.com/roadrunner-server/server/pull/68
Version (rr --version)
2024.1.5
How to reproduce the issue?
server:
    on_init:
        command: '/var/www/bin/console doctrine:migrations:migrate --no-interaction --allow-no-migration'
        user: "rokas"
    command: 'php /var/www/public/index.php'
    user: "rokas"
    group: "rokas"
    env:
        - APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime

Relevant log output
root@8955c8249e90:/var/www# rr serve -c .rr.yaml

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8a04c9]

goroutine 1 [running]:
github.com/roadrunner-server/sdk/v4/utils.ExecuteFromUser(0xc0006a49a0, {0xc00099b824?, 0xc000c18cd0?})
        github.com/roadrunner-server/sdk/v4@v4.7.3/utils/isolate.go:53 +0x3c9
github.com/roadrunner-server/server/v4.(*command).start(0xc000061af0)
        github.com/roadrunner-server/server/v4@v4.8.5/init.go:34 +0x91
github.com/roadrunner-server/server/v4.(*Plugin).Serve(0xc0009a0b00)
        github.com/roadrunner-server/server/v4@v4.8.5/plugin.go:162 +0xb6
reflect.Value.call({0xc0000c8d70?, 0xc000995c20?, 0x41841f?}, {0x1e9f6bf, 0x4}, {0xc000129bc0, 0x1, 0xc00091f738?})
        reflect/value.go:596 +0xca6
reflect.Value.Call({0xc0000c8d70?, 0xc000995c20?, 0x36b79e0?}, {0xc000129bc0?, 0x1ebb244?, 0x14?})
        reflect/value.go:380 +0xb9
github.com/roadrunner-server/endure/v2.(*Endure).serve(0xc0009a4be0)
        github.com/roadrunner-server/endure/v2@v2.4.5/serve.go:44 +0x55a
github.com/roadrunner-server/endure/v2.(*Endure).Serve(0xc0009a4be0)
        github.com/roadrunner-server/endure/v2@v2.4.5/endure.go:212 +0xd7
github.com/roadrunner-server/roadrunner/v2024/internal/cli.NewCommand.NewCommand.func3(0xc0005c0e00?, {0x1e9f64b?, 0x4?, 0x1e9f64f?})
        github.com/roadrunner-server/roadrunner/v2024/internal/cli/serve/command.go:74 +0x56c
github.com/spf13/cobra.(*Command).execute(0xc0005e0c08, {0xc00099edc0, 0x2, 0x2})
        github.com/spf13/cobra@v1.8.1/command.go:985 +0xaca
github.com/spf13/cobra.(*Command).ExecuteC(0xc0005e0308)
        github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(0x7ffd55267c6b?)
        github.com/spf13/cobra@v1.8.1/command.go:1041 +0x13
main.run()
        github.com/roadrunner-server/roadrunner/v2024/cmd/rr/main.go:26 +0x45
main.main()
        github.com/roadrunner-server/roadrunner/v2024/cmd/rr/main.go:16 +0x13

Hey @rmikalkenas 👋
Thanks for the report, I'll double-check that and fix in the upcoming 2024.2 release 😃

@rmikalkenas Located the issue, fix will be released this Thursday.

That was a missed handler for the error. Now RR will panic, but with an understandable error. Since running processes from the different users allowed for the root.


Alternative methods of generating/creating flux

An ongoing problem with this mod is that flux is generated by throwing it into fire/lava. This causes a lot of bugs with certain other mods, and often ends up disabled. Although even when disabled, the item description still mentions the fire/lava method, which is confusing.
That isn't so bad considering that you can enable it as a drop from redstone, although the default drop rate is awful compared to how much you can make by using the fire/lava method. The real issue is that quarries and the like don't actually correctly pick up flux when it drops from redstone ore.
This means that with endgame automation, you can't actually get flux. You have to silk touch the ore with a quarry, and then place/mine the ore by hand to get any flux.
I've actually started looking at seeing how I could automate the placing/mining of the blocks, but even that doesn't seem to trigger a drop at least with the methods I've tried. It has to be a player.
What I propose is an alternative recipe or flux creation method that works better with automation, and integration with other mods, because right now, it's a pain, as much as this mod is useful.

As a workaroud you can use mod like CraftTweaker

Fixed: The new version will have a different recipe which avoids duping issues etc.


Improved password reset suggestion

Hi, first up, MvcForum is great. Thanks for making your hard work open source for everybody.
I wanted to make a little suggestion to improve the security of the password reset functionality.
Currently to reset a user's password, a user enters their registered email address on the Forgot Password form. The password for the email address is then reset to a new temporary password and the new password is emailed to that address.
This process doesn't validate that the request originator is the registered user before reseting the password. Therefore any visitor to the site can reset a registered user's password by simply knowing the email address which they registered with. As well as being annoying this can potentially enable a malicious user to lock a register user out, a kind of DOS.
A more secure approach would be to email a unique password reset URL to the registered email address. The URL is valid for one use only within a limited time period and points to a page where the user can enter a new password. The important part is that the password is not reset until the user follows the URL and enters a new password.
Troy Hunt has a detailed explanation at http://www.troyhunt.com/2012/05/everything-you-ever-wanted-to-know.html
There is a working example that I am currently testing on my fork https://github.com/davidglenn/mvcforum/commit/691ac0d557f0c5f23bdab80f672c504eadfd2ca4
I am fairly new to GitHub but would be willing to work on the code to get it to a suitable state for a pull request if you were interested.
If not, then thanks again for the project.

David,  good fix.  You got my vote.  Plus, it's less code and less annoying then security questions.

Thanks for the heads up. And thanks for taking the time to suggest and come up with the code :) Looks good from a glance. I'm a couple of weeks off being able to start the next release (But will definitely implement this).

Great, I look forward to seeing it implemented in the next version.

Thanks again for this. I have implemented it into v1.7


Remove steps 1 from restrict-organization-creation-permissions.md

Closes https://github.com/MicrosoftDocs/Viva/issues/397.

@ranjali-MS
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Not sure why I’m on this. @Loreen La @.***> can you merge or send to the right person?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Manuela Scanu @.>
Sent: Sunday, July 2, 2023 10:52:58 PM
To: MicrosoftDocs/Viva @.>
Cc: David Strome @.>; Mention @.>
Subject: Re: [MicrosoftDocs/Viva] Remove steps 1 from restrict-organization-creation-permissions.md (PR #419)
@dstromehttps://github.com/dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/Viva/pull/419#issuecomment-1617403474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFAN4Z2RLQGOTLLXZBNYKTLXOJM3VANCNFSM6AAAAAAQ7XRPD4.
You are receiving this because you were mentioned.Message ID: @.***>

I don't know anything about this PR... can you send a link and I'll take a look to see if I can find the right person?
From: David Strome @.>
Sent: Monday, July 3, 2023 12:59 AM
To: MicrosoftDocs/Viva @.>; MicrosoftDocs/Viva @.>; Loreen La Penna @.>
Cc: Mention @.***>
Subject: Re: [MicrosoftDocs/Viva] Remove steps 1 from restrict-organization-creation-permissions.md (PR #419)
Not sure why I'm on this. @Loreen La @.***> can you merge or send to the right person?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Manuela Scanu<EMAIL_ADDRESS>Sent: Sunday, July 2, 2023 10:52:58 PM
To: MicrosoftDocs/Viva<EMAIL_ADDRESS>Cc: David Strome<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/Viva] Remove steps 1 from restrict-organization-creation-permissions.md (PR #419)
@dstromehttps://github.com/dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/Viva/pull/419#issuecomment-1617403474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFAN4Z2RLQGOTLLXZBNYKTLXOJM3VANCNFSM6AAAAAAQ7XRPD4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

This looks like a Viva Goals article... @Jim @.> or @Rachelle @.> should review.
From: David Strome<EMAIL_ADDRESS>Sent: Monday, July 3, 2023 12:59 AM
To: MicrosoftDocs/Viva<EMAIL_ADDRESS>MicrosoftDocs/Viva<EMAIL_ADDRESS>Loreen La Penna<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/Viva] Remove steps 1 from restrict-organization-creation-permissions.md (PR #419)
Not sure why I'm on this. @Loreen La @.***> can you merge or send to the right person?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Manuela Scanu<EMAIL_ADDRESS>Sent: Sunday, July 2, 2023 10:52:58 PM
To: MicrosoftDocs/Viva<EMAIL_ADDRESS>Cc: David Strome<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/Viva] Remove steps 1 from restrict-organization-creation-permissions.md (PR #419)
@dstromehttps://github.com/dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/Viva/pull/419#issuecomment-1617403474, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFAN4Z2RLQGOTLLXZBNYKTLXOJM3VANCNFSM6AAAAAAQ7XRPD4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@LoreenLa I am unable to add the sign off label to this request.

Hi @RaSanders-MSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Fix for issue #10

Possible fix for issue #10 resulting in incorrect unescaping of encoded +.

#10 should be fixed as of https://github.com/vmg/houdini/pull/16.


Fix double lines in CRLF EOL endings

I noticed a strange bug when using CRLF line endings.
Whenever i wanted to add a definition, somehow an excess of newlines would appear, e.g.:
	void Instance::function()

	{

	}

Which seemed strange, at first and after a little digging, I found the issue:
Whenever you add tabspaces to a block, you appear to use insertText.replace(/^/gm, util.indentation()) to prepend any indentation. Unfortunatly it does work only with LF line endings. When using CRLF line endings, it assumes the \r and \n are both line seperators (instead of completly\r\n), which led to inserting tabspaces between and after them, resulting in \r\t\n\t. Then, vscode would translate these into \r\n\t\r\n\t (or at least in an equivalent visual representation).
To fix the issue, I have created a function in utilities, called insertBeforeEachLine, which solves the issue and I have replaced each occurence $1.replace(/^/gm, $2) with util.insertBeforeEachLine($1, $2).

I have another change ready to go:
Support for creating source file when adding definition and file does not exist
Support for multiple editors when revealing source code, reusing instead of opening new editor
But it seems this repo is not maintained anymore,
I'm considering forking it and maintaining myself. Would you be willing to move your PR there if that would be the case?

Sure, I'd be happy to move it over. Just ping me the deeds, if you decided to fork the repository.


Code Update

Hello,
Can you make all the dependencies of this code according to the latest versions?

@arnu515


server: ignore more error kinds in incoming socket stream

As discussed in https://github.com/hyperium/tonic/pull/1882#issuecomment-2302371292.
cc @grembo

Looks good to me. In theory, WouldBlock is already filtered in TcpStream, but having all the transient ones checked in the same place is better :+1:
I wonder if it would be a good idea to add/move these checks to tokio/net in the long run (around https://github.com/tokio-rs/tokio/blob/master/tokio/src/net/tcp/listener.rs#L186, where it already handled WouldBlock).

I wonder if it would be a good idea to add/move these checks to tokio/net in the long run (around https://github.com/tokio-rs/tokio/blob/master/tokio/src/net/tcp/listener.rs#L186, where it already handled WouldBlock).

I could see why Tokio wouldn't want to be so opinionated -- WouldBlock is more clear-cut because that is part of the whole async stack.

Maybe we should add more test about TLS? It is really a critical bug that the server process exits when a TLS handshake error happened. Clients can easily perform denial-of-service attacks.

Might be nice to get this into 0.12.3.

Should we maybe add more tests about TLS? It is really a critical bug that the server process exits when a TLS handshake error happened. Clients can easily perform denial-of-service attacks.

Hello,
Sorry to intervene in that merged PR, but shouldn't that bug have it's own CVE number ? I encountered that bug while developping my application and indeed this seems like a nice primitive to crash any gRPC server running Tonic 0.12.2 (or less ?).
Regards.

Its been published as a https://github.com/hyperium/tonic/security/advisories/GHSA-4jwc-w2hc-78qv and is a low sev CVE. RustSec PR will follow.


jsFind error when running examples

Hello,
Fairly new to Haskell and Haste so this may be user error, but examples fail in the browser with the following error on both master and <IP_ADDRESS>
ReferenceError: jsFind is not defined
file:///home/mediabag/Development/haste-compiler/examples/chatbox/chatbox.js
Line 2076
System specs:
The Glorious Glasgow Haskell Compilation System, version 7.10.2
hastec --version
<IP_ADDRESS>
Firefox 40.0.3
Linux xxx 4.0.6-300.fc22.x86_64
Thanks
Sumit

I can't seem to reproduce this, neither on <IP_ADDRESS> nor on the latest master. How did you install (and boot, if applicable) Haste? Your error seems consistent with installing from git but running haste-boot instead of haste-boot --local.
More specifically, jsFind got removed in master recently, which means that building Haste from git will install support JS files that don't include it. However, the libraries for <IP_ADDRESS>, which is what you'll get if booting without --local, depend on jsFind, and so will error out with the message you saw.

Closing since jsFind is no longer an external function and is not referenced by any library code.


fixed children alignment issue

Fixed following issue of children content alignment:
https://github.com/Hacker0x01/react-datepicker/issues/3654
Before fix:

After fix:

@martijnrusschen
Please review

Please review

@martijnrusschen
Please review


Single PNG file always causes decoder error in IE11

I have lots of PNG files that work as expected. All processed in the exact way and settings from Photoshop. However just 1 file causes a decoder error in IE11.

Original file. RGB, exported from photoshop.

Optimized output that causes error

If there's a problem in IE11, it's a problem in the actual OptiPNG binary, which is out of our control.


Add example program table_schema.cpp.

The new example shows how to query table schema details.
Add any_to_string wrapper on top of convert util to handle any type in generic manner.
Tested against SQL Server and PostgreSQL.

LGTM


Android modal loads redirectURI into modal

Issue Description
IOS works as it should. But on android, I have installed LinkedIn app and when I login in modal window, it don't closes. But it loads "redirectURI" into modal.
Steps to Reproduce / Code Snippets
Just try to login
Expected Results
Modal should be closed, and "onSuccess" must be triggered.
Additional Information

Nodejs version: v10.13.0
React version: 16.6.0-alpha.8af6728
React Native version: 0.57.3
react-native-linkedin version: ^1.3.1
Platform(s) (iOS, Android, or both?): android

Do you have any solution for this issue?

Need a solution...

@cristin There are not details. Native "WebView" on Android (from react-native), doesn't catch redirections (HTTP 30x) at all (while react-native-webview catches them all). The whole point of this package is WATCHING REDIRECTS, and if it matched "redirectURI" you specifed - it triggers successful callback.

Catch redirection - I mean triggering "this.onLoadStart" callback when url of webview is changed.

It's weird that android don't follow redirect... maybe we have to change the onLoadStart by another listening event like onNavigationStateChange

@xcarpentier I tried it! Only WebView from "react-native-webview" works. As you can see on official react-native site, they are deprecating WebView from "react-native": https://facebook.github.io/react-native/docs/webview

This deprecation does not mean under featured webview, that just mean react-native team delegate the work to the community but webview still here.
I'm using this onNavigationStateChange for other customer project and I deal with the redirect from android, Please recheck :)

@xcarpentier I am not the only one, who is facing this problem. If you don't want to fix it, just close the ticket.

Pardon if I'm disturbed you. I'm not like that and don't want to be.
I want to fix it, but change the behavior of the lib is not really funny for me. I want to keep it as simple as it is now.
And I'm not really sure that you are right because as I said I'm using webview in almost the same context with a pretty earlier version of react-native and I didn't notice any modification if I use onNavigationStateChange
Please reference where I can find other issues concerning redirection.
Thank you :)

@xcarpentier

Please reference where I can find other issues concerning redirection.

Comments of other people in this issue is not enough?
https://github.com/xcarpentier/react-native-linkedin/issues/111#issuecomment-451372290
https://github.com/xcarpentier/react-native-linkedin/issues/111#issuecomment-449799919
https://github.com/xcarpentier/react-native-linkedin/issues/111#issuecomment-452402063
https://github.com/xcarpentier/react-native-linkedin/issues/111#issuecomment-454796967
https://github.com/xcarpentier/react-native-linkedin/issues/111#issuecomment-455582890

And I'm not really sure that you are right...

If screenshots I provided are not enough, here you have video. If it works for you, it doesn't mean that it works for everyone.
Video link

Thank you, will figure out.

BTW I change master with onNavigationStateChange and if someone has the chance to test it, please let us know.

@xcarpentier As I said before, I already tried to use onNavigationStateChange instead of onLoadStart. You don't listen to me. The only way is to import WebView from react-native-webview.

So I'm sad about this solution... this why I try another

https://stackoverflow.com/questions/50126168/webview-onnavigationstatechange-returns-url-of-previous-page

Yes, I know it... I tried and result is the  same: android dont catch redirects((( I spent more than 10 hours of debugging and trying to make this package pure js, but I failed(((

Hi, is any help needed to author, issue and push a fix?

Any temporary workarounds?

The issue for me is to abandon simple expo support with a usage of react-native-webview...

Hello @xcarpentier , I think many people started to face this issue including me.
I started to integrate 'react-native-webview' as many people here suggested but got build errors.
https://github.com/react-native-community/react-native-webview/issues/55
Since my app is in production and not using latest React version and using very old React version
I am not sure how to come out of this deadlock situation.

@cidevant @xcarpentier I have fixed my problem.
I was getting events in onNavigationStateChange but below condition was not getting executed properly and hence not able to close the modal.
https://github.com/xcarpentier/react-native-linkedin/blob/d18157e2b25cbea87c46537bd3b3ea9fb3a7a97b/index.js#L241
for me the problem was with https and http and since I have put many redirection link in linkedin developer console.
check if redirectionUrl is correct and matching with what you have put in code.
silly issue isn't it (atleast for me)
I hope this helps someone.

Thanks 🎉
Is it possible for you to create PR?

@xcarpentier  no need to change in library

Still struggling with this issue.

The issue for me is to abandon simple expo support with a usage of react-native-webview...

As I can tell they have added react-native-webview support in the newest Expo SDK (v33). (https://expo.canny.io/feature-requests/p/react-native-webview-support)
Does this solve your issue of dropping simple expo support by switching to react native webview for solution?


Which subset did you use for Places365 as OOD?

Which subset did you use for Places365 as OOD?
There are a plenty of options in the Places365 website. :)
Best,
Igor.

Hi Dan. I rerun your wrn test code on CIFAR10 (no retrain or fine tune) and everything seems to be consistent except for the Places365. You mentioned that you used different subsets of Places365. Here is how I understand from your previous response:
D_in: Cifar10
D_oe: 80m tiny images
D_test: Places69 (256x256) (my comment: it is neither Places365-Standard nor Places365-Challenge 2016. I download the dataset from http://data.csail.mit.edu/places/places_extra69/data_256_extra.tar, which is almost at the bottom of the page.)
I put the results as git diff here, comparing your git log and my new results:
-FPR95:                 17.28   +/- 1.26
-AUROC:                96.23   +/- 0.20
-AUPR:                   87.27   +/- 0.42
+FPR95:                 11.22   +/- 0.44
+AUROC:                97.73   +/- 0.08
+AUPR:                   90.32   +/- 0.21
Thank you so much for your time to help!

Sorry. Places69 was only used for testing the Places365 classifier. The
other models use Places365 test images as OOD data. Earlier I used a subset
of places365_standard/test, and now I have a faster computer so I currently
just randomly sample from places365_standard/test.
On Tue, Feb 25, 2020 at 4:45 AM wetliu<EMAIL_ADDRESS>wrote:

Hi Dan. I rerun your wrn test code on CIFAR10 (no retrain or fine tune)
and everything seems to be consistent except for the Places365. You
mentioned that you used different subsets of Places365. Here is how I
understand from your previous response:
D_in: Cifar10
D_oe: 80m tiny images
D_test: Places69 (256x256) (my comment: it is neither Places365-Standard
nor Places365-Challenge 2016. I download the dataset from
http://data.csail.mit.edu/places/places_extra69/data_256_extra.tar, which
is almost at the bottom of the page.)
I put the results as git diff here, comparing your git log and my new
results:
-FPR95: 17.28 +/- 1.26
-AUROC: 96.23 +/- 0.20
-AUPR: 87.27 +/- 0.42
+FPR95: 11.22 +/- 0.44
+AUROC: 97.73 +/- 0.08
+AUPR: 90.32 +/- 0.21
Thank you so much for your time to help!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/hendrycks/outlier-exposure/issues/2?email_source=notifications&email_token=ACZBITXFBDWB4VV4TEPPAJLREUHIDA5CNFSM4GQN4NMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM32HVY#issuecomment-590848983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZBITWYJHJ34H2SYXP244TREUHIDANCNFSM4GQN4NMA
.


doc/man1/x509.pod: corrected "S/MIME signing" requirements

The manual page for x.509 command states that S/MIME signing purpose requires digitalSignature bit when keyUsage extension is present.
Actually, crypto/x509v3/v3_purp.c:656 allows either digitalSignature or nonRepudiation.
Manual page corrected to reflect the above.

[x] documentation is added or updated

Merged. Thanks.


docker run with ldap is successful, what's the next step?

I have run the command with ldap setting, should be correct.
The docker container is running with port 5001 open.
1854a7c93862        cesanta/docker_auth:stable   "/auth_server --v=2 -"   4 seconds ago       Up 2 seconds             <IP_ADDRESS>:5001->5001/tcp             docker_auth

What's the next step? How can I link it to docker registry v2? Any instructions?
I0710 10:26:01.780239       1 server.go:2161] http: TLS handshake error from <IP_ADDRESS>:36514: tls: first record does not look like a TLS handshake
I0710 10:26:26.515645       1 server.go:2161] http: TLS handshake error from <IP_ADDRESS>:36516: EOF

Got the help from https://github.com/kwk/docker-registry-setup
That's nice to get explained with a useful docker-compose.yml file

Here is the setting I need follow.
https://github.com/kwk/docker-registry-setup/blob/master/registry/conf/config.yml#L22

https://github.com/docker/distribution/blob/master/docs/spec/auth/token.md


New token mint fails on first attempt (insufficient funds)

Excited to mint my first token in the UI, I went to the page and clicked the button ... and fell flat on my face.

I happened to know, this was because my wallet was not funded, but users are not going to know that.
see #59 -- I strongly think we should airdrop SOL to accounts that will be paying for things automatically (or load them with Amman as such). Yes, it is educational to airdrop yourself, but --

It is extremely annoying if you do a state reset of the local validator, and
It adds at least the ~15 seconds to confirm the airdrop txn to the "time to first magic" metric
Having a smooth onboarding is more important and users can learn this feature later if needed

yeah - this is an expansion on #203 - atm, i'm not disabling buttons that the user can't afford - aridropping on startup doesn't solve this, because it still fails later, when they run out again.
fun fact is that i'm doing quite a few tests on things with intentionally unfunded / underfunded accounts - as it seems very few dapps i've used have actually been tested for this, and their error handling is woeful.
the funnest senarios are where there are many transactions, and your account runs out mid way - no-one (so far) seems to recover and restart - so you've just lost a bunch of time and SOL.


Please do not trust the preprocessed data here!

Following the problem which I mentioned at https://github.com/ZhaoJ9014/face.evoLVe.PyTorch/issues/116, I further found another important issue as follows:
The last image of CALFW was broken, and there were several faces not detected if using MTCNN. The order of positive and negative pairs are not the same as the origin paper. I have tried to use the five landmarks provided by the origin author, and the accuracy of IR-50 trained on MS1M only achieved 95.37, which is reported as 95.87 here.

We should also be known that the cleaned ms1m dataset is from insight, and since the author renamed the folder name, it is difficult to compare the two datasets. I will try to find the relationship between the two.
👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎 👎

考虑到这个作者也是个中国人，希望能得到答复吧。

源码中的 config.py 的data_root，是 /media/pc/6T/jasonjzhao/data/faces_emore，这个数据集是insightface的，而不是他处理之后的。

作者提供的 clean 版本竟然比对齐之后的人脸数量还多？

作者把对齐之后的数据集重命名了，提供的又是原数据集的 id 和 name 的对应，我查看了 clean 的那个版本，根本没有找到这个对应关系。所以作者提供的这个文件有什么用吗？

我整理这个repo 提供的数据集和代码花了很长时间，发现很多问题。

请最好不要使用这里的数据，问题很多，浪费了我很多时间。请隔壁左转 insightface。


Add tests on the agglayer-signer

Description
The agglayer-signer needs to be tested (even a little) to acknowledge its behaviors.
Refactorization in the scope of the agglayer-signer and other agglayer crates are ok for this ticket, the changes should not be huge, tho. If you feel that it should be, please create a ticket or respond to this issue and provide some description of what you want to achieve, so that we can prioritize it well.
Acceptance

[ ] Having tests that cover the agglayer-signer

Hey @Freyskeyd
Can you assign me this issue if it is available ? I wanted to learn more about the agglayer in depth and wanted to know about the overall design.
If you have more related material that would be helpful, maybe docs or articles (apart from polygon cdk).
Thanks 🙏

Hello @ocdbytes,
We do have specs, and we're almost ready to release them as a documentation website, so stay tuned :)
For this particular ticket, the goal is to cover the signer with some tests. Mostly to validate that the implementation behave in an expected way.
There is multiple things to consider:

Do we properly fails when the Gcp KMS fails to retrieve stuff (there is things to dig a bit on how to mock this part)
Acknowledge with tests that the Signer's method behave correctly

Hi @ocdbytes,
I looked into this briefly and filed a PR for a very simple test in #148. It is by no means complete, feel free to treat it as a starting point and expand on it.
The Gcp KMS is still not covered by tests at all. It might be pretty annoying to mock out as from what I've seen, the libraries we use hardcode the Google APIs url. Some refactoring or network-level mocking may be needed to even make this testable in a reasonable fashion.

Cool Thanks : )
@iljakuklic @Freyskeyd
Will surely start on this issue. Do you guys have any telegram channel or some dev chat for doubts ?

hey @iljakuklic @Freyskeyd
Do you guys have some documentation of the crates in the code ? that would be really helpful for me to get started on this ASAP. If not then also no issues will take some time to figure out the components.
Thanks 🙏

Cool Thanks : )
@iljakuklic @Freyskeyd Will surely start on this issue. Do you guys have any telegram channel or some dev chat for doubts ?

Currently, we do not. But we may have a Discord server soon :)

hey @iljakuklic @Freyskeyd
Do you guys have some documentation of the crates in the code ? that would be really helpful for me to get started on this ASAP. If not then also no issues will take some time to figure out the components.
Thanks 🙏

The documentation is fairly small for now I agree, we have tickets to improve it piece by piece, but it is a long process.
You can see the crates as small pieces regroup and used by the agglayer-node crate to provide the desired behavior.
The agglayer-config is responsible for everything related to the config. The agglayer crate is the main entrypoint which is a simple CLI.


Empty object not subtype of object with index signature

This PR tightens the subtype relation such that a non-fresh {} is not considered a subtype of { [x: string]: xxx }. Currently, such types are subtypes in both directions, which causes issues in narrowing.
This fixes the issue reported here.

@typescript-bot test this
@typescript-bot user test this inline
@typescript-bot run dt
@typescript-bot perf test faster

Closing in favor of #50044.


No Verbose event level

I think there is a small mistake here - regarding the Level of the alert.
On the docs, it says:
'Level: The severity level of the event (Verbose, Informational, Warning, Error, or Critical).'
I couldn't find any Verbose activity log, in the Azure Portal, the only possible options are Informational, Warning, Error, and Critical.
Therefore, the correct listing should be "(Informational, Warning, Error, or Critical)".
This is also causing confusions for customers who might have the tendency to associate the alert severity (which cannot be chosen for Activity Log Alerts) with the event severity.
Thanks!

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

ID: 6f58cbb8-0985-40e0-b52a-e616d776d0b4
Version Independent ID: 03c02648-f61b-094b-de22-7fbe49763a9d
Content: Activity log alerts in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/platform/activity-log-alerts.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @rboucher
Microsoft Alias: robb

@stspinu Thanks for your comment! We will review and provide an update as appropriate.

Looks good to me @KrishnaG-MSFT . Thanks for making the change.  @stspinu You should see the update in 24 hours if not sooner.

#please-close


chat attempts to resize when "one column" configuration is active

as seen from the image above the chat attempts to resize once the user activates one column config. because of this the user gets kicked form the cytube room due to rate limit being exceeded.
im guessing this is due to the resizeStuff fix from before

this seems to fix itself when theres external css


Classifying large group of people (~100k)

I have tried with 500, 1k, and 5k people with the classifier in the example. Small number (500) works with great accuracy, but with large number (5k) the accuracy drops significantly.
Would you give some hint how to organize my classifier for large group of people? (targeting 100k people)
Thank you.

If you want less false positives, try lowering the "tolerance" argument from the "compare_faces()" function

I also want to target 100k people, I'm currently fetching 4-5 images per user, let's see how it will work out! Are you trying just similarity matching or like authentication, depending on your usecase, your parameters need to be different!
if someone has best practices, would be glad to hear.

Can you share your code of 500 people???

i dead in 1W+ people

How many people is 1W?

How many people is 1W?
sorry for write miss.
1W+ means 10K+

Try to hack https://github.com/alessiosavi/PyRecognizer with a lot of photos

Try to hack https://github.com/alessiosavi/PyRecognizer with a lot of photos. It use a Multi Layer Perceptron neural network in order to execute face recognition. I don't know if a large dataset (lot of people with a lot of photos) can lead to confuse the network.

How is the result?


Is there support for deep Object in query params

Does openapi-core provide support for deep Object in query params
Below i have my schema specifying parameters
    parameters
       [
          {
            "name": "abcd",
            "in": "query",
            "description": "Parameters",
            "explode": false,
            "style": "deepObject",
            "schema": {
              "type": "object",
              "properties": {
                "a": {
                  "type": "number"
                },
                "b": {
                  "type": "number"
                }
              }
            }
          }
        ]

example:
according to this
urls of the type /fruits?abcd[a]=1 should be accepted
and urls of type /fruits?abcd=1 should throw error

Related to this issue, Can we validate properties in deepObject schema, I tried with additionalProperties: false. But it wasnt validated. Any value can be given inside deebObject query-param.

@sarangsbabu367
Hi, there is no deepObject support at the moment.
https://github.com/p1c2u/openapi-core/blob/0aeb14477bd881247856a8ab520b5adf4223573d/openapi_core/deserializing/parameters/factories.py#L11
Future implementation should validate schema agains schema in schema field.


Meteostat 1.4.1

Fix empty DataFrame bug with Normals interface
Remove obsolete Stations method id

Why was the id method considered obsolete? I thought it would be fairly useful.


Create firmware variant for standard MQTT broker

To allow for non-Watson IoT connections (eg. Mosquitto MQTT), it would be good to have a variant of the Watson IoT firmware that allows it to connect to a generic MQTT broker.
This would allow for connection to any remote or local server running Mosquitto, or another MQTT broker, rather than a specific cloud provider.

To run an MQTT broker on your local subnet (for instance on a Raspberry Pi), I have made the minimum number of changes to the production firmware via this patch.  Essentially its 3 #ifdefs
Toggle #define LOCALNET in config.h
There's a patch to the version140 branch:
Run a MQTT Broker on a local subnet
https://github.com/openeew/openeew-sensor/commit/df6158a5a825ed4111e3dbc4cf5d02b29ca863e5

Thanks to @andygrillo  for some inspiration


Colorbar issue with png

Colorbar_Issue_Code.txt
The figure appears fine in the Matlab window but the png created by export_fig has a transparent region at the top of the colorbar. Those colors in the figure are also transparent.

Resolved in v3.47


fix(cron): chat cron was looking for wrong tags

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.931%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
466

Relevant Lines:
583

💛  - Coveralls


Overriding Other CSS styling

Within my React JS application, I have a certain layout that is made using Bootstrap css elements, however, this layout is ignored by the react-scheduler component which results in the scheduler being place over my navigation bar within my Web App. Can you please advise me on a possible fix for this issue. Any and all help would be appreciated.

I'm experiencing a similar issue

Hi @Lu-Flame99
by default Scheduler will take as much space as possible due to absolute positioning.
If you want to have a different size you can wrap scheduler component in a div with relative positioning.
Let me know if it helps!

Hey, apologies for the late response.
Having issues with the fix you've provided, where exactly is the styled object access from. Is the styled object a part of the @bitnoi.se/react-scheduler library or is it found in @bitnoi.se/react-scheduler/dist/style.css specifically?
Once this is resolved I will be able to let you know whether or not the fix is adequate. Thank you for all the effort so far and I look forward to hearing your response.

Hey, I used @emotion/styled to make use of the styled component and that solved the issue. I can now confirm that the fix you provided works as intended.
I'd like to thank you again for your assistance in this matter 🙏🏾.


Update README.md

Pull request information

Status: ? (ready to merge / in development)
Kind of changes: ? (bug fix / new feature / documentation...)
Related PR or issue: ? (optional)

Description

? (general description)

Pull Request Test Coverage Report for Build 4733

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.869%

Totals

Change from base Build 4725:
0.0%

Covered Lines:
9215

Relevant Lines:
10141

💛  - Coveralls


Cocoapods with master: Operator implementation without matching operator declaration

I want to build the latest swift2.0 code using Cocoapods.
I've added Argo to a podfile, run pod install using the latest Cocoapods release (0.39.0).  That succeeds, but when building the project, I have this error which looks related to Runes:
Operator implementation without matching operator declaration
Am I doing something wrong here?

you need to add :submodules =>  true to your pod file if you aren't using the official release.

Just realized my error while you were typing this, works. Thank you!


added python3 support and fix major issues

added python3 support to test server and fixes #91
Note : regex implementation not perfect suggestions are welcome

Thanks for the contribution. Mind please reverting the change to background.js? Then I'll merge in the changes to test_server.py

Thanks for the contribution @No-Cellist-7780 !


Remove MVC dependency

Why?

To have a single build/package suitable for MVC 5, MVC 6 and any other platform
To have stable dependencies, therefore be able to publish a non-preview package

Drawbacks

DataSourceLoadOptions and DataSourceLoadOptionsBinder must be defined externally (like here).

Work started in https://github.com/AlekseyMartynov/DevExtreme.AspNet.Data/tree/no-mvc
@IlyaKhD when you have a minute, please review and share your thoughts

I agree this is a good idea to remove the dependency from a specific MVC version.
On the other hand these version specific things are to be implemented in the users project (i.e. IModelBinder impl) though it's a common code that is likely to be the same across all projects. May be it would be useful to have extra NuGet packages for that purposes (these are version specific).
How do you think?

I plan to start with including DataSourceLoadOptionsBinder implementation into our TagHepers package. Later (when ASP.NET Core has a stable release) , we'll be able to seamlessly introduce extra NuGets as you suggest.

Yep, the TagHelpers package is a good option for now, and no temporary packages are required.


Bump to latest Spring Boot version

Summary
This commit bumps some of the samples to use Spring Boot 2.7.7 and some to use Spring Boot 3.0.1. This is intentional so that we keep some examples of using both. It is also necessary to keep some examples that use Java 8/11 still, since Spring Boot 3.0 requires Java 17+.
Use Cases
Update Spring Boot versions.

@paketo-buildpacks/java-buildpacks Just need an approval here and we are good to go!