Patch for /trunk/main/src/com/google/refine/browsing/util/NumericBinIndex.java

Original author: thadguidry (January 28, 2011 22:32:39)
iterate() is overiddable.  class NumericBinIndex should be final ?
Original issue: http://code.google.com/p/google-refine/issues/detail?id=318

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

old


module 'files_sdk.models.file_action' has no attribute 'begin_upload'

Having issue while uploading file using Files.com package on windows OS

Hello,
Thank you for taking the time to file this issue.
We are happy to report that we have deployed a fix.
We would love to hear more about how you are using the Python SDK. If you are willing, please send an authenticated ticket via the web interface or email us at<EMAIL_ADDRESS>You can submit a support request using the Contact Support option in the top-right menu of the web interface. You access the menu by clicking on your user name.

What was the issue and fix?


work_flow

4/15/2022

[ ] read data
[ ] change the format of the data
[ ] basic statistical information


ensure all ArcGIS Feature Server datasets are in github action

follow-up to https://github.com/NYCPlanning/data-engineering/pull/1054
I noticed a couple of datasets with source: arcgis_feature_server: ... weren't listed in data_library_arcgis_feature_server.yml

My bad - only added datasets that were used in GFT


JAVA-766: Do not include epoll JAR in binary distribution.

LGTM
Could you list the change in changelog/README.md (in 2.0.11, after JAVA-662, following the same format)
You can amend your commit and force-push.

Done! :)

Great, thanks for your contribution!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/417 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 32ed75f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix projection pushdown in BigQuery connector

Fixes #5618

LGTM. Can you please add a test?

@findepi Added


Xcode 11.4.1 errors w Swift 5.2.2

After updating to XCode 11.4.1 I have a couple errors I do not know how to resolve. Any pointers on how to fix these compile errors?
I have rebuilt the framework in XCode 11.4.1 with Swift 5.2.2 without issue, but when using the framework in my project I receive the following errors:

Errors:
a) Cannot infer contextual base in reference to member 'size' AND
b) Generic parameter 'T' could not be inferred

    let w = myWindowObject

    if let size: CGSize? = try? w.axData.uiWindowElement.attribute(.size) {
        originalSize = size!
    }

Error: Cannot convert value of type 'Optional<Optional<_>>' to specified type 'CGSize??'

        if let size: CGSize? = try? uiElement.attribute(.size) {
            ...
        }

Error: Cannot convert value of type 'Optional<Optional<_>>' to specified type 'String??'

    if let title: String? = try? element.attribute(.title) {
        ...
    }

Any suggestion would be greatly appreciated. i will be working to resolve the errors on my own and will report any progress here.

I fixed all 3 compile errors. None of them were caused by the AXSwift.framework, but rather my mediocre programming skills. I've changed my implementation.
Changed:
if let title: String? = try? element.attribute(.title) {
        ...
}

To:
if let title: String = try! element.attribute(.title) {
         ...
}

Thanks for your work on this project. I use in in my WindowMizer.app. If you'd like a free license, hit me up!


Quests reset after re-log

Hi,
When a player completes a quest and the server restarts, it says they can do the quest again, however they keep the quest point they got from completing it the first time. I tried what you suggested in my earlier posthttps://github.com/PikaMug/Quests/issues/1469 which was too have the played log out and make in before restarting the server. The quests were still reset, as if they had never done them (besides still having the rewards/ quest points)
I just want to make it so certain quests can not be replayed.
Thanks!

I'd like to add that the server restarts on its own daily so the issue is all the players would get to redo all the quests everyday ruining the economy of the server and the quest progressions via quest points.

Thanks for the report. However, you did not follow the issue template. Please create a new ticket including Quests version, example quest, et al.


Patch to change hardware, template, workflow CRDs to namespaced scope

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Overall looks good! Some minor comments. And also we would need to make a note, that all the objects need to be on the same Namespace?


Not working on MacOS Sonoma (M1 ARMS)

After installing the Runtime Status is Not yet activated and the Flow Visualise option (CMD+SHIFT+P) is not available.

Hey @mwille-ese , apologies for the delay here... seems like I thought I'd be notified when issues were created (perhaps they're going into my spam).
Do you have access to another instance of VS Code at all? And do you see any output in the control/problems panel?


Intentional Routes to Error Pages

Hey All,
Are there any built-in routes for purposefully triggering specific error pages? I'd like to tweak the default .htaccess file to rewrite URLs for sensitive files (e.g., dotfiles) so that the 404 page is displayed. Currently, the .htaccess file does a 301 redirect to /error, which leaks information on whether or not a file exists on the filesystem (redirect? it exists. no redirect? it does not exist). In either case, the HTTP response status is 404 (instead of, for example, 403 Forbidden), which is good, but I'd like my 404s to be consistent in not redirecting users away from the URL they originally accessed.
I've found that I can simply rewrite the URL to index.php and it will trigger the Grav 404 page for these files. Is this solution ideal/adequate, or are there possible edge cases that will produce inconsistent results? Is there another solution entirely? Though my use case at the moment is really only concerned with explicitly routing to the 404 page, would it make sense to support routing to any HTTP error status code page?
Regards,
--- Scott
EDIT: After looking into this more, it seems like the current behavior actually differs depending on platform. For example, the .htaccess file does cause a 403 Forbidden to occur, while the web.config file causes a redirect to /error which responds with a 404. Regardless, my end goal is to always return a 404 and never redirect.

I just simplified things by making all errors present as 404. The user doesn't need to know (nor care) what's causing the error.


[HUDI-463] Redo hudi-utilities log statements using SLF4J

What is the purpose of the pull request
Redo hudi-utilities log statements using SLF4J.
Brief change log
Modify AnnotationLocation checkstyle rule in checkstyle.xml
Verify this pull request
Use existing tests to verify the original module.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Please fix the incorrect imports throughtout.

hi, @smarthi  Thank you very much, I addressed commits.

Same question here.. Have we verified the logs actually show up on the demo or some end-end test? the tests could be passing, sure.. since this is a logging only change.. but how are we ensuring each of these modules continues to log correctly? cc @leesf @yanghua

Hi @XuQianJin-Stars firstly, please verify the log print is correct after replacing with slf4j in your local.

Hi @XuQianJin-Stars firstly, please verify the log print is correct after replacing with slf4j in your local.

well, ok

@XuQianJin-Stars Thanks for opening this PR, Could you please reopen and merge this PR to redo-log branch? more context can be found https://lists.apache.org/thread.html/9dc1f3a590413a5224a1a5ad835353e11b2b754e1ec7ad1ca0a55053%40<dev.hudi.apache.org>


Full features of luis prediction

Is your feature request related to a problem? Please describe.
I used luis in composer, and deployed it into the portal.
I got the predict result from luis portal with all intents and instance data:
“{"query":"find a confroom","prediction":{"topIntent":"FindMeetingRoom","intents":{"FindMeetingRoom":{"score":0.430218428},"None":{"score":0.09387313},"CreateMeeting":{"score":0.0279416535},"AcceptMeeting":{"score":0.00673450669},"ShowNextMeeting":{"score":0.00178787776}},"entities":{"SlotAttributeName":[["room"]],"$instance":{"SlotAttributeName":[{"type":"SlotAttributeName","text":"confroom","startIndex":7,"length":8,"modelTypeId":5,"modelType":"List Entity Extractor","recognitionSources":["model"]}]}}}}”
But the composer just get a simple predict result:

Describe the solution you'd like
Provide a way to set the predict options so that we can get more predict result if we need.
https://github.com/microsoft/botbuilder-dotnet/blob/master/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisPredictionOptions.cs
Describe alternatives you've considered

Additional context

I checked the LuisRecognizer schema.
"predictionOptions": {
            "type": "object",
            "properties": {
                "includeAllIntents": {
                    "type": "boolean",
                    "title": "Include all intents",
                    "description": "True for all intents, false for only top intent."
                },
                "includeInstanceData": {
                    "type": "boolean",
                    "title": "Include $instance",
                    "description": "True to include $instance metadata in the LUIS response."
                },
                "log": {
                    "type": "boolean",
                    "title": "Log utterances",
                    "description": "True to log utterances on LUIS service."
                },
                "preferExternalEntities": {
                    "type": "boolean",
                    "title": "Prefer External Entities",
                    "description": "True to prefer external entities to those generated by LUIS models."
                },
                "slot": {
                    "type": "string",
                    "title": "Slot",
                    "description": "Slot to use for talking to LUIS service like production or staging."
                },
                "version": {
                    "type": "string",
                    "title": "Version",
                    "description": "LUIS application version to use."
                }
            }

Out solution to this could be:
let the lubuild to generate a default configure file like this:
{
      predictionOptions: {
             "includeAllIntents" : "=settings.luis.preditionOptions.includeAllIntents",
             "includeInstanceData": "=settings.luis.preditionOptions.includeInstanceData"
      }
}

And user can set those configurations in the settings page, and this configuration is applied to all the luisRecognizers in the bot.
Besides this, we may need to create another two items for externalEntityRecognizer and dynamicLists.
@boydc2014 , @vishwacsena , thoughts?

What's the use case for full prediction results? @luhan2017 @xhr0804

As the above example, SlotAttributeName is a list entity, "room" is a list entity name and "confroom" is a synonym
$SlotAttributeName:room=
- meeting room
- conference room
- confroom

When I ask "find a confroom", the result entity is just a SlotAttributeName "room", but I want to get the text "confroom" which is in the $instance.
For the list entity, if we want to get the original text in the utterance, we all need to open the "includeInstanceData" options. @vishwacsena

@xhr0804 thanks for the clarification. @luhan2017 it makes sense to configure the required properties via predictionOptions in setting. @feich-ms for the luis:build side change to write out the additional properties with the LUIS recognizer configuration. We probably should probably write it out like this to cover cases where the setting is not explicitly specified. Right?
{
      predictionOptions: {
             "includeAllIntents" : "=coalesce(settings.luis.preditionOptions.includeAllIntents, false)",
             "includeInstanceData": "=coalesce(settings.luis.preditionOptions.includeInstanceData, false)"
      }
}

fix here https://github.com/microsoft/botframework-cli/pull/709


setDefaultViewDate could be nice

Expected behaviour
It would be nice if there was a method called setDefaultViewDate, similar to setStartDate, that made it possible to change the defaultViewDate option.
I have created my own period/range calendar, and i want to change the to date datepickers defaultViewDate to the value of the the selected from date
Datepicker version used
1.6.4.
code
If I breakpoint in the setStartDate and run this._process_options({startDate: startDate}); in the console it seams to work. So can this be implemented easily?

Or even better, create a setOptions. this will then run the code this._process_options(newOptions);

I just made a Pull request on this.


Vertical Own Project Timeline With CSS and a Touch of JavaScript

Description
I add new files In that folder, Files belongs to HTML, CSS, JS extensions. in that folder have  Vertical Own Project Timeline With CSS and a Touch of JavaScript.
User can add that projects in own portfolio to show case our projects.
Type of change

[ ] Adding new files
[ ] Index.html
[ ] style.css
[ ] script.js

Explain the Testing instructions
Test Configuration:

Operating system: Window 10
Version: 20h2
Text-editors used: VS Code

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@arpit456jain its responsive and good to be merged .
great work @Shubh14Jain 🎉


Associations question

Hey there, just a quick question. With the associations, are they fully two-way? I'd quite like to be able to SSH into machines on, say, work from home but not be able to access home from work if possible.

Hi @EranStockdale, yes the associations are fully two-way. What you described isn't currently supported, though I suppose you could come up with hacks to get around it by having an SSH forwarding server in between home and work.

Hi @EranStockdale, yes the associations are fully two-way. What you described isn't currently supported, though I suppose you could come up with hacks to get around it by having an SSH forwarding server in between home and work.

Ah alright, thanks!


Meta: go all-in for Azure Pipelines?

Rusoto has a collection of build services in use: Azure Pipelines, TravisCI, AppVeyor and SemaphoreCI. Right now there's little overlap: Pipelines is our main build service, Travis builds our GitHub-hosted API documentation (see https://github.com/rusoto/rusoto/issues/1027 ), AppVeyor does testing on Windows and skeptic tests, Semaphore checks our ability to use S3 compatible storage systems and ensures our crate generation matches each PR.
I propose we consolidate on Pipelines because:

we're moving to docs.rs for documentation
Pipelines provides Windows build machines
a single location to check is easier than three or four

Upsides:

one build badge for READMEs and Cargo.toml files
one place to find build issues
encourages refactoring our Pipeline config into shared files instead of the copy-paste thing I made 😉
encourage all build configurations to be codified in our Makefile

Downsides:

build times may suffer: we'll be leaning heavily on Pipelines instead of spreading the load

Meet halfway?
This doesn't have to be an all-or-nothing approach: we can carve off parts we deem helpful and not work on others. We're very likely to move off TravisCI entirely once our documentation has been updated to point to docs.rs. Will adding two ~45 minute Windows based jobs to Pipelines really slow us down? With the recent history of Rusoto and the fact we have 10 parallel builds available in Pipelines, I don't believe this will be an issue.
What do y'all think?

Totally on board with this! 👍

We run out of disk space on Pipelines with Windows builds, so we'll keep AppVeyor for now.
Once #1418 lands we'll have offloaded the skeptic tests from AppVeyor to Pipelines.


ARROW-8551: [CI][Gandiva] Use LLVM 8 in gandiva linux build

@github-actions crossbow submit gandiva-jar-xenial

Can we move the Docker image for building Gandiva on Linux to our ci/docker/ like https://github.com/apache/arrow/blob/master/python/manylinux201x/Dockerfile-x86_64_base_2014 ?


在使用vite3版本的时候，会出现Dynamic require of "path" is not supported的错误

failed to load config from E:\Project\Vue3\xl-xling-admin\vite.config.ts error when starting dev server: Error: Dynamic require of "path" is not supported     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:775     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:2352     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:891     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:2:32192     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:891     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:2:32554     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:891     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:2:61536     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:1:891     at file:///E:/Project/Vue3/xl-xling-admin/node_modules/.pnpm/vite-auto-import-resolvers@3.0.1_v5xq3qlwvf4akn2un7a5tsc4oq/node_modules/vite-auto-import-resolvers/dist/index.mjs:2:65541  ELIFECYCLE  Command failed with exit code 1.

@XAllure 靓仔你好，已确认 bug，请等待修复

@XAllure 靓仔你好，已更新，请更新版本到 ^3.0.3。具体变动可见 👉 releases/tag/v3.0.3

@XAllure 靓仔你好，已更新，请更新版本到 ^3.0.3。具体变动可见 👉 releases/tag/v3.0.3

OK，感谢修复！


Kubernetes: Problems with RBAC & multiple Namespaces

Do you want to request a feature or report a bug?
bug
What did you do?
I tried to use Traefik as an Ingress Controller in an RBAC restricted Kubernetes Cluster with multiple namespaces.
What did you expect to see?
I expected that it would be enough if Traefik has the rights to access Ingresses from the respective namespaces.
What did you see instead?
RBAC permission denied errors.
Output of traefik version: (What version of Traefik are you using?)
traefik:1.3.0-alpine
I configured Traefik to watch multiple Namespaces:
[kubernetes]
namespaces = ["default", "`test"]

Traefik is deployed with a ServiceAccount which has the respective rights, but only for the default and test namespace (not cluster-wide). Traefik is implemented to retrieve Ingresses, Services, Endpoints and Secrets cluster-wide and than only filters the results. This means that Traefik requires cluster-wide access to Ingresses, Services, Endpoints and Secrets (https://github.com/containous/traefik/blob/master/provider/kubernetes/client.go).
It would be nice if Traefik would only requires the rights that are absolutely necessary.

/cc @dtomcej @errm

Very much agree here, PTAL at this thread.
Traefik should preferably write its own RBAC Roles dynamically depending on what it needs to have access to

I was also bitten by the problem very recently when we enabled RBAC in our cluster.
Will likely tackle this soonish.

@luxas IIUC, you're suggesting to let Traefik update its RBAC role during runtime by the concrete secret resource names it needs. Wouldn't that require privileges to extend roles arbitrarily with regards to the affected resources?
I'm wondering if that could be considered as an undesirable form of privilege escalation. WDYT?

@timoreimann Agree, I thought about that as well without proposing something concrete to fix it.
The other (better way) would be to just build a Traefik RBAC controller that would adjust these rules.
Then it wouldn't necessarily be that bad if someone unauthorized got to run arbitrary commands from the Traefik container, it just wouldn't have unnecessary privs.
This RBAC controller can probably be done in a more generic Ingress-y way, let's talk to the kubernetes/ingress folks as well to see what they think.
cc @aledbf @ericchiang @liggitt @nicksardo

I'm wondering if this list of the namespaces can be made dynamic in some form, so that it was easy to use traefik with CI/CD without frequent restarts. In this scenario the workload can be deployed into tens of namespaces, the list of which is not known in advance. E.g. the names will be something like app-preview-[repo-name]-[branch-name].

@kachkaev that definitely seems feasible, though with a bit of effort and design considerations.
Either way, it seems to warrant its own separate issue. Feel free to open one.

with fuzzy matching of namespaces, you run into cardinality issues. every request must be evaluated against all relevant RBAC bindings. namespaced bindings are only evaluated for requests to that namespace. a fuzzy binding like you describe would have to be evaluated against a request to any namespace, to see if the namespace matched the pattern.

It might be more easily feasible to do the filtering on Traefik's end: Have it watch over all namespaces additions/removals, apply the configured namespace pattern, and add/remove informers accordingly.


Upgrade oapi-codegen dependency

Description
Because of the way old versions of oapi-codegen were structured, they pull in a lot of transitive dependencies like Iris and Gin web frameworks, needlessly increasing the dependency tree for any project importing oapi-codegen generated code, including this Typesense client. Read more about it at https://www.jvt.me/posts/2023/10/23/oapi-codegen-v2-decrease/
Would it be possible to upgrade the dependency?

I've published a new version of the client with latest openapi changes.

Sorry, the above comment was for another issue :)
As for this issue, yes, I will look into what it will take to upgrade.

I took a look at upgrading oapi-codegen and it went fairly smoothly, after figuring out how to get code generation tools running.
The diff of updating oapi-codegen itself looks like this: https://github.com/typesense/typesense-go/commit/e4cd9e3c19a1ac7ff03ee4fcbb7b8a953fafd67d
My current use case is fairly simple so the fact that the change didn't cause any breakage there is not particularly surprising, but the update does look great from a dependency reduction perspective: https://github.com/cysp/terraform-provider-typesense/compare/main...cysp/oapi-codegen-v2
I've spun out a couple of preparatory changes to allow running code generation tools:

https://github.com/typesense/typesense-go/pull/163
https://github.com/typesense/typesense-go/pull/164

If you like the overall approach and diff, I'll raise a pr with the actual upgrade once those are applied.

Thank you @cysp -- I will be reviewing the PRs over the next few days. I can merge them to a temporary branch and then merge back into master once all PRs are done.

Thanks 🙂
I've rebased and raised https://github.com/typesense/typesense-go/pull/165 targeting that branch with the oapi-codegen v2 upgrade itself.

@cysp
Thanks, I have merged that PR, but it seems like we also need to either move the code into v2 directory or update gomod to tag it: https://github.com/typesense/typesense-go/issues/162#issuecomment-2164987726
If you can help with with this one as well as part of this change, I will test that branch fully once before merging it back to main branch and doing a release. Thanks.

Looking at the changes in v2, are they actually a semver-major change? The phrasing in the upgrade notes sounds like the added generic types are an optional feature rather than a source-breaking one. It seems like the simplest solution would be to release that as an update in the v1 release line rather than bumping the major version, given all of this rigmarole with changing import paths.
Would that be an option?

@cysp
Can you also please update the README with how one can run the generator after the move to go run?

👍 there was already a note about using go generate, so I've updated that to execute generation across the entire package and removed the note to configure $GOBIN as that is no longer required:
https://github.com/typesense/typesense-go/pull/166

Thank you so much @cysp -- published v1.1.0 with all your changes.

Nice one, cheers. I just applied the v1.1.0 update in my project that uses this library and it all went swimmingly 🙂


Why ES6 Proxies?

Could it be achieved with accessors, and therefore compatible with older browsers? Windows 10 still ships with IE 11, and I bet plenty of people are still not on IE 11.
Is there something specific that they are needed for?
Vue for example, uses getters/setters to make POJO-like simplicity.

Thanks for that insight!

You can technically use Solid renderer without the State object with S.js signals and it would be more performant (and be hard to tell apart from Surplus)

Interesting! Can you make a small example snippet of using signals instead of the state API?


Throws 500 exception with ignoreHttpErrors set to true

Even if I set ignoreHttpErrors(true), my code throws IOException as 500 - Internal Server Error.
If I check with java.net.HttpURLConnection.getHeaderFields(), then the response is,
{}
The URL which I have this problem is
http://homemdllc.net
Can I get the status code even if HTTP error occurs in JSoup?

This is not a bug. It was answered here http://stackoverflow.com/questions/29003447/jsoup-throws-500-exception-with-ignorehttperrors-set-to-true#comment46301660_29003447 .

For the given url no HTTPException thrown as in reference link

@AlkisKalogeris that comment's been deleted, and I don't know what was there.
It seems like a bug to me; docs says it doesn't return an exception, and it does.
In this case, the bug is stemming from the server returning a Status 500 with Content-Length=0 (which is valid). When jsoup tries to read the error or input stream, Java throws an IO Exception, because there's no content.
I have fixed the bug by checking that content-length != 0 before trying to read the content.
@Vanaja1505 thanks for the report.

@jhy Thanks for your support...


made-whitelist-more-specific

users are having issue with the logging being too verbose.
this has been fix by making the whitelist be more "specific" ... "error" and "warn" strings are too generic.
the new white list should filter only what we need

Codecov Report

Merging #291 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #291   +/-   ##
=======================================
  Coverage   97.00%   97.00%
=======================================
  Files          31       31
  Lines        1001     1001
=======================================
  Hits          971      971
  Misses         30       30

Impacted Files
Coverage Δ

src/util/childProcess.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Support JSON encoding and decoding

While, in actually, JSON encoding and decoding is used rarely with cookie. At least, I never use it. But we can support it with an abstract transformer. JSON.stringify and encodeURIComponent are both encode transformer, JSON.parse and decodeURIComponent are both decode transformer. So we can make the code concise and extensible.

https://github.com/Alex1990/tiny-cookie#faq


Exclude out of bounds times

Description
Implements #1135. Use it by setting the excludeOutOfBoundsTimes prop on the DatePicker component. Example:
<DatePicker
  selected={this.state.startDate}
  excludeOutOfBoundsTimes
  onChange={this.handleChange}
  minDate={new Date()}
  placeholderText="Click to select a date"
  showTimeSelect
/>

How it works:

If you set a minDate or a maxDate, all times before that date's time will be deselected (if the active date matches the minDate or maxDate)
If you switch dates and select an available time, but then come back to the minDate or maxDate, that time will not be highlighted. I accomplished this by going to the renderTimes function of the Time component and change the base to be activeTime instead of new Date() - I hope there won't be any unexpected side effects.

Caveat: I didn't have time to add tests, but I added examples in the documentation site.
Result
Min Date

Max Date

I guess "excludeOutOfBoundsTimes" is not implemented now in the official package. That's why it's not working for me.

Great, I need this, when can it be merged and released?

We need to get this merged, it makes so much sense to have it.

Any updates on this?

I don't have any problem with it being merged

Please merge

PLEASE merge it...

Also looking for this feature to enforce min/max datetime. Anything holding this up?

Hi @khiner, I am neither the author nor a maintainer of this library. I implemented the PR because I needed it for my own purposes at the time. @Hacker0x01 is the one to talk to.

I made it work this way:
const [startDate, setStartDate] = useState(new Date());

const IsSelectedDateToday = new Date().getDate() === startDate.getDate();

let minTimeHour = new Date().getHours();
if (!IsSelectedDateToday) minTimeHour = 0;

return (
  <DatePicker
      showTimeSelect
      selected={startDate}
      onChange={date => setStartDate(date)}
      minDate={new Date()}
      minTime={new Date(new Date().setHours(currentHour, 0, 0, 0))}
      maxTime={new Date(new Date().setHours(23, 59, 0, 0))}
      placeholderText="Select date and time"
   />
);

Please merge this...
Thanks @ajaxtown for the makeshift solution. Assuming you mean minTimeHour instead of currentHour in the minTime parameter. It will also set the min time as the hour you're currently in, so its still possible to set a time in the past.

I made it work this way:
const [startDate, setStartDate] = useState(new Date());

const isSelectedDateToday = new Date().getDate() === startDate.getDate();

let minTimeHour = new Date().getHours();
if (!isSelectedDateToday) minTimeHour = 0;

return (
  <DatePicker
      showTimeSelect
      selected={startDate}
      onChange={date => setStartDate(date)}
      minDate={new Date()}
      minTime={new Date(new Date().setHours(currentHour, 0, 0, 0))}
      maxTime={new Date(new Date().setHours(23, 59, 0, 0))}
      placeholderText="Select date and time"
   />
);

This is extremely helpful, thank you. As mentioned in the comment below, the problem is that if you are within the same hour for example it still shows the time when it shouldn't. So, if it is 17:23 it is still allowing me to select 17:00 which it shouldn't. Any suggestions on how to fix that?

Please merge this...
Thanks @ajaxtown for the makeshift solution. Assuming you mean minTimeHour instead of currentHour in the minTime parameter. It will also set the min time as the hour you're currently in, so its still possible to set a time in the past.

I have asked ajaxTown if they have a solution for the being able to set a time in the past but also asking you in case you had a solution?

So, if it is 17:23 it is still allowing me to select 17:00 which it shouldn't. Any suggestions on how to fix that?

@ericvanular @Jonofat you can manage the time this way:
  const [startDate, setStartDate] = useState(new Date());

  const isSelectedDateToday = new Date().getDate() === startDate.getDate();

  let minTimeHour = new Date().getHours();
  if (!isSelectedDateToday) minTimeHour = 0;

  const date = new Date;
  const currentMins = date.getMinutes();
  const currentHour = date.getHours();

  return (
    <DatePicker
        showTimeSelect
        selected={startDate}
        onChange={date => setStartDate(date)}
        minDate={new Date()}
        minTime={new Date(new Date().setHours(hour, minutes, 0, 0))} // this is the change
        maxTime={new Date(new Date().setHours(23, 59, 0, 0))}
        placeholderText="Select date and time"
     />
);

@ajaxtown, thank you! This looks pretty good and is working for the current date. However if I choose tomorrow or any day in the future it still limits the time to what it is now eg: If it is 3:30pm it shows from 4pm. So I can't pick anything before 3:00pm for tomorrow which I should be able to.
I have had to change my code unfortunately before you posted your answer:
const DatePickerField = ({ ...props }) => {
  const { setFieldValue } = useFormikContext();
  const [field, meta] = useField(props);
  const [startDate, setStartDate] = useState(new Date());

  const isSelectedDateToday = new Date().getDate() === startDate.getDate();

  let minTimeHour = new Date().getHours();
  if (!isSelectedDateToday) minTimeHour = 8;

  const date = new Date();
  const currentMins = date.getMinutes();
  const currentHour = date.getHours();

  return (

      <DatePicker
        {...field}
        {...props}
        selected={(field.value && new Date(field.value)) || null}
        onChange={(val) => {
          setFieldValue(field.name, val);
        }}
        value={(field.value && new Date(field.value)) || null}
        minTime={new Date(new Date().setHours(currentHour, currentMins, 0, 0))}
        maxTime={new Date(new Date().setHours(17, 0, 0))}
        maxDate={addDays(new Date(), 3)}
        excludeTimes={excluded.map((exclude) => {
          if (field.value && field.value.getDay() === exclude.day) {
            return new Date(new Date().setHours(exclude.time, 0, 0));
          }
          return null;
        })}
        className="date-input"
      />

        {meta.error && meta.touched && meta.error}

  );
};

export default DatePickerField;

@Jonofat ah yes, I missed that one out. Thanks for testing and letting me know. I have edited my answer to tackle that scenario as well.

@ajaxtown, thanks once again! I have edited my code above with your changes but it seems to still be doing the same thing ie: issue not resolved. I am trying to troubleshoot...

@ajaxtown  Ah, I spoke too soon! One last issue I think. If I have my max time is 5pm (ie: I should not be able to choose a time past 5pm on any given day ) and it is now 5:37 pm, it should show no times for today but it is showing everything from 00:00 to 23:00. It was working 100% when it was before 5pm today.

@Jonofat can this be a timezone issue ?

@ajaxtown, I don't think it is a time zone issue ( I am working on my localhost). I have only allowed times between 8am and 5pm on Monday - Friday and 8am - 1pm on Saturday. But it is showing times for a whole 24 hours and ignoring my allowed times so I think it might be something else?
const excluded = [
  {
    time: "14",
    day: 6,
  },
  {
    time: "15",
    day: 6,
  },
  {
    time: "16",
    day: 6,
  },
  {
    time: "17",
    day: 6,
  },
];

  const isSelectedDateToday = new Date().getDate() === startDate.getDate();
  const isSelectedDateInFuture = +field.value > +new Date();

  const date = new Date();
  let currentMins = date.getMinutes();
  let currentHour = date.getHours();
  if (isSelectedDateInFuture) {
    currentHour = 8;
    currentMins = 0;
  }

minTime={new Date(new Date().setHours(currentHour, currentMins, 0, 0))}
maxTime={new Date(new Date().setHours(17, 0, 0))}

        excludeTimes={excluded.map((exclude) => {
          if (field.value && field.value.getDay() === exclude.day) {
            return new Date(new Date().setHours(exclude.time, 0, 0));
          }
          return null;
        })}


Fixed #18247 -- Added cast to NUMERIC for Decimals on sqlite

On sqlite the SUM() of a decimal column doesn't have a NUMERIC type so when comparing it to a string literal (which a Decimal gets converted to in django) it is not compared as NUMERIC as may be expected.
Added CAST to NUMERIC type when using a SQL function that is expected to return a Decimal
Ran all tests in sqlite.

buildbot, add to whitelist.

Would it make sense to implement a CAST expression and wrap that around, @akaariai, @jarshwah?

You could try to implement a Cast expression, but the differences between casting across backends is fairly significant. I don't think it's worth the extra overhead here to use a another local/private expression when its only job is to produce static strings.

FWIW, there's a PR about implementing CAST: https://github.com/django/django/pull/4809.

merged in 3bbaf84d6533fb61ac0038f2bbe52ee0d7b4fd10, thanks!


Loom throwing compiler exception

CompilerException java.lang.IllegalArgumentException:
No implementation of method: :src of protocol:
#'loom.graph/Edge found for class: java.lang.Long,
compiling:(form-init6444626591033701781.clj:1:12)

Appears to be caused by the (now several-years-old) version of Loom that the original repo depended on. I will work on fixing this in the coming week or so.

Dependencies have been brought to current versions.


PiCameraRuntimeError: No data recevied from sensor

Tried running mobilenet based classifier on vision kit. I was getting following error. Although demo script is running perfectly.
`
pi@raspberrypi:~/AIY-projects-python/src/examples/vision $ ~/AIY-projects-python/src/examples/vision/mobilenet_based_classifier.py   --model_path ~/retrained_graph.binaryproto   --label_path ~/retrained_labels.txt   --input_height 160   --input_width 160   --input_layer input   --output_layer final_result   --preview
Traceback (most recent call last):
File "/opt/aiy/projects-python/src/aiy/_drivers/_spicomm.py", line 137, in transact
fcntl.ioctl(self._dev, SPICOMM_IOCTL_TRANSACT, buf)
OSError: [Errno 14] Bad address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/AIY-projects-python/src/examples/vision/mobilenet_based_classifier.py", line 110, in main
for i, result in enumerate(camera_inference.run()):
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 76, in run
yield self._engine.camera_inference()
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 257, in camera_inference
return self._communicate(request).inference_result
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 187, in _communicate
response.ParseFromString(self._transport.send(request.SerializeToString()))
File "/opt/aiy/projects-python/src/aiy/_drivers/_transport.py", line 33, in send
return self._spicomm.transact(request)
File "/opt/aiy/projects-python/src/aiy/_drivers/_spicomm.py", line 152, in transact
raise SpicommInternalError
aiy._drivers._spicomm.SpicommInternalError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/AIY-projects-python/src/examples/vision/mobilenet_based_classifier.py", line 129, in main
'ascii','backslashreplace').decode('ascii')
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 87, in exit
self.close()
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 79, in close
self._engine.stop_camera_inference()
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 263, in stop_camera_inference
self._communicate(request)
File "/opt/aiy/projects-python/src/aiy/vision/inference.py", line 189, in _communicate
raise InferenceException(response.status.message)
aiy.vision.inference.InferenceException: StopCameraInference: Camera inference is not running.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/AIY-projects-python/src/examples/vision/mobilenet_based_classifier.py", line 135, in
main()
File "/home/pi/AIY-projects-python/src/examples/vision/mobilenet_based_classifier.py", line 132, in main
camera.stop_preview()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 758, in exit
self.close()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 752, in close
raise exc
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 1995, in _control_callback
"No data recevied from sensor. Check all connections, "
picamera.exc.PiCameraRuntimeError: No data recevied from sensor. Check all connections, including the SUNNY chip on the camera board
`
I believe the problem is not with connections as all the demo script are working without any problem.
Thanks in advance for your help in troubleshooting.

Same problem here.

BTW which image are you using? It might be the case that this is specific to latest version of the image.

@barnwal-paras which demo script is working for you? If that's a JoyDemo, did you disable it before running other demos?

I was running into this same exact issue until I updated to the latest version of the image. From your vision kit run:
sudo apt-get update; sudo apt-get upgrade; sudo reboot

@barnwal-paras Did you run the same update command as @ritwikbiswas  did?  Updating like this could cause a problem, please try to use our SD-card image if possible.

I am having the same issues as the folks above.
I am just starting out on Tensorflow & AIY Vision Kit. I am able to completely build Tensorflow for Poets on Colab as well as on a GCE instance (NVIDIA K80 GPU). I do this with 160 size and 0.5.
I then compile the PB file into a BinaryProto and upload it (and the retrained_labels.txt) to the RPI. When I run the mobilenet_based_classifier.py file, the program crashes after 5 seconds of seeing what the camera sees and I get the following 3 errors:
PI Camera Runtime: No Data received from sensors
AIY Vision Inference: Camera is not running
AIY Drivers Spiccom internal error
Any ideas?
Thanks.

@JakeBMalis
Did you update your SD card to the latest version? To support deploying retrained model, you need to use the latest version of SD card.
https://aiyprojects.withgoogle.com/help/#updating-your-sd-card
Could you paste the output of
cat /etc/aiyprojects.info
and dpkg -l aiy*?
Thanks

Hi @dmitriykovalev , I update my SD card image as as @ritwikbiswas did, but I am still having the same problem, did you mean we should reflash SD card directly?

Thanks much!

@Aileenlingyu Right, reflash SD card directly from the latest image file from https://github.com/google/aiyprojects-raspbian/releases

Hi @dmitriykovalev , thank you for the suggestion! After re-flashing my SD card, I am now able to successfully test almost all built-in models such as mobilenet_v1_160res_0.5_imagenet.binaryproto, while I am still having the error when I tried the following cmd:
python3 test_run_model_on_bonnet.py --model_path face_detection.binaryproto --input_height 1640 --input_width 1232
Could you please advise how should I test the built-in face detection model using the correct command? What kind of input tensor size shall I use here?
Thank you!

@Aileenlingyu
face_detection.binaryproto is a very special case, i.e., it is a collection of models. That is why it does not have a corresponding TF frozen graph. But if you really want to test that, you can try to change name='test_run_model', to  name='FaceDetection' in test_run_model_on_bonnet.py. You can use the height and width you were using.

Hi @weiranzhao , thanks a lot! I am now able to test face detection model as well.


Awake - Keep awake until expiration crash settings window

Microsoft PowerToys version
0.69.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Awake
Steps to reproduce

go into Powertoys settings,
choose "Away" page,
choose "Keep away until expiration"
settings window will disappear, Away notification area icon is present, right click shows greyed-out "Keep away until expiration" is ticked.
Powertoys settings can be opened again, Away settings can be reverted without settings window crashing.
Powertoys apps are not crashed/exited when this happens.

✔ Expected Behavior
when choosing "Keep away until expiration", something will show up to let me pick a time/date or duration, or anything that signifies an event "expiration".
❌ Actual Behavior
Unclear. it never worked so I did not leave it on.
Other Software
No response

Presumably same issue as #25300 please close this one if redundant.


add .jshintrc file #247

Adds .jshintrc file, that can be used with JSHint from terminal, or automatically with SublimeLinter.

+1  It helps in finding some bugs early
~/git/democracyOS$ jshint index.js lib/*/*.js | grep 'not defined'
lib/admin-laws/view.js: line 72, col 36, 'log' is not defined.
lib/facebook-card/index.js: line 14, col 21, '_handleError' is not defined.
lib/feedback/uservoice.js: line 11, col 3, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 18, col 3, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 27, col 3, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 33, col 3, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 33, col 30, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 36, col 3, 'UserVoice' is not defined.
lib/feedback/uservoice.js: line 45, col 3, 'UserVoice' is not defined.
lib/participants-box/view.js: line 53, col 14, 'log' is not defined.
lib/participants-box/view.js: line 56, col 14, 'log' is not defined.
lib/participants-box/view.js: line 74, col 3, 'participantsCounter' is not defined.
lib/participants-box/view.js: line 76, col 3, 'participantsCounter' is not defined.
lib/proposal/proposal.js: line 17, col 3, 'bus' is not defined.
lib/request/request.js: line 31, col 27, 'csrfToken' is not defined.
lib/settings/settings.js: line 64, col 8, 'config' is not defined.
lib/settings/settings.js: line 65, col 21, 'config' is not defined.
lib/stats-api/index.js: line 24, col 21, '_handleError' is not defined.
lib/stats-api/index.js: line 31, col 23, '_handleError' is not defined.
lib/stats-api/index.js: line 38, col 25, '_handleError' is not defined.
lib/stats-api/index.js: line 45, col 27, '_handleError' is not defined.
lib/stats-api/index.js: line 50, col 29, '_handleError' is not defined.
lib/stats-api/index.js: line 55, col 31, '_handleError' is not defined.
lib/stats-api/index.js: line 60, col 33, '_handleError' is not defined.
lib/twitter-card/index.js: line 13, col 21, '_handleError' is not defined.

If needed, I don't mind helping with cleaning up, it's a nice way to get familiar with the code.

We'll be adding a definitive approach to this in 1.0


Add "transform" callback to input() method

Imagine you're typing a password. It could be nice to do something like this:
input(transform { ch -> '*' })

If you do this, the underlying value is still valid. It's only what's printed to the screen that is changed.
Question: Should the transformation work per character? Or on the whole input?
e.g. password could be this:
input(transform { str -> "*".repeat(str.length) })

The transform method should definitely return a single character. There's a bunch of logic around cursor movement that would be really weird if the transformation was not one to one.


Fix get_method_list of GDScript to properly fill the returning array

Fix https://github.com/godotengine/godot/issues/33624

Any updates on this? jw

we need this

I'm not sure, but probably GDScript::get_method_info() should also be fixed.

It's been 2 years since the last update, this PR is worth rebasing and testing. Adding the missing info shouldn't break anything, but I think we should make sure it's actually correct now.
I agree with you about unit tests. We should also document that in release builds, info may differ from debug builds.
I can do it if @Chaosus doesn't have the ability or desire to do it now for some reason. But do we want to include it urgently in 4.1 or we can postpone it to 4.1.x?

But do we want to include it urgently in 4.1 or we can postpone it to 4.1.x?

There is no urgency, but it could help people like @MikeSchulze if we're able to merge it. It's a bug after all. If it was only an enhancement PR, it would have been already postponed to 4.2.
Let's give ourselves some time (like until Monday) to decide.

Superseded by #81079.

Thanks for the PR nonetheless!


Rule reorder for complex environment

Community Note

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

Description
Because of very large (thousands of apps & policies) and complex env, we use multiple states for resources and policies on ZPA.
With the new way of ordering policies, it's no longer possible and it reduces optimization as we have to go through all policies to perform a reorder (there is no Policy data source).
The new reorder resource requires full list of policies (or at least ordered first ones) otherwise :
Error: missing rule order numbers: [1]; rule orders ([2]) exceed the total number of rules (1)
Example of failure case:
File1.zpa : push policies from order 1 -> 10 : OK
File2.zpa: push policies from order 11 -> 20 : KO because 20 is higher than 10 (count)
Suggestion
The following code should get rules count from API and not using len of input object:

total value is "len(orders.Orders)":

@sofianeaccr
Thanks for bringing this up. There will be a new endpoint available for bulk reorder in the next 2-3 weeks. The Bulk reorder, will allow Terraform to send a list containing all rule IDs that need to be reordered. The previous endpoint to allow individual reorder will still be available. You can follow the PR#183.
Regards
William

@sofianeaccr  --> PR #389

@sofianeaccr sofianeaccr
The new Provider version v3.1.0 now supports bulk rule reorder.
Thank you

@willguibr Thanks, I'll test.


How does one set the HUBOT_GOOGLE_HANGOUTS_DOMAIN for a regular gmail account (not a google apps account)?

The two domains I have are locked down. :/
When I get links generated like this, I don't see where to put a domain - https://plus.google.com/hangouts/_/g2p33dpcj3htcwhhidd2l6pxnma

If it helps, I've noticed that domains generally prefix the generated hangout ID, meaning your URL could be:
https://plus.google.com/hangouts/_/<domain>/id

There's also a query string parameter authuser=n which specifies which account to use in the chat if you're logged into more than one account.
YMMV.

So basically this only works with google apps and not regular gmail accounts.

Not sure, I was just talking about the URLs generated for G for domain hangouts, I may be misunderstanding the problem.

The one I posted has no domain. Just _/id

Ah for what you may be missing - the hubot script requires the environment variable to be set.

Oh, I see. So something like
export HUBOT_GOOGLE_HANGOUTS_DOMAIN=''

would result in
https://plus.google.com/hangouts/_//<id>

... which doesn't work. Maybe filter the double slash in the plugin code?

Any tops on this? I dont have a Google Apps account just a normal Gmail account

Has anybody tried the #9 solution?

I just saw the link. :) I might give it a shot and let you know.


Errorf seems to have lost the original error embedded with %w

In this case, errors.Is and errors.As won't work properly.
Furthermore, after discovering that Wrap and Errorf wrapped an error, it should be determined whether it is an OopsError. If it is, wouldn't it be better to join the context?

The context is joined lazily with a recursive chain traversal, eg when LogValuer gets called.
I don't think we need unnecessary processing until the error is rendered.
I just made a fix for errors.Is and errors.As in the context of oops.Errorf(...)

Thank you for your quick fix. It makes sense about "unnecessary processing".


No placeholder for date input

Issue: No placeholder and input name for date input i.e. the button doesn't say the input is "DOB", neither does it show a placeholder DD/MM/YYYY. The input and followups just work fine.
Expected Behaviour: The user should be told that the input is DOB.
Browser: Google chrome vr 100.0.4896.79
Device: Realme Narzo 20/7i Eu
Platform and version: Generic Android 12

Thank you


Update README.md

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/TinaLiuGirl/TinaTest, working directory: W:\v0sl-s, target branch: master, target branch commit: 9cd48c6f5c77ce10d0aa47faca4d1d85add50040, source branch: Local4, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 128: [Error] Pull content in folder W:\tgs3-s_themes failed. Error: remote: Repository not found. fatal: repository<EMAIL_ADDRESS>not found

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


assert clause in comprehensions

I find myself wanting to drop an assert in a comprehension in place of an if where I don't want to deal with the else case. I don't want to ignore entries, I want to fail with a proper reason.
Is that something we could support?

I don't really see any good reason why not.
The only concern is it might lead people to expect that you can use assert in other sorts of expressions. But since an assert doesn't obviously have a "value", I don't see how that would be a very common problem.
Note also that we already have an existing request to support let in comprehensions.
I'm happy to add both these features to the language as soon as you guys are ready to implement backend support for them.

@tombentley let me know when you're ready to start working on this one.

Related: #3483

@gavinking wrote:

The only concern is it might lead people to expect that you can use assert in other sorts of expressions.

Has asserts in other expressions been considered? Why is it a concern? Many times I have wanted to do things like:
iterable.map((x) => assert (is String x))
iterable.map((x) => assert (is Float parseFloat(x)))

.. where assert would return the narrowed type (therefore not requiring assignment to a variable for storing the narrowed result in the second example).


Multiple dates.

It is possible to click on multiple dates and then somehow select these date with javascript?

HI, this is possible for https://github.com/tempusdominus/bootstrap-3


generating offline master-addresses

Is it possible to generate offline master-addresses using this lib? I didn't find anything about that in doc.
I know with BTC we can.
from monero.wallet import Wallet
from monero.backends.offline import OfflineWallet
backend = OfflineWallet(?, ?)
w = Wallet(backend)

found it https://monero-python.readthedocs.io/en/latest/seed.html


Version collection missing from running instance

On a running dev instance, I would expect a {'_id': 'version', 'database': 2} document to exist in the version table, but no version table exists:

This was changed in flywheel-io/flywheel#173, closing.


help me plz

I have filled in the API and url, and clicking translate works fine too. However, the translated content is exactly the same as the original text without any difference. Why is this? Please help me, thank you very much.

I am using the provided web page.

Screenshot? From which language to which language?

I'm using the default text, translating from Japanese to English. Did I set something wrong? The other texts I uploaded also have this reaction. I feel like I've made a basic mistake😢

I have not the custom base URL provider before, but what I see from its docs, it can be:
https://openkey.cloud/v1

Many thanks! I switched to the official OpenAI API and it works normally now. I think there must have been a problem with the original API. Thank you for your answer!🤞🤞🤞

Ok. Though I think the custom endpoint should also work if add the v1behind.

I just tried again, it seems to be of no use, I'm not sure what the situation is. However, the problem has been resolved now, thank you.🙏


Performance tuning suggestions

Since it seems like more people have joined the "customize git commit hashes because why not" bandwagon (welcome!), I figured I'd share some insights from doing a lot of performance tuning on my own implementation from a few years ago. Obviously, none of this should be taken to discourage new implementations or to ruin any fun.
In decreasing order of effectiveness, the main things that helped were:

Running on a GPU (this improved performance by roughly a factor of 10, depending on hardware)
Caching SHA1 buffer state. The tl;dr is that if you put the nonce at the end of your commit message (or signature, if applicable), you can cache the state of the SHA1 algorithm as applied to all but the last ~64 bytes of the commit, and then reapply the cached state to the last 64 bytes on each attempt. This improved performance by a factor of about 4-5 or more, depending on how big the commit is.
If the nonce is always the same length, then the trailer that the SHA1 puts at the end of data when hashing is also effectively fixed, and I was able to improve the performance of lucky-commit by about 25% by not recomputing it each time.

(Also mentioning @mkrasnitski from https://github.com/mkrasnitski/git-power-rs)

Thanks for the optimization tricks! Glad to see other people have had similar ideas-- it seemed pretty obvious when I wrote it.
I'll have to look into caching SHA1 state and brute forcing from the end. Currently, the nonces are stored about halfway through the data (example here) so that would likely be a significant speedup.
As for a GPU implementation, that would be significantly faster. I haven't had time to implement that yet and wasn't sure if it was worth the effort. Seeing that you've done it for basically the same problem is certainly good news though.

If the goal is to hide our changes to the commit, would this not make it viable to append to the end of a commit? The nonce will appear in the commit message this way, and even extra whitespace is technically detectable (if non-standard whitespace chars are used). This would also not be compatible with signed commits, where we are basically forced to put the nonce in the middle of the commit data.

If the goal is to hide our changes to the commit, wouldn't this make it unviable to append to the end of a commit? The nonce will appear in the commit message this way, and even extra whitespace is technically detectable (if non-standard whitespace chars are used).

The way I implemented this was to append a combination of spaces and tabs to the end of the commit message. This is technically user-visible, but I haven't found it to be a noticeable problem in practice (e.g. GitHub automatically trims commit messages).

This would also not be compatible with signed commits, where we are basically forced to put the nonce in the middle of the commit data.

You're right about signed commits -- for that case I put the whitespace at the end of the signature (and cache up to that point). This reduces performance compared to the no-signature case, but is still much faster than not caching at all, or putting the whitespace at the beginning of the signature.

Thinking a bit further, it may still be worth it to cache the state of the SHA-1 buffer up to the location of the nonce

Yes, this is a good idea. To ensure that the number of 64-byte blocks that need to be rehashed on each attempt is minimal, I also add padding before the nonce so that the nonce starts at an offset of 64 bytes from the start of the commit header (the full padding format is described here). My nonces are 48 bytes long (to allow for enough entropy due to only containing spaces and tabs), so this might be less likely to be necessary when using shorter nonces.


Font size mismatch in adaptive cards when url unfurls in teams

Describe the bug
When the Url is unfurled in teams by using link unfurling, font size for medium text is exptected to be 18px as per figma link in design docs but it is 17px.
To Reproduce
Steps to reproduce the behavior:

Go to https://adaptivecards.io/designer/
On the prepopulated adaptive card inspect and check the font size.
The font size is 17px and the same is reflected in unfurled adaptive card.

Expected behavior
The expected font size is 18px.
Screenshots
Below Image represents behaviour in https://adaptivecards.io/designer/

Below Image represents behaviour in our unfurling implementation

Desktop (please complete the following information):

OS: [Mac] ( could be an issue in other OS as well)
Browser [ chrome, safari]
Version [all]

Also please let us know if we can configure the size manually.

@Abhiram219 - We are looking into this I will get back to you soon.

@Abhiram219 - We are able to repro this issue and we have raised a bug for it. We will let you know once we get updates on it.

@Abhiram219 - This is by design. Teams client has our own designed font size system, not necessarily aligned with Adaptive Card Designer.


node sass rebuild not working for ionic app

Agastyas-MacBook-Air:ionic-firebase-chat-master EnterTheAku$ ionic serve
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
(node:44321) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
There is an error in your gulpfile:
Error: The libsass binding was not found in /Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64-48/binding.node
This usually happens because your node version has changed.
Run npm rebuild node-sass to build the binding for your current node version.
at Object.sass.getBinaryPath (/Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:158:11)
at Object. (/Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:16:36)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/index.js:186:21)
Agastyas-MacBook-Air:ionic-firebase-chat-master EnterTheAku$ npm rebuild node-sass

<EMAIL_ADDRESS>install /Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/node_modules/node-sass
node scripts/install.js

module.js:457
throw err;
^
Error: Cannot find module 'is-property'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/node_modules/gulp-sass/node_modules/node-sass/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/index.js:1:80)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/Cellar/node/6.4.0/bin/node" "/usr/local/bin/npm" "rebuild" "node-sass"
npm ERR! node v6.4.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/EnterTheAku/Desktop/Ionic Vault/ionic-firebase-chat-master/npm-debug.log

Sorry, you didn't follow the issue template, so we can't help you.

Your version of node-sass is too old for Node 6. Down grade to Node 4 or update to<EMAIL_ADDRESS>


a problem occurred when I tried to run the example

hi, my name is peter and I'm new to python.
I got some errors when I tried to run the simple example after I installed chatterbot. could please advise how can I fix the problem?
the errors are shown below:
Traceback (most recent call last):
File "D:\test.py", line 5, in
chatbot = ChatBot('Charlie')
File "D:\Python\lib\site-packages\chatterbot\chatterbot.py", line 28, in init
self.storage = utils.initialize_class(storage_adapter, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
return Class(*args, **kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\sql_storage.py", line 20, in init
super().init(**kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\storage_adapter.py", line 23, in init
'tagger_language', languages.ENG
File "D:\Python\lib\site-packages\chatterbot\tagging.py", line 26, in init
self.nlp = spacy.load(self.language.ISO_639_1.lower())
File "D:\Python\lib\site-packages\spacy_init_.py", line 27, in load
return util.load_model(name, **overrides)
File "D:\Python\lib\site-packages\spacy\util.py", line 139, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

Please see this thread this is the fastest way to solve your issue


Fix: Add Thorough Automated Testing and Bump Minimum Terraform Version to 0.13.0

what

Ensure examples/complete is creating an aws_ecs_task_definition and test the task definition in the automated testing.
Fix examples/multiple_definitions
Bump minimum Terraform required version to 0.13.0
Add context.tf to examples/complete to ensure aws_ecs_task_definition has tags.

why

We should be ensuring that the entire container definition output of this module is accepted by aws_ecs_task_definition and produces an identical result to the resource container_definitions output.
Bumping to 0.13.0 as the minimum supported version ensures this module is easier to maintain down the road.

references

N/A

/test all

/test all

/test all


Azure SSO Issue due to MSAL version

Affected module
Does it impact the UI, backend?
Describe the bug
Security at work requires us to have "accessTokenAcceptedVersion": 2. Which changes the version of the token to v2. After downgrading the token version to v1 the OpenMetadata SSO Azure Auth works.
To Reproduce
Set accessTokenAcceptedVersion to 2 in the App Registration Manifest and try to login using Azure SSO.
Expected behavior
Login should work with the newest tokens from MSFT.
Version:

OpenMetadata version: [1.3.0]

Additional context
We humbly ask for an upgrade of the frontend dependencies:
   "@azure/msal-browser": "^2.37.0",     "@azure/msal-react": "^1.5.11",
to the latest major releases:
   "@azure/msal-browser": "^3.10.0",     "@azure/msal-react": "^2.0.12",
Also we noticed that SSO works - but the Browser needs to allow PopUps and Redirections in order to work.

Hello @Nemeczek, We have bumped the versions, and here is the PR https://github.com/open-metadata/OpenMetadata/pull/15509, it would be great if you could help us verify the changes, thanks.


pwd

The test command for v has a error in it everything else works

I’ll fix shortly

Ok, I'm ready to merge.

-L and -P options shall be supported in POSIX spec, and you can implement -L by getting PWD from environment variables.

You can't always get PWD from environment variables.  It depends on the shell.

Of cource the gotten PWD is validated, and this command behaves as -P when PWD is not defined.
Please take a look at the spec and the GNU implementation:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pwd.html
https://github.com/coreutils/coreutils/blob/master/src/pwd.c#L297

But how would you get a symbolic link for the -L option?

I'll run tests and try

It now has basic flag usage. It reads the first flag given and uses it instead of the last like gnu pwd.
It also works on windows. 👍

I'm still working don't merge yet

OK read to merge but i'm wondering if we are only making the commands for unix/linix/vinix os's.  I made it compatible with windows but have not tested it.


[1.10.2] Server start up crash

Using Better With Mods-0.12.1-1.10.2  on Forge 2095, I'm getting the following crash on server start uo:
http://beta.pastee.com/ejks5

Looks like it's something wrong with Hardcore Hunger, probably something to do with the config change event.

I disabled that specific config option, will test on a vanilla forge install and regen the config.

Yeah, I think I narrowed down the particular event that was causing it. I'll release a hotfix when I take care of a few other crashes.

Sweet! I'll hold off on updating then for now and bring the beast back up.
Cheers!


added old reddit alternative

I'd like to

[x] add
[ ] remove
these domain(s) or URL(s) to the diffusion output list.

Criteria:

[x] This site includes diffusion output on a public-facing page.
[x] These images hypothetically replace human artworks. (That is, they are not
examples of diffusion output for the purpose of technical discussion.)

If either criterion are not fulfilled, your domain(s) or URL(s) cannot be on the
list.

Wait, does reddit.com/r/whatever not also match m.reddit.com and so forth? I think so, based on this from the ABP manual (from which UBO derives these rule syntaces):

example.com##.sponsor [..] will be applied on http://example.com/ and http://something.example.com/, but not on http://example.org/

It could be worth adding for the sake of tools like Leechblock NG, which doesn't block subdomains unless you specify them, or use a wildcard *.reddit.com/r/whatever.

…well it didn't work for me on uBO before I added the subdomain

…well it didn't work for me on uBO before I added the subdomain

Very odd! I'm looking over https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#static-network-filtering and I don't see any reason why it shouldn't work without the subdomain, unless I'm looking in the wrong part of the docs.


Pass additional data to callbacks

Describe the feature
Pass additional data (e.g. database handle) to callbacks triggered on events.
For example, for discord_set_on_interaction_create and alike, it would be nice to be able to pass additional data without using a global variable, but using something like this:
void discord_set_on_interaction_create(struct discord *client, void (*callback)(struct discord *, const struct discord_interaction *), void *data)

Version
concord version: 769bdb74b066b2f250a3ec9199063532e4dcccf2
LSB Version:    1.0
Distributor ID: VoidLinux
Description:    Void Linux
Release:        rolling
Codename:       void

Maybe what you are looking is discord_set_data? This allows to set a variable that is accessible from anywhere where you have access to Concord client


Add the dialog theme for Honeycomb

This change is

fix #115
Add the theme of android.R.style.Theme_Holo_Light_Dialog

and the result is

@thagikura if you would like, please use this PR.

Thanks for taking care of this!!! LGTM.


How to use GetImageAsPngAsync from ViewModel?

Hi,
Is there a way to use GetImageAsPngAsync from ViewModel at SuccessCommand?
I am using XAML
Thanks,
AG

There are various ways to do it including messaging / etc, you can search for this on Xamarin.Forums
You could use ImageService apis which are available everywhere: https://github.com/luberda-molinet/FFImageLoading/wiki/Fluent-Syntax


[zh] sync declarative-config.md

Sync with en.
content/en/docs/tasks/manage-kubernetes-objects/declarative-config.md

Please limit your change to a single language.

Done.Thanks for your time

/approve


macOS Quick Start Guide steps lead to "Permission denied" error

Briefly summarize your issue:
The "macOS Quick Start Guide" steps cannot be followed as written.
for macOS do not include the instruction needed to make genConfig.sh executable.
What is the expected behavior?
genConfig.sh should execute properly and report "Completed generation of config file" if the given parameters are correct.
What behavior are you observing?
When running genConfig.sh with the suggested arguments, it results in the following error:
bash: ./genConfig.sh: Permission denied

This can be solved by making genConfig.sh executable with chmod +x genConfig.sh, but the instructions do not indicate this needs to happen.
Provide the steps to reproduce the issue, if applicable:
Follow the steps in the setup guide up to "Setup your configuration", step 2 under the "genConfig.sh" heading, which gives the following instruction:

Navigate to {{path to source folder}}/avs-device-sdk/tools/Install and run genConfig.sh, including the following arguments:

cd {{path to source folder}}/avs-device-sdk/tools/Install

genConfig.sh config.json {device serial number} \
/{{path to database}} \
/{{path to source folder}}/avs-device-sdk \
{{path to build}}/Integration/AlexaClientSDKConfig.json

Tell us about your environment:
n/a
What version of the AVS Device SDK are you using?
This issue is found in Rev 26 of the "macOS Quick Start Guide":
https://github.com/alexa/avs-device-sdk/wiki/macOS-Quick-Start-Guide/4f84931a3e798dd161168d05b57938bb466e2416
Tell us what hardware you're using:

[x] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[x] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @Kyle-Falconer, thanks for bringing this to our attention.  You are correct, this is an error in the start guide.  Could you try this instead?
bash genConfig.sh config.json {device serial number} \
/{{path to database}} \
/{{path to source folder}}/avs-device-sdk \
{{path to build}}/Integration/AlexaClientSDKConfig.json

Thanks!

Thanks for the feedback and PR.  We have corrected the instruction now.  Thanks!


cannot install

No matter how I try to install (pip, git clone, etc) I always get the error that languages.json is missing.

I'll fix this soon, probably in couple of hours ;)
thanks.

Thanks for the quick reply!

Fixed: https://github.com/Alir3z4/python-stop-words/releases/tag/2<IP_ADDRESS>


onAdded and OnRemoved events

First of all, thanks for the module!
It would be nice to have onAdded and onRemoved events that fires the id of an element when it is selected or unselected .
Right now I maintain an extra copy of the list of selected id's to compare a new list of id's against each time an element is added/removed to find out which element has been added or removed. This is a bit of a nuisance.

What exactly is the use case for this?  I personally think diffing the old and new value is the outside the component is the correct way to approach this.

The use case could be i have  1 multi select drop down and i have one  select box. As i select from multi select, those items has to be removed from the other select box.


RSS feeds and JSON APIs don't provide the capabilities of Mirroring Support that XML-RPC does

What's the problem this feature will solve?

Hello there
I'm trying to query PyPi's registry for changes, meaning using the existing APIs to get information about the changes that happen in the registry once in a while. Changes like package addition/deletion and new releases of existing packages
After going through PyPi's APIs the only way I managed to achieve that goal is by using the "Mirroring Support" methods of the XML-RPC API: changelog(since, with_ids=False), changelog_last_serial(), changelog_since_serial(since_serial), list_packages_with_serial(). These functions allow me to retrieve registry information relative to a specific timestamp or serial id of a registry update.
However, PyPi's XML-RPC docs page (https://warehouse.pypa.io/api-reference/xml-rpc.html) states that the XML-RPC API is scheduled to be deprecated in the future and advices users to migrate to the new APIs (RSS and JSON)
After looking into those APIs I couldn't find a way to replicate the functionality that XML-RPC provides (as I described earlier).
Describe the solution you'd like

I would like to know if I'm missing something here about the functionality of the new APIs - RSS feeds and JSON APIs, meaning there is a way to achieve this functionality. If not, I would like know if there is a possibility that these features will be added to the new APIs, as I don't want to depend on an API that might drop in the near future.
Additional context
Thanks in advance :)

You're not missing anything: it's not currently possible. Some prior discussion of related issues in https://github.com/pypi/warehouse/issues/284, https://github.com/pypi/warehouse/issues/347, https://github.com/pypi/warehouse/issues/2551, and https://github.com/pypi/warehouse/issues/7116.
I think we can probably close this issue in favor of those.

@dstufft: This sounds like another use case for extending the Simple API to have a changed since serial call / date or what ever it was you have in mind. Should we start a PEP for that idea or does it need one? I get mine emotions when we propose packaging PEPs.


Configure and use i18n

We need to configure (vue-i18n) to allow translation and localization.

Now, we need to make it work the tool which extract missing trads


hardcoded steam vr paths on the drivers installer bat file

The bat files that install and unistall the drivers (driver_install.bat and driver_uninstall) are pointing to C: \ Program Files (x86) \ Steam \ steamapps \ common \ SteamVR \ bin \ win32 \ vrpathreg.exe, so if steamvr is installed in another site, the driver will not be installed.

That's right.
We should get path of SteamVR from registry.
Latest release automatically installs the driver when pressing "Start Server".
(Refer: https://github.com/polygraphene/ALVR/blob/master/ALVR/DriverInstaller.cs)
And I'm planing to implement driver installation/uninstallation on GUI.


mcclient manifest commands

This adds some mcclient commands for working with manifests from https://github.com/mediachain/concat/pull/116

mcclient manifest get [remotePeer] prints the array of existing manifests (optionally for the remote peer)
mcclient manifest add [filename] reads a signed manifest from stdin or filename and adds it to the node if it doesn't exist already
mcclient manifest remove [filename] reads the manifest and removes it from the node if it exists on the node already
mcclient manifest node prints the "node manifest" body, which can be fed into mcid sign to produce a signed manifest.

mcclient manifest node could maybe use a better name... but I don't know what it should be :)
I'd like to also add aleph support, but that can go in a new PR

Hmm yeah let's call manifest node something else. prepare? blank? challenge? ingot? preimage? affidavit?
p.s. this is not really the right command but I really want to use autopen for something

maybe manifest self?

It might also make sense to have a manifest set command to unconditionally set the manifests, without having to fight with remove arguments.


[keymgr] Actually increase salt / sw binding sizes

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

thanks @weicaiyang for catching this.


upgrade pgo and use maps result

Codecov Report

Merging #62 into master will increase coverage by 1.2%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master      #62     +/-   ##
=========================================
+ Coverage   61.26%   62.46%   +1.2%
=========================================
  Files          24       24
  Lines         666      666
=========================================
+ Hits          408      416      +8
+ Misses        258      250      -8

Impacted Files
Coverage Δ

src/erleans_pgsql_blob_provider.erl
0% <0%> (ø)
:arrow_up:

src/erleans_pm.erl
58.82% <0%> (+23.52%)
:arrow_up:

Continue to review full report at Codecov.

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


NumericField HideSpinButtons to left

In MudNumericField we have only visible or non-visible options about HideSpinButtons.
However, when i set text align to right (for currency it should be default, but thats another issue), i need to replace HideSpinButtons from right to left.
I looked at source code, it determined by CSS classes, but i can't understand correctly.
Could you add the HideSpinButtons none, left or right options?

I think the spin buttons should be moved from Input to NumericField. No other component needs them. There we can add them twice, once before the input and once after the input and switch between them depending on the text alignment.

Actually, when we set InputType.Number on MudTextField, the native hidespinbuttons show already.
And we may have a solution to margin to add clearable icon properly. I think MudAutocomplete has a CSS solution to not overlap dropdown icon and clearable icon.


Create 0000-01-02-SimonSchindler86.md

Added a file with random stuff

Wow this is my first real change !!! Awesome !


How does Digital ID come into play with In-Person and Telephone Service?

Advice to TT regarding request by DG

closing this issue. It took a scope on its own. ISB and CSB will be involved to help TT with a deck


Updater is always available and shows on/off wether an update is available

Breaking Change:
Updater Component is always available. The state is on/off wether an update is available or not. The newest version is an attribute of this component.
This makes the component more transparent and understandable for the user. Additionally it is visible if there is an error or the source (https://updater.home-assistant.io/) is outdated.
Description:
See Breaking Change.
Furthermore the updater logs a warning if the current version is before the newest version. This is the case if the JSON from https://updater.home-assistant.io/ is outdated.
If you don't want the updater component to always be available, I suggest at least keeping the warning if the current version is greater than the newest version. Otherwise, people would wonder if the updater component is broken.
But personally, I think it would be more understandable if the updater component is always visible and displays the newest version. Automations can be triggered by the state and not by the existence of this component.
Related issue (if applicable): fixes #24385
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#9957
Example entry for configuration.yaml (if applicable):
No changes
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @Santobert,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Please give me feedback if this change is acceptable. If so, I will update the documentation as soon as possible.

Please don't hold off creating a documentation PR, it slows down all progress, since merging without docs is a no go to being with. Adding docs-missing label.

The documentation is up to date: home-assistant/home-assistant.io#9957

The docs-missing label can be removed. I've added the docs here: home-assistant/home-assistant.io#9957

I guess there is something wrong with the CI?

@MartinHjelmare Thank you for your help. I'm afraid we'd be much faster if you'd add the changes yourself. Could you please help me with the tests?
I have no idea what to do. Personally, I would add another test module for the binary sensor. The test_init module must somehow intercept the dispatcher signals and verify the updater class within the parameters. Unfortunately, Mock is really new to me, so I have no idea how to solve these problems. Can you please fast-forward through this process?

The platform is already tested in the current tests. Make sure all the new state attributes are tested. The only method not tested is probably the remove method that is called when the entity is removed. I'm not sure when that would happen here, since there's no config entry.

The platform is already tested in the current tests. Make sure all the new state attributes are tested. The only method not tested is probably the remove method that is called when the entity is removed. I'm not sure when that would happen here, since there's no config entry.

@MartinHjelmare I'm afraid we have to test the remove method since we miss the coverage target by 0.12% :laughing:

Thank you @MartinHjelmare for all your help. I wouldn't have been able to do this without you.
Is it possible to merge this into the upcoming version 0.97.0 or do we have to wait for 0.97.1?

I think we should wait until 0.98 since it's a new feature and a breaking change.

Please update the breaking change paragraph in the PR description with what the user needs to do to cope with the breaking change. Ie how to handle the change of entity domain for the updater entity.

Please update the breaking change paragraph in the PR description with what the user needs to do to cope with the breaking change. Ie how to handle the change of entity domain for the updater entity.

Done

@balloob ok to merge?


[WIP]: Migrate tabs stories to typescript

Part of #735

I'm having trouble with the panels example. I tried to add type number to the callback function to avoid any type. Gives me this

The props are actually like this

So where does the e: React.FormEvent<HTLMDivElement> comes from? Is it because of the naming onChange? 🤯

So where does the e: React.FormEvent<HTLMDivElement> comes from? Is it because of the naming onChange? 🤯

I have the same problem in #806
When I was about to change the children type after your review this same error came up from nowhere (or Visual Studio was not catching them before for some reason). Use Omit to remove onChange from HTMLDivElement type import. Have no idea why they don't match though.

So where does the e: React.FormEvent<HTLMDivElement> comes from? Is it because of the naming onChange? 🤯

I have the same problem in #806
When I was about to change the children type after your review this same error came up from nowhere (or Visual Studio was not catching them before for some reason). Use Omit to remove onChange from HTMLDivElement type import. Have no idea why they don't match though.

I ❤  you @pomfrida

One last issue with Tabs. When I use the controls to play with the component, I'll get a wall of errors in the developer tools console.

I suppose this is because of the mismatch between
export type TabsProps = {
  /** The index of the active tab */
  activeTab?: number
  /** The callback function for selecting a tab */
  onChange?: (index: number) => void
  /** Sets the width of the tabs. Tabs can have a maximum width of 360px */
  variant?: Variants
} & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>

and
const Tabs = forwardRef<HTMLDivElement, TabsProps>(function Tabs(
  { activeTab = 0, onChange, onBlur, onFocus, variant = 'minWidth', ...props },
  ref,
)

Why is not onBlur and onFocus in the type? Is this intentionally? @vnys

One last issue with Tabs. When I use the controls to play with the component, I'll get a wall of errors in the developer tools console.

I suppose this is because of the mismatch between
export type TabsProps = {
  /** The index of the active tab */
  activeTab?: number
  /** The callback function for selecting a tab */
  onChange?: (index: number) => void
  /** Sets the width of the tabs. Tabs can have a maximum width of 360px */
  variant?: Variants
} & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>

and
const Tabs = forwardRef<HTMLDivElement, TabsProps>(function Tabs(
  { activeTab = 0, onChange, onBlur, onFocus, variant = 'minWidth', ...props },
  ref,
)

Why is not onBlur and onFocus in the type? Is this intentionally? @vnys

Because they are defined in React.HTMLAttributes<HTMLDivElement>. Why this fails tho 🤷♂

Why is not onBlur and onFocus in the type? Is this intentionally? @vnys

Because they are defined in React.HTMLAttributes<HTMLDivElement>. Why this fails tho 🤷♂

Could this be the same issue as in #806 where onChange expected a function?

Because they are defined in React.HTMLAttributes<HTMLDivElement>. Why this fails tho 🤷♂
Hmm, but when we explicit use a function we will normally define it in types even if it is a native prop? Since we use it we should define it? Feels like a mismatch between other components

I had a sneak edit before, but heres the problem @wenche @pomfrida
We have in some places used to define onFocus, onBlur and onChange properties with default NoOp functions, to avoid defined checking in the code, which is maybe a bit lazy as these are optional props... Suggest we check if its defined before executing in Tabs

Why is not onBlur and onFocus in the type? Is this intentionally? @vnys

I was about to say they were defined as defaultProps originally, so then I would use default parameters in the function signature or check if they exist as @mimarz suggests.

Yes, that would be my suggestion as well. But even optional props used in this way should be declared with ? in types imho?

I was about to say they were defined as defaultProps originally, so then I would use default parameters in the function signature or check if they exist as @mimarz suggests.

OK, makes sense, so a typescript migration "feature" then


Add setting for minimal degrees search distance for weather station

We use the variable max_degree_difference_for_nearest_weather_sensor with a default value of 2, when looking up weather sensors. So both latitude and longitude must be within this margin of error.

Isn't 2 on the high side?
It should become a setting which can be overwritten in flexmeasures.cfg. We can easily add this in __init__.py

Do we consider the best canditate based on the shortest distance from the location?

The candidates are ordered by distance and the nearest is chosen


How is this CVE-2024-3205 affected?

https://nvd.nist.gov/vuln/detail/CVE-2024-3205

NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Code:
https://github.com/yaml/libyaml/blob/f8f760f7387d2cc56a2fc7b1be313a3bf3f7f58c/src/emitter.c#L740-L788

Is this pr to fix the bug?

Code:
https://github.com/yaml/libyaml/blob/f8f760f7387d2cc56a2fc7b1be313a3bf3f7f58c/src/emitter.c#L740-L788

Where exactly is this memory leak?

It's hard to review a PR if there is no reproducer I guess...

@perlpunk there's supposedly evidence in the fuzzing data https://drive.google.com/drive/folders/1lwNEs8wqwkUV52f3uQNYMPrxRuXPtGQs?usp=sharing
I haven't checked yet

At least I can download some files from the shared drive, but the two input files I can find there have nothing to do with flow sequences. Also seem to be broken.
 After all, it's common.
What do you think, my brother @perlpunk

brother?

Please see my latest comment here: https://github.com/yaml/libyaml/issues/258#issuecomment-2058613931
I believe it's not a libyaml vulnerability.

I contacted VulDB and https://www.cve.org/CVERecord?id=CVE-2024-3205 has been rejected now. Closing.


Restore filter button

After issue #18671 has been closed, the old functionality still isn't back. Instead, the little triangle in the header column duplicates both the sort function and the 'Filter' context menu.
The old filter button only had the 'Filter by value' function, which I would like to have back (as in versions up to 22.3.0)
Ordering is available both in the ordering attribute button and in the context menu, the filter button should be a shortcut to the 'Filter by value' function, more complex filtering can be done in the context menu.

Also we have a shortcut for Filter by value command.

E1izabeth, thanks for the quick response. The 'return back ordering arrows' functions is nice, but not what I want. I'm aware of the Ctrl-F11 shortcut to the 'Filter by value' function, but I liked the old way with the button, not using the keyboard.

@rkorne Hi, the filter button also can be enabled, via the following setting:

@Destrolaric Yes, but this duplicates ordering and filter context menu and requires an additional click to get to 'Filter by value'.
Up to 22.3.0 the filter button directly showed the 'Filter by value' dialog.

The sorting and filtering of the old version are more usable, but the current one requires two more clicks. I hope it can be restored.


Update Changelog and version number

Ticket: []
Feature flag: n/a

Purpose

Summary of Changes

Screenshot(s)

Side Effects

QA Notes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5562

Relevant Lines:
7532

💛  - Coveralls


Feature Request: Clothing displayed on player

Use Case:
Outline the use case and/or provide a user story.

"As a player, I want to see my character's clothing pickups displayed on the character, so that I can gauge how vulnerable my character is."

Description:
Describe the feature you'd like to see added.

This issue involves managing the player appearance to reflect the current clothing items they have in their position. This issue is linked to #5 and will likely have some shared scripting.

Closing issue as resolved in:

#47