Add ability to app.route pluggable views

Rationale
Some Views could be created and used only once, for example MethodViews instead of "standard" functions with if request.method == 'POST'. This kind of use could be made easier.
Proposal
Instead of writing:
class MyFantasticView(View):
    ...
app.add_url_rule('/fantastic/', view_func=MyFantasticView.as_view('fantastic'))

we could make it easier and consistent with other parts of the API:
@app.route('/fantastic/', endpoint='fantastic')
class MyFantasticView(View):
    ...

This won't work for the reason @mitsuhiko stated. You need to be able to pass arguments to initialize the MethodView, that's where a lot of the power comes from. Overloading route even more isn't worth it over just being explicit.


BGW320-500_3.17.5 Firmware is offline. Do you have a copy by chance?

Found this, hopefully it's helpful.  Grab it while it lasts.
https://mega.nz/folder/iY4k1boB#YxEuPXHHPuT5IzoUQaT-LA


remove size and message count constraints

KAFKA-1981Make log compaction point configurable
Reduced scope to controlling only minimum time before compaction. Changed to using message time when available.

An unrelated test failed. Closing to try the PR again.

Reopening PR


[bug]:[2.0] Diskann index memory leak

Set nq and topk to 10000, diskann index puresearch for stability test, memory leak appears
knowhere version: main.20230306.636918e
run :
pytest -v -m L3 test_diskann.py::TestKNN::test_diskann_search --timeout  18000

memory phenomenon：

/assign @cqy123456

seems not a leak, diskANN will cache some active data and seems there is a limitation there

BTW, @cqy123456 could you make sure that the cache limitation per segment is shared or separate?
If I have two diskANN segments, each of the segments requires certain percentage of cache or it's in total

A diskann segment has its own cache, the cache occupies 1/8 of the segment size.

This does not seem to be a memory leak, but rather the search task not run within the specified time by the low local disk I/O that causes.

The I/O throughput of local SATA HDD is about 314，search nq = 10000 and topk = 10000， search list size = 15000 may cost 11h to 15h.


Added support for generators as input to GraphAPI.batch

This adds support for generators in GraphAPI.batch.
There's a slight functionality change here as well, which may not be advisable, as the consumer is now responsible for iterating over the output to ensure that all requests for batch sizes over 50 are actually made. Anyway, it seems like functionality that should be somehow supported, although perhaps not be default - let me know.

Is the consumer really required to iterate over the responses for the requests to be made, though? We're iterating through all of the request groups on line 182, which should exhaust the generator.

@jgorset good call - I had written it this way to save memory, but if the consumer fails to iterate through the requests they will indeed not be made. Correcting.

@jgorset fixed PR; all requests should now be made before generator starts returning results.

Nono, look – I'm making the argument that all the requests would be made regardless of whether the consumer iterates through the responses because we're already doing that. Sorry if I wasn't clear.
I'll concede that my Python is a bit rusty, but I'm pretty sure that  5571e6e426636cfc7aaf868b67d7e1c8ea3eec75 doesn't change anything? You're still iterating through the generator until it is exhausted. I don't think we need that intermediary array.

@jgorset simplified changes to logic

@merwok Good call, updated 👍

@merwok docstrings updated to reflect iterable input/output.

I no longer use Facepy, and this has been open for two years. I give up.


[mgmt] mongocluster release

https://github.com/Azure/sdk-release-request/issues/5432

ci will be failed as I have no permission to push recordings

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-mongocluster

/check-enforcer override

create a new pr to trigger pipeline https://github.com/Azure/azure-sdk-for-js/pull/31227

/check-enforcer override


http01 challange creates an invalid ingress resource when ingress class is set

Describe the bug:
when I apply an ingress resource, the following error appears in cert-manager logs:
cert-manager  Error presenting challenge: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request:
This deployment has a custom annotation prefix defined. Use 'custom-class.ingress.kubernetes.io' instead of 'nginx.ingress.kubernetes.io'

These are part of the parameters set for the nginx-ingress controller:
...
- --ingress-class=custom-class
- --annotations-prefix=custom-class.ingress.kubernetes.io
...

as you can see I am using a custom ingress class and annotation-prefix.
This is an example of my ingress resource:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: $INGRESS_NAME
  annotations:
    cert-manager.io/cluster-issuer: $CLUSTER_ISSUER_NAME
    kubernetes.io/ingress.class: custom-class
spec:
  tls:
    - secretName: $FQDN
      hosts:
        - $FQDN
  rules:
    - host: $FQDN
      http:
        paths:
          - path: /
            backend:
              serviceName: $SERVICE_NAME
              servicePort: $SERVICE_PORT

this is the cluster issuer definition:
kind: ClusterIssuer
apiVersion: cert-manager.io/v1alpha2
metadata:
  name: $CLUSTER_ISSUER_NAME
spec:
  acme:
    email: $EMAIL
    privateKeySecretRef:
      name: $SECRET_NAME
    server: 'https://acme-v02.api.letsencrypt.org/directory'
    solvers:
      - http01:
          ingress:
            class: custom-class

Expected behaviour:
After the ingress resource is created, cert-manager does the http01 challenge without printing out the mentioned error.
Steps to reproduce the bug:

Deploy cert-manager version 1.2.0
Deploy ingress-nginx version 0.44.0 with a custom class ($CUSTOM_CLASS) and a custom annotations-prefix ($CUSTOM_PREFIX)
Create a ClusterIssuer ($CLUSTER_ISSUER_NAME)
Create an ingress resource that has the following annotations:
-- cert-manager.io/cluster-issuer: $CLUSTER_ISSUER_NAME
-- kubernetes.io/ingress.class: $CUSTOM_CLASS
look at the cert-manager logs

Anything else we need to know?:
Based on our findings there is a problem in the combination of cert-manager (<=1.2.0) and nginx-ingress (>=0.40.0) when using a custom annotation-prefix for nginx-ingress. Cert-Manager adds an annotation called nginx.ingress.kubernetes.io/whitelist-source-range which creates an invalid ingress and the Validation Webhook from ingress-nginx rejects this update, hence no ingress route is present for the let’s encrypt challenge and certificates can’t be upgraded.
And we think it is due to hardcoded annotation here: https://github.com/jetstack/cert-manager/blob/v1.2.0/pkg/issuer/acme/http/ingress.go#L152
Environment details::

Kubernetes version: 1.18.15
Cloud-provider/provisioner: openstack
cert-manager version: 1.2.0
Install method: helm
nginx-ingress version: 0.44.0

/kind bug

Reading through the error message, what happens is:

cert-manager creates the ingress meant for solving the challenge,
nginx-ingress's webhook rejects the deployment (I guess they mean ingress) because the Ingress has the annotationkubernetes.io/ingress.class: custom-class

and the nginx-ingress webhook seesnginx.ingress.kubernetes.io/whitelist-source-range: "<IP_ADDRESS>/0,::/0"

on another annotation that conflicts with the first one.

You are right, this seems to be due to the fact that cert-manager creates the Ingress with an annotation hardcoded to the nginx prefix:
https://github.com/jetstack/cert-manager/blob/969b678f330c68a6429b7a71b271761c59651a85/pkg/issuer/acme/http/ingress.go#L151-L152
 // TODO: Figure out how to remove this without breaking users who depend on it.
-ingAnnotations["nginx.ingress.kubernetes.io/whitelist-source-range"] = "<IP_ADDRESS>/0,::/0"
+ingAnnotations[ingClass + ".ingress.kubernetes.io/whitelist-source-range"] = "<IP_ADDRESS>/0,::/0"

But I'm not too sure since there is this warning about not breaking existing users... 😅 What do you think @munnerz?

/area ingress-shim
/priority backlog

We have ran into this issue as well, but we don't use a prefix at all, we just use ingress.kubernetes.io.
With a few extra lines of code, we could make it as an "override" setting, as in if the setting is not defined, it'll work as today, but if you define it, it'll replace the whole annotation part with the user defined part ? That should be backwards compatible and non-breaking ?

@andersosthus One thing @wallrj during this morning's community standup is that you may be able to work around the fact that the whitelist-source-range annotation is hardcoded in the Ingress create for solving the HTTP01 challenge by using the annotation edit-in-place on your Ingress resource:
kind: Ingress
  metadata:
    acme.cert-manager.io/http01-edit-in-place: "true" # ✨
    cert-manager.io/cluster-issuer: my-issuer
    kubernetes.io/ingress.class: custom-class

Would that do the trick for you? Can you try that out?

Hmmm, didn't know about that option, but yeah, I can give that a shot, and see if that fixes our issue.

Another idea @wallrj raised yesterday is that it is also possible to use the ingressTemplate field. For example, in the following example, the annotation nginx-custom.ingress.kubernetes.io/whitelist-source-range will  will merge on top of the cert-manager defaults, which means the hardcoded nginx.ingress.kubernetes.io/whitelist-source-range will be overridden:
apiVersion: cert-manager.io/v1
kind: Issuer
spec:
  acme:
    solvers:
    - http01:
        ingress:
          ingressTemplate:
            metadata:
              annotations:
                "nginx-custom.ingress.kubernetes.io/whitelist-source-range": "<IP_ADDRESS>/0,::/0"

Hi @maelvls - using the acme.cert-manager.io/http01-edit-in-place annotation solved the issue for us. What do you want to do with the PR, do you still want it, or should I just close it ?

The ingressTemplate solution seems like a clean and straightforward solution, what do you think?
https://github.com/jetstack/cert-manager/pull/4339 adds a very specific field to the ACME Issuer, and the team is quite reluctant to add new fields unless there is no other way to go around the issue. I'd propose to close the PR (great work on that PR though!!) and we could add this specific use-case to the cert-manager.io website.

Yeah, I'm happy with that, as I said, http01-edit-in-place solves the issue for us. I am a bit unsure if the ingressTemplate would work, since as far as I could see in the code, the annotation gets added no matter what, there's no if checks around it that I could see, and thus if it gets added in addition to the ingressTemplate it would still fail nginx validation I believe.
But I'll close the PR. thanks for all the comments on it :)

Can I kindly ask for this issue to be reopened, and that the https://github.com/jetstack/cert-manager/pull/4339 PR from @andersosthus get merged?
Unfortunately the suggested solution using  the acme.cert-manager.io/http01-edit-in-place annotations isn't usable in all scenarios. If you have an ingress with https redirect enabled
nginx.ingress.kubernetes.io/ssl-redirect: "false"
then the cert will not be validated due to the forced HTTPS redirect.


NIFI-5577 Fixing update method in NaiveRevisionManager so that failed…

… updates don't change the revision
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I believe the existing code in the finally block was there as a result of an older approach where locking was being performed in the revision manager, but since that is no longer needed, I believe it can be much simpler, similar to how the deleteRevision works.

Reviewing...

@bbende thanks for the fix! All looks good to me. +1 merged to master.


Workshop 3 exercise [MOHAMMED MUNZAMIL]

Please "drag & drop" the result map of your exercise file below.
FINAL IDU MAP MM.pdf

Please "drag & drop" the zip file of the IDU shapefile for AAC district.
IDU SHAPEFILES AAC MM.zip

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to the module and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Hello Mohammed. You did a great job with subdividing your areas into IDU's but your urban areas are very small. Consider going back to the step where you identified the urban clusters and changing the parameters of the DBSCAN tool.


Support for Swift 5.6

Hi Jhonatan!
I’d love to add both of these packages (SwiftSafeURL and
XcodeIssueReporting) to the Swift Package Index. Unfortunately we currently don’t support Swift 5.7 packages as it’s still in beta. However, I checked by building them locally with 5.6 and I don’t think you’re using any 5.7 specific features?
Would you consider these PRs to reduce the tools version?
Thanks!

Hi Dave! I can drop that requirement, to be honest I can't remember why I introduced it in the first place. That said, remember that Swift Package Plugins compatibility is something that is only being run on Xcode 14, which is on beta for now, and that feature is key for this package to accomplish its objective
I dropped the Swift version to 5.5 over at 42c6b6cd0f65269eb3796ff130a968ae21ca01ae. Hope this helps!

Thanks, Jhonatan!

to be honest I can't remember why I introduced it in the first place.

If you created the package with Xcode 14 beta it will have inserted 5.7 by default!

I dropped the Swift version to 5.5 over at https://github.com/baguio/SwiftSafeURL/commit/42c6b6cd0f65269eb3796ff130a968ae21ca01ae. Hope this helps!

It does, and the package is now safely in the index. However, 5.6 might be a better choice than 5.5. Swift plugins were introduced with 5.6 so I think that would be a better version to indicate full compatibility. I think the 5.5 indicator is actually what's causing all of the compatibility builds to fail, like you can see here:
https://swiftpackageindex.com/baguio/SwiftSafeURL/builds
The decision is entirely yours on which version of the tools to specify, but I think you'll get some better compatibility results using 5.6.

It's weird that it is not giving me problems with 5.5, but you're correct. I pushed the Swift version back to 5.6, and the build results at SPI are looking just as expected. Thanks for pointing that out


Fix for new_relic paths

It also works with older Rails versions
pry(main)> require "new_relic/agent/instrumentation/rails/action_controller"
=> true

@Napolskih

да


Sort on file extension

What feature or improvement do you think would benefit Files?
Under Details layout columns:  add a column for File Extension, in addition to or (preferably) in place of Type. The file type verbiage can be quite verbose, which takes up too much horizontal screen space.
Requirements

This proposal will accomplish X
This proposal will accomplish Y
This proposal will accomplish Z

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3448
Comments
I am a brand new (today) user of Files. I like what I see so far, and plan to use as often as possible in place of MS File Explorer and Avanquest PowerDesk. Many of the reviewers (as seen in the Microsoft Store) want to see Tree View, which you said is currently under development. I too look forward to having that very important feature asap.
Informally stated, here are two other features I would like to see:

Preview of Microsoft Office docs (docx, xlsx, xlsm, pptx, etc.  All I see now is the application logo.
Ability to drag and drop files between folders in different panes; PowerDesk has long had that feature.

Keep up the good work.

Thanks for the feedback, I've added this to the project board.
As for you comments

Office preview is already available in the preview build. https://files.community/download
Drag and drop already should work, What do you mean by panes?

Thank you for your feedback, support for showing an extension column is being tracked in #8366.

We're going to continue tracking this in #8366, you can add a comment or click subscribe to be notified when this feature is added.


goodhosts-cli init at v1.1.1

Description of changes
This PR adds the CLI for GoodHosts, goodhosts, to nixpkgs.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

If you'd like, you can just define it the old way, and avoid pkgs/by-name:

Here's the link to that if you wanna read it.

If you'd like, you can just define it the old way, and avoid pkgs/by-name:

Here's the link to that if you wanna read it.

So I can just throw the package into tools/networking/goodhosts ?
Thanks for all your help btw - I'm new to nix :)

So I can just throw the package into tools/networking/goodhosts ?

Yea, that should be fine!

Thanks for all your help btw - I'm new to nix :)

Nw, I'm glad I can help you :D

@cafkafk thanks for your comments - i've resolved them

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1120

Result of nixpkgs-review pr 256548 run on x86_64-linux 1

1 package built:

goodhosts

Upstream published v1.1.1 a few days ago would you mind updating before we merge this?

updated it - can you please re-review?

Result of nixpkgs-review pr 256548 run on x86_64-linux 1

1 package failed to build:

goodhosts

there seems to be a hash mismatch

there seems to be a hash mismatch
error: hash mismatch in fixed-output derivation '/nix/store/5jfxd5dwmbi61jkn3js1h2cv4mwpxiyy-source.drv':
         specified: sha256-BsStTOuMercplx+g+egjiBjCKf5UFCDLGqGVo6i5yKQ=
            got:    sha256-VXOMyYM4jS3gYxm3WiKw3uKeC535ppd9iHumPiupGbc=
error: 1 dependencies of derivation '/nix/store/zlp98m9lzsrgn3swsljc51v3jcbck0b3-goodhosts-1.1.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qyyrbk98p6f5n09anz90rsr8jql5qv9f-review-shell.drv' failed to build

forgot about it - fixed now

Result of nixpkgs-review pr 256548 run on x86_64-linux 1

1 package failed to build:

goodhosts

This looks like a upstream bug to me, okay if I revert to v1.1.0?
On Oct 7, 2023, at 8:21 PM, Christina Sørensen @.***> wrote:

@cafkafk commented on this pull request.
fails to build for me:
❯ nix log /nix/store/y0988yjvgr9hnzcfcrlaicpp4329am29-goodhosts-1.1.1.drv
warning: The interpretation of store paths arguments ending in .drv recently changed. If this command is now failing try again with '/nix/store/y0988yjvgr9hnzcfcrlaicpp4329am29-goodhosts-1.1.1.drv^'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/n5dp7i56fr32frw42kwffpvc6snyhiif-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Building subPackage .
go: inconsistent vendoring in /build/source:
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vend>
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/module>
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules>
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
@.**: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
            go mod vendor

—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/NixOS/nixpkgs/pull/256548*pullrequestreview-1663149660__;Iw!!GjvTz_vk!V5K09mDMcPUwAC5_znVlCyYGqkH_-jrqkdhI56BRCPUdQSHR3-gG9cjO9FjJRGHowrWfhjvsNOOYNXSHgDo8Lwg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AQXLJLP2USWCVNPVSWVFDVLX6IL3ZAVCNFSM6AAAAAA5B55WEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMNRTGE2DSNRWGA__;!!GjvTz_vk!V5K09mDMcPUwAC5_znVlCyYGqkH_-jrqkdhI56BRCPUdQSHR3-gG9cjO9FjJRGHowrWfhjvsNOOYNXSHhVpQnds$.
You are receiving this because you modified the open/close state.Message ID: @.***>

Also please rename the commit and the pr to goodhosts: init at v1.1.1

Also please rename the commit and the pr to goodhosts: init at v1.1.1

done - thanks for your review and patience 😄

Result of nixpkgs-review pr 256548 run on x86_64-linux 1

1 package built:

goodhosts

done - thanks for your review and patience 😄

I think there went something wrong when you tried renaming the commit it's still the same name ^^


The vehicle can establish the size of any obstacles in it's environment

As a GeoBot operator, I want the car to be able to detect the size of an obstacle it has detected so that I can get semi-accurate information about the environment.
Acceptance criteria:

[ ] GeoBot can detect the size of an object (Idea: by navigating around the object, it can determine its size)

Closing this since it has no relevance anymore

Closing this since it has no relevance anymore :)


Adds first example

I think we should remove the __init__.py from the examples dir -- it's not meant to be a Python module, right?


Setup RSpec enviroment

This was already implemented in PR #1

Upon doing a small example I found out that there is no further configuration needed for testing GraphQL queries with RSpec.
I basically opened a new branch from the add-graphql branch and followed this tutorial up to the point when I could test some behavior. I then wrote a RSpec test to see if it worked and it did.
The example can be found in this comparison.
If everything looks okay to everyone, I suggest we close this issue since it seems that there is no extra configuration to be made for testing graphql behavior in RSpec.


[Question] What are the issues with IBM Cloudant?

The read.md file says:

Now, fly.io has become not free. Fortunately, even though there are some issues, we are still able to use IBM Cloudant. Here is Setup IBM Cloudant. It will be updated soon!

But nowhere does it mention what those issues are.
Why shouldn't someone use IBM Cloudant (with LiveSync)?

Thank you for asking!
There are several reasons for this. It changes occasionally in the situation; perhaps it is time to review it. Thank you for opening this issue!
(e.g., Incubate Chunks in Document would work well in IBM Cloudant).

In the free environment, the plug-in cannot work ideally due to several limitations.
The paid plan starts at a bit high price including many capacities (From $88). I were recommend it if it had Cloud-ish prices.
Some users had been troubled while creating an account (Possibly by credit card type or something).

So, as a first step, I will reduce the "not to use" tone on the documents!

Ah, I appreciate it.    I am having some weird sync issues, I am assuming its because of point 1.
I didnt fully understand the merge prompts, but always chose A and B.
Then one day, a lot of my documents have disappeared.


Rolex Website Clone

Describe the project you want to add with tech stack
Rolex Website Clone using HTML CSS JS
Expected behavior
Cool UI of rolex

Hey! Can I work on this issue if still available?
Describe the project you want to add with tech stack
Rolex Website Clone using HTML CSS JS
Expected behavior
Elegant UI of Rolex website


If use own unlabeled dataset to do unsupervised learning, what is input training instructions?(Because there's a <PERCENT_LABELED_DATA> option in training, how do I set this?)

You can refer to this config file.
And change something in the config file like:
data = dict(
    train=dict(
       sup=dict(
                     type="CocoDataset",
                    ann_file="YOUR_SUP_ANN_FILE",
                    img_prefix="YOUR_SUP_IMG_PREFIX",
        )
        unsup=dict(
                    type="CocoDataset",
                    ann_file="YOUR_UNSUP_ANN_FILE",
                    img_prefix="YOUR_UNSUP_IMG_PREFIX",
        )
    )
       ...
)

After that, as for command I use "bash tools/dist_train_partially.sh semi 2"or"bash tools/dist_train.sh configs/soft_teacher/xxxxx.py 2"?  If it's the first command the parameter "<PERCENT_LABELED_DATA> ",do I need to set it?

The latter command.

Thank you!


refactor: convert all file paths to file URLs

Background
We have a ton of trouble maintaining file paths resolution logic across Windows, Mac, and Linux. Many of us develop on Unix systems, where paths and URLs can be treated similarly. But windows paths are different, and our code can break if we aren't incredibly, INCREDIBLY careful with every line of file path manipulation. Even when we are careful, it still breaks.
Node added support for file: URLs for this exact reason. File URLs are a fully URL-compatible way to reference files on the file system, convertable to-and-from traditional file paths:

url.fileURLToPath(url) https://nodejs.org/api/url.html#url_url_fileurltopath_url
url.pathToFileURL(path) https://nodejs.org/api/url.html#url_url_pathtofileurl_path

Node can even read & write to the file system directly using these file URLS:

https://nodejs.org/api/fs.html#fs_url_object_support

Feature Request
Our codebase would be easier to maintain and less error-prone if we replaced every internal use of a file path with a file URL instead. I'm not sure how much work is required, but it would be good to start investigating this.
Note that this should only impact our internal representations to start, and should not impact the plugin ecosystem at all. We can always convert file URL<>path whenever plugins need to work with a file reference.

Hey Fred, been a fan of the work you're doing with Snowpack and have been using it for most of my personal projects for the last two months. In the spirit of Hacktoberfest I figured this would a great chance to be useful for the project and since you mentioned this issue is relatively straightforward, I think I should start here.
Problem is, I'm more a UI kind of guy so I don't know much about the internals of a project like this but I do have some experience with file paths in both Windows and Linux. So my question would be, what's a proper way to get started tackling this issue (besides reading the nodejs links you posted)
Thanks!

Thanks! This may take you out of your comfort zone a bit into Node.js world, but the nice thing about this work specifically is that our test suite will guide you most of the way. I definitely think it's worth giving a try, at least to learn more.
I tried looking around for good blog posts on the subject, but I couldn't find any!

Yeah, Node.js world is a foreign land for me but I like that you mentioned that the test suite is going to tell me about any screwups I do 😅
Appreciate that you looked into other resources, I think it would be a worthy challenge to undertake but it'll be slow progress 'till I pick up some speed with this.

Np, and no pressure! If theres no activity here in a week or some, im sure someone else can jump in to help

I can take this, if help is still needed.

I ran into this kind of concerns before and made a package dedicated to this:
An extract from https://github.com/jsenv/jsenv-util#presentation

This repository exists mostly to work with files relative to a directory with an approach that works on windows and linux filesystems as shown in the code example below.

This repository makes me win tons of time when writing js code handling files. Let me know if you find it useful :)

@dmail That repo looks really cool!
Definitely looks like a more dependable solution than what I was working on.

@high1 if you're interested, we'd love your help!
One thing to note is that this doesn't need to be a FULL CHANGE THE ENTIRE WORLD AT ONCE kind of project. Feel free to take an incremental, small PRs approach to this work.

@FredKSchott yes, I am. If you could point me to one starting point inside the project on which I could start work from, it would be great.

Honestly, the easiest place to start may be FileBuilder in build.ts since it's a self-contained class. filepath, outDir, output, and more all use file paths (/a/b/c.js) and could be updated to file URLs without affecting too much of the rest of the Snowpack codebase.

OK, thanks. I tried to test everything on Windows, the tests are passing mostly, I need to install Chrome to be able to run @web/test-runner tests.

Huh, I thought that @web/test-runner came with a version of headless chromium. There may be some docs here to help you get up and running: https://modern-web.dev/docs/test-runner/overview/

I would need to add some config there, already did that for my snowpack configs. I have a preliminary patch for FileBuilder, will make a merge request soon.

Oh, by the way, found on this page Test Runner: Browsers:
By default, the test runner will look for a globally installed Chrome on your computer.
I could create a PR to run test on a headless chrome with Puppeteer, if that's OK.

@FredKSchott I took a shot at this, and created a PR. I'd like to have some input on the PR, when you can...

I was looking at import-resolvers, and I'm not sure what should be done with it in context of this refactor? @drwpow @FredKSchott I could use an opinion with in-depth knowledge.

I'm less bullish on this now, and am going to propose closing this issue.
File URLs are a great idea (behave and look the same on both Windows and Linux) but you lose access to all of the path helper methods. Node's URL helper methods aren't as easy to use (for example: path.resolve, path.relative, and path.join don't have equivalent one-liners.
Instead, we should look towards replacing our usage of path with https://www.npmjs.com/package/upath which is better supported and meant to be a drop-in replacement for path.


// , What are the valid strings for init_style?

// , I would assume that valid strings are the following:
'openrc'
'init'
'systemd'
'none'

But I don't see the options here. Perhaps they're elsewhere?
May I add these as options in a pull request to add to the comments here:
https://github.com/solarkennedy/puppet-consul/blob/0b9ad9e92992a94c9b5142af2318fd31a6e5bd0a/manifests/init.pp#L52

Sure, yes please.


WHERE 1 don't work in PostgreSQL

Change from 1 to 1 = 1 because WHERE 1 don't work in PostgreSQL

We'll have to fix the unit test before the next release, but this is a good change.


The QUERY_START_TIME_MONOTONIC value is not getting set

I'm trying to use the instrumentation and when it gets to line 31 in instrumentation.rb, the ns[GraphQL::Metrics::QUERY_START_TIME_MONOTONIC] is nil. The comment in the code says that it should be set by query parsing. What am I missing?
graphql 1.9.19
graphql-metrics 3.0.1
Here's the my schema file:
class TeamsSchema < GraphQL::Schema
  include ApolloFederation::Schema

  default_max_page_size 75

  mutation Types::MutationType
  query Types::QueryType

  use GraphQL::Execution::Interpreter
  use GraphQL::Analysis::AST

  use GraphQL::Batch #, executor_class: ::GraphQLMetrics::TimedBatchExecutor # Optional.
  use GraphQL::Tracing::DataDogTracing, analytics_enabled: true, service: 'carica-graphql'
  use ApolloFederation::Tracing
  #
  instrument :query, GraphQL::Metrics::Instrumentation.new
end

The tracer is needed as well in your schema:
tracer GraphQL::Metrics::Tracer.new

It's in the README but could definitely been mentioned more explicitly.

Thanks @srgoldman - I'll update the README to make this more clear.

That makes sense. I think I have a different issue. When add the tracer, I get a different error. I think it's primarily related to  use GraphQL::Execution::Interpreter. There must be something in my schema that's not quite compatible. My schema loads ok in Graphiql but when I execute a query, I get:
{"error":{"message":"undefined method `type' for nil:NilClass","backtrace":["/Users/sethgoldman/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/graphql-1.9.19/lib/graphql/execution/interpreter/runtime.rb:469:

I took out the DataDogTracing and ApolloFederation::Tracing lines because they interfered with the schema loading in GraphQL (another problem to chase down).
Appreciate the quick response.

To close the loop, I had to make some updates in order to use the new interpreter. Some were inconsistencies exposed by recent changes to the graphql gem (argument camel-casing) and some other minor things. With those changes, these metrics and the instructions worked like a charm. Thanks again!

Glad to hear everything's working for you now :) Thanks for reporting the initial issue!


When will a new version with the babel 6 upgrades be published?

I'd like to have the babel6-compatibility upgrades for my use case (aka a build environment that's quite reliant on babel6 - see my previous PR about AMD-ification), is there an ETA on the version upgrade?

Sure, anytime.

2.1.0 it is.


Using Multiple SSL Certificates for Multiple Domains with One IP Address

Hello Sameersbn,
First, Thank you for the great  Redmine Docker image.
My problem is:
How can I use multiple domains with their SSL Certificates in one Redmine using your Redmine Docker image?
Thank you,

problem solved,
I make some change in /etc/nginx/sites-enabled/redmine:
1- I add new server entry in the file.
2- add to each the one domain: server_name exmaple.com
3- remove: error_page 500 /500.html;
4- update certificate path for each domain/server entry.
5- Finally, I make some directories as Docker volume, so, I will not lose the data.
6- disable auto copy of Nginx configuration, that is in the entrypoint.
Hope this helps people having the same issue.

@Mouatez i close this as it is solved if you need anything you can reopen it thanks for reporting


Don't display foreign keys in data output

Description:
In the DB backend, foreign keys are returned in the response body of a GET request. Example for http://{{datagateway-api}}/datasets?limit=1&include="sample":
[
    {
        "id": 1,
        "complete": false,
        "createId": "user",
        "createTime": "2011-01-29 06:19:43",
        "description": "Long bed after near eye wrong. Develop Mr everybody common.\nDemocrat until stock southern song. Close face test which summer.",
        "doi": "0-467-23440-X",
        "endDate": null,
        "location": "/million/young.mp3",
        "modId": "user",
        "modTime": "2008-10-15 12:05:09",
        "name": "DATASET 1",
        "startDate": "2000-05-07 00:00:00",
        "investigationID": 1,
        "sampleID": 1,
        "typeID": 1,
        "sample": {
            "id": 1,
            "createId": "user",
            "createTime": "2011-01-29 06:19:43",
            "modId": "user",
            "modTime": "2008-10-15 12:05:09",
            "name": "SAMPLE 6",
            "investigationID": 6,
            "sampleTypeID": 10
        }
    }
]

The foreign keys shouldn't be displayed on output as they're not displayed on the ICAT backend - this is part of the work for #213.
As a note, there could be some cases where the helper functions that fetch results from the database are used as an input into another function (updating data perhaps). The ICAT backend uses similar design, so a flag might be required to distinguish the two use cases (no foreign keys GETs and foreign keys for DB input). Not 100% sure on this, but something to keep in mind.
Acceptance criteria:

[ ] Foreign keys shouldn't be displayed GET, POST or PATCH requests involving entities that have relationships with other entities

Unassigning myself as this won't be tackled in the short term.

Adding the wontfix label to this issue - there's no plans to work on this issue for the time being and because the DB backend won't be used in production, this is a low priority, potentially high effort issue.


[Question] How to implement timestamp with timezone properly?

Description
I implement this library with gorm. I think by default gorm implements timestamp with timezone. I don't what I missed, I just setup default configuration of goadmin. But when I save the data with timestamp, the error occurs from postgres. I guess form in goadmin doesn't sending timezone for date. Any clue guys?

@msmaromi You can set the configuration item sql_log on in the configuration page of the website. And check the SQL log to see which SQL statement is executed.

@chenhg5 thanks for the clue


POST/Customer not working

hi,
I am trying to use
Create a new customer record
POST /api/customers
with this data
{
  "customer": {
    "first_name": "Steve",
    "last_name": "Gates",
    "email"<EMAIL_ADDRESS>    "role_ids": [ 3 ]
  }
}

But i am getting

it is supposed to work as the documentation says but for me its not

Hey,
How did you fix it?
Also, I have a problem with the response being Forbidden 403, with a guest token.
I have a problem creating a customer account with password using the API.
Thank you :)

Solved!
And I solved your issue too.
Just add the password parameter in the POST request.

@alymohamedhassan Hi
Could please tell me how did solve the 403 problem ?
Thank you

@alymohamedhassan Hi
Could please tell me how did solve the 403 problem ?
Thank you

Check your access control list from nopcommerce


Enhancement: Loading state for ERC20 token imports

The Request
The ability to see loading feedback in the UI when a user imports an ERC20 token address.
Problem
Right now, when a user imports an ERC20 token address on the token list screen, there is no loading UI for the background async work happening for useErc20Balance/useErc20Metadata.
Solution
As a user, I would expect to see some loading indicator (ie. on the "Import" button) in the UI to tell me that an ERC20 token is being imported.

@jxom The above UI seems good for you? we can't show loader on import button since that layout is totally isolated with the layout where we shows tokens. I feel showing here is the good approach.

@b4s36t4 – looks good! It might be nice to display the loading state in the same form as a TokenRow. For the title (e.g. "USD Coin"), it can show "Importing..." with the loading spinner on the side, then we can show the address (which we already know) underneath it? Obviously we won't have the input field or trash button.

@jxom Sure, will raise the PR with your suggestions.


DEK in case of envelope encryption with AEAD is not authenticated with additional data

Hi,
could please provide feedback about the following behavior, if it is intended or an bug.
Describe the issue:
Remote Keys (DEKs) in case of envelope encryption with AEAD are not authenticated with additional data.
See https://github.com/tink-crypto/tink-go/blob/2baf2591ca0eec082e754a2a3d2dd8bb948e70b3/aead/kms_envelope_aead.go#L90
What was the expected behavior?
Remote Keys (DEKs) are authenticated with the same additional data as the plaintext.
What version of Tink are you using?
v1.7.0 and main
Can you tell us more about your development environment?
Golang 1.21
Regards,

Hi,
I check the Java implementation does it in the same way:
https://github.com/tink-crypto/tink-java/blob/2800390067b9fd22ff59e5e33a4bfff40d2325b3/src/main/java/com/google/crypto/tink/aead/KmsEnvelopeAead.java#L128
So propably no bug?
Regards,
Daniel

Hi Daniel,
This is indeed intentional and across all languages the associated data used for the remote part of the envelope encryption is the empty string.
In general, it would be desirable to bind the wrapped key to the ciphertext, however this would add quite some overhead here (e.g. you would have to either send the complete ciphertext or its hash to the remote AEAD to use as associated data; computing a hash over the ciphertext is costly compared to the actual costs of encrypting the plaintext). Considering that a unique key is generated each time you encrypt something with envelope encryption, there is an implicit binding though as this wrapped key will only be valid for this specific ciphertext.
Admittedly, this implicit binding can however lead to some subtle weakness if the AEAD and/or the remote AEAD are not committing to its inputs. In this case the assumption that the wrapped key will only be valid for a single specific ciphertext is violated (see e.g. https://eprint.iacr.org/2020/1456, https://www.usenix.org/conference/usenixsecurity23/presentation/cremers-protocols, https://eprint.iacr.org/2023/526 for some recent work on this topic). For most applications this won’t be an issue, but it’s something one should be aware of.


Homebrew git dependency

I have a feeling that Homebrew taps are similar to Scoop in that it may require git as a dependency to communicate with the repo. It would be worth checking this with a clean OS that does not already have git installed to validate this.
If git is a required dependency we can add it as a dependency in a similar way to Scoop via the gorelease.yml
    dependencies:
      - name: git

I tested it on a fresh MacOS install and it seemed to work without this, so the dependency management might be better out of box for Homebrew. So its up for debate whether we should add it.

Interesting and just to confirm macOS did not have git installed prior to the brew tap command

Thats correct, never even opened a terminal window on that machine. Had never user used or installed git

Great!


Documentation updates required for v0.7.0

The website and nearly all of the current documentation requires updating. I don't want to spend too much time on it since some of it will hopefully only be relevant for the 0.7.x release(s). I've already made some changes to the website (https://github.com/pimusicbox/pimusicbox.github.io/commit/fdf60af8d5d8c77065d4a124140ed4cdabe7ba67) but the user guide needs similar treatment. As long as we fix the things that are noticeably wrong/outdated then that would probably be sufficient right now.

[ ] Update installation guide (maybe just to match website)
[x] Remove/change upgrade page
[x] Make clear that streamuris has changed (https://github.com/pimusicbox/pimusicbox/issues/404)
[x] Make clear anything else important that changed
[ ] Make clear current limitations/issues

[ ] No support for Pi3 or Pi0W Bluetooth
[x] No Spotify connect (still)
[x] Spotify playlists issues...?

[ ] Include clear list of audio cards that are known to work
[x] Remove MPDroid recommendation? It's not very compatible with Mopidy any more (https://github.com/mopidy/mopidy/issues/1314).

Hi,
I'm using v0.7rc7
Can there be some documentation on how to use the backends, eg tunein?
I know what tunein is but no idea how to use it in a pimusicbox context and there's nothing addressing this in the manual.
thanks

Hi, make sure it's enabled in the settings and then you should be able to select tunein for searching and it should also be present in the top level of the browsing page. Some backends also will provide playlists, tunein does not.

ah so that's how it works! many thanks


show_in_notebook() fails when predict_fn returns a float32

Calling show_in_notebook() will fail with a TypeError if the predict_fn passed to explain_instance returns a float32. Apparently np.float32 aren't JSON-serializable, but np.float64 are.
MWE (raises a TypeError for me):
from sklearn.datasets import load_boston
from xgboost import XGBRegressor
from lime.lime_tabular import LimeTabularExplainer

boston = load_boston()

explainer = LimeTabularExplainer(training_data=boston.data,
                                 training_labels=boston.target,
                                 feature_names=boston.feature_names,
                                 mode='regression')

model = XGBRegressor().fit(boston.data, boston.target)

explanation = explainer.explain_instance(boston.data[0], model.predict)

explanation.show_in_notebook()

I glanced through the code a little and it looks like adding .astype(np.float64) here might sort this out for my use case at least, but I could believe this would show up in other places too.
I'm on lime==<IP_ADDRESS>

Should be fixed in <IP_ADDRESS>. If not, please reopen issue.

It doesn't appear to be working on windows linux subsystem.  About to give a talk and trying to use LIME.  I will leave a more detailed bug report after the talk.

I just confirmed it is working for me using the linux subsystem (ubuntu).

Hi, thanks for following on - here are the steps I took to install:
sudo python -m pip install lime
And here is the output I am getting from running the explainer:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-11-7f236c08ce7a> in <module>()
----> 1 exp.show_in_notebook()

/usr/local/lib/python3.6/dist-packages/lime/explanation.py in show_in_notebook(self, labels, predict_proba, show_predicted_value, **kwargs)
    198                                   predict_proba=predict_proba,
    199                                   show_predicted_value=show_predicted_value,
--> 200                                   **kwargs)))
    201
    202     def save_to_file(self,

/usr/local/lib/python3.6/dist-packages/lime/explanation.py in as_html(self, labels, predict_proba, show_predicted_value, **kwargs)
    268             var pp_svg = pp_div.append('svg').style('width', '100%%');
    269             var pp = new lime.PredictProba(pp_svg, %s, %s);
--> 270             ''' % (jsonize(self.class_names),
    271                    jsonize(list(self.predict_proba.astype(float))))
    272

/usr/local/lib/python3.6/dist-packages/lime/explanation.py in jsonize(x)
    244
    245         def jsonize(x):
--> 246             return json.dumps(x, ensure_ascii=False)
    247
    248         if labels is None and self.mode == "classification":

/usr/lib/python3.6/json/__init__.py in dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, cls, indent, separators, default, sort_keys, **kw)
    236         check_circular=check_circular, allow_nan=allow_nan, indent=indent,
    237         separators=separators, default=default, sort_keys=sort_keys,
--> 238         **kw).encode(obj)
    239
    240

/usr/lib/python3.6/json/encoder.py in encode(self, o)
    197         # exceptions aren't as detailed.  The list call should be roughly
    198         # equivalent to the PySequence_Fast that ''.join() would do.
--> 199         chunks = self.iterencode(o, _one_shot=True)
    200         if not isinstance(chunks, (list, tuple)):
    201             chunks = list(chunks)

/usr/lib/python3.6/json/encoder.py in iterencode(self, o, _one_shot)
    255                 self.key_separator, self.item_separator, self.sort_keys,
    256                 self.skipkeys, _one_shot)
--> 257         return _iterencode(o, 0)
    258
    259 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr,

/usr/lib/python3.6/json/encoder.py in default(self, o)
    178         """
    179         raise TypeError("Object of type '%s' is not JSON serializable" %
--> 180                         o.__class__.__name__)
    181
    182     def encode(self, o):

TypeError: Object of type 'int64' is not JSON serializable

Here is the code base:
https://github.com/EricSchles/algorithmic_bias/blob/master/policing_analysis_lime.ipynb

@marcotcr love some help or suggestion on how to fix this.

What version are you using?  That may be my issue.
On Tue, Nov 20, 2018 at 1:19 PM Marco Tulio Correia Ribeiro <
<EMAIL_ADDRESS>wrote:

I just confirmed it is working for me using the linux subsystem (ubuntu).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/marcotcr/lime/issues/134#issuecomment-440378853, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA4svQbsJ_DuSFJkNLo_lZdNMogh5Z9Aks5uxEe2gaJpZM4RHmrH
.


whatisk8s - Chinese version

Local compilation need to modify the root directory  _config.yml addsource: ./cn/, and the root directory related files included.
This is the first attempt to submit, welcome feedback.

This change is

I signed it!

@kubernetes/sig-docs-maintainers thoughts on translation?

@markthink Thanks. Are these docs supposed to be accessed in kuberenetes.io or in this GitHub repo only?

@janetkuo The purpose of our creation of the / cn directory is to translate the contents of kubernetes.io into Mandarin.

The purpose of our creation of the / cn directory is to translate the contents of kubernetes.io into Mandarin.

@markthink it doesn't render well https://deploy-preview-3243--kubernetes-io-master-staging.netlify.com/cn/docs/concepts/overview/what-is-kubernetes/
Maybe /cn should be under /docs?

@janetkuo  I understand this, I have compiled in the local, need to compile the need to change the root directory _config.yml This is more invasive.
Setup1. Download the editing image
docker pull cargo.caicloud.io/kubernetes/jekyll:v1

Setup2. Clone code
git clone https://github.com/markthink/kubernetes.github.io

Setup3. Write the docker-compose.yml file
version: '2'
services:
   jekyll:
       image: cargo.caicloud.io/kubernetes/jekyll:v1
       command: jekyll serve --watch --incremental
       ports:
           - 4000: 4000
       volumes:
           - ./kubernetes.github.io:/srv/jekyll

Setup4. Run and view the browser
docker-compose up -d

Open chrome address: http: // localhost: 4000
Note: If the localhost is running localhost instead of the server IP
I pushed from the dev branch up, taking into account the master branch compilation intrusive too strong, so other files are not put in

@janetkuo Just throw a bit more context:
Dan Kohn (@dankohn) from CNCF and we (Caicloud) have discussed putting up a Chinese version of kubernetes.io site before the Linuxcon in June in Beijing, China. The discussed attack plan would be:

first creating a top-level "cn" directory (as has already been done in PR #2715 ) under this project
then translating the original English md files in the corresponding (mirror) sub-directories in the cn directory
Finally setup the website from these md files

Hope this helps!

FYI, I'm contacting @dankohn to clarify what the review process for these will be. Don't want to hold you guys up. =)

@xinzhangcmu I think it would help to describe the plan in an issue or PR, including a list of people working on it.

@xinzhangcmu thanks for the explanation and the effort! I'll review the content first

@xinzhangcmu I think it would help to describe the plan in an issue or PR, including a list of people working on it.

@bgrant0607 Great idea! Created issue #3313 for now, feel free to put more information and include relevant people

@janetkuo I looked at it, there are two main problems:
The first is the problem of style loss: Now with jekyll automatic compiler review, the style is indeed lost, but if the same as my warehouse to change the root directory _config.yml configuration, will affect the existing English site view, invasive too Big. So it may still be built in a Git warehouse better, do not submit to / cn directory.
The second is the translation code review process: the translation of the article is not directly pushed to the official warehouse, first pushed to our own warehouse review, and then pushed to the official Chinese warehouse, you can use the new domain name analysis, for example: kubernetes.io/cn / refers to the official Chinese warehouse, the translation of the article can be automated real-time compiler review.
On the first point, we need official document maintenance to support the creation of a new git empty warehouse.
On the second point of the need for official support to do domain name, configuration automation compiler.

@xinzhangcmu, is it better to set up a check list that will be used in English and Chinese translation? Like nfv-define.

@tsjsdbd 建议已修改，谢谢..

http://kubernetes.kansea.com/docs/whatisk8s/
This is a good reference.

@markthink What's the status of this PR?

@zhangxiaoyu-zidif  Thank you
@chenopis   I think this file should already be the end state.
https://markthink.github.io/docs/concepts/overview/what-is-kubernetes/
https://markthink.github.io/docs/tutorials/kubernetes-basics/

I didn't see any outstanding issues on this PR, should we go ahead and merge it to get started?

Looks like I can merge this now.


Move logic for deduplicating commands in a request from the JSON serialization to the model object

NetflixOSS » Hystrix » Hystrix-pull-requests #336 SUCCESS
This pull request looks good


Game list 'filter' doesn't work as it should

While typing in a value does remove items that don't match your search term, space of unmatched items is not removed. So results still appear paginated just with only those matching things on pages.. The result is you have to hit more several times to get to all the results, and the result of hitting more may be just an empty line.
Ideally, this filter should completely remove items from the result set that are not a match, and pagination should work as it does when no search filter is applied (ie: 12 items per page)
Here's a screenshot of the existing bad behaviour (represents having clicked 'more' about 10 or 12 times):

Yes, I'm actually working on replacing this. We had a bunch of changes all come together near the end (see the tiny gear peeping out from beneath the corner), and a few too many things going on at once, that unfortunately improving the UX came last. Working on it.


README for integrations

Suggestion
we need to describe the new integrations package readme file.
should contain:

what is an integration?
how to use an integration in the new CLI syntax?
how to create a new integration package?
Where do those integrations deploy?

Motivation
No response
Context
No response

If this is open, can I work on this.

@chandolakul @Shivansh2030 As you all can see, this issue was already assigned to me in the first place, since this is the description of the new CLI that hasn't been fully developed yet, it's a bit hard to describe to you the architecture that we have in mind that is still missing on this repository because it's not something easy to guess.
saying that, @Anurag0git already created a PR. I'm truly thankful of it, although I'm not encouraging you to take issues that are not well described and has too many missing references, but I do encourage you to read the comments that I wrote on his PR, because they explain a lot about the new architecture.


Update cis_4.6.x.yml

Avoid capturing commented out lines.
Removed parenthesis as the capture group is not used, so those were not required.
Overall Review of Changes:
The regex captures lines that are commented out and ansible lineinfile only changes last occurence. Made the regex explicitely look for a line that is not commented out.
Issue Fixes:
Control 4.6.5 is failing because the line being updated in /etc/login.defs is
# If HOME_MODE is not set, the value of UMASK is used to create the mode.

instead of
UMASK 022

Enhancements:
Please list any enhancements/features that are not open issue tickets
How has this been tested?:
Manually tested on a local instance.
TASK [AMAZON2023-CIS : 4.6.5 | PATCH | Ensure default user umask is 027 or more restrictive | Set umask for /etc/login.defs pam_umask settings] ***
changed: [<IP_ADDRESS>] => (item={'path': '/etc/bashrc', 'line': 'umask'})
changed: [<IP_ADDRESS>] => (item={'path': '/etc/profile', 'line': 'umask'})
changed: [<IP_ADDRESS>] => (item={'path': '/etc/login.defs', 'line': 'UMASK'})

TASK [AMAZON2023-CIS : 4.6.5 | PATCH | Ensure default user umask is 027 or more restrictive | Set umask for /etc/bashrc] ***
changed: [<IP_ADDRESS>]

And then, logging in on the instance:
$ cat /etc/login.defs | grep -i umask
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
# Default "umask" value for pam_umask(8) on PAM enabled systems.
# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
UMASK 027
# If HOME_MODE is not set, the value of UMASK is used to create the mode.

Before the change:
$ cat /etc/login.defs | grep -i umask
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
# Default "umask" value for pam_umask(8) on PAM enabled systems.
# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
UMASK		022
UMASK 027

duplicate of #27


Add Computer Science Flash Cards

We want to add a feature that borrows inspiration and the dataset from the awesome work already done in here: https://github.com/jwasham/computer-science-flash-cards
As a user I want to be able to:

[ ] browse through a list of flash-card categories, which group cards in logical categories.
[ ] browse through the cards in a group.
[ ] look at the question on the card.
[ ] flip the card to look at the solution / answer.
[ ] tag a card with a difficulty level (easy/hard/very-hard) as per my comfort & will.
[ ] browse through cards of a certain difficulty level I tagged.
[ ] hide cards completely in an archive area.
[ ] create and update new custom groups (other than the standard set)
[ ] create and update new custom cards (other than the standard set)
[ ] add cards to the custom groups.
[ ] delete cards to the custom groups.

@raisedadead @Sembauke We already have this in the form of DeveloperQuiz.org. I recommend we expand the functionality of this website instead of building a separate tool.
I know this is from nearly a year ago, but Sem mentioned this issue to me. (This is not super high priority.)
This application was built by @jdwilkin4 and @deniselemonaki. If you want to share feedback for how similar this is to your vision of flashcards, we could come up with some specific user stories to build out.
This would also be a cool thing to build into the mobile app at some point.

The application was built by @jdwilkin4  and @estefaniacn. I was not involved with the design and build.


wisdev.kishou.go.jp server certificate has expired

Hi
I've noticed that the messages in the meteo fr global broker points to assets on wisdev.kishou.go.jp (Global Cache Japan?) but wisdev.kishou.go.jp's server certificate has expired. An asset example is https://wisdev.kishou.go.jp/data/wis2/dza/dz/data/core/weather/surface-based-observations/synop/WIGOS_0-20000-0-60672_20230822T090000/WIGOS_0-20000-0-60672_20230822T090000.bufr4
Apologies if this is not correct place to report this - should it be here instead?
I would expect clients trying to download assets use certificate validation so their downloading would fail so its important to get this fixed.
Thanks!

@KenRJTD Can you have a look?

Server certificate has been replaced and is no longer expired. Closing issue.
Thanks!


CBS East

Source
https://www.tvpassport.com/tv-listings/stations/cbs-eastern/1225
Channels
CBSEast.us
Notes
Adding to tvpassport please It was added to another already.

Added in #1776


SQLite Output Fails with hyphens in hostname

It appears I get a failure when outputting to db if the server hostname includes a hyphen. I encountered while testing a site but was able to reproduce with a minimal example by creating two hostfile entries to localhost and running a lightweight server locally:
Hostnames:

testserver
test-server

Working example pinging "testserver" on port 8000:
tcping testserver 8000 --db ./testserver.db
TCPinging testserver on port 8000
^C
Statistics for "testserver" have been saved to "./testserver.db" in the table "testserver_8000_10_53_11_10_05_2024"

Failing example pinging "test-server" on port 8000:
tcping test-server 8000 --db ./testserver.db

Error writing to the database "./testserver.db"
err: sqlite: prepare "\n-- Organized row names together for better readability\nCREATE TABLE test-server_8000_10_49_06_10_05_2024 (\n    id INTEGER PRIMARY KEY,\n    event_type TEXT NOT NULL, -- for the data type eg. statistics, hostname change\n    timestamp DATETIME,\n    addr TEXT,\n    hostname TEXT,\n    port INTEGER,\n    hostname_resolve_retries INTEGER,\n\n    hostname_changed_to TEXT,\n    hostname_change_time DATETIME,\n\n    latency_min REAL,\n    latency_avg REAL,\n    latency_max REAL,\n\n\ttotal_duration TEXT,\n    start_time DATETIME,\n    end_time DATETIME,\n\n\tnever_succeed_probe INTEGER, -- value will be 1 if a probe never succeeded\n\tnever_failed_probe INTEGER, -- value will be 1 if a probe never failed\n    last_successful_probe DATETIME,\n    last_unsuccessful_probe DATETIME,\n\n    longest_uptime TEXT,\n    longest_uptime_start DATETIME,\n    longest_uptime_end DATETIME,\n\n    longest_downtime TEXT,\n    longest_downtime_start DATETIME,\n    longest_downtime_end DATETIME,\n\n    total_packets INTEGER,\n    total_packet_loss REAL,\n    total_successful_probes INTEGER,\n    total_unsuccessful_probes INTEGER,\n\n    total_uptime TEXT,\n    total_downtime TEXT\n);": 3:18: SQL logic error: near "-": syntax error

Thanks!

Hi @andywhitaker
Thanks for reporting this. We will get it fixed.

Hello @pouriyajamshidi,
has the issue been resolved? If not, my guess on fixing it: sanitizing and properly escaping table names in query.
I'd be happy to work on it as my first contribution. Any guidance would be much appreciated!

Hi @pro0o,
This is not resolved. You are more than welcome to work on it. Basically what you have mentioned should fix it.
Thanks in advance!

as far as i can think of, these are the possible fixes to this bug:

replacing hyphens with underscores
quoting table names with hyphens

The first option seems better as it simplifies the process and reduces SQL injection risk while keeping the original hostnames. while The second option adds unnecessary complexity i guess.
here's the possible change in  db.go:
// newTableName generates a sanitized table name based on the hostname and port.
// It replaces '.' and '-' with '_' to ensure the table name is valid in SQLite.
// The table name format: "hostname_port_hour_minute_sec_day_month_year"
func newTableName(args []string) string {
	// Replace '.' and '-' with '_' in the hostname to sanitize the table name
	sanitizedHost := strings.ReplaceAll(args[0], ".", "_")
	sanitizedHost = strings.ReplaceAll(sanitizedHost, "-", "_") // Replace hyphens with underscores

	tableName := fmt.Sprintf("%s_%s_%s", sanitizedHost, args[1], time.Now().Format("15_04_05_01_02_2006"))
	if unicode.IsNumber(rune(tableName[0])) {
		tableName = "_" + tableName
	}

	return tableName
}

@pouriyajamshidi

I would keep it simple. Replacing - with _ is fine.
Not sure why you are also replacing the .s. Where could that be an issue?

welp, indeed "." is misinterpreted too.

huh, that is strange!
I don't think I faced that before. Does it behave the same with IP addresses too?

yupp

I don't think I faced that before. Does it behave the same with IP addresses too?

not sure how you are getting a failure for IP addresses. Works for me

well, the replacement of "." with "_" was already there in the db.go lol.
should i just change the hyphen to underscores, it should fix the hyphen bug.

not sure how you are getting a failure for IP addresses. Works for me

so the reason it was not working was i didn't replaced the "." with "_".

well, the replacement of "." with "_" was already there in the db.go lol. should i just change the hyphen to underscores, it should fix the hyphen bug.

yes, please


investigate auto-linking on 0.62

Bug
I believe art is not autolinking as expected in 0.62. Related: https://github.com/react-native-community/art/issues/54
even after having art in my node_modules and in package json, pod install output doesn't show art as auto-detected:
$ cd ./ios && pod install --repo-update && cd ..
Detected React Native module pods for A0Auth0, RNAWSCognito, RNCAsyncStorage, RNCMaskedView, RNDateTimePicker, RNGestureHandler, RNIap, RNImageCropPicker, RNReanimated, RNSVG, RNScreens, RNSound, react-native-branch, react-native-fbsdk, react-native-geolocation, react-native-netinfo, react-native-onesignal, react-native-safe-area-context, react-native-version-number, react-native-viewpager, and rn-fetch-blob

(expected to see art above)
as I posted on 54, adding to podfile directly fixes.

art 1.2.0, rn 0.62.2
Environment info

react-native info output:
 info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    Memory: 238.36 MB / 16.00 GB
    Shell: 5.0.16 - /usr/local/bin/bash
  Binaries:
    Node: 13.12.0 - ~/.nvm/versions/node/v13.12.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v13.12.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 21, 22, 24, 25, 26, 27, 28
      Build Tools: 23.0.1, 23.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.0, 28.0.3, 29.0.0, 29.0.1
      System Images: android-21 | Google APIs Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_202-ea - /usr/bin/javac
    Python: 2.7.17 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 1.2.0
Steps To Reproduce

react-native init 0.62.2 repo
add art as dep
import some shapes, surface etc...
build project (notice pod install output)
expect crash on "native module not found" type error
...

Describe what you expected to happen:

no crash, auto link succeeds

Reproducible sample code

podfile

platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

def add_flipper_pods!(versions = {})
  versions['Flipper'] ||= '~> 0.33.1'
  versions['DoubleConversion'] ||= '1.1.7'
  versions['Flipper-Folly'] ||= '~> 2.1'
  versions['Flipper-Glog'] ||= '0.3.6'
  versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
  versions['Flipper-RSocket'] ||= '~> 1.0'

  pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'

  # List all transitive dependencies for FlipperKit pods
  # to avoid them being linked in Release builds
  pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
  pod 'Flipper-DoubleConversion', versions['DoubleConversion'], :configuration => 'Debug'
  pod 'Flipper-Folly', versions['Flipper-Folly'], :configuration => 'Debug'
  pod 'Flipper-Glog', versions['Flipper-Glog'], :configuration => 'Debug'
  pod 'Flipper-PeerTalk', versions['Flipper-PeerTalk'], :configuration => 'Debug'
  pod 'Flipper-RSocket', versions['Flipper-RSocket'], :configuration => 'Debug'
  pod 'FlipperKit/Core', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/CppBridge', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FBCxxFollyDynamicConvert', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FBDefines', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FKPortForwarding', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
end

# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '5.0'
      end
    end
  end
  # This post_install hook adds the -DFB_SONARKIT_ENABLED=1 flag to OTHER_CFLAGS, necessary to expose Flipper classes in the header files
  file_name = Dir.glob("*.xcodeproj")[0]
    app_project = Xcodeproj::Project.open(file_name)
    app_project.native_targets.each do |target|
      target.build_configurations.each do |config|
        cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
        unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
          puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
          cflags << '-DFB_SONARKIT_ENABLED=1'
        end
        config.build_settings['OTHER_CFLAGS'] = cflags
      end
      app_project.save
    end
    installer.pods_project.save
end

target 'App' do
  # Pods for App
  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
  pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  target 'AppTests' do
    inherit! :complete
    # Pods for testing
  end

  use_native_modules!

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  add_flipper_pods!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

target 'App-tvOS' do
  # Pods for App-tvOS

  target 'App-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'OneSignalNotificationServiceExtension' do
    pod 'OneSignal', '>= 2.9.3', '< 3.0'
  end

end

Yeah, seems like it's not working.
In case if someone still wants to try the lib (or lib that depends on this one), but don't know what to do:

pod 'ReactNativeART', :podspec =><EMAIL_ADDRESS>Manually link Android as described in the readme


Setup for https with out certificate and key file

Hi,
I deploy this application to a container cloud service where a SSL certificate is auto generated and I don't have the control over certificate or key file generated. When I directly deploy the code without changing anything and just add a white list url, I get a error saying "Invalid host : https".
I see in the documentation to setup for https, we need to provide the options for key and certificate.
I do not have the key file and might not be able to get it. All my sites where I should use this cors-anywhere application and request url where the CORS should be enabled are all https.
In such cases, how to configure the application for https

i'm in a similar position, i dont have a domain, just need to access via IP, but i get ERR_SSL_VERSION_OR_CIPHER_MISMATCH if i dont set the certificate key/cert

i dont have a domain, just need to access via IP, but i get ERR_SSL_VERSION_OR_CIPHER_MISMATCH if i dont set the certificate key/cert

Don't set the httpsOptions key, and then you can use CORS Anywhere over HTTP (without https).

i'd like to use under https because its for calling an API from a https site

Then you need a certificate. If you can't get any real one, create a self-signed certificate.


[Bug]: Routes access when not logged in.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
@Trisha-tech So i saw the website and i noticed some things like when the user is not logged in and we try to go in shop, wishlist, cart or orders these routes should not be available and the user should be asked to login to access these or redirected to login page or / main page right so i want to fix this issue. Assign me on this under GSSOC'24 extd and hacktoberfest'24.
Expected behavior
I already explained we should show a pop up that these can be only accessed after login or redirect to login page show the popup that only available after login or redirect to main page / and show the popup or toast to login first insted to seeing errors in it.
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Describe the bug
@Trisha-tech So i saw the website and i noticed some things like when the user is not logged in and we try to go in shop, wishlist, cart or orders these routes should not be available and the user should be asked to login to access these or redirected to login page or / main page right so i want to fix this issue. Assign me on this under GSSOC'24 extd and hacktoberfest'24.
Expected behavior
I already explained we should show a pop up that these can be only accessed after login or redirect to login page show the popup that only available after login or redirect to main page / and show the popup or toast to login first insted to seeing errors in it.
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @tarunkumar2005, Go for it
All the Best

add labels gssoc 2024 ext and hacktoberfest labels in this @Trisha-tech

I want to give a suggestion @Trisha-tech like i have done this but the animations of changing screens means when you first  open the books animation is good but it is not good everytime you change the screen right it will be very boring and hectic and in this case where user clicks on the wishlist and not logged so it will show a toast that it can be only accessed after login so 2-3 goes in animation, then it opens and quickly redirects and in redirect again animation shows up so there also waiting time so the toast isn't properly visible in this time i tried to add custom time for toast and timeout but the animated screen after every page switch is frustating even for users i think who will use it try to put only on the first load or major change okay not every time screen switches i hope you will solve this. I have done my part i will create the pull request check on that it will work properly if you fix that animation i told just now. I hope you will consider this i can also help this new issue i just told create a new issue and asign it to me.

add labels gssoc 2024 ext and hacktoberfest labels in this @Trisha-tech

This project is not under Hacktoberfest @tarunkumar2005 .

I want to give a suggestion @Trisha-tech like i have done this but the animations of changing screens means when you first open the books animation is good but it is not good everytime you change the screen right it will be very boring and hectic and in this case where user clicks on the wishlist and not logged so it will show a toast that it can be only accessed after login so 2-3 goes in animation, then it opens and quickly redirects and in redirect again animation shows up so there also waiting time so the toast isn't properly visible in this time i tried to add custom time for toast and timeout but the animated screen after every page switch is frustating even for users i think who will use it try to put only on the first load or major change okay not every time screen switches i hope you will solve this. I have done my part i will create the pull request check on that it will work properly if you fix that animation i told just now. I hope you will consider this i can also help this new issue i just told create a new issue and asign it to me.

This project is for the contributors. So, one is free to modify , add and enhance the features. Create the issue by yourself based on requirement and I will assign it to you.

@Trisha-tech I have putted the pull request you can verify and merge it.


filter_response: True or False?

Dear Jake,
Thanks for your sharing!
I read the relevant code in pygamry and the part about downsampling confuses me. As we all know, the data needs to be filtered before downsampling. However, the default values of filter in the file are all False, e.g:
pygamry\dtaq\\hybrid.py line 375 leave_cell_on=False, filter_response=False) and
measure_script\\arg_config.py line 76 '--decimate_filter': dict(default=False, action='store_true')
Does this mean that filtering is not done by default before downsampling? Why?

Hello,
You are right - by default, the digital filter is not applied before downsampling. I chose to make this the default behavior simply to be cautious with applying any modifications to the data - I expect that the user may want to test the filter before deciding to apply it to their measurements. Nonetheless, best practice should be to apply the filter before downsampling to avoid aliasing effects. As a note, when the filter is applied, the raw downsampled data (without filtering) is saved in a separate file for comparison to the filtered and downsampled data.

Okay, thanks for the reply👍.


FP16 run stagnates at "OVERFLOW! Skipping step. Attempted loss scale: 1"

I am using pytorch 1.0 and python 3.6 with a single Tesla V100 gpu. I tried to train with fp16 support using the latest code on the master branch.
python train.py --output_directory=outdir --log_directory=logdir --hparams=fp16_run=True

The attempted loss scale decays to 1 and the fp16_optimizer still keeps detecting overflow.
Logs:
FP16 Run: True
Dynamic Loss Scaling: True
Distributed Run: False
cuDNN Enabled: True
cuDNN Benchmark: False
...
FP16_Optimizer received torch.cuda.HalfTensor with torch.Size([80])
FP16_Optimizer received torch.cuda.FloatTensor with torch.Size([80])
FP16_Optimizer received torch.cuda.FloatTensor with torch.Size([80])
Epoch: 0
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>.0
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>.0
OVERFLOW! Skipping step. Attempted loss scale: 536870912.0
...
OVERFLOW! Skipping step. Attempted loss scale: 262144.0
/home/ubuntu/tts/tacotron2/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
return torch.nn.utils.clip_grad_norm(fp32_params, clip)
Train loss 15 47.531357 Grad Norm 11.616506 2.96s/it
Train loss 16 35.477085 Grad Norm 19.570642 2.86s/it
Train loss 17 17.105583 Grad Norm 16.489749 2.89s/it
Train loss 18 10.484207 Grad Norm 14.732778 2.99s/it
OVERFLOW! Skipping step. Attempted loss scale: 131072.0
OVERFLOW! Skipping step. Attempted loss scale: 65536.0
OVERFLOW! Skipping step. Attempted loss scale: 32768.0
...
OVERFLOW! Skipping step. Attempted loss scale: 512.0
OVERFLOW! Skipping step. Attempted loss scale: 256.0
OVERFLOW! Skipping step. Attempted loss scale: 128.0
OVERFLOW! Skipping step. Attempted loss scale: 64.0
OVERFLOW! Skipping step. Attempted loss scale: 32.0
OVERFLOW! Skipping step. Attempted loss scale: 16.0
OVERFLOW! Skipping step. Attempted loss scale: 8.0
OVERFLOW! Skipping step. Attempted loss scale: 4.0
OVERFLOW! Skipping step. Attempted loss scale: 2.0
OVERFLOW! Skipping step. Attempted loss scale: 1.0
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
...
this goes on for a couple of epochs after which I stopped

Same issue here with Nvidia RTX 2080 Ti card...
Any solution yet?

Try this pull request: https://github.com/NVIDIA/tacotron2/pull/137

Try this pull request: #137

It did not work, the issue still persists for me as well.

Same issue on an RTX 2070

We are validating a fix to this. For those who do not want to wait, remove or comment these two lines that apply dropout to the lstm cell states:
https://github.com/NVIDIA/tacotron2/blob/master/model.py#L358
https://github.com/NVIDIA/tacotron2/blob/master/model.py#L375
It should also work when using the pre-trained model to train other models.

This issued should be fixed.


Fix/blob/types import

https://github.com/vercel/storage/assets/123822/9c999aa7-0467-45be-9920-626131105d7e

I will re-test it on my project once released 👍

I will re-test it on my project once released 👍

Nice, note: the autocomplete on the METHODS worked but the autocomplete on TYPES included this weird dot in it.


Reload doesn't seem to work

Thanks for forking this!
I've got a pretty simple button that calls an event and also uses the reload() function. In the console after clicking the button it says "Success" and then does not reload, I think there might not be a reference to the e.$router.go() that is being called:

@adammparker  which version are you using?

@sietse85 I thought I updated to 1.0.17, but I think I might be on 1.0.14 - I see it's fixed in a more recent version - sorry about that. Let me try and force the update!

Feel free to reopen the issue if it's still not fixed.


Fix resource name in variable descriptions

Description
Replace "Key Vault" with "Container Registry", found in some variable descriptions.
Type of Change

[ ] Non-module change (e.g. CI/CD, documentation, etc.)
[x] Azure Verified Module updates:

[ ] Bugfix containing backwards compatible bug fixes

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates.
[ ] Breaking changes.
[x] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] I did run all  pre-commit checks

@microsoft-github-policy-service agree


Fix Issue #57

Fixed the clear button's weird position by updating its positioning (10px to 4px). It doesn't affect the desktop website and the clear button is inline with the placeholder text on the mobile website.

closes #57


Fixed layout issues with smaller child buttons.

The buttons and labels weren't properly aligned when using smaller child buttons.

Merged, thank you very much.


Search Functionality is not working fine

Hi
I am using logtrail with kibana and es - 5.4.1. Both kibana and es are running is containers and i insatlled logtrail plugin as per the document.
I can see the logs correctly in live mode but when i search something it doesn't show the full logs + adds some UI tags.
For example
Sample Logs-

After Search

Its not showing full line of log + also added

@cabhi These tags are added as part of highlight feature. If you have upgraded from 0.1.13 please change message_fromat field in logtrail.json from {{syslog_message}} to {{{syslog_message}}} ( notice 3 curly braces)

@sivasamyk  Thanks that worked. it would be nice to update the same in documentations.
Also i have one more query. Can i give custom time range in seek instead of Range -><>to now

Can i give custom time range in seek instead of Range -><>to now - I assume you need to filter events between 2 timestamps T1 and T2.  Currently it is not possible. You can go to a particular time using seek and scroll down till you reach the latest event. ( logtrail won't fetch all events on one query).

Thanks for the quick reply :)
Is there any debug option where I can see the query being fired on es in logs ??

Currently there are no debug options . You can uncomment //console.log(JSON.stringify(searchRequest)); line in plugins/logtrail/server/routes/server.js file and restart Kibana.

Thanks for the replies :)
I got another cosmetic UI error.
Once we click on any of the buttons ( System, Time Range, Settings) it is not closing already opened input box which makes it totally cluttered.

Thanks for reporting this issue. Its a known issue. You can click outside ( in the console) to close the popups. Will fix this in next release.

The UI issue is fixed in latest release @ https://github.com/sivasamyk/logtrail/releases/download/v0.1.15/logtrail-5.4.1-0.1.15.zip


Use Api v3.x in Extensions.CSharp

With the addition of a server in agent to receive request from worker instead of usinf bidirectionnal streams, we need to update the part that was simplifying the use of stream.
This part will be moved in ArmoniK.Api. Therefore, the package should be used to access it.

PR : https://github.com/aneoconsulting/ArmoniK.Extensions.Csharp/pull/58


Enhancement: CLI config should support profiles

Should resolve https://github.com/opentdf/otdfctl/issues/111 & https://github.com/opentdf/otdfctl/issues/166
Other CLI tools utilize a config file with separate profiles, and we could employ a similar approach.

Viper could be bound to flags and the env
a CLI command could be employed to switch profiles
cached auth credentials on the OS could be tied to separate profiles
variables like host which is a required permanent flag and OTDFCTL_TOKEN_URL which is read from the environment can be unified

Related to #150


Missing entities after upgrade of this plugin

Since I updated through hacs to the latest version I am missing some important entities like current power production and lifetime production.
I tried reinstalling restarting etc. nothing is working
Enphase installation
Envoy-S Metered
door Enphase
Firmware: 7.6.175
Home Assistant setup
Software version: '2023.9.3'
Screenshots

I downgraded from v1.2.1 to v1.0.1 and everything is working again.
So it seems something is broken in the latest version

Hey @cosmos1978 ,
sorry for the inconvenience. Unfortunately I couldn't reproduce the issue on my own.
Could you reinstall version 1.2.1, enable debug logging and provide the necessary logs from Home Assistant?
If you need any help in the process please let me know.

I think I have the same issue as cosmos1978 I also lost the life production status. I think this happend to me when I installed v1.2.1 a couple of days ago. Just installed the v1.2.2 and same result.

Sorry to hear that,
If you want to upload logs so I can try to solve the issue you can:

settings -> Devices & services -> Enphase Gateway -> Enable debug logging
restart Home Assistant
disable debug logging -> file will be downloaded automatically
upload the log file here.

Otherwise to roll back to version 1.0.1 it's best to:

remove the integration
move to HACS and redownload version 1.0.1
restart Home Assistant
go to settings -> Devices & services and add the integration

Hope I could help.

I created logfile and rolled back to v 1.0.1 after this the lifetime entity was working again.
home-assistant_enphase_gateway_2023-10-02T16-37-14.760Z.log

Hey,
thank you very much for the logfile.
Found the underlying issue and released a patch as beta release. You are welcome to give it a try.
I will perform some further tests and will release version 1.2.3 in the coming days.

Just installed the beta version and this seems to fix my problem. Thanks for the fast response!

I think I found the difference. The new version is counting in MWh and v1.0.1 is counting in W. Because of the rounding of the number, there is no activity shown every 15 minutes which makes it appear that it is not working

Used the unit of measurement MWh for testing during development. Changed it back to Wh.
Next release will be back to Wh.

Released version 1.2.3.
Closing this issue as resolved.


convert react-gears icons to fontawesome v6

Convert react-gears to FontAwesome 6

 Update React Gears To Font Awesome 6


Wrong buffer

ToBuffer method returns a wrong buffer randomly
example:
sharp(imageFile)
          .resize(myWidth, myHeight)
          .background({r: 0, g: 0, b: 0, alpha: 0})
          .embed()
          .toFormat(sharp.format.jpeg)
          .toBuffer()
          .then(output) => {
// Sometimes buffer cannot be used as uint8Array, it's seems corrupted
console.log(output.buffer);
});

Hello, the first parameter passed to the toBuffer callback is an error, if any.
-          .toBuffer((output) => {
+          .toBuffer((err, data, info) => {

Sorry i forgot then :)

Thanks for the code update.

output is a Buffer instance, which implements the Uint8Array API.
output.buffer is an ArrayBuffer instance.

Which type do you need?

I need arraybuffer, my code is ok and working like a charm with sharp (really fast! :) congrat to you).
But in some cases, i can't use arraybuffer output as uint8array like expected.
It seems output is not a valid arraybuffer.
I don't have any error.
I have tried to write the image instead to use direct buffer without luke.
Maybe it come from an other part of my code.
I'll give you more feedback tomorrow.

You can close the issue!
Thx for your help anyway.

I had a possibly related issue where the value returned by toBuffer() was a Uint8Array instead of a Buffer, which was causing problems when passed to another library, so I just wrapped the returned value with Buffer.from() to make it a proper Buffer. Just thought I'd write this down in case anyone else has a similar problem.

@josephfrazier You shouldn't need to do this as sharp always responds with a Buffer assigned via Nan::NewBuffer. Perhaps another dependency is re-defining or monkey-patching the global Buffer class? Please open a new issue with a code sample if you're able to isolate this behaviour to sharp.

Thanks for clarifying! I haven't looked into it closely, but I wouldn't be surprised if something was being monkey-patched. If I do end up isolating the behavior, I'll be sure to open an issue.


[Xcode] Update Xcode project

Update to Xcode 14.3
Update source filelists
Remove DEFINES_MODULE and related settings — this package does not define a clang module.

Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test