Addingcolumn

Fixed issue https://github.com/debezium/debezium-ui-poc/issues/284 and Addresses(WIP) https://github.com/debezium/debezium-ui-poc/issues/283

Fixed the https://github.com/debezium/debezium-ui-poc/issues/284 issue of not correctly identifying an invalid field in the case of the invalid filter expression.
Updated the Filter page to dynamically accept an array of the possible filter field( filed name and sample value )
Based on the passed filedsArray filter page is updated and the corresponding label text is adjusted.

WIP:-
Show the filter response tree containing column value(as per further clarification need to handle the response of filter API call and passed treeData to FilterTreeComponent  )
For Field type of only include/exclude to use new input component(conformation on UX)

I think we need not implement the first WIP task after today's call.

I think we need not implement the first WIP task after today's call.


Add Cursor Tail Effector for Enhanced User Experience ✨

I want to add a Cursor Tail Effector...
I propose adding a cursor tail effector to improve the overall user experience. This subtle but visually appealing effect will make interactions feel more dynamic and engaging for users, enhancing the visual feedback as they navigate through the site... 🔵✨
PA please assign me this task.

Sorry @Subhajit-2023-44  this feature doesn't add up much improvement...hoping for better contributions in the future


Use std::unordered_map for CacheTagArray class

Currently the only way to find a value in CacheTagArray is iterating the std::vector from begin to end, so we do O(ways) here. If we used std::unordered_map, we would do this in O(1).

@denislos Denis, please do not self-assign on more than 2 issues simultaneously. First of all, it's better to stay focused, secondly, it is not very fair to other guys.


error: package com.visioncameracodescanner does not exist

filepath:
android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:143: error: package com.visioncameracodescanner does not exist
import com.visioncameracodescanner.VisionCameraCodeScannerPluginPackage;
can somebody help me out from this?

@rodgomesc can any help me out from this?

filepath: android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:143: error: package com.visioncameracodescanner does not exist import com.visioncameracodescanner.VisionCameraCodeScannerPluginPackage;
can somebody help me out from this?

getting same issue!

Try this https://www.youtube.com/watch?v=sE0MEyFA7E4&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=7 & https://www.youtube.com/watch?v=BFkIIIKgjnE&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=80


Support for nanosecond time resolution.

Now the magic number for nanosecond time resolution pcap files is accepted as well. I also added an attribute to the header which indicates if the timestamp_ms is given in nanoseconds or microseconds.

@chrwen-omicron Thanks!


[onboarding] let Stack fetch dependencies from GitHub?

This is very minor, but i'm somewhat obsessed with onboarding: the current stack.yaml references local clones of your own Haskell libraries - this only a few seconds and can be scripted, but may be further streamlined outside of development.
I imagine the local clones are used in your own development workflow. However, would it be useful for me to send a PR that keeps the current stack.yaml with an alternative name (say stack-development.yaml) and updates stack.yaml to fetch these packages directly from GitHub?
This way, you (and others hacking locally on sweetroll, gitson, etc.) can still iterate quickly (stack --stack-yaml stack-development.yaml build) whereas new users checking out sweetroll can just issue stack build and let Stack do all the fetching etc.
(I see that your Indieweb libraries are on Hackage too, but it seems that only the GitHub master branches have all the latest features needed for master sweetroll, so it's probably best not to just let Stack fetch these from Hackage as Cabal dependencies for the time being)
I may be off with my proposed solution (just starting out with Haskell/Stack etc.) - it works for me but i may be very well overcomplicating 😐

Yes, I have thought about alternative stack files, this is exactly the right solution, I've just been too lazy to do it :D Make the name shorter though: stack-dev.yaml

cool - PR on its way.


docs(action-sheet): add close-on-key-escape api

Checklist
List of tasks you have already done and plan to do.

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.

这里添加一下类型

onKeyEscape 是一个事件，也需要加到文档里，另外再格式化代码，把 onXXX 放在一起


Images in old sequences posts are broken

This seems pretty hard to fix, since we don't actually have the old asset database. We'll see how we can fix this.

I believe I have recovered the missing images.
I have successfully recovered every image I detected in LW posts that was stored on lesswrong.com itself and is now unavailable. (How I did it: I retrieved every post's HTML body through the GraphQL API and searched it for <img> tags with an src that either was a relative path (e.g., /static/...) or contained lesswrong.com. It seems that the src filter was coarse enough to get everything, but if it missed something it will be easy for me to extend my code and rerun the process. I then downloaded the latest version of each image source saved by the Wayback Machine.)
I have uploaded the images as a ZIP archive and published the source code of the tools I wrote at gitlab.com/dbohdan/lw2-images. The archive contains a single directory called results/. It in are:

the unavailable images stored as results/images/${post_id_here}/${original_filename.ext};
JSON files with the post ids and the image sources for the unavailable images in results/unavailable/.

Tell me if you want the full data set I produced while working on this, which consists of JSON files that list every LW post with an image source that's a relative URL or contains lesswrong.com and the corresponding image files (circa 67 MiB in total).

Are these still missing from the posts? I spot checked one that I remembered having images (https://www.lesswrong.com/s/SGB7Y5WERh4skwtnb/p/yFDKvfN6D87Tf5J9f) and it was fine.


Typo in initialization example

'TwitchAPI' object didn't match initial identifier. 'TwitchApi' vs 'TwitchAPI'

Thank you very much for the commit =)


avoid single variant match blocks

prefer 'if let` to single variant match blocks.
the lint itself is a small win which improves readability slightly, and reduces indentation/nesting.
Perhaps more usefully, this PR also introduces the [workspace.lints] boiler plate needed to support gradually adding of workspace-level lints (if desirable)

Since the workspace lints are already there through your other PR and this lint isn't really a win in my opinion, I'm gonna go ahead and close this.


TileMap Editor Preview does not respect CanvasItem Texture Filter

Tested versions

Reproducible in 4.2.2.stable

System information
Godot v4.2.2.stable.mono - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
The TileMap editor's preview will always display with Linear filtering, regardless of the filtering set on the actual CanvasItem. This can result in blurry previews for pixel-art-based tile sets.

Steps to reproduce

Create a pixel-art-based tile set
Create a TileMap with CanvasItem texture filtering set to Nearest
Preview adding a tile with any of the editor tools (Paint, Rect, etc...)
Observe blurry tile

Minimal reproduction project (MRP)
N/A

Thank you for reporting, consolidating in:

https://github.com/godotengine/godot/issues/52332

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened


sonarlint :: more cleanup

Is the goal to address all of sonarlint's suggetions? This is what I got after running it on these files:

Is the goal to address all of sonarlint's suggetions? This is what I got after running it on these files:

I made a few more updates. I'm trying to keep this pr fairly simple since this touches multiple files.

I made a few more updates. I'm trying to keep this pr fairly simple since this touches multiple files.

That's fair. The changes are good, especially the ones to RollManager.


All I had to run in order to TDD was "molecule test"
This previous default behavior was better because now I always have to run

molecule destroy
molecule create
molecule test --destroy=never

The TDD is now more complex.
Do you think it is possible to add a destroy option ifsuccess ? Is it possible to revert to this option by default ?
Thanks.

Default destroy behaviour was:

destroy before create
destroy at test end if all is OK

Isn't that stll the case?

Hello,
No, here is a reproductible use case :
$ molecule init role -r test
$ cd test
$ sed -i 's/==/!=/' molecule/default/tests/test_default.py
$ molecule test
--> Test matrix

└── default
    ├── lint
    ├── destroy
    ├── dependency
    ├── syntax
    ├── create
    ├── prepare
    ├── converge
    ├── idempotence
    ├── side_effect
    ├── verify
    └── destroy

--> Scenario: 'default'
--> Action: 'lint'
--> Executing Yamllint on files found in /tmp/test/...
Lint completed successfully.
--> Executing Flake8 on files found in /tmp/test/molecule/default/tests/...
Lint completed successfully.
--> Executing Ansible Lint on /tmp/test/molecule/default/playbook.yml...
Lint completed successfully.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    ok: [localhost] => (item=None)

    PLAY RECAP *********************************************************************
    localhost                  : ok=2    changed=1    unreachable=0    failed=0

--> Scenario: 'default'
--> Action: 'dependency'
Skipping, missing the requirements file.
--> Scenario: 'default'
--> Action: 'syntax'

    playbook: /tmp/test/molecule/default/playbook.yml

--> Scenario: 'default'
--> Action: 'create'

    PLAY [Create] ******************************************************************

    TASK [Create Dockerfiles from image names] *************************************
    changed: [localhost] => (item=None)

    TASK [Discover local Docker images] ********************************************
    ok: [localhost] => (item=None)

    TASK [Build an Ansible compatible image] ***************************************
    changed: [localhost] => (item=None)

    TASK [Create molecule instance(s)] *********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) creation to complete] *******************************
    changed: [localhost] => (item=None)

    PLAY RECAP *********************************************************************
    localhost                  : ok=5    changed=4    unreachable=0    failed=0

--> Scenario: 'default'
--> Action: 'prepare'

    PLAY [Prepare] *****************************************************************

    PLAY RECAP *********************************************************************

--> Scenario: 'default'
--> Action: 'converge'

    PLAY [Converge] ****************************************************************

    TASK [Gathering Facts] *********************************************************
    ok: [instance]

    PLAY RECAP *********************************************************************
    instance                   : ok=1    changed=0    unreachable=0    failed=0

--> Scenario: 'default'
--> Action: 'idempotence'
Idempotence completed successfully.
--> Scenario: 'default'
--> Action: 'side_effect'
Skipping, side effect playbook not configured.
--> Scenario: 'default'
--> Action: 'verify'
--> Executing Testinfra tests found in /tmp/test/molecule/default/tests/...
    ============================= test session starts ==============================
    platform linux2 -- Python 2.7.14, pytest-3.4.0, py-1.5.2, pluggy-0.6.0
    rootdir: /tmp/test/molecule/default, inifile:
    plugins: testinfra-1.7.1
collected 1 item

    tests/test_default.py F                                                  [100%]

    =================================== FAILURES ===================================
    _____________________ test_hosts_file[ansible://instance] ______________________

    host = <testinfra.host.Host object at 0x7f1181ac5050>

        def test_hosts_file(host):
            f = host.file('/etc/hosts')

            assert f.exists
    >       assert f.user != 'root'
    E       AssertionError: assert 'root' != 'root'
    E        +  where 'root' = <file /etc/hosts>.user

    tests/test_default.py:13: AssertionError
    =========================== 1 failed in 8.89 seconds ===========================
An error occured during the test sequence.  Cleaning up.
--> Scenario: 'default'
--> Action: 'destroy'

    PLAY [Destroy] *****************************************************************

    TASK [Destroy molecule instance(s)] ********************************************
    changed: [localhost] => (item=None)

    TASK [Wait for instance(s) deletion to complete] *******************************
    changed: [localhost] => (item=None)

    PLAY RECAP *********************************************************************
    localhost                  : ok=2    changed=2    unreachable=0    failed=0
$ molecule login
Error: No such container: instance
$ molecule --version
molecule, version 2.7.0

Same with molecule, version 2.8.2

Maybe this will help better answer your question (#1100).

Hello,
You're right, destroy=never option is now usable, thanks.


WIP: New method OC ACL

New method to handle device ACLs
Discussion points:
Do we want to use the OC model as the base (is this PR a non-starter)
How to handle namespacing (EOS supports mac and IP access lists with same name)
Did I handle the flags section clearly, or should we just return a list of text_types with the flag names?
How to handle the port range types OC uses?

When I think of ACL's/FW rules, I tend to think of them in src -> dst. My 2 cents would be to have them be the dict key, instead of ip proto, eth, and transport.
Also thinking perhaps support for user and app-id (I know PA, and juniper have that concept.)

@bewing I think it makes sense, let me review tomorrow the OC model and get back to you.
@itdependsnetworks this is for ACL, which is not the same as a firewall rule : ) In any case, firewall rules are already implemented here: https://github.com/napalm-automation/napalm-base/blob/develop/napalm_base/base.py#L1453

@dbarrosop I still stand by the following:

When I think of ACL's/FW rules, I tend to think of them in src -> dst. My 2 cents would be to have them be the dict key, instead of ip proto, eth, and transport.

Didn't realize about FW policy, good to know. :) Having looked at ACL's (generally simpler) and a FW policies, I feel one or two of the following is try. FW schema is under-engineered, and/or ACL schema is over engineered.

Should we omit dictionary keys that are not used in a match?  For example, if we want to match a packet regardless of its DSCP field, should we just leave it out, or have a special value that says "ANY"?  Furthermore, oc-pkt-match-types:port-num-range does support "ANY", so should we specifically set it as "ANY", or omit the key, or leave it up to the driver implementation?

How to handle namespacing (EOS supports mac and IP access lists with same name)

I think that this should be handled on a per-driver basis.  Since OC has indicated that "name" is the key for acl-set, drivers/platforms that have namespace issues MUST prefix OC acl-set names with driver or vendor specific prefixes in order to force uniqueness among IPv4 simple/expanded, IPv6, and MAC ACLs.  Platforms that enforce uniqueness across different classes MAY use a prefix if desired?

I think that this should be handled on a per-driver basis. Since OC has indicated that "name" is the key for acl-set

Yes, I think so too. Same case with the ACL sequence ID: for example Junos doesn't know about sequence ID, but because the OC model imposed this to be an integer, we'll need to count through them and assign a #. So, yeah, there will be some particular cases handled per driver.

@bewing if no one else has further comments, I would encourage you to start writing tests. Thanks!

So as I'm writing out the tests, I'm back again to how we should handle defaults / missing values / 'any's.
Since I'm trying to use test_model() to test return data, it leans much more towards having empty strings or "any" for wildcards instead of omitting them.  I was playing with testing for existence of keys pointing to dictionaries, so we could skip checking sub-models if they are not present, but I don't think our current test_model() would support checking, for example, the ip_protocol_fields dictionary if DSCP was an optional entry.
Welcome to thoughts, but I'm leaning towards empty strings for wildcards.

Hi @bewing,

I'm back again to how we should handle defaults / missing values / 'any's.

Regarding defaults, we have a discussion in #114. Looking at this corner case, I think it makes more sense @ktbyers's comment: https://github.com/napalm-automation/napalm-base/issues/114#issuecomment-256686590 - to have the defaults clearly specified in the method documentation.

Since I'm trying to use test_model() to test return data, it leans much more towards having empty strings or "any" for wildcards instead of omitting them.

I agree.

I was playing with testing for existence of keys pointing to dictionaries, so we could skip checking sub-models if they are not present, but I don't think our current test_model() would support checking, for example, the ip_protocol_fields dictionary if DSCP was an optional entry.

I'm not sure what do you mean here?
If you refer to the depth of the tests, this depends how and what you are looking to test, e.g.: in your previous proposal you added this line: https://github.com/napalm-automation/napalm-base/blob/develop/napalm_base/test/getters.py#L502 in order to go and test the dictionary under state.

Welcome to thoughts, but I'm leaning towards empty strings for wildcards.

I would be inclined to suggest using any instead of empty string for wildcards. But I'm not completely sure about that - perhaps only in time we'll see what's the most suitable.

Sorry for the delay with this, flying back and forth and xmas is killing my productivity... I think this one is going to need a bit more care than other methods and we might have to work on the "defaults" we have discussed here:
https://github.com/napalm-automation/napalm-base/issues/114
The reason is that I would like to differentiate in this method what's set, what's not set and what's not supported. For example, if I am getting a L3 ACL I would like to clearly see that the ethernet_header is not set.

@bewing I am sorry to say you opened a can of worms I have been trying to avoid for a while XDDD
I think we should do something different here. For starters, let's create a branch to work with this. We might need to devise a new method to test OC-compliant models and we might have to tweak the model a bit with nicer defaults.

Looking also at https://github.com/napalm-automation/napalm-base/pull/124, looks like @bewing has a predilection to open cans of worms :)
We could probably release an experimental version of napalm-base and see how it goes - what do yu thing?

So I have changed the base branch of this PR and I will be merging it as it is soon. My idea for OC models from now on are as follows:

We will have some base code to help dealing with types, optional branches, dependency branches , etc. that YANG defines.
OC models will be based off classes instead of dictionaries.

I have been trying to build those dynamically but I am getting to the conclusion it doesn't make sense so let's use this PR as a starting point to play with this.

The reason is that I would like to differentiate in this method what's set, what's not set and what's not supported. For example, if I am getting a L3 ACL I would like to clearly see that the ethernet_header is not set.

Given that the OC implementation did not choose to mark anything in the model as mandatory, perhaps we should be playing looser in base, and giving more latitude to the drivers?  I'd be happy to just leave ethernet_header, transport_fields as optional and test for them with get('ethernet_header', None), and only check their models if they exist.  If they do exist, I still think keeping the defaults inside each section as-is (explicit match or don't-cares like <IP_ADDRESS>/0 for src/dst, -1 for ints, and 'any' for ports, etc.)

perhaps we should be playing looser in base, and giving more latitude to the drivers?

Yes, I completely agree with that. That's why I want to modify how OC methods work and use classes instead of dicts. So the implementer can signal what's not implemented and what's missing due to not being supported by the vendor or what's not yet populated.
If you need this method for production and are in a hurry I suggest you hack it on your own in the way that works best for you as I plan to use this method to try to come up with something for the long term so it might take some time to define this method (2-4 weeks maybe?)

Far from usable but it would be nice if you could verify the generated models are correct:
https://github.com/napalm-automation/napalm-yang/pull/4

As we progress with OC, I am closing this one. If you think there is something worth discussing, feel free to reopen.


Security alert for console port is shown even if port is unreachable

Hi,
I am using launcher on a server VM in Windows 10 with a public IP, so port forward has no sense here.
The below alert is shown even is console port is firewall protected.
For me, it should not.
17:42:37 - WARNING 'SECURITY ALERT: Your console port (1234) is Port Forwarded!'
17:42:37 - WARNING 'SECURITY ALERT: This allows anybody to control your server.'
17:42:37 - WARNING 'SECURITY ALERT: Disable this ASAP to prevent issues.'

Launcher may test if port is fully reachable before throwing an alert.
Regards.

The launcher tests for the Console Port by trying to hit your Public IP & Console Port combo, if it can, it assumes it's reachable. There's no easy way to get around this issue without setting up an external service to query the console port on demand. AstroLauncher can sometimes be tricked into thinking it's seeing your ConsolePort being forwarded if your network has a non-standard setup, specifically if something within your network is providing NAT Loopback for that port or all ports. The most common one I've seen is someone having a loopback adapter on the box the server is running on.
Ultimately, if you're 100% sure the port isn't forwarded, it's safe to ignore.


impossible to install on Linux

Linux 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
go version go1.14.2 linux/amd64

I've installed libgtk-3-dev, andlabs/ui.
$ go get github.com/andlabs/wakeup
# github.com/andlabs/wakeup
../../go/src/github.com/andlabs/wakeup/main.go:46:11: undefined: ui.LineEdit
../../go/src/github.com/andlabs/wakeup/main.go:47:11: undefined: ui.LineEdit
../../go/src/github.com/andlabs/wakeup/main.go:61:4: undefined: ui.Post
../../go/src/github.com/andlabs/wakeup/main.go:77:10: mw.win.MsgBoxError undefined (type *ui.Window has no field or method MsgBoxError)
../../go/src/github.com/andlabs/wakeup/main.go:83:10: mw.win.MsgBoxError undefined (type *ui.Window has no field or method MsgBoxError)
../../go/src/github.com/andlabs/wakeup/main.go:100:23: not enough arguments in call to ui.NewWindow
	have (string, number, number)
	want (string, int, int, bool)
../../go/src/github.com/andlabs/wakeup/main.go:101:8: mw.win.Closing undefined (type *ui.Window has no field or method Closing)
../../go/src/github.com/andlabs/wakeup/main.go:102:8: mw.win.Posted undefined (type *ui.Window has no field or method Posted)
../../go/src/github.com/andlabs/wakeup/main.go:103:14: undefined: ui.NewLineEdit
../../go/src/github.com/andlabs/wakeup/main.go:104:15: undefined: ui.NewLineEdit
../../go/src/github.com/andlabs/wakeup/main.go:104:15: too many errors

This project is so very out of date I should probably just pull it outright, sorry.

Alright, may be consider adding a warning in the readme or archive the repository. I got here from your profile so this a bit confusing.


added unit testing using Jest

Fixes #13
babelrc file should have preset-env modules set as auto instead of false - see docs
Rest are standard integration and configuration

tk you @Meeshalk


Remove bad link

The destination page (./how-to/guides) does not exist, so this link should be removed.

after this is merged, you will need to do a new release for the registry to know about it. thank you!

Thanks @susanev! Can it wait? Maybe we can actually add some how-tos? We have the code in our samples.

If we add the How-tos, shall I open a PR in the registry to revert your change?

yup it can wait! itd be great to get it into your next release but no urgency to release soon. we've fixed it locally for now.

and yes, if you add some how-to guides we can bring that back. but yall wont be able to use relrefs anymore, you'll need to use direct links. our system no longer supports relrefs.


Update the submission table to display ManuscriptID

Manuscript IDs are associated with repoCopy objects.
Relationships amongst the objects are this:
Submission --> publication <-- repoCopy
ManuscriptIDs = repoCopy.externalds

this is related to https://github.com/OA-PASS/pass-ember/issues/471


add github integration

So, how would one start doing that?
(Just some Hints / Ideas?)

Something like...
With an api token (that LOTS could generate via credentials or it could be passed to LOTS directly in config) it could talk to the github api. The tricky part is the convention of matching a LOTS issue to a github issue (perhaps the github issues could be tagged as "LOTS").
The LOTS web interface might have a button to prompt the user to create a github issue for a found LOTS ticket, or if one exists show a link to the issue on github (LOTS would have to pull all issues tagged "LOTS" and try and match on the ticket title).
LOTS is still on my radar, but I have a lot of other things happening at the moment so I haven't had the time to look at this (obviously!)

Okay cool I will look into that!
Yeah man all your projects are awesome, I will try to help you as much as I can!

It's worth developing the issue syncing system as a separate project that LOTS could make use of. It could be passed a pattern of issues to look for and validate them against github.


Fix SessionsViewModelTest fail

Kind (Required)

Improvement

Overview (Required)

SessionsViewModelTest test is broken 😭

Links

Can I fix it?

Thanks! Assigned 👍


fix errors

fix errors in TextDrawer/Source/TextDrawer and
TextDrawer/Source/TextEditView

thanks for your contribution. you did it :+1:


[FLINK-20271][FLINK-20272][table] Fix ArrayIndexOutOfBounds and wrong result for TopN

What is the purpose of the change
This pull request fixes 2 bugs in RetractableTopNFunction:

FLINK-20271: ArrayIndexOutOfBoundsException when retracting a record in the TopN
FLINK-20272: Wrong result when removing records out of TopN

Brief change log

FLINK-20271: Fix the curRank cursor in retractRecordWithoutRowNumber.
FLINK-20272: Remove record from state if the record is out of TopN range.

Verifying this change

Added unit tests which can reproduce the reported exceptions.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@fsk119 , could you help to review this?


OSGi support

This PR is aimed to add basic support for OSGi : add metadata to manifest

Thanks for the code submission, @lburgazzoli. It may take us a while to review this and get back to you. We'll let you know if we have any questions.

Thank you @raymondberg .
It should not have any impact on the code, the goal is to add OSGi metedata in MANIFEST

Hello @raymondberg, have you had any time to check this PR ? We would like to include the camel-braintree component in the next release of camel and OSGi support is a pre-requisite.

We've been testing out your proposal internally, but the setup to get Apache Felix plugin on a typical JDK+Maven build seems overly complex. Are there any additional setup steps that you would recommend or that are required in order to simplify bundling OSGi-compliant JARs? We're seeing some problems for the OSGI POMs in Maven that we can't seem to get around:

mvn -Dpackaging=plugins install
[INFO] Scanning for projects...
[WARNING] POM for 'org.osgi:org.osgi.core:pom:4.3.1:runtime' is invalid.

...
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'org.apache.felix:maven-bundle-plugin:3.0.1:manifest': Unable to load the mojo 'org.apache.felix:maven-bundle-plugin:3.0.1:manifest' in the plugin 'org.apache.felix:maven-bundle-plugin'. A required class is missing: org/apache/maven/project/DependencyResolutionException
org.apache.maven.project.DependencyResolutionException
[INFO] --------------------------------------------------

Our primary concern is making sure that any developer picking this SDK up would be able to get their development/build environment stable fairly quickly.

Do you use mvn -Dpackaging=plugins install to build braintree jar ? Because it is not require by maven-bundle-plugin, it hooks into standard maven  life-cycle so a mvn install generates an OSGi ready bundle without warnings:
$ mvn install -DskipTests=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Braintree Gateway Java Client Library 2.53.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ braintree-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ braintree-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 201 source files to /home/lburgazz/workspace/braintree_java/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:3.0.1:manifest (default) @ braintree-java ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ braintree-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ braintree-java ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ braintree-java ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ braintree-java ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.14.1:integration-test (default) @ braintree-java ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-failsafe-plugin:2.14.1:verify (default) @ braintree-java ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ braintree-java ---
[INFO] Installing /home/lburgazz/workspace/braintree_java/target/braintree-java-2.53.0-SNAPSHOT.jar to /opt/sfw/tools/apache/maven-repo/com/braintreepayments/gateway/braintree-java/2.53.0-SNAPSHOT/braintree-java-2.53.0-SNAPSHOT.jar
[INFO] Installing /home/lburgazz/workspace/braintree_java/pom.xml to /opt/sfw/tools/apache/maven-repo/com/braintreepayments/gateway/braintree-java/2.53.0-SNAPSHOT/braintree-java-2.53.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ braintree-java ---
[INFO] Installing com/braintreepayments/gateway/braintree-java/2.53.0-SNAPSHOT/braintree-java-2.53.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.686 s
[INFO] Finished at: 2016-02-05T16:59:34+01:00
[INFO] Final Memory: 21M/305M
[INFO] ------------------------------------------------------------------------

What the plugin does is very simple as it check the dependencies and the structure of the project and generates an OSGi compliant MANIFEST, like:
Bnd-LastModified =<PHONE_NUMBER>259
Build-Jdk = 1.8.0_66
Built-By = lburgazz
Created-By = Apache Maven Bundle Plugin
Implementation-Title = Braintree Gateway Java Client Library
Implementation-Version = 2.53.0-SNAPSHOT
Manifest-Version = 1.0
Tool = Bnd-<IP_ADDRESS>509101326

Bundle-Description = Java Client Library for Braintree Payments Gateway
Bundle-License = http://www.opensource.org/licenses/mit-license.php
Bundle-ManifestVersion = 2
Bundle-Name = Braintree Gateway Java Client Library
Bundle-SymbolicName = com.braintreepayments.gateway.braintree-java
Bundle-Version = 2.53.0.SNAPSHOT

Require-Capability =
    osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.5))

Export-Package =
    com.braintreegateway;uses:=com.braintreegateway.util;version=2.53.0,
    com.braintreegateway.exceptions;version=2.53.0,
    com.braintreegateway.util;uses:=com.braintreegateway;version=2.53.0,
    com.braintreegateway.test;version=2.53.0
Import-Package =
    javax.crypto,
    javax.crypto.spec,
    javax.net.ssl,
    javax.xml.parsers,
    org.xml.sax,
    org.xml.sax.helpers

The manifest do not need to be genrated by the plugin so if you can manually set all the entries but you have to update it in case you changes are made to the packages layout and dependencies.

We just released 2.55.0 which includes the OSGi support. Thanks for your help in developing this out, @lburgazzoli. We've tagged you in the changelog for your contributions!

@raymondberg thank you for including this, camel-braintree will be part of next release of Apache Camel


Deployment Styles and Detailed Projects

The issues have recently been filled with questions about deploying to different services, as well as the desire to see more detailed open-source projects using Sanic. This is great, because it shows the traction Sanic is gaining within the Python web dev community. Showcasing detailed projects and deployment styles will only increase this traction, but what's the best way to go about it?

it might be a good fit for that wiki @luizberti is always suggesting :)

so far this is what I have in terms of deployments (with help from @r0fls) :

a docker swarm with multiple nodes example
a single node docker example (even though i agree that one is quite trivial)
a kubernetes example
a heroku example

Feel free to add on.

@r0fls does it make sense to create and reference a seperate repo, something like "Awesome Sanic", to hold this on?

That would work, i'm really pretty open minded as to where we store the list so we can let others chime in on that... first we need some examples! :)

i mean they could also live in our existing examples directory, within the repo

I think that as the wiki would be awesome. :+1:

That might be better as one of the things I've always hated about Flask is nothing's centralized.

I'm definitely down to take charge on the wiki. Where do we want it hosted?

Apparently it can be enabled via github itself.

@r0fls I think it would just take us making a splash page for the wiki.
But instead of doing it hastily let's talk about what should be featured on the index page.

I think we should link to the below two categories, as well others as we come up with them:

deployment options
sites or projects using sanic

what about also linking external blog posts like http://masnun.rocks/2016/11/17/exploring-asyncio-uvloop-sanic-motor/ as well?

The conversation around stagnated nearly 2 years ago. I still think it would be good to include deployment guides in the docs, but I'm going to close this due to aging out.


No pricing plan for Legacy SKU on Virtual Network Gateway

Azure Virtual Network Gateway
https://azure.microsoft.com/en-us/pricing/details/vpn-gateway/
The pricing page just gives the pricing for the Basic from the Legacy SKU. There is no pricing for Standard or High Performance.

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

ID: 45d7ab31-fdf3-9b0f-1439-6a01fb257aab
Version Independent ID: af13a45f-3061-2f0e-7452-b52d700b4805
Content: Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-about-vpngateways.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@qhaitoNNV Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.

Hi! Please check the ExpressRoute pricing page for legacy sku information - scroll down to the Virtual Network Gateways section. https://azure.microsoft.com/pricing/details/expressroute/  I'll also update some links to this.

Hi, thanks for the feedback. It was still a bit confusing as the pricing was on an ER page. I had to compare the bandwidth to confirm that it was right. I feel it will be better (and less confusing) if the pricing for Legacy SKU for VPN Gateways be updated on this pricing page https://azure.microsoft.com/en-us/pricing/details/vpn-gateway/  rather than on the ER pricing page.

#reassign: yushwang

Hi, this is still an issue.
I'm trying to decide if moving to a high performance legacy sku is worth the price.
However on https://azure.microsoft.com/en-us/pricing/details/expressroute/ the price is displayed as N/A :
High Performance VNet Gateway | N/A/hour | 2 Gbps

@ioan-agopian For Public Azure (Commercial cloud), it's $0.49/hour for all regions. We are still trying to add the legacy SKUs to our VPN pricing page but that had not happened yet. Sorry for the delay.

Just to be complete, if you select another older regions, such as US East or North Europe, it should show all the gateway pricing. This will apply to all regions of the Public Azure. The gateway compute charge is per cloud, not per region.

Aha, ok, thank you for the quick update.

Trying to make a decision ( recreate a old basic VPN to VPNgw1 or just upgrade it to high performance) and come to this. I still wasn't sure about the bandwidth ( 2Gbps vs 200Mbps ) until I found this article:
https://blog.kloud.com.au/2015/07/23/azure-vnet-gateway-basic-standard-and-high-performance/
So the "high performance" VPN gateway can only provide 200Mbps VPN throughput yet the cost is almost triple of VPNgw1. That doesn't look too fair, does it?

This is still an issue, except that now the legacy pricing isn't even on the ExpressRoute pricing page...

Almost two years of this initial post and still confusing. I need to upgrade a project and I can't be sure about the prices.

Hi everyone,
Any update on getting the basic gateway pricing structure for basic, standard and performance?

ping

Still not seeing the pricing information for VPN Gateway in Standard/ High Performance.

bump

All we have is pricing for the basic, missing pricing for standard and high performance

Bump

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close

its 2023 Nov and still no pricing for "Standard" Virtual Network Gateway!

@asudbring with respect, that's a terrible resolution for a revenue-related SKU question.


Code syntax highlighting: multiline comments

The syntax highlighting for code (specifically java code) does not handle multiline comments correctly. Only the first line is treated as a comment. For example:
<!DOCTYPE html>
<html>
    <head>
    <title>Title</title>
    <meta charset="utf-8">
    </head>
    <body>
    <textarea id="source">

# Data Structure Primitives

## Arrays

      int[] array = {1, 3, 5, 2, 6, 9};

      /*
       * Index: 0 1 2 3 4 5
       * Value: 1 3 5 2 6 9
       */

    </textarea>
    <script src="https://gnab.github.io/remark/downloads/remark-latest.min.js">
    </script>
    <script>
     var slideshow = remark.create({
         ratio: "4:3",
         highlightLanguage: "java",
         highlightStyle: "github"});
    </script>
    </body>
</html>

Produces non-comment like styling for the lines beginning Index and Value. This is probably a bug in whatever is used to do code syntax highlighting but I wasn't sure where to file this issue.

Still a problem nearly two years later with, for instance, CSS highlighting:
---
## Comments

CSS comments are multi-line, starting with `/*` and ending with `*/`

```css
/* This should apply only to divs */
div {
  background-color: red;
  /* We turned this off
  color: blue
  */
}
```

The code in the block /* We turned this off should appear this way:
/* This should apply only to divs */
div {
  background-color: red;
  /* We turned this off
  color: blue
  */
}

But in fact, only the line /* We turned this off is gray and italicized.


Update CKEditor, and decide if it should be default

What is the task
Our CKEditor implementation was added 7 years ago and has never been touched since. /bb-modules/Wysiwyg/assets/ckeditor
Github's code scanning alerts detected vulnerabilities on this implementation of the old CKEditor version of ours.
We should update it to the newest version found here. It also has a lot of improvements.

So, I updated CKEditor 4 to it's latest release. My suggestion is to drop markitUp (another WYSIWYG editor we have added 7 years ago. It was never updated since, and it's latest release was made in 2018). Then, if CKEditor works as expected (first impressions show that it works), we can make the WYSIWYG extension enabled by default.

@fordnox @BenNottelling @timothygwebb @John-S4

If it's not maintained let's drop it

Makes sense to me, I'm not sure there is any need at all for multiple editors and if one is no longer maintained it should definitely not be kept.


Update Exception declarations to be Python 2 & 3 compatible

Search code and refactor:
Exception declarations
Python 2:
except ExceptionHere, exc:
Python 2 & 3:
except ExceptionHere as exc:

Fixed in ba566b98ed3e04c033f52251b847a60baf9897fd


Update go-restful

Fix CVE-2022-1996
Signed-off-by: Fred Rolland<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1684

Relevant Lines:
2105

💛  - Coveralls

/retest

@Eoghan1232  can we merge this one ?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1684

Relevant Lines:
2105

💛  - Coveralls


Rebrand to Welkin in configuration documentation

[!warning]
This is a public repository, ensure not to disclose:

[x] personal data beyond what is necessary for interacting with this pull request, nor
[x] business confidential information, such as customer names.

What kind of PR is this?
Required: Mark one of the following that is applicable:

[ ] kind/feature
[ ] kind/improvement
[ ] kind/deprecation
[x] kind/documentation
[ ] kind/clean-up
[ ] kind/bug
[ ] kind/other

Optional: Mark one or more of the following that are applicable:

[!important]
Breaking changes should be marked kind/admin-change or kind/dev-change depending on type
Critical security fixes should be marked with kind/security

[ ] kind/admin-change
[ ] kind/dev-change
[ ] kind/security
[ ] kind/adr

What does this PR do / why do we need this PR?

The https://elastisys.io website was recently rebranded to Welkin. Some part of that website are generated from Apps configuration documentation. Therefore this PR rebrands those part of Apps which end up on https://elastisys.io.
Note that, rebranding the source code is out-of-scope of that migration project and is a decision-to-be-taken.

Part of an internal issue

Information to reviewers

Checklist

[x] Proper commit message prefix on all commits

Change checks:

[x] The change is transparent
[ ] The change is disruptive
[ ] The change requires no migration steps
[ ] The change requires migration steps
[ ] The change upgrades CRDs
[ ] The change updates the config and the schema

Documentation checks:

[x] The public documentation required no updates
[ ] The public documentation required an update - [link to change](set-me)

Metrics checks:

[ ] The metrics are still exposed and present in Grafana after the change
[ ] The metrics names didn't change (Grafana dashboards and Prometheus alerts are not affected)
[ ] The metrics names did change (Grafana dashboards and Prometheus alerts were fixed)

Logs checks:

[ ] The logs do not show any errors after the change

Pod Security Policy checks:

[ ] Any changed pod is covered by Pod Security Admission
[ ] Any changed pod is covered by Gatekeeper Pod Security Policies
[ ] The change does not cause any pods to be blocked by Pod Security Admission or Policies

Network Policy checks:

[ ] Any changed pod is covered by Network Policies
[ ] The change does not cause any dropped packets in the NetworkPolicy Dashboard

Audit checks:

[ ] The change does not cause any unnecessary Kubernetes audit events
[ ] The change requires changes to Kubernetes audit policy

Falco checks:

[ ] The change does not cause any alerts to be generated by Falco

Bug checks:

[ ] The bug fix is covered by regression tests

I saw that there are still a few uses of ck8s in the schema, should those perhaps also be changed?

I saw that there are still a few uses of ck8s in the schema, should those perhaps also be changed?

Good point! I only found one instance of ck8s in prose. When and how to change code (which includes config key changes) is out-of-scope for this migration and needs to be determined later.

I saw that there are still a few uses of ck8s in the schema, should those perhaps also be changed?

Good point! I only found one instance of ck8s in prose. When and how to change code (which includes config key changes) is out-of-scope for this migration and needs to be determined later.

Maybe this example too? Otherwise LGTM

I saw that there are still a few uses of ck8s in the schema, should those perhaps also be changed?

Good point! I only found one instance of ck8s in prose. When and how to change code (which includes config key changes) is out-of-scope for this migration and needs to be determined later.

Maybe this example too? Otherwise LGTM

Thanks for catching this too! Didn't realize that changing example values is safe too.


remove project error

After I deleted deployments and all project information in cloudflare, I returned to nuxt hub to delete the project. However, the project could not be deleted due to an error in calling the cloudflare API (probably because I had manually deleted it in cloudflare, which caused the error).

I couldn't reproduce the issue, tried different scenarios of deleting resources from Cloudflare dashboard and removing project from NuxtHub admin.
Do you mind describing the steps to reproduce the issue?


Support cursor based pagination for DashboardService entity

This requires adding before, after, and limit in the list operation in DashboardServiceResource.java similar to TableResource.java list method. Make sure you copy all the annotation and description from TableResource.java to DashboardServiceResource.java and make suitable edits to change from table to metrics.

Hi! I'd like to work on this if you'd assign me.


[Bug]: Navbar notch is too big

Description
The Notch of the navbar is too large and sort of gives the website a very disturbing look. If the height could be reduced, it should be much better.
To Reproduce

Go to '4c.rocks'
See error

Anything else?

Code of Conduct

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

@tobySolutions Can I work on this issue?

@tobySolutions I have reduced the size of the navbar notch and created the pull request.


open external links in new tab

I think this is all, but there might be more such links/
Regarding: https://github.com/GoogleCloudPlatform/gcloud-node/issues/1094

Thanks for sending this, @VikramTiwari!
@callmehiphop is this the best way to open external links in new windows, or can we use some fancy JS to handle this for us?

is this the best way to open external links in new windows, or can we use some fancy JS to handle this for us?

Well, if we wanted to simplify the whole thing we could create an angular directive to overload the <a> tag and set the target dynamically.

I'm cool with that, since a lot of our links are going to be coming from Markdown in the docs.

Cool!
@VikramTiwari did you want to take that on? Otherwise I can get to it later :)

I can take a stab at it, but what would be the logic that we would like to use here? Not all absolute links are external links.

We use a CSS class called skip-external-link, so I would think any absolute URL missing that class would qualify?
@stephenplusplus thoughts?

Sounds sane to me.

@callmehiphop since all of the docs changes we've pushed, will @VikramTiwari rebasing be enough, or is there anything else to it?

Nope :(
We'll probably have to mirror these changes in https://github.com/GoogleCloudPlatform/gcloud-common

@VikramTiwari we moved most of our docs to a centralized repo, so that the other languages (gcloud-ruby, gcloud-php, etc) can set up their docs as well.
The new location is https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/site/src -- I believe the task now is finding links across gcloud-common that need to be updated, as well as some changes still inside this repo. Are you still up for it? It's totally understandable if you'd rather have us do it. Thanks for your help so far and sorry for the curveball!
// @callmehiphop is all of that ^ correct?

@stephenplusplus yep!

Hey @stephenplusplus Good move for centralized repo. I will try to do the changes at that repo by this weekend. Will keep you all updated.

Awesome, thanks!

I'll close this up and let #1094 track our progress.


Could you please provide some poisoned data？

After I train a faster-rcnn model, I noticed that script needs to enter a picture of the test.
python main.py --n 100 --m 0.51 --delta 0.25 --image_path 'path/to/image.jpg' --clean_feature_path 'path/to/clean_feature_images' --weight 'path/to/model/weight.pth'
        if poisoned:
            print()
            print("Image is poisoned")
            print(f"Coordinate : {coordinates}")
        else:
            print()
            print("Image is clean")

can you provide some poisoning data? Or give some guidance to build them.

Thank you for your interest in our work.
You can code something like this to generate the images for inspection. The generated directory can then be put into the path of --image_path to calculate FRR and FAR. Alternatively, you can put the images in the directory into the path of --image_path to test a single image for poison.
from data.dataset import Dataset, TestDataset
from torch.utils import data as data_
import torchvision.transforms as transforms
import os
from backdoor_utils import backdoor_inject
from utils.config import opt

def generate_poisoning_data(n=10):
    testset = TestDataset(opt)  # or Dataset(opt)
    test_dataloader = data_.DataLoader(testset, batch_size=1, num_workers=2, shuffle=False)
    image_dir = 'test_images'
    os.makedirs(image_dir, exist_ok=True)

    for i, (image, bbox, label, scale) in enumerate(test_dataloader):
        if i >= n:
            break

        image = transforms.ToPILImage()(image.squeeze(0))
        clean_path = os.path.join(image_dir, f'clean_{i+1}.jpg')
        image.save(clean_path)
        print(f"Saved clean image {i+1} to {clean_path}")

        poisoned_image = backdoor_inject(image, bbox, label)
        poisoned_path = os.path.join(image_dir, f'modified_{i+1}.jpg')
        poisoned_image.save(poisoned_path)
        print(f"Saved poisoned image {i+1} to {poisoned_path}")

generate_poisoning_data()

In the code, Dataset, Testset, and opt are the PASCAL VOC 2007 datasets from base repository simple-faster-rcnn-pytorch, and backdoor_inject is the backdoor injection function you used to train the backdoor.
Hope this helps. If you have any further questions, please feel free to ask

Thanks for you detail explanation!
However, I can't access to this code line:
from backdoor_utils import backdoor_inject
Can you please make this file available, via “drive” or any other way?


The "API Clients" page is very out of date.

The only client library for V2 right now is Go - (fn-go) - suggest all the others are removed until the APIs are finalised and new clients created/generated.

Handled in PR https://github.com/fnproject/docs/pull/35

Fixed.


Crawling sites with basic auth fails authorization

When a site is behind basic auth, the resulting static site just has the failed authorization error for every page.
To Reproduce
Steps to reproduce the behavior:

Add basic auth to site
Enter correct credentials in plugin settings
Generate static site
View static site or html and see auth error

Environment (please complete the following information):

Hosting OS: Ubuntu 20.04
Web server setup: php7.4, nginx, provisioned by Laravel Forge
Hosting company: DigitalOcean

Additional context
From what I could find, the issue is with the headers. I fond the following:
The plugin uses code similar to this in Crawler & SitemapParser & DetectSitempasURLs
    $headers = [];
    $headers['auth'] = [ $auth_user, $auth_password ];
    $request = new Request( 'GET', $url, $headers );
    $response = $this->client->send( $request );

new Request() expects actual headers, so Authorization: Basic ###, but the code above is formatted for client options.
Using $response = $this->client->request( 'GET', $url, $headers ); works because the expected 3rd argument is $options and the format of the $headers is ['auth' => ['user', 'pass']].
In my local copy I was able to get it working by making those changes and also changing DetectSitemapsURLs::detect() to pass in the guzzle options to SitemapParser.
        $sitemaps_urls = [];
        $parser = new SitemapParser('WP2Static.com', [
            'strict' => false,
            'guzzle' => ['auth' => [$auth_user, $auth_password]]
        ]);

These changes seemed to work fine on one site, but on another site the plugin kept failing saying wp-sitemap.xml was not found. So i didn't feel comfortable submitting a pull request, but I hope this helps.

This is fixed in develop now. Thanks, @vladstanca and @thecodeassassin!

@john-shaffer when is this going to be released? all my exported pages, i get Unauthorized message.

answered in https://github.com/WP2Static/wp2static/discussions/873


Add list option to with-fbo-bound

We should be able to specify out of order attachment mapping. CEPL internals know how to do this in a performant way, which will not be possible in this case, BUT we should still be able to do it.

We can do this. Here are a couple of ways

alloc up a buffer of length 30 or so and store on the context object. with-fbo-bound writes the values into the context buffer and calls gl-draw-buffers on it

use with-foreign-object for the buffer. This sounds bad but for small buffers we have seen sbcl stack allocate them.

Or we could mix the two, for list of 4 or less use method 2 and for longer use method 1.

out of order attachment mapping added a while back


Update react-a11y-img-has-alt - img alt prop must not contain the word "image", "picture", or "photo"

Enforce img alt attribute does not contain the word image, picture, or photo. Screenreaders already announce img elements as an image. There is no need to use words such as image, photo, and/or picture.
img alt prop must not contain the word "image", "picture", or "photo"
accept some parameters here and allow configuration
not case sensitive!

☠  It's time! ☠
Per #876, this repository is no longer accepting feature pull requests. TSLint is being deprecated and we recommend you switch to https://typescript-eslint.io.
Thanks for open sourcing with us, everyone!


Fix lifetimes and mutability of get_buf and get_buf_mut

Lifetimes should have been '_ and not static.
get_buf_mut created a mutable reference from an immutable reference.
SAFETY annotation has also been added.

This sounds reasonable, but I don't know enough about this code to evaluate the implications. @ithinuel, what do you think?

I'm curious, why did you remove get_buf_parts and duplicate it's code instead? Does it have any benefits?

With the old signature, fn get_buf_mut(&self) -> &'static mut [u8], one could call the function multiple times and acquire multiple &mut references to the same memory location at the same time. That's instant UB as far as I know.

Fair enough :)
Ohh, that's the non-mut reference OP's refering to!

Thank you for the replies.

I'm curious, why did you remove get_buf_parts and duplicate it's code instead? Does it have any benefits?

I'm currently unsure about the safety rules regarding temporarily mutable references and pointers, and unsafe fn get_buf_parts(&self) -> (*mut u8, usize) makes a *mut u8 from an &self, hence why I removed it. In hindsight, as previously mentioned, this is probably okay, as the "provenance" is from DPRAM_BASE and not self.
> The reference targets somewhere in the DPRAM block which is a hardware element that lives for 'static.
In my perspective, ep_allocate acts just like a normal allocator. It takes a 'static memory(the heap in a hosted environment, USB_DPRAM in this example) and lends it to a value(Endpoint). That is, the Endpoint logically owns that region of memory until it gets dropped, hence why I consider their lifetimes intrinsically linked.
More pragmatically:

With the old signature, fn get_buf_mut(&self) -> &'static mut [u8], one could call the function multiple times and acquire multiple &mut references to the same memory location at the same time. That's instant UB as far as I know.

changing the type to be fn get_buf_mut(&mut self) -> &'static mut [u8] is not enough to establish the logical ownership, and it's still possible to call get_buf_mut twice. fn get_buf_mut(&mut self) -> &mut [u8] is the required signature to actually "lock" the memory.

Indeed. If you don't mind keeping the get_buf_parts function (to avoid code duplication) and simply change the get_buf and get_buf_mut signatures, that should be enough to fix the issue and I'd gladly approve the PR :)

Just as a side note: *mut don't have the same rules as &mut, you can have multiple of them as long as you don't deference them. That's one of the reasons pointer dereferencing is unsafe.


Retool Apple touch icons

Redo the Apple touch icons so that:

The orange and brown areas should bleed to the edge
Remove the "Minutes" from the logo.

@ravasthi, can this be closed?


Integration fails with error communicating with api

As of last friday the integration fails with the error that it cannot communicate with the api.
im on 2023.5.4

Got the same error. After deleting and adding the lock I got this error from nabu casa:

Oops... an error occured
Unexpected response Too Many Requests

Same problem as @FutureCow

Was working fine for a couple of months.

+1, also started getting this today

This happened last week here also. I was able to add the integration again and use it for a week but now I get the "too many requests" at the Nabu Casa site also.

I added the locks to Google Home and added Google Home SDK into my home assistant and reintegrated the locks that way. Works great now.

https://youtu.be/a-Is8GtLJCs

Working again today - was able to readd. API was maybe down?

Yes, worked again for me too. I kept the google home automation also just in case it goes down again.

#22 It's fix !! Thank you

I'm still running into this error using HA version 2023.7.1 and the latest version of the integration.

just did an update that fixes the setup errors. All should be working again.


Removing the real device doesn't stop the virtual device.

Hello,
If you unplug the real gamepad, it disappears from DirectInput list, but it doesn't stop game controllers assigned to removed device.

This is true, but is it causing any issue? I can be useful when you unplug and plug in the controller again, then you do not need to start it again. While if you disconnect, the device is doing nothing.
The main issue is when you have keyboard and gamepad assigned to one controller, then maybe you can use it even if the gamepad is disconnected.
I know there was a bug, that affected the unplugged controllers (#110) but it is solved now.

If this is intentional, then it's ok...
I just thought it makes more sense If the real device is removed then the virtual is removed as well so no confusions.


.xlsm Files are renamed to .zip files on Download

I am using the built in "Organize downloads by domain-named folders" setting only and .xlsm files are being renamed to .zip. Disabling this rule avoids the issue.

Provider more info please, e.g. dump your rules via "export rules" and give an url example


Fix encoding bug in mailer utils

Discovered this while updating #1417.

Actually, let's just include this in #1417.


Using a ChoiceType (or EnumType) with multiple / expanded set to true as a filter breaks URL generation

Hello Kreyu,
First of all, thank you for this amazing bundle! I've been using and following it for months, and it has been incredibly helpful.
However, I’ve encountered an issue when trying to implement a ChoiceType or EnumType filter with multiple: true and expanded: true. This setup seems to break URL generation in the DataTable. Specifically, every action within the DataTable appends all filter choices to the query, regardless of whether any are selected.
Here’s what I’ve done:

Overriding the filter_clear_button block:
To avoid translation errors when the filter value is an array, I had to override the filter_clear_button block as follows:

{% block filter_clear_button %}
    ...
    {{ filter.vars.value is iterable ? filter.vars.value|map(value => value|trans)|join(', ') : filter.vars.value|trans({}, filter.vars.translation_domain) }}
    ...
{% endblock %}

Defining the filter:
I configured the filter with these options:

->addFilter('color', StringFilterType::class, [
    'label' => 'Color',
    'form_type' => EnumType::class,
    'form_options' => [
        'class' => ColorEnum::class,
        'multiple' => true,
        'expanded' => true,
    ],
    'default_operator' => Operator::In,
])

Observing the issue:
Any interaction within the DataTable (e.g., sorting, pagination) results in all filter choices being appended to the query, even if none were selected.

To help debug this issue, I’ve created a small reproducer repository: https://github.com/j0r1s/datatable-choice-filter-multiple.
I’ve tried to investigate the code to identify the root cause but haven’t been able to pinpoint it yet. I’d be happy to assist further if I can!
Thank you in advance for looking into this.

I had some time to investigate the issue, and it seems the culprit is the FormUtil::getFormViewValueRecursive method. When the expanded and multiple options are both set to true, the form becomes compound, and this method iterates over the children of the filter.
As a result, all checkbox values are added to the query parameters, regardless of whether they are checked or not.
To address this, I added a small check inside the method to omit unchecked checkbox values. This appears to resolve the issue:
class FormUtil
{
    public static function getFormViewValueRecursive(FormView $view): mixed
    {
        $value = $view->vars['value'];

        if (!empty($view->children)) {
            $value = [];

            foreach ($view->children as $child) {
                $childValue = static::getFormViewValueRecursive($child);

                // Skip unchecked checkboxes for expanded and multiple options
                if ($view->vars['expanded'] && $view->vars['multiple'] && isset($child->vars['checked']) && !$child->vars['checked']) {
                    continue;
                }

                $value[$child->vars['name']] = $childValue;
            }
        }

        return $value;
    }
}

Would you be interested in me creating a PR with this fix? I believe the filter_clear_button block would also need the is iterable check to fully support filters with multiple values.
Additionally, would you be open to a PR implementing ChoiceFilterType and EnumFilterType? I think these could be valuable additions to the core of the bundle.

Hey @j0r1s, thank you for your kind words and time!
That is an interesting case I haven't tested before. I wonder whether there's other way to handle this situation without relying on checking the type-specific variables in its view (such as expanded, multiple, etc.). I'll take a look into it.

Additionally, would you be open to a PR implementing ChoiceFilterType and EnumFilterType? I think these could be valuable additions to the core of the bundle.

Sure!

Hi!
I have tried @j0r1s check in FormUtil, but it looks like it's not enough to make multiple filters usable.

When multiple filter is removed (by click), then filter form has an error (it's visible in profiler). When using multiple filter with other filters at the same time, then removing multiple filter results in all filters being removed.
When multiple filter is configured but not used, then using other filters breaks table functionality and no data is displayed.
Also exporting with multiple filter results in filter form error, so filters are not applied to export at all.

On a positive note - pagination and sorting works fine.


Make courses explorer script JSON separate from main website

Course explorer script generates courses.json but it currently lives in main website - this creates many 'garbage' commits as it's only changing the data everytime. We should make the courses.json live elsewhere and treat it as a  very light 'microservice' so that main website does not need to reason about the courses.json

Fixed on https://github.com/ssss-sfu/ssss-sfu.github.io/commit/079f76f62535c1db1f160a515a2cd57ffd18cf43

Data from https://raw.githubusercontent.com/ssss-sfu/course-explorer-script/main/result/courses.json


question about /dev/shm size

I saw this on your docs:
Performance Analyzer uses /dev/shm for temporary storage. During heavy workloads on a cluster, Performance Analyzer can use up to 1 GB of space.
Docker, however, has a default /dev/shm size of 64 MB. To change this value, you can use the docker run --shm-size 1gb flag or a similar setting in Docker Compose.
If I use Opendistro ES via helm chart and there are 3 ES master pods and 3 ES data pods in a cluster, which pod's /dev/shm size should I set?

1GB is an extremely high limit. In case you reach this limit, try setting it on all pods.

1GB is an extremely high limit. In case you reach this limit, try setting it on all pods.

Thanks for your reply.


vpython: No such file or directory when running $ source libraries/setup_build_env.sh on macOS

Reproduction steps:
/tmp$ git clone https://github.com/windowjs/windowjs
Cloning into 'windowjs'...
remote: Enumerating objects: 2035, done.
remote: Counting objects: 100% (473/473), done.
remote: Compressing objects: 100% (164/164), done.
remote: Total 2035 (delta 336), reused 380 (delta 303), pack-reused 1562
Receiving objects: 100% (2035/2035), 3.62 MiB | 19.80 MiB/s, done.
Resolving deltas: 100% (1211/1211), done.
/tmp$ cd windowjs/
/tmp/windowjs$ source libraries/setup_build_env.sh
Setting up repository at /tmp/windowjs

Checking CMake version

cmake version 3.29.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Checking Clang version

Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode_14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Checking out the Chrome depot_tools at libraries/depot_tools

Cloning into 'libraries/depot_tools'...
remote: Sending approximately 47.21 MiB ...
remote: Total 58367 (delta 42118), reused 58367 (delta 42118)
Receiving objects: 100% (58367/58367), 47.21 MiB | 35.44 MiB/s, done.
Resolving deltas: 100% (42118/42118), done.

Verifying depot_tools gclient version (this may download additional tools)

WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
gclient.py 0.7

Checking out the ninja build tool

Cloning into 'libraries/ninja'...
remote: Enumerating objects: 12584, done.
remote: Counting objects: 100% (404/404), done.
remote: Compressing objects: 100% (276/276), done.
remote: Total 12584 (delta 226), reused 232 (delta 126), pack-reused 12180
Receiving objects: 100% (12584/12584), 4.71 MiB | 1.67 MiB/s, done.
Resolving deltas: 100% (8840/8840), done.

Building the ninja build tool

/tmp/windowjs/libraries/ninja /tmp/windowjs
-bash: /tmp/windowjs/libraries/depot_tools/vpython: No such file or directory
/tmp/windowjs

Ninja build failed.

FAILED

do you know what could be the reason ?

Seems like vpython has been removed from depot_tools:
https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/1a9212693840dce7fa1d278898d6985e44c2a9e1
Replacing vpython with vpython3 in the scripts might work, but I haven't checked that.

Here is what I tried :
cd /tmp/windowsjs
git checkout .
git clean -xdfff
git grep -l "vpython" | xargs -n1 ex -s -u NONE "+%s/vpython/vpython3/g" "+x"
git --no-pager diff
source libraries/setup_build_env.sh

that seems to goes further, but now I get an error with libraries/update_path.py:
Building the gn build tool

/tmp/windowjs/libraries/gn /tmp/windowjs
ninja: Entering directory `out'
[199/199] LINK gn
/tmp/windowjs

Updating PATH to use depot_tools and gn

  File "libraries/update_path.py", line 15
    print '%s%s%s%s%s%s%s' % (ninja, os.pathsep, gn, os.pathsep, depot_tools, os.pathsep, PATH)
          ^
SyntaxError: invalid syntax

Verifying gn and ninja in PATH

bash: gn: No such file or directory

Failed to check GN version

FAILED

installed python is
/private/tmp/windowjs$ python -V
Python 2.7.18

which looks like the correct major of python for this kind of print statement IIUC.

Click here to see the full console text of commands cited earlier
/tmp$ cd /tmp/windowsjs
/tmp/windowjs
/tmp/windowjs$ git checkout .
Updated 2 paths from the index
/tmp/windowjs$ git clean -xdfff
Removing libraries/depot_tools/
Removing libraries/gn/
Removing libraries/ninja/
/tmp/windowjs$ git grep -l "vpython" | xargs -n1 ex -s -u NONE "+%s/vpython/vpython3/g" "+x"
/tmp/windowjs$ git --no-pager diff
diff --git a/libraries/setup_build_env.sh b/libraries/setup_build_env.sh
index 7f5b26f..ce9dd91 100644
--- a/libraries/setup_build_env.sh
+++ b/libraries/setup_build_env.sh
@@ -88,7 +88,7 @@ if [ ! -f "libraries/ninja/ninja" ]; then
   echo "Building the ninja build tool"
   echo
   pushd libraries/ninja
-  "${depot_tools}/vpython" configure.py --bootstrap
+  "${depot_tools}/vpython3" configure.py --bootstrap
   popd
 fi

@@ -118,7 +118,7 @@ if [ ! -f "libraries/gn/out/gn" ]; then
   echo "Building the gn build tool"
   echo
   pushd libraries/gn
-  "${depot_tools}/vpython" build/gen.py
+  "${depot_tools}/vpython3" build/gen.py
   "${depot_tools}/../ninja/ninja" -C out gn
   popd
 fi
@@ -136,7 +136,7 @@ echo
 echo "Updating PATH to use depot_tools and gn"
 echo

-export PATH=`"${depot_tools}/vpython" libraries/update_path.py "$PWD"`
+export PATH=`"${depot_tools}/vpython3" libraries/update_path.py "$PWD"`
 # Forgets all remembered locations:
 hash -r

diff --git a/libraries/update_path.py b/libraries/update_path.py
index 2d7c28d..9446d84 100644
--- a/libraries/update_path.py
+++ b/libraries/update_path.py
@@ -10,6 +10,6 @@ ninja = '%s/libraries/ninja' % repo

 paths = os.environ['PATH'].split(os.pathsep)

-PATH = os.pathsep.join(p for p in paths if not repo in p and not '.vpython-root' in p)
+PATH = os.pathsep.join(p for p in paths if not repo in p and not '.vpython3-root' in p)

 print '%s%s%s%s%s%s%s' % (ninja, os.pathsep, gn, os.pathsep, depot_tools, os.pathsep, PATH)
/tmp/windowjs$ source libraries/setup_build_env.sh
Setting up repository at /tmp/windowjs

Checking CMake version

cmake version 3.29.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Checking Clang version

Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode_14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Checking out the Chrome depot_tools at libraries/depot_tools

Cloning into 'libraries/depot_tools'...
remote: Sending approximately 47.35 MiB ...

Resolving deltas: 100% (42170/42170), done.

Verifying depot_tools gclient version (this may download additional tools)

WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
gclient.py 0.7

Checking out the ninja build tool

Cloning into 'libraries/ninja'...
remote: Enumerating objects: 12584, done.
remote: Counting objects: 100% (404/404), done.
remote: Compressing objects: 100% (274/274), done.
remote: Total 12584 (delta 227), reused 235 (delta 128), pack-reused 12180
Receiving objects: 100% (12584/12584), 4.72 MiB | 23.35 MiB/s, done.
Resolving deltas: 100% (8839/8839), done.

Building the ninja build tool

/tmp/windowjs/libraries/ninja /tmp/windowjs
bootstrapping ninja...
warning: A compatible version of re2c (>= 0.15.3) was not found; changes to src/*.in.cc will not affect your build.
./src/metrics.cc:40:19: warning: unused function 'GetFrequency' [-Wunused-function]
constexpr int64_t GetFrequency() {
                  ^
1 warning generated.
wrote build.ninja.
bootstrap complete.  rebuilding...
[17/32] CXX build/metrics.o
src/metrics.cc:40:19: warning: unused function 'GetFrequency' [-Wunused-function]
constexpr int64_t GetFrequency() {
                  ^
1 warning generated.
[32/32] LINK ninja
/tmp/windowjs

Checking out the gn build tool

Cloning into 'libraries/gn'...
remote: Sending approximately 33.20 MiB ...
remote: Counting objects: 1, done
Receiving objects:  66% (21779/32997), 19.49 MiBReceiving objects:  67% (22108/32997), 19.49 MiBReceiving objects:  68% (22438/32997), 19.49 MiBReceiving objects:  69% (22768/32997), 19.49 MiBReceiving objects:  70% (23098/32997), 19.49 MiBReceiving objects:  71% (23428/32997), 19.49 MiBReceiving objects:  72% (23758/32997), 19.49 MiBReceiving objects:  73% (24088/32997), 19.49 MiBReceiving objects:  74% (24418/32997), 19.49 MiBReceiving objects:  75% (24748/32997), 19.49 MiBReceiving objects:  76% (25078/32997), 19.49 MiBReceiving objects:  77% (25408/32997), 19.49 MiBReceiving objects:  78% (25738/32997), 19.49 MiBReceiving objects:  79% (26068/32997), 19.49 MiBReceiving objects:  80% (26398/32997), 19.49 MiBReceiving objects:  81% (26728/32997), 19.49 MiBReceiving objects:  82% (27058/32997), 19.49 MiBReceiving objects:  83% (27388/32997), 19.49 MiBReceiving objects:  84% (27718/32997), 19.49 MiBReceiving objects:  85% (28048/32997), 19.49 MiBReceiving objects:  86% (28378/32997), 19.49 MiBReceiving objects:  87% (28708/32997), 19.49 MiBReceiving objects:  88% (29038/32997), 19.49 MiBReceiving objects:  89% (29368/32997), 19.49 MiBReceiving objects:  90% (29698/32997), 19.49 MiBReceiving objects:  91% (30028/32997), 19.49 MiBReceiving objects:  92% (30358/32997), 19.49 MiBReceiving objects:  93% (30688/32997), 19.49 MiBReceiving objects:  94% (31018/32997), 19.49 MiBReceiving objects:  95% (31348/32997), 19.49 MiBReceiving objects:  96% (31678/32997), 19.49 MiBReceiving objects:  97% (32008/32997), 19.49 MiBReceiving objects:  98% (32338/32997), 19.49 MiBremote: Total 32997 (delta 17709), reused 32997 (delta 17709)
Receiving objects:  99% (32668/32997), 19.49 MiBReceiving objects: 100% (32997/32997), 19.49 MiBReceiving objects: 100% (32997/32997), 33.18 MiB | 42.20 MiB/s, done.
Resolving deltas: 100% (17709/17709), done.

Building the gn build tool

/tmp/windowjs/libraries/gn /tmp/windowjs
ninja: Entering directory `out'
[199/199] LINK gn
/tmp/windowjs

Updating PATH to use depot_tools and gn

  File "libraries/update_path.py", line 15
    print '%s%s%s%s%s%s%s' % (ninja, os.pathsep, gn, os.pathsep, depot_tools, os.pathsep, PATH)
          ^
SyntaxError: invalid syntax

Verifying gn and ninja in PATH

-bash: gn: No such file or directory

Failed to check GN version

FAILED


Requesting documentation or examples for using CRF layer

Has any new documentation or examples been released for using the CRF layer?

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


Private video facebook login Error

[x] I've verified and I assure that I'm running youtube-dl 2018.03.10

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/this is my user name/
videos/142097493278477/', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.03.10
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-86755-g0780ad9, ffprobe N-86755-g0780ad9
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook]<PHONE_NUMBER>78477: Downloading webpage
[facebook]<PHONE_NUMBER>78477: Downloading webpage
ERROR: Cannot parse data; please report this issue on https://yt-dl.org/bug . Ma
ke sure you are using the latest version; type  youtube-dl -U  to update. Be sur
e to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpzznjsz2q\bu
ild\youtube_dl\YoutubeDL.py", line 785, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpzznjsz2q\bu
ild\youtube_dl\extractor\common.py", line 440, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpzznjsz2q\bu
ild\youtube_dl\extractor\facebook.py", line 422, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpzznjsz2q\bu
ild\youtube_dl\extractor\facebook.py", line 337, in _extract_from_url
youtube_dl.utils.ExtractorError:
...
<end of log>

Description of your issue, suggested solution and other information
The facebook login stopped working specially when i use username and password 3 days ago was everything fine

What do you mean with duplicate? this is a bug and it must be fixed asap


image is loading state then display skeleton

we can add image is loading state then display skeleton

@khushi-joshi-05  assigned this issue ,
i make it like a flipkart ,amazon...

@sunny0625
Thanks for assign now add the level label

In PR level will be added..!

ok


pi dicaffeine.service not found

raspberry pi - bookworm
dicaffeine_get_ndi5 install aarch64-rpi4-linux-gnueabi
curl: (22) The requested URL returned error: 403
By the way, how does rpi 5 perform compared to 4?

Hi, wasn't that just a temporary problem? I've just tried the same command on the fresh installation and it worked just fine.
With RPi5 I am able to play 1080p50 videos without frame drops, also streaming (at least 1080p30) was working.

Hi, this issue seems to be back with a new error message when running dicaffeine_get_ndi5 install aarch64-rpi4-linux-gnueabi:
"curl: (22) The requested URL returned error: 530"
I followed your instructions using a fresh install of bookworm. I'm using a rpi4.


[Core] Update Release Date and version

Bump minor version update and update release date for core-rest-pipeline so the CAE PR can sit for a little before releasing next week

API change check
API changes are not detected in this pull request.


backport: bitcoin#22630, 22577

bitcoin backports

Hello @UdjinM6 for review

You missed a couple of things it seems
(btw, no need to copy/paste or reimplement patches, you can simply fetch + cherry-pick them)

Thanks @UdjinM6 , will do it from now


Rendered the handlebars template and called inside the google map object

Chris acted as Navigator for a significant portion.


Control the TB3 base with the trajectory of MoveIt?

As described here... https://answers.ros.org/question/284792/control-the-base-with-the-trajectory-of-moveit/
... can you develop a ros_control package to include the TB3 base as link joint1 of the manipulator, so that the arm can at least rotate, using the angular velocity and imu yaw feedback into a joint_position_controller, so that Move-it can include this base rotation into its kinematic planning and execution ?
... or at least give me some guidance on how to do this ?
Thanks
Mike

Modify URDF: Add a virtual joint in the URDF to connect the TurtleBot3 base to the manipulator's first joint (e.g., base_to_joint1). Make it a continuous joint to represent the base rotation.

Create Joint Controller: In the ros_controllers.yaml file, define a joint_position_controller for the base's rotation using base_to_joint1.

IMU Feedback: Use the IMU’s yaw data as feedback for controlling the base rotation in the hardware interface.

Update MoveIt: Add the virtual base joint to the MoveIt configuration and include it in the kinematic chain for planning.

Sorry for the late response, this question is beyond our product specifications, so I will close it.


Make HEARTBEAT handler ignore non-vehicle HEARTBEATs

Hi, this fixes #1187 . Check the issue for more details.
TL;DR (the two lines :) ): use mavutil's probably_vehicle_heartbeat function to avoid trying to parse non-vehicle HEARTBEATs.
Do note that this should not be merged in until pymavlink releases a new version. It relies on logic introduced in https://github.com/ArduPilot/pymavlink/pull/769 currently on their master.

Thanks for this!
Please ping me when you think we should merge this!
... we probably want something in the requirements.txt to require a version of pymavlink....

Please ping me when you think we should merge this!

Ah yeah, I was wrong about there needing to be any waiting, the function already exists in the version of pymavlink used by dronekit. The new functionality won't be exposed until a new pymavlink release is made, however.
It can be merged at any time.

Hey! Just a quick follow-up since the most recent release of pymavlink implements the extra logic used by this commit. This is ready to be merged in whenever.

... we probably want something in the requirements.txt to require a version of pymavlink....

The minimum version of pymavlink specified in requirements.txt and setup.py has the probably_vehicle_heartbeat() function implemented, and pip will be default download the latest version of pymavlink when getting dronekit.
If you want, I can make a separate commit/PR to bump the minimum version of pymavlink to something newer, but that's not necessary for this PR to work.
@peterbarker if this looks good to you, feel free to merge when you get a chance. LMK if it needs changes.

@peterbarker Ping ^^^^

Merged it, thanks!


PHP 8.2 support

Feature Request

Q
A

New Feature
yes

RFC
yes/no

BC Break
yes/no

Summary
Make this laminas/cache Adapter compatible with new php 8.2 release.

Duplicates #58

Sorry, did not see that. 🤷♂

No worries, just doing housekeeping 😁


add a conda env file and update readme

This can help conda users to use this repo easily.
I have tested the code on my server.

Thanks a lot for your great PR. But I am not very familiar with conda.
One question, why environment.yml has so much dependencies?

@lufficc
You may follow the instruction. https://wikis.nyu.edu/display/ADRC/Python+-+Create+Your+Own+Environment+using+Anaconda
I first create a empty enviroment which only contains python 3.6 and some basic packages, and then I start to run the traininig script. Every time I meet a problem I would install a dependecy.
Finally I use conda env export > environment.yml to get the env file.

I think environment.yml has too much relevance to your own environment, maybe you can follow https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/INSTALL.md to make a step-by-step installation instructions. Thanks a lot.

@lufficc
Great!
I revise the env file and only keep the necessary packages.
We can offer two options: Quickly start and step by step


Feature: registry manager cmd

What is the problem this feature will solve?
sealos manager outside registry
sealos registry list
sealos registry info xxx
sealos registry delete xxxx
sealos reigstry add xxx
add registry info to image-cri-shim config and auto upgrade cri config
If you have solution，please describe it
No response
What alternatives have you considered?
No response

This a delicious feature for sealos。。。。

I agree with your opinion and it seems more appropriate to include it in a separate command-line tool for registry CLI.
@kinbod

TODO List

[ ]  all cri container support  insecure-registries config for containerd,docker,crio
[ ] image-shim config user password and so on
[ ] using sealos registry  to registry config  manager


⚠ BCR Bot has degraded performance

In 15c4aa3, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1054 ms

Resolved: BCR Bot performance has improved in cd08c77.


prune TxLookUp: .idx file has wrong baseDataID?

Saw this error in the logs, mainnet new sync.
Apparently it didn't affect sync as blocks are advancing, but it keeps logging it every cycle.
INFO[12-27|17:30:07.973] [4/6 Execution] Done                     blk=21440999 blks=5001 blk/s=18.8 txs=939409 tx/s=3.53k gas/s=284.58M buf=3.
4GB/512.0MB stepsInDB=0.00 step=1707.3 inMem=false alloc=17.3GB sys=27.9GB
INFO[12-27|17:30:07.973] BuildFilesInBackground                   step=1706 lastInDB=1706
INFO[12-27|17:30:07.973] [4/6 Execution] DONE                     in=4m25.6146835s block=21435999
INFO[12-27|17:30:12.066] head updated                             age=1w17h11m head=0x1a63231419efe3109c0bb595c298fbe565c07e832ae14e9d82bca65f
9f021eb5 hash=0x1a63231419efe3109c0bb595c298fbe565c07e832ae14e9d82bca65f9f021eb5 commit=6.286042ms alloc=10.2GB sys=28.1GB
EROR[12-27|17:30:12.066] runPostForkchoiceInBackground            error="[5/6 TxLookup] prune TxLookUp: .idx file has wrong baseDataID? 1<2662
073268, v1-021410-021420-transactions.seg"

sorry, opened issue in the wrong repo.


Update paths to Fabulous.Avalonia.props and Fabulous.Avalonia.targets

I've merged release/2.0-preview directly to main so you don't have to in this PR


Unknown string format. Only for particular dates.

The date t = datetime(2019, 10, 30, 0, 0) throws a value error: *** ValueError: Unknown string format when calling msise00.run(time=t, altkm=alt, glat=glat, glon=glon)
Changing the year, month or day works exactly as expected however. So it's just this particular date that is the problem. Any idea what could be happening here?

@dcsozturk I've tried other future dates that work fine. Incrementing by a few months to  datetime(2019, 12, 30) makes it work, for example. I'm not sure what is wrong with that precise datetime...

I couldn't reproduce the error for t = datetime(2019,10,30,0,0).
For me, msise.run() for dates that are in the near future (<45 days) throws an error like:
"ValueError: cannot smooth over more time periods than exist in the data"
This is because getApF107 would not be able to return f10.7 data, even though there is a 45-day-ap-orecast.txt file.

Can you see if there is a compromised data file in your data path: geomagindices/data possible called RecentIndices.txt? May be removing that file and running the code can help?

The code seems to be error-proof for a non-datetime object and gives very specific ValueErrors. Is the error occurring at _parser.py or some other place?

Rerunning the exact same code, I am unable to reproduce the error. I'm not sure what to make of this.
As I recall though, yes, I believe the error was _parser.py.

The code has changed since then, it may have been something that was fixed. I will tentatively close unless it becomes an issue again. Thanks!


Feature request: instances.json

It would be awesome if the list of instances could be fetched as json object. E.g. via an additional link like https://publiccloud.qa.suse.de/instances.json or something similar.

That would be nice! Something like openqa-mon but quering pcw! +1

Psssst don't hush it! But yes, that's the idea :slightly_smiling_face:

I assume it is done so can be closed , @grisu48  please confirm

Yes, this can be closed.


Support different keyboard types for the Text widget

Support keyboard types for numbers, emails, urls, etc.

We will support the following values for the keyboard property:

ascii
decimal
email
number
numbersAndPunctuation
phone
url

@mpost which one is the default, i.e. how to reset the keyboard property to its default?

The ascii is regular text.


Support the PROPERTY_AZURE_CLIENT_CERTIFICATE_PASSWORD property in Spring

Sync codes from https://github.com/Azure/azure-sdk-for-java/pull/32717

/check-enforcer override


nginx

I'm currently trying to set up this great tool, using nginx, however, i must be too stupid.
I've installed imageproxy and started it:
imageproxy -addr=<IP_ADDRESS>:8147
I've created a simple nginx config:
server {
    listen 80;
    listen [::]:80;

    server_name     whatever-you-name-it.tld;

    access_log      /var/log/nginx/imageproxy.access.log;
    error_log       /var/log/nginx/imageproxy.error.log;

    location / {
        proxy_pass  http://<IP_ADDRESS>:8147;
        proxy_redirect off;
        break;
    }
}

Restarted nginx and done. But connecting to it via browser fails with "Empty response". So i've tried a Curl request to check, what's the issue:
curl -o ~/test.jpg --user-agent "Mozilla 5.0" -H "Host: whatever-you-name-it.tld" <IP_ADDRESS>:8080/https://willnorris.com/logo.jpg
It worked. I had the test.jpg in the folder and it was not malformed, broken, etc.
So, the issue is not your script. However, i would like to ask if you have any idea, what's wrong on my end.

You can see my nginx config for willnorris.com.  The pattern match was to prevent "http://" in the URL path from getting collapsed down to "http:/".  But if that was your problem, I would expect the curl command to be failing as well.  What happens if you run:
curl -I -H "Host: whatever-you-name-it.tld" <IP_ADDRESS>:8080/https://willnorris.com/logo.jpg

What are the full response headers?

Response:
HTTP/1.1 200 OK
Cache-Control: max-age=2764800
Content-Length: 8138
Content-Type: image/jpeg
Etag: "56bdf776-1fca"
Expires: Sun, 22 May 2016 07:10:53 GMT
Last-Modified: Fri, 12 Feb 2016 15:17:10 GMT
Date: Wed, 20 Apr 2016 16:13:45 GMT

Using the URL instead of ip:port, it returns
`curl: (52) Empty reply from server´
Strange... I mean... I have other services like gogs running on another subdomain, too and it works fine :D

sounds like nginx is misconfigured for the different hosts that you serve.  If you're getting different responses when using the ip:port versus when using the host, then it doesn't sound like those are following the same path within nginx.  imageproxy knows nothing about the hostname used to reach the proxy; it only looks at the URL path.

@willnorris Thank you for your great project. But it would be better to add those solutions to README:

https://github.com/willnorris/imageproxy/issues/57#issuecomment-203972672
https://github.com/willnorris/imageproxy/issues/59#issuecomment-212492376

Fixed by #62


Do dependency inversion on Schedule.

The Schedule class should be an interface.

I think this is not necessary anymore.


kinesis-s3-source unstable

Have tried to increase the number of messages generated by data generator
Also tried to upgrade localstack to 3.0.

I can very occasionally reproduce the problem on my laptop, e.g. 1 out of XX times.
But the pipeline on buildkite can almost always reproduces the bug.
A common unstable phenomenon is that
the source that gets data from kinesis stream cannot read any data, so that any MV depends on it will get 0 row, which fails the check
example: https://buildkite.com/risingwavelabs/integration-tests/builds/571#018cfc28-8706-4a7e-a1e4-087cdb5f6eeb

another case is:
https://buildkite.com/risingwavelabs/integration-tests/builds/571#018cfd28-4a3d-42c7-8c88-09b54a6b8b78

exception while calling kinesis.ListShards: Could not get list of releases from https://api.github.com/repos/etspaceman/kinesis-mock/releases/tags/0.3.10: {\"message\":\"API rate limit exceeded for <IP_ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\

somehow it succeeded this time

somehow it failed again: https://buildkite.com/risingwavelabs/integration-tests/builds/579

The error does not show up any more