feat: init watermark plugin

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[x] New feature
[ ] Other

Description
Integrate watermark-js-plus into VuePress。
This plugin can add watermark to the pages, you can choose between add watermark globally or on specific pages. You can also choose between add text watermark or image watermark.

I think the docs should be detailed telling defineWatermarkConfig can used to add hooks  to watermark.

LGTM, I leave a comment at a check of image, check that, maybr you want to mean or?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
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 50.304%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
698

Relevant Lines:
1255

💛  - Coveralls

Currently this PR is blocked by the latest commit at main. I am still figuring out that.

BTW, could you add some e2e tests?

BTW, could you add some e2e tests?

When I run pnpm e2e:dev locally, I noticed that the webServer.command in playwright.config.ts is not being executed at all. Playwright starts running the tests without waiting for http://<IP_ADDRESS>:9080 to return 200 OK. I have to run pnpm docs:dev first before pnpm e2e:dev runs correctly.

BTW, could you add some e2e tests?

When I run pnpm e2e:dev locally, I noticed that the webServer.command in playwright.config.ts is not being executed at all. Playwright starts running the tests without waiting for http://<IP_ADDRESS>:9080 to return 200 OK. I have to run pnpm docs:dev first before pnpm e2e:dev runs correctly.

yes, anywhere is containing outdated devs and I replaced with http-server,  However I haven't made things to work yet,  The ci is still falling in main

Fix e2e tests plz

Done

@pengzhanbo Hi, I rebuild the plugin, and you are welcomed to review this for me.


Use base configs for molecule setup

update mirsg hooks
add base configs for centos 7 and rocky 9 to the tests/ folder
move role testing configuration to the role level (as is typical for molecule) (playbook configuration is still in test/ and can be moved in a separate PR)
update workflows to use base configs when running molecule
update READMEs with new description of test setup

Looks great! Just a few typos.

thanks for spotting all the typos! Should all be fixed now


Add .NET Core Paketo Buildpack Documentation

We should add public facing documentation on the website for the .NET Core Paketo Buildpack.
This should be under the new docs navbar (see https://github.com/paketo-buildpacks/paketo-website/issues/24) as a new page called Paketo .NET Core Buildpack.
These docs should be application developer facing and should at the very least document things like:

Possible app configurations supported by the buildpack (e.g ASP.NET, etc..)
Buildpackage artifacts on GCR and how to build a .NET Core app using a buildpackage (e.g pack build --buildpack gcr.io/paketo-buildpacks/dotnet-core)
Supported versions of dependencies (link to release notes)
Buildpack.yml configurations (specifying source code path, ASP.NET version, etc.)
vendoring dependencies (for offline use case)
buildpack specific environment variables

Looks great. Changes are in the redesign branch and will be live on paketo.io when we wrap up the remaining Paketo website work.


AE Timelines 1.3.0

asdf

Example of updates: http://bl.ocks.org/samussiah/fef8d319af053dd6f2b3f30cad884828

@samussiah Code review complete, and it looks like my various comments/questions show up in the pull request! that's pretty nice! Most of my comments are just small points of clarification, but there are one or 2 significant changes. Namely:

The first comment, for which I created issue #24
I think we should drop the request for #10. See my comment here

Both should be quick fixes and then we can hand off to Britt for regression testing!

All updates are in!


Error python manage.py init_db

Still not able to start project, though I can see db created with admin and user sample db. But upon launching it is status code 500?

Please provide your Python version and the output of the error message you are seeing.

from . import manage_commands


Links to logs in user info popup

Add a shortcut to view the logs of a certain user in the user info popup (could support sites like cbenni, overrustle, etc.).

I am working on incorporating cbenni's logviewer. Not sure how to use overrustle though since they have no sort of API endpoint.

Could access overrustle log in txt format for the selected channel 🙂

Is it still considered not fully implemented?


Lossless conversion from GitHub issue to yaml to Stac json

Can this be guaranteed?
General assumption : yes!
Can we a test this and demonstrate?

YAML sidestep has been removed, but we're still struggling with the number of fields allowed by GitHub (50), see project fields limitation
I've now done my best to merge fields were possible in the latest version of the Inventory Sheet, as described in the Issue on Additional Fields

do we still need this issue in light of the new and updated data ingestion pipeline and the WebGUI?

since there are no more GitHub Issues involved, this is obsolete, and therefore closed


A11y_Azure Tools Storage Explorer_AddResourceViaAzureActiveDirectory_AttachWithAzureAD _Zoom: Some of the content of the screen is not visible properly after zooming in the screen to 400%.

GitHubTags: #C&AI_Aug2020_BMAzure Tools Storage Explorer;#A11yWCAG2.1;#A11YTCS;#DesktopApp;#Azure Tools Storage Explorer;#WCAG1.4.10;#Win32;#A11ySev1;#Benchmark;#Zoom;#FTP;BM-Azure Tools Storage Explorer-win32-Aug2020;
Environment Details:
Application Name: Azure Tool Storage Explorer
Application version: 1.14.2
Windows Version - Windows10
Prerequisite:

Set display resolution to 1280x1024
Click on "Advanced scaling settings"
Enter 400% in the edit field "Enter a custom scaling size..."
Click on "sign out"

Repro Steps:

Launch Storage Explorer
Navigate to "Open Connect Dialog" pane present on left side of screen and hit enter.
Select "Add a resource via Azure Active Directory(Azure AD)" radio button and hit enter on Next button.
"Attach with Azure AD" screen gets opened.
Check if Some of the content of the screen is not visible properly after zooming in the screen to 400%.

Actual:
Some of the content of the screen is not visible properly after zooming in the screen to 400%. Here list items under "Account" heading is not visible at 400% zoom.
Similar issue is observed throughout the application.
Expected:
All the content of the screen which is available at 100% zoom should be visible properly after zooming in the screen to 400%.
User Impact:
Low vision users will not be able to view some of the contents at 400% zoom.
Attachment:
https://microsoftapc-my.sharepoint.com/:i:/g/personal/v-shrkh_microsoft_com/Ef6q_F-VeaJAs17WeptxXKEBbWjCeTcYfv6Y-3TrfDQpFg?e=IQfbMJ
https://microsoftapc-my.sharepoint.com/:i:/g/personal/v-shrkh_microsoft_com/ETilIxGSQMJKhqqwVR_JC8EB4GrWnOciGIDYy_AHUeV14A?e=7ZnzSb

Duplicate of #2618.

Github tags: #A11yMAS;

Github Tags:#Closed;


OnClose event missing

Please add onClose: () {} to showModalSideSheet()

Hello, it's done! Please update package in your dependencies to v. 0.0.2


tweaks synchronization deprecation message

/cc @ethagnawl

Coverage remained the same at 99.109% when pulling ced48f845521e99131b20c710ed09e0931fc159d on adamstrickland:cleanup-sync-dep-msg into f65554067ee23920bd3eb0ce37212ce505b6a321 on tmuxinator:master.

@adamstrickland What would you think about re-introducing the last sentence of @DuncSmith's deprecation warning (or something similar), which explicitly tells users how to opt into the after behavior? (e.g. "To use this behaviour now use the 'synchronize: after' option.")

@ethagnawl done

Coverage remained the same at 99.109% when pulling 717fe727e3586a71177903aff849b6f585035954 on adamstrickland:cleanup-sync-dep-msg into f65554067ee23920bd3eb0ce37212ce505b6a321 on tmuxinator:master.


add messaging contract for duck player page

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#993
#1004
#1003  👈
#1002
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @shakyShane and the rest of your teammates on  Graphite


Plan for cluster support

Is there any plan for cluster support?
Redis 3 has been stable version

Duplicate of #574. I would like to add cluster support, but I do not have the time right now to do it on my own. Please use https://github.com/gosquared/redis-clustr in the meanwhile.

It's been 3 years and still no cluster support... :(


Port build.zig to use the latest build system

Sorry that the formatter screw something over but in this PR will now work on zig 0.11.0-dev.3380
Changes:

Instead of exe.install() it now uses b.installArtifact(exe)
b.step("run", "Run pacman").dependOn(&exe.run().step) doesn't run the program, so you need to do this:

const run_cmd = b.addRunArtifact(exe);
run_cmd.step.dependOn(b.getInstallStep());

b.step("run", "Run pacman").dependOn(&run_cmd.step);

emcc.step.dependOn(b.getInstallStep()); instead of b.getInstallStep().dependsOn(&emcc.step)

Tried to build it on Windows and it works. WASM target also works but you need to add an -Doptimize=ReleaseFast or any other optimize mode that is not Debug, I wonder why though.

Not sure why I missed this PR, but I think those issues had been fixed.


x/website: incorrect synopsis for index/suffixarray

What did you do?
Visit https://golang.org/pkg/index/ and https://golang.org/pkg
What did you expect to see?

What did you see instead?

Git bisect says https://go-review.googlesource.com/c/website/+/296378

duplicate of #45042 ?

@seankhliao oops, yes, they looks like the same problem


Server pings from within EVE resulting in ECONNREFUSED

Hello, I am a CS student interning with a team that is working on Project EVE. I have been walking through the documentation and setting up EVE with minimal issues, but the company firewall that is setup on the device I am installing EVE on has proved to be troublesome.
At first I was having issues retrieving data from the docker repo, but after running a script that setup a proxy, I was able to clone EVE and build everything without issues. However, I believe I am now having an issue with the firewall while running EVE itself. Building the tools and live client works fine, but when EVE is run and tries to contact the Zededa API, the requests timeout, and returns an error saying "Controller returned ECONNREFUSED". EVE then tries to ping google as a test, and those requests timeout and return the same error. EVE continues cycling between trying to ping the Zededa API and google, until I exit the app.
I tried changing the Makefile proxy settings to use the proxy used to run the script mentioned earlier, but that was also unsuccessful. Its entirely possible that this is the solution, but I just don't know/didn't do it the right way to go about doing this, as I am pretty unfamiliar with proxies.
How do I go about ensuring EVE can get through the firewall?
Attached is a picture of the errors received while running EVE.

Hey @cmeyerwork and welcome to the EVE community -- it is very nice to have you! In general, for questions like these it may be easier to hit our slack: https://lfedge.slack.com/
At any rate, it seems that you need to configure PROXY on the running version of EVE. Have you followed this doc yet? https://github.com/lf-edge/eve/blob/master/docs/CONFIG.md#example-deviceportconfig

Hey @cmeyerwork and welcome to the EVE community -- it is very nice to have you! In general, for questions like these it may be easier to hit our slack: https://lfedge.slack.com/
At any rate, it seems that you need to configure PROXY on the running version of EVE. Have you followed this doc yet? https://github.com/lf-edge/eve/blob/master/docs/CONFIG.md#example-deviceportconfig

Just tried this, pretty much copied the example file and made the appropriate changes to the proxies line. I am still getting the controller return ECONNREFUSED error message.
I did notice that it looks like EVE isnt recognizing that the proxy has even been set in the .json file, due to an info message saying eth0 has no http(s) proxies. I created an override.json file in eve/conf/DevicePortConfig/, which I believe to be the correct spot. Is it possible that EVE is somehow not finding this file?

Here's my override.json file, I've removed the proxy information as it is a corporate proxy:

I did try to join the slack, however the email I used said I didn't have the permissions to join. I'll have to try with a different account.
Thanks in advance for the help!

Hey @cmeyerwork -- you really need to bring this on slack so we can do a much quicker turn around on debugging the issue.


[clean]: remove get_proper_err, get_variant_golden

:warning: This PR does not produce bitwise identical kernels as the branch it's merged against. Please check artifacts for details. Download the output file here.


Scrolling a Markdown document eats 100% cpu, spawns empty cmd.exe processes,

VSCode Version:
0.10.11

OS Version:
Win 7 x64

Steps to Reproduce:

Create an md file and paste the following block multiple times so you can scroll the document:

## lorem ipsum
dolor sit amet

Hold down arrow and watch processes

@mzt wow weird, I cannot reproduce. Do you run with extensions?
Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions

@bpasero My bad, it was the Instant Markdown extension.


Order By Support

Pull Request Test Coverage Report for Build 180

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

Totals

Change from base Build 179:
0.8%

Covered Lines:
549

Relevant Lines:
580

💛  - Coveralls


ERROR: Unable to connect to device [-] An error occurred

When I use the command ./palera1n.sh --tweaks 15.1 on my iPad 6th Generation running 15.1. It runs this long list of code and at the very end it says: "ERROR: Unable to connect to device [-] An error occurred"

Using a USB-A cable instead of a USB-C cable worked for me. You can use a dongle if needed.


[DPE-4213] Tests legacy and modern endpoints simultaneously

Issue #455
Simultaneous creation of legacy and modern endpoints relations
Solution
Charm goes into a "blocked" state, when creating a simultaneous relation legacy and modern endpoints.

@BalabaDmitri this is a bit over-engineered initial requirements.
The goal is to make sure the same App and DB are NOT related twice (via the modern and the legacy interfaces).
Problem: the user can forged to unrelate the legacy interface after the migration from legacy interface pgsql to modern interface postgresql_client. When keep both interfaces are connected => it could cause issues.
As discussed on sync, the test IMHO: deploy pg-test-app, deploy pg, relate app:db<>pg:db, OK, relate app:first-database pg:database, blocked, unrelated :db, OK, relate :db, blocked, unrelated :first-database, OK, unrelate :db, OK, relate :first-database OK and relation works, done. pg-test-app supports both interfaces.
We can merge this AS IS, but:

we deploy here finos-waltz-k8s which is a bit heavy and not necessary as p-t-a is deployed anyway.
we do not have finos-waltz-k8s to deploy on VM => we will have to simplify the test there anyway.

Merging AS IS or simplifying? Or simplifying for VM only? :-D

I cannot merge this due to no signed SLA :-(

Hi, @BalabaDmitri , there's a conflict with main as well. Please, sync and resolve.

@dragomirp Can you check


It's currently not possible to specify webpacks mode

Operating System: Linux
Node Version: node v10.1.0
NPM Version: npm 6.0.0
webpack Version: webpack 4.8.1
webpack-serve Version: webpack-serve 0.3.2

This issue is for a:

[ ] bug
[ ] feature request
[ ] modification request

Code
CLI Command
  $ webpack-serve

webpack.config.js

Expected Behavior
I would like to specify in which mode webpack should be started via webpack-serve.
Ideally it should default to development, because that's where webpack-serve will mostly be used.
Actual Behavior
There is no option how I can specify webpack mode.
How Do We Reproduce?
New Feature Use Case
(Maybe also see issue #123)

Opening duplicate issues is not cool. Your previous issue was closed because it's a request for support. I even linked you to the relevant documentation to solve your previous, duplicate issue. I'll paste it again here for reference:
From the issue template:

👉🏽 Need support, advice, or help? Don't open an issue.
Head to StackOverflow or https://gitter.im/webpack/webpack.

^ that means don't do what you just did - post a question in an issue seeking support. this isn't the proper place for that. you have two options there which are the proper places for support.
Your answer lies in the documentation

i think mod author may be autistic. I dont think this can or should be discussed further

@nihiluis those types of comments are not welcome anywhere in the webpack ecosystem, and absolutely not welcome in the webpack-contrib organization. This is your last, and only warning.


Deletion order of remaining resources

Regarding the bullet 3. "The remaining resources are deleted after the previous two categories." - in which order are remaining resources being removed? Alphabetic, date created...?
Thanks,
Uros

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

ID: e30e8626-d145-a638-e3ad-6948f7897dec
Version Independent ID: a261c750-16ff-ee26-8024-50f724feb291
Content: Delete resource group and resources - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/delete-resource-group.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Those deletions would be handled at different rates, so there is no dependable order. The only predictable order is for resources that are dependent on other resources, which is covered by the first two points.
#please-close

Thank you @tfitzmac for helping on the thread.
@urosmil Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation, other than what has been listed above. We will go ahead and close this issue for now, however if you have any further feedback on the document please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Update Timeline “2022-06-16t15-40-38-831z-campaign”

Automatically generated by Netlify CMS

👷 Deploy Preview for 4shame processing.

Name
Link

🔨 Latest commit
4f02c631a24cda3cb70cfb3656a68faaae094b0c

🔍 Latest deploy log
https://app.netlify.com/sites/4shame/deploys/645820601907150008148d7d


[Select] Keyboard navigation does not work if the first child is a ListSubheader

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Following the example here I tried to add grouping to my select component. When trying to navigate the example in the documentation with your keyboard it works as expected, similar to how the navigation works without grouping, where I tab to give the select focus, and then use the arrow keys to navigate between the different options with the group headings being skipped.
However, in my use case, the group ListSubheader  is the first child of the Select, rather than a selectable option. In this case when I tab to focus the select and then try to navigate with the arrow key I am not able to navigate to the options. It is worth noting though that if I tab again, the group heading receives focus and then I can use the arrow keys to navigate the options. However, the group heading should not be focusable as it's not a selectable option.
Expected Behavior 🤔

I should be able to have a group ListSubheader as the first child of the Select, and still be able to give the component tab focus and navigate the selectable options using the arrow keys
Steps to Reproduce 🕹

Codesandbox example
The example contains two Select components. One similar to the documentation example which works as expected, and one where the group heading is the first child, which does not work as expected

Steps:

Give focus to the Working select example
Press the down arrow key and the menu opens
You can navigate down through the menu items by pressing the down arrow key
Give focus to the Not Working select example.
Press the down arrow key and the menu opens
You can keep pressing the down arrow key but you can't navigate to the items.
Press tab and the group heading will be given focus.

Context 🔦

I am trying to use the Select to provide a grouped list of options that is also keyboard accessible, where the child elements of the select are Listsubheader and MenuItem.
Your Environment 🌎

`npx @material-ui/envinfo`
  Tested on Chrome

System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 496.72 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.15.4 - ~/.nvm/versions/node/v14.15.4/bin/node
    npm: 6.14.10 - ~/.nvm/versions/node/v14.15.4/bin/npm
  Managers:
    Homebrew: 3.1.6 - /usr/local/bin/brew
    pip3: 19.2.3 - /usr/bin/pip3
    RubyGems: 3.0.3 - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 10.15. - /usr/bin/gcc
    Git: 2.24.3 - /usr/bin/git
    Clang: 12.0.0 - /usr/bin/clang
  Servers:
    Apache: 2.4.46 - /usr/sbin/apachectl
  Virtualization:
    Docker: 20.10.5 - /usr/local/bin/docker
  IDEs:
    Nano: 2.0.6 - /usr/bin/nano
    VSCode: 1.57.0 - /usr/local/bin/code
    Vim: 8.1 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.16 - /usr/local/go/bin/go
    Perl: 5.18.4 - /usr/bin/perl
    PHP: 7.3.11 - /usr/bin/php
    Python: 2.7.16 - /usr/bin/python
    Python3: 3.8.2 - /usr/bin/python3
    Ruby: 2.6.3 - /usr/bin/ruby
  Databases:
    SQLite: 3.28.0 - /usr/bin/sqlite3
  Browsers:
    Chrome: 91.0.4472.106
    Safari: 14.1.1

Hi, I trying to solve this.

When the first element in the select is the ListSubheader it receives the autoFocus but it is not a valid option he does not start selected like a MenuItem, and he receives the tabIndex = 0, and using the tab we can use the arrow.
Using the native optgroup as the first child the first option starts selected, and Select ignores the optgroup label.
In the code of SelectInput when the const items are created it receives the same properties in cloneElement for MenuItems and ListSubheader.  code of const items
Using the child.props.value === undefined is possible to find the ListSubheader items and return a different object in cloneElement (or none) solving the problem with the click.
But I still not resolve the autoFocus that starts in the first element of the list items in the select, working on this.


disable nylas

Nylas is shutting down or something.
cc @bengotow

Yep - they've sunset Nylas Mail. I've added the Mailspring fork in #328!


What are these values for?

I am not sure what dimension these values are in. Can you explain how did you calculate these values?
`mapWidth = abs(deg2km(E-W)*1000);
mapHeight = abs(deg2km(N-S)*1000);
Rx = base(1)/size(A,2);
Ry = base(2)/size(A,1);`

mapWidth and MapHeight are variables storing the size from opposing borders of the map in horizontal and vertical. The function deg2km receives a difference of degrees in the surface of earth and returns the distance of this arc in kilometers. Since I wanted to work in meters, the result is multiplied by 1000.
Rx and Ry are the location of the base in proportion to the size of the image.


Support sparse/overlapping labels

We have tables of labels, which could be sparse throughout a recording, and could be overlapping. That makes them a bad fit for LabeledSignal's. Is there another way to use OndaBatches? What needs to happen here to support that?

I think there are two (possibly related) cases we may want to support here:

sparse/overlapping labels where you only want to load exactly the labeled span in a batch (e.g., you have a bunch of 1s events, and you want to build batches by stacking those 1s items into a batch)
sparse/overlapping labels where you want to build batches for longer spans that may overlap some labels (handling the unlabeled bits properly)

if the sparse label starts/stops are aligned with some reasonable sampling rate, we could already support the first one (if we move some internal code into this package).  However, in using that code, we're running into trouble with a situation where some spans start/stops are not aligned with the label sampling rate (e.g., if we assuming labels are sampled at 1Hz then if we have spans like 1.4-2.6s, we're in trouble).  So in that situation, we have to decide how to convert that into a 1Hz signal.  Up to this point we've been able to get by by "snapping" the start/stops to sample times which allows us to use the standard mechanism implemetned here, but an alternative would be to do something like create an all-zero signal and index into it with an AlignedSpan for each label.  Dealing with overlaps would be annoying though, unless you do it with "soft labels" (adding up the votes associated with the one-hot encoding of hard labels or just using soft labels directly).


address todos in config code and tests

Looks like you had planned on adding tests at some point. They are no longer needed?

The current tests cover what would have gone in those stubs - as well as what is now covered by ITs


expiry time not validated?

Hi, I'm not sure if I'm doing something wrong or if this is a bug..

given this Caddyfile:

localhost {
  log stdout
  jwt /protected
}

invoke caddy like so: env JWT_SECRET=testing caddy

visit http://localhost:2015/protected?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOiIxMDAiLCJyb2xlIjoibWVtYmVyIn0.CYkF_TZi1dBR3wbM8UtQtbTQAfy1bzXU__McQPTLm0U

404 is returned instead of an expected 401

I set the "exp" claim to 100 in the token - it can be viewed/validated at https://jwt.io/
Am I using this incorrectly?  I also tried using a valid expiry time in the past, e.g.<PHONE_NUMBER>, and still got the 404 instead of a 401.

Hi @joncfoo, I added a few tests to the suite to figure out what's going on.  The "exp" field needs to be a unix timestamp as an integer.  If you try it with an arbitrary string it will still validate the token as long as the signature is valid.
This is a bit of a gotcha in how the IETF standard for JWT is implemented.  The expiration time is not a required field so tokens won't fail validation if it either doesn't exist or is malformed.
The thinking behind this is that it's up to the issuer to issue a token with a valid format.  An attacker can't forge a new or malformed value in the "exp" field because it would fail signature validation.  Personally, I think it would be better to fail validation if the "exp" field exists but doesn't correspond to a valid timestamp.  However, I don't think it would be a good idea to change the expected behavior of this library from the standard.
If you try it again with a valid timestamp as an integer it should work.  I added another test to the library to verify that it is indeed failing expired tokens and everything looks ok.  Little gotchas like this is why I recommend that you use one of the JWT libraries to generate the token when you use this in production.

Thanks for the detailed break-down @BTBurke!  I do wish the jwt library would fail on invalid input especially if the exp field is invalid but I think in this scenario PEBKAC suffices since it would be near impossible for a client to modify the token.
Thanks!


Voluptuous Validation Schema Exception Handling

When the API validates schema's it handles exceptions in a general way that can hide the actual issue.
For example:
    Required('username'): check(
        ("Usernames must be between 3 and 20 characters.", [str, Length(min=3, max=20)]),
        ("This username already exists.", [
            lambda name: safe_fail(get_user, name=name)is None and 1/0 == 0])
    ),

This snippet will raise a WebException with the message "This username already exists."
As a result, the underlying division exception will not be logged.

Is this issue ready to be closed?

Yes, should be good to go.


[TRIVIAL] Remove unused lambda capture

Clang 5 warns about this unused lambda capture

Codecov Report

Merging #2219 into develop will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2219      +/-   ##
===========================================
- Coverage    70.05%   70.04%   -0.01%
===========================================
  Files          689      689
  Lines        50724    50724
===========================================
- Hits         35533    35530       -3
- Misses       15191    15194       +3

Impacted Files
Coverage Δ

src/ripple/protocol/impl/STVar.cpp
85.71% <0%> (-2.6%)
:arrow_down:

src/ripple/core/impl/Workers.cpp
98.86% <0%> (-1.14%)
:arrow_down:

Continue to review full report at Codecov.

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

In 0.80.0-rc2


checkbox doesn't fire .on_click_stop in example

checkbox doesn't fire .on_click_stop in example
https://github.com/lapce/floem/blob/0b299f7b578409f32e5a27b9f31e6eca889cc2da/examples/widget-gallery/src/lists.rs#L64-L69

It works fine for me with on_click_stop. Would you mind sharing a screen cast of the issue?

It works fine for me with on_click_stop. Would you mind sharing a screen cast of the issue?

My machine is a MacOS M2.
When using .on_click_stop I click checkbox and nothing is printed.

.on_update works OK.

Got it, thanks.

This is the same issue as https://github.com/lapce/floem/issues/533


Not able to create a Jenkins custom image using Jenkins Operator

Steps to Reproduce:

Install Jenkins Operator
Create a custom Jenkins image as follows:

apiVersion: jenkins.io/v1alpha2
kind: JenkinsImage
metadata:
  name: foo
spec:
  from:
    name: jenkins/jenkins
    tag: lts
  plugins:
  - name: kubernetes
  to:
    registry: quay.io/<repo>
    name: jenkins-foo
    tag: latest
    secret: <push-secret>

Check the registry for the image.

Actual results:
The custom Jenkins image has not produced. The status shows Phase: ImageBuildSuccessful message.
Expected results:
The image should be pushed to the given registry.

I have this same image, the pod has no logs:
apiVersion: jenkins.io/v1alpha2
kind: JenkinsImage
metadata:
  name: my-first-jenkins
spec:
  from:
    name: jenkins/jenkins
    tag: lts
  plugins:
  - name: kubernetes
  to:
    name: my-first-jenkins
    registry: 'image-registry.openshift-image-registry.svc:5000/custom-jenkins'
    tag: lts

$ kubectl logs my-first-jenkins-builder

The issue is because the image doesn't have a command, just args.  If you add - command: [kaniko/executor] to the pod it will run and have logs.

Same problem here, pod gets started and ImageBuildSuccessful message shows up.
Nothing happens afterwards, no logs no error.
Jenkins Operator: v0.7.1
Openshift: 4.7.19


[Mobile] copy and paste text with formatting mess up formatting

below is the video with the problem
a.webm

@TheHeBoy please have a look

ok


OCPNODE-2357: machineconfiguration: make crun as the default container runtime

Related to https://issues.redhat.com/browse/OCPNODE-2217
This commit sets crun as the default container runtime in OCP for 4.17

/jira refresh

/lgtm


add imageshape to card

@nidhigarg-bmw the new status parameter for the app-card is per default "true" => means we dont have any impact with that change to the existing screens (such as app management page) - right?

@nidhigarg-bmw the new status parameter for the app-card is per default "true" => means we dont have any impact with that change to the existing screens (such as app management page) - right?

Yeah, it will not impact as previously also it was true for all and I made this status "false" for deactivate page only.


Option to allow one instance only

It would be great if in the config file there is an option that allows one instance only of the application.
If this option is set, and there is already a running application, not to allow a second instanse of the appliation (to quit).
This will be great in case we needs to have one consumer only.

It is the goal of this project to stay focused as much as possible. In order to do so, when ever possible, things are delegated to tools which are better suited for the case.
In my opinion, task supervisors like Supervisord, Monit or SystemD and or init scripts for SysVinit, Upstart or the like are better suited for your use case.

I assume that my previous comment answered the question. Therefore I close this issue. If this is premature, feel free to ask for a reopen.


vscode.workspace.getConfiguration('') does not return defaults

VSCode Version: Version 1.7.0-insider (1.7.0-insider) (2016-10-25T06:03:02.884Z)
OS Version: OS X El Capitan

vscode.workspace.getConfiguration('') does not return default values for configuration items defined in package.json of an extension.
Steps to Reproduce:

Invoking vscode.workspace.getConfiguration('python');, only returns the values found in workspace settings.json

However this same code running on VS Code (1.6) returns from settings.json merged with the default configuration values defined in package.json

This is the value returned in VS Code Insiders:
{
    "pythonPath":"${workspaceRoot}/p27/bin/python"
}

This is the value returned in VS Code 1.6:
{
    "pythonPath": "${workspaceRoot}/p27/bin/python",
    "sortImports": {
        "args": [
            "-sp",
            "${workspaceRoot}/issues/sorts"
        ]
    },
    "linting": {
        "enabled": true,
        "prospectorEnabled": false,
        "pylintEnabled": true,
        "pep8Enabled": false,
        "flake8Enabled": false,
        "pydocstyleEnabled": false,
        "mypyEnabled": false,
        "lintOnTextChange": true,
        "lintOnSave": true,
        "maxNumberOfProblems": 100,
        "pylintCategorySeverity": {
            "convention": "Information",
            "refactor": "Hint",
            "warning": "Warning",
            "error": "Error",
            "fatal": "Error"
        },
        "prospectorPath": "prospector",
        "pylintPath": "pylint",
        "pep8Path": "pep8",
        "flake8Path": "flake8",
        "pydocStylePath": "pydocstyle",
        "mypyPath": "mypy",
        "prospectorArgs": [],
        "pylintArgs": [],
        "pep8Args": [],
        "flake8Args": [],
        "pydocStyleArgs": [],
        "mypyArgs": [],
        "outputWindow": "Python"
    },
    "formatting": {
        "provider": "autopep8",
        "autopep8Path": "autopep8",
        "yapfPath": "yapf",
        "autopep8Args": [],
        "yapfArgs": [],
        "formatOnSave": false,
        "outputWindow": "Python"
    },
    "autoComplete": {
        "extraPaths": []
    },
    "unitTest": {
        "nosetestsEnabled": false,
        "nosetestPath": "nosetests",
        "pyTestEnabled": true,
        "pyTestPath": "py.test",
        "nosetestArgs": [],
        "pyTestArgs": [],
        "unittestEnabled": false,
        "unittestArgs": [
            "-s=./tests",
            "-p=test_*.py"
        ],
        "outputWindow": "Python Test Log"
    },
    "terminal": {
        "executeInFileDir": false,
        "launchArgs": []
    },
    "jupyter": {
        "appendResults": true,
        "defaultKernel": "",
        "startupCode": [
            "%matplotlib inline"
        ]
    }
}

Might be me.

@DonJayamanne I cannot reproduce, but this could be a regression from https://github.com/Microsoft/vscode/commit/1dbf76bfb301ff9bf45059d9dfadbc96b84ecb8a
Can you try if this reproduces with that change reverted?
If so, we need to understand how you manage to call getConfiguration() early enough that you do not see these values. For that I need a reproducible extension code 👍

I know that many extension load settings very early during code loading (before activate is being called) so changes to the timing might be risky. There is an underlying problem that we have no extension host lifecycle that says ready, load extensions now. Esp this is what needs to happen very, very early

fyi @alexandrudima - we have talked about this

What also could have an impact is that we do extension reading now from the renderer side. Though I have to check if configuration registry is also being configured now from the renderer side.

yes, in the old way there was an implicit synchronization waiting when the extension host was sending the extension info (package.json) to the main process. Given the new way of reading extensions in the main thread the order should be (roughly):

a. discover and parse package.json files
b. then trigger extension point listeners
c. then begin creating the extension host and use as initData also the initial configuration

I believe b is happening after c today.

The refactoring only changed where the extensions are read. Before, extensions are scanned in extensionHostMain and now they are read in the Renderer. There is no change in the lifecycle other than this. Registering of extensions (=> triggering extension point listeners) still is done in extension host process.

@sandy081 Extension point listeners were and are still triggered in the main process. e.g. the debug viewlet would not know debuggers if it was done in the extension host process.

I can take this issue and review the change with this occasion.

@alexandrudima You are right. What I meant was extension host process sends the signal to main process to register extensions which is triggering extension point listeners.
Please let me know if you need any information about the changes I have done or any help from me, I would be happy to do.
Thanks

Thanks, let me know if we need to do something about the RunOnceScheduler for the event.

Verified with the following snippet/config and made sure it always prints the same config

import * as vscode from 'vscode';
console.log('ON LOAD', vscode.workspace.getConfiguration('typescript'));

setTimeout(() => console.log('AFTER 10ms', vscode.workspace.getConfiguration('typescript'), 10));

"typescript.format.enable": false,
"typescript.format.insertSpaceAfterSemicolonInForStatements": false

@jrieken
vscode.workspace.getConfiguration('python') returns empty object, even if Python has configuration contributions.

Fixed via https://github.com/Microsoft/vscode/commit/1730383e85c56a0788a86cf5f9e0f7ab9af427b3

@alexandrudima could you verify please?

Actually I just verified:

installed Python extension into insider build
wrote an extension that activates on star
in the very first line called console.log(vscode.workspace.getConfiguration("python"))
output I am seeing:


Migrate projects from redmine

status: 37 out of 3581 projects migrated.

migrated these 2 projects yesterday

https://languagedepot.org/project/khg-flex
https://languagedepot.org/project/tkt-flex


deepest_node is invalid syntax in Py2 and Py3?

Working on porting for #19, but I've encountered this gem and I'm flummoxed:
def deepest_node((subj, pred, obj), graph):
    """recurse down the tree and return a list of the most deeply nested
    child nodes of the given triple"""
    # i don't fully accept the premise that this docstring presents
    # i'm not a docstring literalist
    to_return = []

    def _deepest_node((subj, pred, obj), graph):
        children = []
        if isinstance(obj, rt.BNode):
            for s, p, o in graph:
                if str(s) == str(obj):
                    children.append((s, p, o))
            for s, p, o in children:
                s1, p1, o1 = _deepest_node((s, p, o), graph)
                # coupling *smacks hand with ruler*
                if "rNews" in str(o1) and (s1, p1, o1) not in to_return:
                    to_return.append((s1, p1, o1))
            return (s1, p1, o1)
        else:
            return (subj, pred, obj)
    _deepest_node((subj, pred, obj), graph)

    return to_return

The idea of destructuring args is pretty cool, but it's not valid Python:
# Python 3
In [1]: def ((foo,bar,baz), qux):
  File "<ipython-input-1-c256cc6e9347>", line 1
    def ((foo,bar,baz), qux):
        ^
SyntaxError: invalid syntax

# Python 2
>>> def ((foo,bar,baz), qux):
  File "<stdin>", line 1
    def ((foo,bar,baz), qux):
        ^
SyntaxError: invalid syntax

..so how did this ever get into the source tree? And if it does work, how do I get it to work for me, because I like it in principle?  :)

More:
E         File "/home/cathal/Projects/python/schemato/schemato/schemas/opengraph.py", line 45
E           def _is_instance(self, (subj, pred, obj)):
E                                  ^
E       SyntaxError: invalid syntax

PEP-3113 removed this sort of parameter unpacking, so that's why it doesn't work in Python 3.
The reason this appears not to work in Python 2 for you is that you forgot to name your function. 😄
# Python 2.7.12
In [1]: def packed_func((foo, bar, baz), qux):
   ...:     pass
   ...:

In [2]:


ML/AI: Bayesian Neural Networks

Will give an example of bayesian nn.
@clare0901 @csendranshi @orvil1026

please assign @csendranshi @clare0901


Play 2.4.0-M2 incompatibility

PlayPositionMapper has moved namespaces in 2.4.0 from play to play.sbtplugin causing an incompatibility with play2war.

How can this be fixed? I run into the same problem

We will provide a new version of the plugin once Play 2.4.0 is published.
Or you can try yourself to provide a patch for this:
https://github.com/play2war/play2-war-plugin/wiki/How-to-help
I can support you if you want to migrate the plugin to play 2.4.0-M2 yourself.

I started the migration in a branch:
https://github.com/play2war/play2-war-plugin/tree/issue-%23278-be-compatible-with-play-2.4.x

Is there any news on this being merged @yanns?

We are trying to publish a first beta version.

P2W 1.4-beta1 was released a few weeks ago. It handles Play 2.4.x versions.


Issue with downloading the CSV

Runs the query but when I download csv I get an error message.  I believe its because I'm using "+" to add two different columns

Could you provide a more detailed example?

Hey,
So my query included a line "application_funders.amount +
COALESCE(application_prior_fundings.buyout_amount,0) as "total approved
amount" FROM applications "
I have no problem running the query but when I try to download it I get an
error "pg: syntax error at or near "COALESCE""
Thanks,
ELana
On Mon, Aug 3, 2015 at 3:41 PM, Dan Sosedoff<EMAIL_ADDRESS>wrote:

Could you provide a more detailed example?
—
Reply to this email directly or view it on GitHub
https://github.com/sosedoff/pgweb/issues/95#issuecomment-127383220.

Thanks, i'll have a look later today

Fixed in latest release


Change defaults for new ldap group fields to entryDN

**Rancher Version:**v1.2.0-pre4-rc6
Comments
Change the default values for Group Member User Attribute & Group DN Field to entryDN.

Version - master 11/1


API is not working

Fetching the URL: https://random-words-api.vercel.app/word and I've been getting the following message:
"Something Went Wrong - Enter the Correct API URL"
Just wondering if there is a request limit or if it went down?

Hi @nnagewad
Thanks for creating a issue for this.
Everything seems to be working on my end. Can you try refreshing or check in Incognito.
Also, I suggest you to selfhost.
And there are no rate limiting applied.

Same error here.

@scrapitt Are you hosting it yourself?

@scrapitt This method is not working due to Cloudflare
it may work on localhost but not on Servers
4 options
1 - Use a Residential Proxy
2 - use Headless CMS puppeteer instead of Axios  (For puppeteer VPS Recommended)
3 - use PHP preg_match to scrape the data

  if (preg_match('/
(.+?)<\/div>/s', $html, $word_match)) {
        $word = trim($word_match[1]);
        $wordOfDay['word'] = ucfirst($word);
    }

    if (preg_match('/
(.+?)<\/div>/s', $html, $definition_match)) {
        $definition = trim($definition_match[1]);
        $wordOfDay['definition'] = ucfirst($definition);
    }

4 - Run on localhost and Store all scraped data in the database locally Later use it on production with the stored data as JSON API


Store list of enabled plugins in each experiment log (Trac #169)

Migrated from http://microfluidics.utoronto.ca/microdrop/ticket/169
{
    "status": "closed",
    "changetime": "2015-01-08T18:18:50",
    "description": "",
    "reporter": "ryan",
    "cc": "",
    "resolution": "fixed",
    "_ts": "1420741130460595",
    "component": "microdrop",
    "summary": "Store list of enabled plugins in each experiment log",
    "priority": "major",
    "keywords": "",
    "version": "0.1",
    "time": "2015-01-08T18:17:44",
    "milestone": "Microdrop 1.0",
    "owner": "Ryan Fobel<EMAIL_ADDRESS>
    "type": "enhancement"
}

Trac update at 20150108T18:18:50:

Ryan Fobel<EMAIL_ADDRESS>commented:

In changeset 0f562d6b6204e2e27220f43b5366a7e980405848:
#!CommitTicketReference repository="microdrop" revision="0f562d6b6204e2e27220f43b5366a7e980405848"
Fix #171 (store plugin list in experiment log)

Ryan Fobel<EMAIL_ADDRESS>changed owner from "" to "Ryan Fobel<EMAIL_ADDRESS>Ryan Fobel<EMAIL_ADDRESS>changed resolution from "" to "fixed"
Ryan Fobel<EMAIL_ADDRESS>changed status from "new" to "closed"


error when use the "take"-function is used in the german language

I tried to parse the following two sentences in different languages.
Namely the english sentence
IF TAKE

and the german sentence
WENN NIMM

Expected Behavior
The English sentence will be parsed to a rule with a condition that has a left operand.
The left operand is a function, that has currently one parameter (which is null).
This is the expected behaviour for the German rule too.

Current Behavior
The German sentence can be parsed too, but the preprocessor manipulates the input completely.
Instead of the function NIMM, I get the static string takeIMM from the parser.
So we still have a valid operation inside the rule but the left operand is a static string instead of a function.

Possible Solution
The error must be located inside the preprocessing.
The preprocessed input-string of the english version is ʬfunctionʬtakeʬTAKE, while the german one is takeIMM.

Steps to Reproduce (for bugs)
I used the REST-API with the following parameter:
{
    "rule": "IF TAKE",
    "schema": "{name: 10}",
    "culture": "en",
    "language": "Java"
}

{
    "rule": "WENN NIMM",
    "schema": "{ Alter: 20}",
    "empty" : true,
    "culture": "de",
    "language": "Java"
}

Context

The function cant be used in the german language.
Your Environment

Version used: 0.0.1 (latest version of github repo)
Environment name and version (mvn -v and java -version): java: 1.8.0_221
Operating System and version: Windows
Link to your project: https://github.com/NLueg/openvalidation

TAKE should only work in combination with array selection. otherwise it will be resolved back to string. It should be possible to write:
a rule:
if user take name equals  Alex
then its not ok

with schema:
{name:''}

in this case "take" will be interpreted as sugar


Support use of Fn::Split on values from parameters of type CommaDelimitedList.

Community Note

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

Tell us about your request
Support use of Fn::Split on values from parameters of type CommaDelimitedList.
Tell us about the problem you are trying to solve. What are you trying to do, and why is it hard?
I have a comma delimited list of values (a list of users) that I want to parameterize. It seems appropriate to therefore use the CommaDelimitedList type. When I reference that parameter as the second argument for Fn::Split, I get an error ...

Template error: every Fn::Split object requires two parameters, (1) a string delimiter and (2) a string to be split or a function that returns a string to be split.

Others have reported the same issue.
Are you currently working around this issue?
I can use type String instead of CommaDelimitedList, but it seems like a shame to not use the more specific type.
What is the expect behavior with this new feature
Parameters:

  GroupMembers:
    Type: CommaDelimitedList

Resources:

    Group:
      Type: AWS::IAM::Group

    UserToGroup:
      Type: AWS::IAM::UserToGroupAddition
      Properties:
        GroupName: !Ref Group
        Users: !Split [',', !Ref GroupMembers]

Additional context
n/a
Attachments
n/a

You beat me to it @benbridts. Was just testing pretty much that example.
@rhbecker let us know if there is a bigger use case we're missing here.

Y'all are quick - I appreciate the responsiveness.
I ended up finding this info elsewhere, after posting this issue, along with some other related stuff I thought might be worth gathering here, as a reference for others who may struggle to intuit use of the CommaDelimitedList type, as I have.
Feel free to close this issue, unless you see something in the below that you think is improve-able, or worthy of mention in official docs. I don't have any specific suggestions in either regard, but can only say that I've found the CommaDelimitedList type to be less intuitive than would be ideal.
conditions
Unlike with the String type, you can't simply test for equality against an empty value, like the below ...
Parameters:

  GroupMembers:
    Type: CommaDelimitedList
    Default: ''

Conditions:

  IsNotEmpty: !Not [!Equals ['', !Ref GroupMembers]]

With the above approach, Fn::Equals will object with an error like ...

Every Fn::Equals object requires a list of 2 string parameters

You can sidestep this by using Fn::Join to convert the param to a string, within the condition, to unblock the comparison ...
Parameters:

  GroupMembers:
    Type: CommaDelimitedList
    Default: ''

Conditions:

  IsNotEmpty: !Not [!Equals ['', !Join ['', !Ref GroupMembers]]]

nested stacks
When working with nested stacks (Type: AWS::CloudFormation::Stack), it doesn't seem to work to pass along a CommaDelimitedList parameter value from parent to child. In my example, both parent and child stacks define a UserGroups parameter, but a problem arises on the parent side when using the CommaDelimitedList type ...
Parameters:

  UserGroups:
    Type: CommaDelimitedList
    Default: ''

Conditions:

  HasUserGroups: !Not [!Equals ['', !Join ['', !Ref UserGroups]]]

Resources:

    TestUser:
      Type: AWS::CloudFormation::Stack
      DeletionPolicy: Delete
      UpdateReplacePolicy: Delete
      Properties:
        Parameters:
          UserGroups: !If [HasUserGroups, !Ref UserGroups, !Ref AWS::NoValue]
        [...]

With the above, my stack creation failed with an error ...

Value of property Parameters must be an object with String (or simple type) properties

You can sidestep this by converting the parent's parameter to a String type (and adjusting the associated condition) - the child can continue specifying the receiving parameter as a CommaDelimitedList type.

It should be possible to pass CommaDelimitedList parameters to nested stacks.

@josb: Do you mean that it's already supported, and I'm doing something incorrectly, or that it ought to be supported, but is not?

The latter; it ought to be possible but right now only the leaf stack can use a CommaDelimitedList, the other stacks have to use Strings (and Fn::Split).

I'm going to close this issue, now that @josb created #115.


Artefacts on sprite animations & tweens

I'm experiencing artefacts on my sprite animations when my characters are moving sideways using tweens.
In this image, I've tried to highlight the artefact which is a thin white line behind the ghost: http://imgur.com/a/EFdLr
It happens on several different sprites and I've checked thoroughly that there isn't anything wrong with the images themselves.
Moving GIF: https://raw.githubusercontent.com/AntonFagerberg/hotel/master/gif/hotel_final2.gif (you can see it clearly when the ghost is jumping on the second floor)
You can run the game here: http://www.antonfagerberg.com/hotel/
Animations loaded: https://github.com/AntonFagerberg/hotel/blob/master/src/game.js#L636
Sprite added: https://github.com/AntonFagerberg/hotel/blob/master/src/game.js#L176
Animation play: https://github.com/AntonFagerberg/hotel/blob/master/src/game.js#L186
The sprite: https://github.com/AntonFagerberg/hotel/blob/master/img/guest1_walk.png
Source code: https://github.com/AntonFagerberg/hotel
API-version: 2.6.2
This Issue is about

A bug in the API

Hi - The code and assets look fine, although I only checked the ghost animation. This is almost certainly caused by pixel interpolation on textures, under WebGL. If you force the game to CANVAS (instead of AUTO) I'm confident it will remove the problem.
It's caused by WebGL interpolating pixels when reading a frame from the sprite sheet, and under certain circumstances it's pulling in an extra vertical strip of pixels from the frame to the left of the one being displayed (in this case, but it's not limited to that, it can do it from any adjacent frame).
Texture Atlas software such as Texture Packer have built-in features to avoid this, called Border and Shape padding, where it adds in an extra few pixels of blank space around frames, so the GPU can't grab frames from adjacent cells by mistake. I'd strongly recommend using it, if you need to keep using WebGL and can't switch to canvas.

Alright, thanks! I tried canvas and at least that seems to work. 😃
I'll consider Texture Packer in future projects.

Short followup, it seems to be incorrect on iOS still. Does Safari on iOS always use WebGL or something?


feat(config): add method to load fulltext device index

fixes: #1883

Yep, you need to use loadFulltextDeviceIndex and getFulltextIndex.


Load arbitrary framework metadata

Summary
We need to be able to copy services from one framework to another during
applications to save suppliers time. In order to do this, we need to
define which previous framework has services that are eligible for
copying, and which questions are suitable. This information appears to
be data related to the framework, so we are storing it in dm-frameworks
as metadata about a given framework (in this case, G-Cloud 10). In order
for a frontend to have that information, we need to be able to load it.
The messages folder of dm-frameworks stores files that contain
key-value pairs, and this is the same kind of information format we want
for our metadata, so this creates a stripped-down version of the same
which works on the metadata folder of a framework. A ContentMetadata
instance does not parse the data it reads and therefore does not support
templated fields; this seems like a reasonable conclusion to make as we
are simply storing static data that describes how the framework
interacts with others.
Related PR
https://github.com/alphagov/digitalmarketplace-frameworks/pull/515

OK, a weird one, but the content load currently specifies Jinja2==2.8. Supplier frontend specifies 2.10. If I use pip to install your version of the content loader with the -e flag, it breaks at least one of our templates. It seems to be to do with the way that imports are scoped. If summary-table.html is imported within a block, it's not passed on to blocks defined within than block. With 2.10 it seems to. Which is weird.
I'm guessing this is a quirk with installing it editably. When we install the dependencies in the usual way, I suspect that we're left with 2.10. Doing it editably overwrites them. Either way, it might be worth bumping the version in here.

Upgraded to Jinja2==2.10 👍


Update README.md

Added a new Youtube channel.

@AmaanKang PLease, split every resource in a separate PR for easier reciewing. Thanks!


[Bug] Cant open links in discord anymore

Describe the Bug
I cannot click links to open them, nor right click menu open images in new tabs.
To Reproduce
Just install
Expected Behavior
Be able to open links
Screenshots
N/A
Discord Version
Stable 82117 (58a452e)
BD 1.0.0 (stable)
Host 1.0.9001
Injector 0.6.0
Windows 10 64-Bit (10.0.19042)
Additional Context
I really want to know how to fix this

Update, reinstall fixed it.


Stop selecting text on the menu

Bootstrap does not by default care about selected text on dropdown menu, because clicking the dropdown menu usually hides it. However, bootstrap-selects with multiple selection keep the menu open for the entire time, and sometimes if I click very fast, I get text selected, like on this image

:
This is annoying. To disable the text selection, it is possible to add this style:
.dropdown-menu {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
outline: none;
}
I'm unsure if this should be rather submitted to twitter-bootstrap developers, but I think they won't care. You should :)

You boys should be using autoprefixer for those vendor prefixes.


feat: Better output of build/deploy/delete commands

Signed-off-by: Zbynek Roubalik<EMAIL_ADDRESS>Discussed this with @lkingland, Implementing the spinner properly (so it is not eating the output) may take some time. So I'll proceed with printing some basic info messages, since we are under such a tight deadline.
And we will revisit the Spinner properly for all the commands as a post Dev Preview task.
Build
./faas build -p func
Building Function image
Function image has been built, image: docker.io/zroubalik/func:latest

Deploy
 ./faas deploy -p func
Building Function image
Function image has been built, image: docker.io/zroubalik/func:latest
Pushing Function image to the registry
Deploying Function to the cluster
Function deployed at URL: http://func-default.apps.zroubali.devcluster.openshift.com

Update
./faas deploy -p func
Building Function image
Function image has been built, image: docker.io/zroubalik/func:latest
Pushing Function image to the registry
Deploying Function to the cluster
Function updated at URL: http://func-default.apps.zroubali.devcluster.openshift.com

Delete
./faas delete -p func
Removing Knative Service: func

Fixes: #189

@lance ok, fixed in the last commit


automate the generation of -nocrd helm charts

Closing this as we won’t use the nocrd charts anymore.


Consistent naming of Alerts

This PR includes:

[x] Renames of the Alarm descriptions to be more friendly and human understandable.
[x] Rename the Alarm names to be in convention with the Server team (Add Warn or Critical on the end)
[x] Adds an additional alarm for key generation that will create a warning on the 6th key generation in an hour.
[x] Modified rules to be critical or warning.
[x] Send a friendly message to Slack and not the original Alarm JSON payload.

The warningMessages search string looks for "COVID Alert Portal Warning", but for a lot of messages you're using Covid instead. Looks like an exact string match, so let's make sure that we use COVID everywhere.
A quick find and replace showed me the error of my ways.  Good catch.


Modal problem in

Google Maps Autocomplete input field inside Bootstrap modal dialog and the autocomplete result is not displayed. However, if I press the down arrow key, it selects the next autocomplete result, so it seems that the autocomplete code works correctly, only that the result is not displayed correctly. Maybe it's hidden behind the modal dialog?
i tried
.pac-container {
    z-index: 10000 !important;
}

Now I'm struggling to make autocomplete working inside 2nd layer Boostrap Modal. Unfortunately, the z-index trick doesn't work here.

Hey, I'm sorry it's taken me a while to respond. I am not following what you mean? You've put a map with autocomplete into a Bootstrap Modal and it's not showing correctly?
Can you make a demonstration on codesandpit.io or something so I can have something to test against?


TODO: support loop label

refs: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/label

[x] for
[x] for in
[x] for of
[x] while
[x] do while

done.


Make platform-specific API binding conditionally compiled

like this
fixes https://github.com/kenz-gelsoft/wxRust2/issues/41

Considering stop building with wx3.0 on Linux.
Supporting building with both wx3.0 and 3.1 series simaltanaously requires more complex conditional code generation case.
In this (early) project phase, that is too much.


Remove online dependencies on spec files

[finish #152016255]
https://www.pivotaltracker.com/story/show/152016255
Signed-off-by: Andy Shen<EMAIL_ADDRESS>

@xtreme-andy-shen Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@xtreme-andy-shen Thank you for signing the Contributor License Agreement!


Eliminate the CI warnings caused from the migration of gelu activation in TensorFlow

Description:
This PR is part of the effort to close this Issue#7738 hence to reduce the amount of warnings that are raised when running all tests in the CI. From the first investigation, it seems that this warning (DeprecationWarning: gelu activation has been migrated to core TensorFlow) for which the current PR was opened, has the most occurrences (it appears in total in 2142 tests as seen in the log file below).
Potential related issues/PRs to this migration:

In this Issue#550 they describe the intention of migrating gelu activation to core TensorFlow.
one of the PRs of the implementation.
Deprecation of gelu Issue#2005.
Maybe this from TensorFlow docs is useful.

Warnings as they appear in the CI log file (3_Run Tests (ubuntu-latest, 3.8).txt):
2021-02-22T12:29:04.2560900Z .venv/lib/python3.8/site-packages/tensorflow_addons/activations/gelu.py:70: 1775 tests with warnings
2021-02-22T12:29:04.2562970Z   /home/runner/work/rasa/rasa/.venv/lib/python3.8/site-packages/tensorflow_addons/activations/gelu.py:70: DeprecationWarning: gelu activation has been migrated to core TensorFlow, and will be deprecated in Addons 0.13.
2021-02-22T12:29:04.2564350Z     warnings.warn(
2021-02-22T12:29:04.2564680Z
2021-02-22T12:29:04.2623302Z .venv/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:493: 367 tests with warnings
2021-02-22T12:29:04.2625352Z   /home/runner/work/rasa/rasa/.venv/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:493: DeprecationWarning: gelu activation has been migrated to core TensorFlow, and will be deprecated in Addons 0.13.

Proposed changes:

Update TensorFlow core and Addons 0.13 maybe ?
The two changes in this PR are sort of "cosmetic" since they are not solving the issue but might be helpful since these are two places in the code where gelu activation is called. So maybe if an update is done, these calls might need to be updated too.

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@twerkmeister ?

It seems that the gelu function was moved from the addons to the core of tensorflow. The warnings come because we are still using it from the addons package, and they warn us that it will be gone soon. So potentially we just need to stop using the gelu function from the addon package and instead use the gelu function that you mentioned tf.keras.activations.gelu or tf.nn.gelu in its place.
Is this helpful and gives you new ideas? @Imod7

I tried both and I get the same errors :
AttributeError: module 'tensorflow.keras.activations' has no attribute 'gelu'
AttributeError: module 'tensorflow._api.v2.nn' has no attribute 'gelu'
For keras I do not know why it cannot find the gelu function since I can see the definition here.

Try to figure out if it is already there in the version of tensorflow we are using at the moment. Is it somewhere else in our version? If not, what's the minimum version that we would need to upgrade to? Who is most concerned with the tf version? Do  they already have plans to upgrade? Do they see issues with upgrading?

@twerkmeister very good feedback and very good "important-things-to-have-in-mind" type of questions! 💯 Thank you!
@tczekajlo When updating some tensorflow calls related to gelu (due to updates in tf2) I get these type of errors which look strange since I can see this function in the tensorflow GitHub code. Is there a way to see the versions of tensorflow or keras that we use in the CI ? or even check the code  somewhere so I can double check that the gelu is actually present in tf.keras.activations.gelu or tf.nn.gelu ? Thank you so much in advance for your feedback!

@twerkmeister very good feedback and very good "important-things-to-have-in-mind" type of questions! 💯 Thank you!
@tczekajlo When updating some tensorflow calls related to gelu (due to updates in tf2) I get these type of errors which look strange since I can see this function in the tensorflow GitHub code. Is there a way to see the versions of tensorflow or keras that we use in the CI ? or even check the code somewhere so I can double check that the gelu is actually present in tf.keras.activations.gelu or tf.nn.gelu ? Thank you so much in advance for your feedback!

You can find it here https://github.com/RasaHQ/rasa/blob/main/poetry.lock

@twerkmeister  @wochinge You were both right! 💯
From the poetry lock file mentioned by Tomasz, the version of Tensorflow that we are using at the moment is 2.3.2 and :

tf.keras.activations.gelu needs 2.4.1 based on this page of the docs.
tf.nn.gelu needs also 2.4.1 based on this page of the docs.

So, that is why the gelu calls that I tried are not working.
"If not, what's the minimum version that we would need to upgrade to?"
Based on the corresponding pages on the docs, the minimum required update for tensorflow would be from 2.3.2 to 2.4.1.
"Who is most concerned with the tf version? Do they already have plans to upgrade? Do they see issues with upgrading?"
I am not aware of that so I think @wochinge can answer that.

Do you have concerns updating TensorFlow @Ghostvv @dakshvar22 @koernerfelicia ?
From what I gather we'd also need to update the following for these:

tensorflow-estimator (compatible release available)
tensorflow-probability (compatible release available)
tensorflow-addons (compatible release available)
tensorflow-text (compatible release available)

Unfortunately afaik our update is blocked by a bug in tensorflow. TF said they plan to fix this for the 2.5 release

@wochinge Closing this PR since in branch tf-2.4 all gelu calls have been replaced with the new call tf.nn.gelu


Can i declare an Object properties must contain a or b ?

when i declare an Object like this:
interface obj {  a?:string,  b?string }
but i want the attribute a not to exist, the attribute b must exist.
let obj:obj={}  It is allowed ,i want it is not allowed
let obj:obj={a:'a'} or let obj:obj={b:'b'}  if i want It is allowed. what should I do?

Yes, but not using an interface. Instead, use type:
type obj = { a: string } | { b: string };

if you want both properties:
type obj = { a: string } | { b: string } | { a: string; b: string; };

thanks! I think it should be simple @markusjohnsson


OOP School Library: Associations

Hello...

Activities done:

[x] Created a class named Classroom with respective requirements.
[x] Formed a relationship between Classroom and Student classes.
[x] Created a class named Book that will be used to hold title and author of a book.
[x] Created a class named Rental for holding rentals.
[x] Formed a many-to-many relationship between Person and Book using the intermediate class Rental.

@rloterh @youmari @frank1738  Thank you so much.


Reset isInsideAnInterface

Professor,
This is one of the reasons that cause the uncompilable bug in #88. When isInsideAnInterface is not set to false after finishing visiting that interface, it could make Specimin assuming whichever file it visits afterward is also an interface.

No ideas what went wrong. Starting another PR.


Version 4.0.0 is out!

Let's get it into conda-forge!
And can we PLEASE figure out how to get an OS_X build up?
I understand that CI limits are killing us, so two options that I see:

one of us builds it locally and hand-uploads to Anaconda.org. Last I tried, I couldn't get the build to work on my machine -- maybe I'll try again.

we re-package the wheels that Robin is posting to PyPi -- this seems to work fine for me, but it's not ideal -- however, not having anything isn't ideal either, and practicality beats purity and all that.

Here's the announcement:
https://groups.google.com/forum/#!topic/wxpython-dev/ZQ2ZE4hzRcc

I'm out, sorry, it's too big of a time investment for me. Good luck.

OK, 4.0.1 now merged in master, and sorta working:
#15, #16


ValueError: Cannot have number of splits n_splits=10 greater than the number of samples: 0.

I got some trouble when I execute the command below:
python src/validate_on_lfw.py ~/datasets/lfw/lfw_mtcnnpy_160 ~/models/facenet/20170512-110547
I have execute the align_dataset_mtcnn.py successfully.
The Error information as the following:
Runnning forward pass on LFW images
Traceback (most recent call last):
File "src/validate_on_lfw.py", line 113, in
main(parse_arguments(sys.argv[1:]))
File "src/validate_on_lfw.py", line 83, in main
actual_issame, nrof_folds=args.lfw_nrof_folds)
File "/Users/andycooper/facenet/src/lfw.py", line 40, in evaluate
np.asarray(actual_issame), nrof_folds=nrof_folds)
File "/Users/andycooper/facenet/src/facenet.py", line 426, in calculate_roc
for fold_idx, (train_set, test_set) in enumerate(k_fold.split(indices)):
File "/anaconda3/lib/python3.6/site-packages/sklearn/model_selection/_split.py", line 330, in split
n_samples))
ValueError: Cannot have number of splits n_splits=10 greater than the number of samples: 0.
Anyone else has the same problem as me? Please help.

I have the same problem, even after re-running the alignment script.

turns out align_dataset_mtcnn.py is adding a _0 to the end of all the files, so all my files is name like this:
datasets/lfw/lfw_mtcnnpy_160/Slobodan_Milosevic/Slobodan_Milosevic_0002_0.png
which should have been this:
datasets/lfw/lfw_mtcnnpy_160/Slobodan_Milosevic/Slobodan_Milosevic_0002.png
if you don't want to fixed the naming in align_dataset_mtcnn.py, a quick and dirty fix is change lfw.py:
        if len(pair) == 3:
            path0 = os.path.join(lfw_dir, pair[0], pair[0] + '_' + '%04d' % int(pair[1])+'_0.'+file_ext)
            path1 = os.path.join(lfw_dir, pair[0], pair[0] + '_' + '%04d' % int(pair[2])+'_0.'+file_ext)
            issame = True
        elif len(pair) == 4:
            path0 = os.path.join(lfw_dir, pair[0], pair[0] + '_' + '%04d' % int(pair[1])+'_0.'+file_ext)
            path1 = os.path.join(lfw_dir, pair[2], pair[2] + '_' + '%04d' % int(pair[3])+'_0.'+file_ext)

Thank you! It really works. The problem has solved as you said.

HI @lidgik
i met the same problems, can you past your edition
Thanks
Carl Chen

@mingrui Hi, I  have the same problem, even after modifing the script(lfw.py) as suggested here.
thanks

@mingrui
I changed the codes and run the codes, the previous error is gone but an new error occurs:
ZeroDivisionError: float division by zero
Any help????Many thanks..

This patch fixes the file naming in align_dataset_mtcnn.py:
diff --git a/src/align/align_dataset_mtcnn.py b/src/align/align_dataset_mtcnn.py
index a7aaf80..6665dd0 100644
--- a/src/align/align_dataset_mtcnn.py
+++ b/src/align/align_dataset_mtcnn.py
@@ -123,7 +123,7 @@ def main(args):
cropped = img[bb[1]:bb[3],bb[0]:bb[2],:]
scaled = misc.imresize(cropped, (args.image_size, args.image_size), interp='bilinear')
nrof_successfully_aligned += 1

                           output_filename_n = "{}_{}.{}".format(output_filename.split('.')[0], i, output_filename.split('.')[-1])

                           output_filename_n = "{}.{}".format(output_filename.split('.')[0], output_filename.split('.')[-1])
                           misc.imsave(output_filename_n, scaled)
                           text_file.write('%s %d %d %d %d\n' % (output_filename_n, bb[0], bb[1], bb[2], bb[3]))
                   else:

This has been fixed in 4c33d4d64d6908ccf5cfb6616b6dd49776c6d266.

Please check if your database path is entered correctly, for example:
~ / datasets/LFW lfw_mtcnnpy_160 correctly
~ / dataset/LFW lfw_mtcnnpy_160 errors
@chaotaklon


⚠ Processors has degraded performance

In d563db5, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 5afc017.


hotfix/swift4.2-support

No changes except language port from Swift 3 to 4.2

@mlosonti can you grant me write access so I can merge?

@mlosonti can you grant me write access so I can merge PR?


add send broadcast support

when I set the dst to "<IP_ADDRESS>",
have the error:
irb(main):012:0> PacketGen.gen('IP', src: '<IP_ADDRESS>', dst: '<IP_ADDRESS>', ttl: 1).to_w

Errno::EACCES: Permission denied - send(2)
	from /var/lib/gems/2.3.0/gems/packetgen-1.4.3/lib/packetgen/header/ip.rb:203:in `send'
	from /var/lib/gems/2.3.0/gems/packetgen-1.4.3/lib/packetgen/header/ip.rb:203:in `to_w'
	from /var/lib/gems/2.3.0/gems/packetgen-1.4.3/lib/packetgen/packet.rb:210:in `to_w'
	from (irb):12
	from /usr/bin/irb:11:in `<main>'

You have to set broadcast on link layer too.

Thanks, I get it.
It works.

OK. I close this issue. Reopen it if you have others troubles related to this issue.


Please tell me about 429 HTTP error detection

I want to retry using the information in the retry-after when an"429 - Too many requests" error occurs in Tasks - List(Security Center).
https://docs.microsoft.com/en-us/rest/api/securitycenter/tasks/list
said that when an exception occurs, CloudError is thrown. How is the above retry realized?
※ Since I am not good at English, I am sorry for writing poorly.

@piyo0320 Please submit a support ticket at https://azure.microsoft.com/en-us/support/options/
#please-close


Heaps

Do you have any of the heaps from:
https://github.com/andrewthad/impure-containers
Ported to this library

I do not. However, all the data structures in this library are immutable, so the heaps from over there aren't a good fit for this library.

Okay thanks!


fix: Issue #468 REST API Integration for CodeChef: Retrieve Questions

Fix Issue #467
To fix this issue the following implementation takes place:

backend/users/controllers/userProfileController.js added checks for total, hard, medium and easy questions.
Updated backend/users/controllers/platforms/codechefUpdater.js to retrieve total questions from the codechef profile page.

Screenshot of the DB:
For Codechef:

Summary by CodeRabbit

New Features

Improved the accuracy of user information extraction for CodeChef and Codeforces platforms.

Refactor

Enhanced the logic for handling HTTPS requests and concurrent data fetching for better performance and reliability.

Bug Fixes

Ensured default values are set for question data in user profiles to prevent data inconsistencies.

Hey @utkarsh4321, I know we haven't seen this PR for very long. Really sorry for missing this out. Are you still interested in working on it? (Maybe under GSSoC'24?)

hi @pranshugupta54  I'm not participating in GSoC 24. But I'm interested in working further. Tell me what else you want i will try to fix it.

Hey @utkarsh4321, thank you! Like we discussed earlier - we need this feature for other platforms too. Since you already have experience with this, can you make a single PR for all 3 platforms? and also add this to the frontend for user profile (this can be done in separate PR).

Hey @utkarsh4321, thank you! Like we discussed earlier - we need this feature for other platforms too. Since you already have experience with this, can you make a single PR for all 3 platforms? and also add this to the frontend for user profile (this can be done in separate PR).

what other platforms are you talking about.
Is there something left to do from this issue?
I would like to contribute

what other platforms are you talking about. Is there something left to do from this issue? I would like to contribute

@Yash-Ainapure, we want this for codechef, codeforces, leetcode


ropertyReferenceException: No property saveAll found for type

While using spring data cosmos db version 2.1.2 I am getting the following error
Caused by: org.springframework.data.mapping.PropertyReferenceException: No property saveAll found for type MyType
Below is my class:
@Repository
public interface Myrepo extends DocumentDbRepository<MyType, String> {

    public MyType findBySomeType(String someType);

    public List<MyType> saveAll(List<MyType> myType);
}

This happens only for the saveAll method. If I do the save method it works fine. What am I missing?

Figured out the issue. I had overridden the method saveAll in my interface which is already implemented in the CRUDRespository interface extended by DocumentDBREpository

Figured out the issue. I had overridden the method saveAll in my interface which is already implemented in the CRUDRespository interface extended by DocumentDBREpository

Figured out the issue. I had overridden the method saveAll in my interface which is already implemented in the CRUDRespository interface extended by DocumentDBREpository

Did you get to the bottom of why this works? I'm having the same problem, except I'm subclassing CrudRepository directly. I've overridden other methods (e.g. save, findAll), but only saveAll is causing this problem for me. Your fix works, but I'm not sure why.


The focus of the input component within the content components lead to double-click the operation button component

Content components contained within the login components, if the focus in the input component, click on the button component to complete the login twice

This is not an issue with NativeBase
The GIF includes Button and TextInput of React Native

Any progress on this, guys?

@ProteanDev can you check this with the latest version 2.3.9

@akhil-geekyants I tried, yeah this may Not be an issue with native-base but with react native's TextInput props.


Base classifier class

This class is inherited from all the classifier types. This should provide methods for training and then performing the classify operation.

Not relevant for now. May be needed in the future.


Start gating on auto-linux-64-debug-opt

Don't run make check, however.

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)


Changing the method of checking if the location is not being faked.

I have developer mode enabled in my device in order to reduce animations on my device an make them faster, but every time, in order to mark the attendance, I have to turn it off. So, I would suggest to use server-side validation instead of client-side validation, or some other techniques, which would not require to turn off the developer mode every time for marking attendance.
referenced file : "/src/utils/checkValidity.js"

We got this issue from many students, therefore our next build will have different checks to detect if attendance is being spoofed, and the requirement that the developer mode needs to be disabled to mark attendance will be removed.


Rename Turbopack JS runtime generation

Description
Makes sure the names used for both runtimes make more sense to the context they're used in.

Testing Instructions

#7721  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @timneutkens and the rest of your teammates on  Graphite


Set skip_before_action some controllers not need permissions

remember to add skip_before_action in controllers which not need permissions like session_controller of devise to avoid loop_redirect

Added on README


VSCode Insiders: Command Line Extension Management doesn't work

VSCode Version: Code - Insiders 1.11.0-insider (207686d256dafb78b247357ad8b96a95218a22a5, 2017-03-17T08:14:15.805Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

language-x86-64-assembly
13xforever
2.2.9

Steps to Reproduce:

Open cmd in the Insiders directory "C:\Program Files (x86)\Microsoft VS Code Insiders"
Type "Code - Insiders.exe" --list-extensions. This doesn't list any extension, but starts VSCode Insiders.
Typing code --list-extensions in the same command prompt produces a list of installed extensions in release version of VSCode.
Typing "Code - Insiders.exe" --install-extension ms-vscode.cpptools just started VSCode Insiders and doesn't install the extension.
After installing ms-vscode.cpptools inside VSCode Insiders, typing "Code - Insiders.exe" --uninstall-extension ms-vscode.cpptools just starts VSCode Insider and doesn't uninstall the extension.

The reason code works is because it points to code.cmd which runs the CLI, the executable cannot unfortunately. You will want to stick with code or code-insiders on stable, the latter of which is probably the answer to your problem :smiley:

Thanks. I have confirmed using "code-insiders.cmd" from the VS Code Insiders "bin" directory works as expected.
Normally I would stick with the release "code" build, but I was attempting to switch to the insider build to avoid a defect https://github.com/Microsoft/vscode/issues/12448. This particular defect is causing me a lot of irritation. To quickly transfer my extensions to the insider build, I listed them on the release build and was going to make a short bat file to install them into the insider build. I've now done this manually. Once the release build includes the fix for https://github.com/Microsoft/vscode/issues/12448 I'll switch back.


"Talks"

We would like to add a new section to the website called 'Talks'. This will house M+ Matters talks and transcripts. We envision the menu system to use the current 'Podium' framework—but instead of linking to an Article page, we link to a Channel episode page.
Current requirements:

enabling a Channel episode page to work within a duplicated Podium section of Stories.

Please liaise with @chrismplus and @dianewang for more detail.

Hi @zakkyes, @rdunk,
Let me know whether you need any further detail on this one.
CS


Is it possible to get the view angle?

I'm sorry to post in the issue, but I don't know where I could post this:
is it possible to get the camera view angle?
Or at least the mouse/finger delta position?
I'd like to create a minimap that should rotate with the view angle.
Many thanks

you can have access to all that by accessing the 360 viewer instance inside the plugin, you can do something like, player being you clappr player instance:
var plugin360 = player.core.containers[0].plugins.find(p => p.name == "Video360");
console.log(plugin360.viewer.controls.phi, plugin360.viewer.controls.theta);

with phi and theta you can control the camera and get the angle, I dont remember the formula now to get the angle but its easy to find online

Many thanks!!! I'll try later


Merge java_sdk_reactor and java_sdk_1.1.0 into main branch

What this PR does:
Merge java_sdk_reactor and java_sdk_1.1.0 into main branch
I split the java sdk into different modules:

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@kevinten10  @ccx1024cc @ujjboy Hi guys, I'm trying to merge your great work into the main branch.
Could you please help review this PR ?

Is there any way to prevent your commit histories from being deleted while merging these branches?
I'm afraid that currently the squash and merge mode will delete your commit histories

整体 pr 有点大，能否把增加 file 和 重构分为2个 pr

https://github.com/mosn/layotto/pull/356/files
@ccx1024cc submitted a PR for file API . I will merge his PR to make this PR simpler


Clover.xml package node

Hello.
For some time now, this extension is unable to locate namespace coverage. Only the "TOTAL" node works.
I think the way clover.xml is generated has changed recently.
One phpunit 11.1.2
Clover.xml (simplified version)
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1724706437">
  <project timestamp="1724706437">
    <package name="Ciltocruz\Back\Api\Application\Service">
      <file name="/var/www/html/domain.local/sources/api/Application/Service/BookingService.php">
        <class name="Ciltocruz\Back\Api\Application\Service\BookingService" namespace="Ciltocruz\Back\Api\Application\Service">
          <metrics complexity="109" methods="24" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="360" coveredstatements="0" elements="384" coveredelements="0"/>
        </class>
        <line num="34" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
        <line num="42" type="stmt" count="0"/>
        <line num="47" type="method" name="addBooking" visibility="public" complexity="5" crap="30" count="0"/>
        <line num="50" type="stmt" count="0"/>
        <line num="52" type="stmt" count="0"/>
        <line num="53" type="stmt" count="0"/>
        <line num="54" type="stmt" count="0"/>
        <line num="55" type="stmt" count="0"/>
        <line num="58" type="stmt" count="0"/>
        <line num="60" type="stmt" count="0"/>
        <line num="62" type="stmt" count="0"/>
        <line num="63" type="stmt" count="0"/>
        <line num="64" type="stmt" count="0"/>
        <metrics loc="179" ncloc="128" classes="1" methods="17" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="0" elements="50" coveredelements="0"/>
      </file>
      <file name="/var/www/html/domain.local/sources/api/Domain/Model/Turitop/TuritopRequestDTO.php">
        <class name="Ciltocruz\Back\Api\Domain\Model\Turitop\TuritopRequestDTO" namespace="Ciltocruz\Back\Api\Domain\Model\Turitop">
          <metrics complexity="48" methods="48" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="0" elements="142" coveredelements="0"/>
        </class>
        <line num="231" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
        <line num="233" type="stmt" count="0"/>
        <line num="234" type="stmt" count="0"/>
        <line num="235" type="stmt" count="0"/>
        <line num="236" type="stmt" count="0"/>
        <line num="237" type="stmt" count="0"/>
        <line num="238" type="stmt" count="0"/>
        <line num="239" type="stmt" count="0"/>
        <line num="240" type="stmt" count="0"/>
        <metrics loc="517" ncloc="343" classes="1" methods="48" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="94" coveredstatements="0" elements="142" coveredelements="0"/>
      </file>
    </package>
    <metrics files="326" loc="61419" ncloc="52240" classes="211" methods="1971" coveredmethods="87" conditionals="0" coveredconditionals="0" statements="24045" coveredstatements="305" elements="26016" coveredelements="392"/>
  </project>
</coverage>

It looks like the order of the nodes is:
{0}<coverage>
{1}  <project>
{2}   <package>
{3}      <file>
{4}        <class>
{5}          <metrics>
{2}  <metrics> (global metrics)

But in the code:
ApplicationFinishedSubscriber:61
It seems that class should be node 3 and now it is node 4...
Is this just me with my clover.xml file or is this a recent change?
Thanks!

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

What?

Hmm, I have not used PHPUnit 11 in my projects yet. It's possible that this has changed indeed. I'll need to look into this.
I also think I'll need to start versioning this package to be used with different Phpunit versions

Just checked and this is not related to Phpunit version. The clover file that gets generated does:
            if ($namespace === 'global') {
                $xmlProject->appendChild($xmlFile);
            } else {
                if (!isset($packages[$namespace])) {
                    $packages[$namespace] = $xmlDocument->createElement(
                        'package',
                    );

                    $packages[$namespace]->setAttribute('name', $namespace);
                    $xmlProject->appendChild($packages[$namespace]);
                }

                $packages[$namespace]->appendChild($xmlFile);
            }

I think I can jut fix this by changing the check to
 if ($this->minCoverageRules->hasOtherRulesThanTotalRule() && \XMLReader::ELEMENT == $reader->nodeType && 'class' == $reader->name && (3 === $reader->depth || 4 === $reader->depth)) {

@ciltocruz could you try this for your project and verify this fixes your issue?

¡Funciona!

I released a new version: v1.8.0
Should be fixed


add dashboard for K8

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

@enghwa can you clarify your ask for this? Have you taken a look at the infra module for EKS monitoring?
https://github.com/aws-observability/terraform-aws-observability-accelerator/tree/main/examples/existing-cluster-with-base-and-infra

yes. i am using that for existing EKS cluster.. specifically this cluster is the target for airflow jobs.. and there are hundreds of pods that are fired by airflow DAG (https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/stable/operators.html), but these pod metrics/lifetime are not tracked by the o11y dashboard.

Got it, so is this a duplicate of https://github.com/aws-observability/terraform-aws-observability-accelerator/issues/37?

We will have a specific module for Airflow / batch jobs to get those metrics/dashboards

yes.


add logo

add logo in home page

fix navbar alignment

Ok Iam doing

Kindly resolve the merge conflicts.


Question/proposal: best practises for Confluence-only code

I have some snippets of code from a large document (which I'd like to ideally push/publish to Confluence). Almost all of the code works as-is, except for some corner-cases, like code-block statements, e.g.:
.. code-block:: Dockerfile
   :linenos:
   :caption: An example dockerfile
   :name: lst-ex-dockerfile-000

   RUN apt update -y && apt install -y tmux

It seems confluence doesn't support syntax highlighting of type Dockerfile (pdflatex and html are OK with this; limitation of Confluence, not the builder plugin, to my knowledge). I've been attempting to use .. only::/.. ifconfig:: directives like so:
..only: confluence
   .. code-block:: Dockerfile
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

..only: not confluence
   .. code-block:: sh
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

This doesn't work out-of-the-box, due to html, pdflatex, confluence etc. builds complaining about duplicate definitions of the name/label, lst-ex-dockerfile-000. This seems like a quirk in rST/Sphinx itself, rather than the Confluence builder plugin. Still, I need to figure out a solution.
I've tried out the sphinx-selective-include plugin, which seems to cause only:: and ifconfig:: directives to have a "more pre-processor-like behavior", and makes the code listing above work (but, unfortunately, breaks pdflatex builds).
So, my long-winded question: is there some feature/primitive in rST/sphinx that allows the if/else condition I've described above to function "as intended", or some feature in the Confluence-builder plugin, etc. Or, would it be more practical to wrap my document in J2/Jinja templating and use ansible-playbook to handle the builder-specific pre-processing/templating in place of .. only::/.. ifconfig:: directives? (so pdflatex builds aren't broken)?
If a J2-templated example is the way to go (at least for now), I'm happy to share the resulting proof-of-concept example when it's done. To re-iterate, I see this as a feature deriving from differences in pdflatex/html versus Confluence engines, rather than a feature/issue in the builder itself. :)
Thoughts/concerns/critique?
Cheers!

Note that the only directive should be a workable directive for Confluence (and to help target non-Confluence builders/translators). From what I can see in the provided example, it looks to me that reason why it may be failing in your use case is due to a formatting error. The three notables I see are follows:

There is no space before the only keyword.
There is only a single colon after the only keyword.
There is no newline after the keyword/conditional entry.
(misc) Looks like your code block styles are swapped (I assume you meant to use sh for Confluence, and not the other way around).

Adjusting your example to the following should give you what you want:
.. only:: confluence

   .. code-block:: sh
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

.. only:: not confluence

   .. code-block:: Dockerfile
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

Note that if the main driver for various only hints in your documentation is due to code styling changes, an alternative approach could be to use the confluence_lang_transform configuration. For example:
def my_language_translation(lang):
    if lang == 'dockerfile':
        return 'sh'

    return 'default'

confluence_lang_transform = my_language_translation

Please let me know if this helps.

@jdknight  I'll try that out ASAP. Thanks!

Edit: correct examples above.

@IAXES,

Edit: correct examples above.

Just to clarify, the following in incorrect (original):
..only: confluence
   .. code-block:: Dockerfile
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

This updated example is also incorrect:
.. only: not confluence
   .. code-block:: Dockerfile
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

This modified example should work:
.. only:: not confluence

   .. code-block:: Dockerfile
      :linenos:
      :caption: An example dockerfile
      :name: lst-ex-dockerfile-000

      RUN apt update -y && apt install -y tmux

I tried the examples above at length, but they all resulted in "duplicate explicit target name" errors.
However, the confluence_lang_transform approach worked like a charm!
Ultimately, I think there may be cases where I'll need to templatize my raw rst files (since the "eager only" plugin seems to break latexpdf builds in general), but that's a separate topic.
Thanks again!


CPAN Modules that embed polyfill.io

The CDN hosted polyfill.io script appears to have been compromised by malware, https://stackdiary.com/polyfill-compromise-hits-100000-sites-in-a-supply-chain-attack/
A git grep of a copy of MetaCPAN shows the following modules may be using it:

Mojo-DOM-Role-Analyzer https://github.com/sdondley/Mojo-DOM-Role-Analyzer/issues/10
Mojolicious-Plugin-LazyImage https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-LazyImage-0.01 not in the index and git repo seems to have been deleted

I believe this is CVE-2024-38526
Note: WWW-Wappalyzer references polyfill.io but this seems to be for analysing tech used, and not actually embedding it.

I've emailed the author of Mojolicious-Plugin-LazyImage directly, since the git repo seems to be missing.

I forgot to tag this issue in 387ef538c13f8fb4bb67a801639aaa7c1ab7c8b3 and 5f6a039b779b3196f0c004ce0a7a56cb2e0fec27

Looking closely, that CVE refers to pdoc specifically as software that uses the compromised polyfill.

I see that the tests use polyfill as you noted, and since these tests are actually run by default by cpan clients, I consider this a problem.

Also, developers will use tests as examples.

For 387ef538c13f8fb4bb67a801639aaa7c1ab7c8b3 I'd leave it as all affected versions, as there's only 0.01 anyway. If/when a new version is released that fixes the issue, we can update that.

For 387ef53 I'd leave it as all affected versions, as there's only 0.01 anyway. If/when a new version is released that fixes the issue, we can update that.

I don't think CPAN::Audit can handle an "all versions". It needs something to compare to the current version. I can see the problem if there's another release that does not fix this though.

I've released a new CPAN::Audit that contains this advisory. Thanks,


Update MoltenVK to v1.1.0

Update MoltenVK to v1.1.0 which was released 7 days ago.

Oh, I just saw https://github.com/EmbarkStudios/ash-molten/pull/25


Replace cereal with binary

After reading this Reddit comment from glguy I thought I would look into how difficult it would be to make this change.


Fisher Transform produces incorrect results

Hi,
Fisher Transform produces incorrect results, particularly for securities with lots of zeros after decimal point, such as SHIBA coin, or HOLO coin.
import pandas as pd
import pandas_ta as ta
import yfinance as yf
data = yf.download(tickers='SHIB-USD', start="2022-01-01", end="2022-03-30")
data.ta.fisher(append=True)
data.tail(5)

The Fisher Transform value does not even change over time.

Hello @balioglum,
Please fill in the unanswered questions from the bug report form please.
Thanks,
KJ


Example for MyTcpHandler monitor Method and Event Loop

I want to understand the usage of that library deeper, but I got stuck with that monitor method inside MyTcpHandler class which you gave as example in the manual. I'm clueless what to do there, and what to do in the caller function. Can you give an example wihtout the usage of third party libraries like libevent or libev?

Do you already have an event loop? What do you use? select()? poll()?

Hello, I used select.


How to render multi-view image?

I want to train by my data but I don't know how to render multi-view imgae from 3D models

Hi @JiaqiuZhou,
Did you render the images in multiple views?