Ideas - audit public resources

Absolutely phenomenal tool!
What do you think about adding more public searching of resources to powerzure?
So for example Powerzure would query:

Public storage - Blobs, tables, etc.
Virtual machines with public IP
sql databases
etc.

The idea of PowerZure is to script together multiple cmdlets together in the existing Azure PS modules, e.g. uploading a payload and executing it. Enumeration of blobs, VMs, VNICs, DBs, etc. all have single cmdlets that already exist in the Az PowerShell module, so it wouldn't make much sense to just have them as "wrapper" functions in PowerZure unless I was chaining multiple cmdlets together. If you have an idea of what cmdlets can be chained together to give you output or functionality beyond a single cmdlet, I'm open to those suggestions.


release-please didn't update the version number

https://github.com/googleapis/python-db-dtypes-pandas/pull/4 didn't update the version number. Did the version.py file not match the expected convention?

https://github.com/googleapis/python-db-dtypes-pandas/pull/24 does update the version number. Maybe it didn't because 0.1.0 was the first release?


chore: CE change for moduleInstanceEditor route

Description

Add route changes for module instance editor
Modify NameEditorComponent props to support module instance entity

As the Module instance doesn't have pluginType, we make the NameEditorComponent independent of pluginType so the module instance editor could also use the same component.

Refer https://github.com/appsmithorg/appsmith-ee/pull for complete changes
PR fixes following issue(s)
Fixes #
Media
Type of change
Testing
How Has This Been Tested?
Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

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

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-tests sha=0920c44

/ok-to-test sha=0920c44

/ok-to-test sha=f8cef7c

@ankitakinger Adding you as reviewer since you recently made changes to the files in the PR and please advise with the split for the route as well

@ashit-rath thanks for notifying me.
@Rishabh-Rathod I think the other changes that you have done should be good in terms of the changes I have done till now. The only change I request you to make is about the split for routes. Please follow the AppHeader and AppRouter components for this split.

/ok-to-test sha=0be0f81

/ok-to-test sha=9a3f952


fix(annotation):修复 annotation shape/regionFilter 在 geometries 没有动画时渲染…

[x] 修复 annotation shape/regionFilter 在 geometries 没有动画没有渲染的问题

before
after

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.06%) to 91.349%

Files with Coverage Reduction
New Missed Lines
%

src/chart/controller/annotation.ts
8
93.44%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
11828

Relevant Lines:
12457

💛  - Coveralls


AndroidManifest.xml conflict

Could move these attributes and ic_laucnher.png to Example app?
Remove from here, because here is library?
Usually these attributes define in App.

put user permission code like https://github.com/leyan95/qrcode_scanner/blob/master/example/android/app/src/main/AndroidManifest.xml


[BUG] Receiving ptSh does not exist

Describe the bug
I ran the install script and received the error at the end of the script output (output below), then I tried to install manually and run into the same error. I have exported the location to the path as instructed.
To Reproduce
Download install script and run.
Expected behavior
Install script to run and tool to run without issues.
Screenshots/terminal output
Cloning into '/tmp/ptSh/v0.2-alpha'...
remote: Enumerating objects: 454, done.
remote: Counting objects: 100% (454/454), done.
remote: Compressing objects: 100% (276/276), done.
remote: Total 454 (delta 276), reused 323 (delta 173), pack-reused 0
Receiving objects: 100% (454/454), 102.56 KiB | 1.14 MiB/s, done.
Resolving deltas: 100% (276/276), done.
HEAD is now at 02d3d7a Merge pull request #21 from 18fadly-anthony/main
Installing...
Version: v0.2-alpha
./install.sh: line 15: ptsh: command not found

Desktop

Arch Linux Arm
ZSH Shell (also tried on Bash, same error)

It looks like something is wrong with $PATH, make sure, that export PATH=~/.local/bin:$PATH is in your .zshrc and show output of echo $PATH

echo $PATH
returns
/home/mac/.local/bin:/home/mac/.local/bin:/home/mac/.local/bin:/home/mac/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/vc/sbin:/opt/vc/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

Did you run install.sh as root? If you did, ptSh will be installed for root, not your user. Are ptsh scripts in ~/.local/bin?

Make sure, that ptSh scripts are in ~/.local/bin directory and they are executable

This fixed the issue, sorry for long response.
For some reason the script wasn't copying or moving the binaries to the path, I manually moved them and this fixed the issue.


Set Up SAP Business Application Studio for Development

Tutorial URL: https://developers.sap.com/tutorials/appstudio-onboarding.html
I can't set step 1 and step 5 to done. Nothing happens when I click on the Done buttons for those steps.

@thecodester - Can you look into this?

I think this is a general problem. I am checking.
@raz-korn Can you put borders around the images? Also the images in Step 5, substeps 6 and beyond are unnecessarily large and can be cut off at the bottom (especially the very last one).

@chappel  Looks like it is working now ... can you check?

@thecodester Worked today. Thanks!

@chappel :-)
@raz-korn If you can make those small changes then we can close the issue

@thecodester : Made the changes, pushed, and created pull request.

Changes in https://github.com/SAPDocuments/Tutorials/pull/5423


Armenian translation of title template, headings, labels

Summary
Add Armenian (hy) translations of title template, headings, labels, etc for locale code hy.
Potential Contributors
See Contributing a Translation section of the README for step-by-step instructions.
Please don't edit the README with the new locale code, despite the Pull Request template requesting that documentation is updated. Changes to the README automatically go live in the GitHub Marketplace listing for the action. I'll take care of updating README with the new locale code in the list of locales when I create the release that contains it to ensure that documentation is consistent with latest release.

Hi @cicirello
I'm interested in contributing to the translation in the Armenian language (hy) for this issue.

@JairTorres1003 great. Thanks. I'll assign you to it.


Add wkhtmltopdf formula

wkhtmltopdf has been removed from brew core and also brew boneyard.
As we still have tests in fca the use this code we still need to be able to install it.

This has been fixed in brewfiles by Brewfiles PR#30


trenchbroom, ericw-tools: init

Motivation for this change
Quake map editor + tools
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 138042 at 0b27b376 run on x86_64-linux 1

2 packages built successfully:

ericw-tools
trenchbroom

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/misc/ericw-tools/default.nix:20:3:
   |
20 |   installPhase = ''
   |   ^


QueenConstructorDeclarationNode.java: Handle access modifieds for c...

The puzzle -1687004512 originating from #10 has to be resolved:
https://github.com/jvmqueen/queen-of-java/blob/6275c7b1502de217d5b92f103529ff5c008339ec/src/main/java/org/queenlang/transpiler/nodes/QueenConstructorDeclarationNode.java#L44-L44
"Handle access modifieds for constructors.".
The puzzle was created by amihaiemil at 2022-12-04 18:15:11 +0200.
Estimation is 30 minutes.
If you have any technical questions, don't ask me, I won't be able to help. Open new issues instead.

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2022-12-14T16:20:25.774267.
Estimation here is 30 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Consistent renaming

e.g.

[ ]  1D vs _1D
[ ]  Cauchy_diff Diff #229  #231
[ ]  Fenics eg prepend Matern by fenics?
[ ]  Problem/Model/Distb at end?
[ ]  KL zoo
[ ]  MH or MetropolisHastings #230  #232
[ ]  2x ULA
[ ] rename Linear_RTO

e.g.

[x]  1D vs _1D (only _deconv_1D still have this name)
[x]  Cauchy_diff Diff #229  #231 (done #231 to be closed in this sprint 21)
[x]  Fenics eg prepend Matern by fenics? (created issue https://github.com/CUQI-DTU/CUQIpy-FEniCS/issues/66)
[ ]  Problem/Model/Distb at end?
[x]  KL zoo n
[x]  MH or MetropolisHastings #230  #232 (two issues are closed, one more update is needed in paper 2 repo #https://github.com/CUQI-DTU/Paper-CUQIpy-2-PDE/issues/42)
[x]  2x ULA (this item is addressed by closing #234 which is part of this sprint 21, we have ULA and UGLA now)
[x] rename Linear_RTO (created issue #281)

@jakobsj @nabriis
I think this issue can be closed. I broke it down to smaller issues  (in some cases I noted that the work for the item is done) as explained in my comment above.

LGTM

Agreed, thanks!


Fix broken markdown in the README

i can't repro the lint action failure locally.
i get a different failure locally on golangci-lint.

Guess its fine to just merge in this case... We should deactivate linting until it works reproducible ;)


[FLINK-15121] Add public constructors for execution environments that take Configuration

Brief change log
This makes useful constructors on ExecutionEnvironment public and adds
Javadoc.
This makes the useless zero-argument constructor of
StreamExecutionEnvironment protected and adds Javadoc to
StreamExecutionEnvironment constructors.
This allows creating execution environments with arbitrary executor configurations, i.e. one can now create an execution environment that uses a YARN executor.
Verifying this change
No new tests, this only changes the constructors.
Does this pull request potentially affect one of the following parts:

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

Thanks for the review, @TisonKun ! ☕


Does barba work with postbacks?

Would barba also work when submitting a POST form?

What type of form are you looking to submit from?
Transitions from form submissions wont occur with barba.
A solution I have used in the past is to build an AJAX function into the relative view and run an animation from there.

@nojaf You should handle form submission on your own. Barba do not handles the forms

Ok, thx.


FIX: put object tag with empty value

For putObjectTagging - the tag's value can be an empty string.
However - tag's key can not be empty

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "fix/putemptytag"}
Please follow http://ci.ironmann.io/gh/scality/Integration/12890 for CI status.


perf(transformer): introduce NonEmptyStack

[!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

#6094
#6093
#6092  👈
#6091
#6090
#6089
main

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

Join @overlookmotel and the rest of your teammates on  Graphite


Should File be Send?

I am opening this thread to raise the topic of whether or not the tokio_uring::File type can be made Send. Once a Fd is opened from one thread, there is nothing prevent users from re-using that same Fd on another uring on another thread. Making File !Send is  currently an entirely artificial limitation of tokio-uring.

I wish you wouldn't use the term artificial. It conveys that the authors didn't give it thought. I think thought was put into it and the decision so far has been to use Rc and RefCell instead of Arc and Mutex to keep things fast and keep the logic around their guards short, with no waiting for locks. I'm not against providing extra functions under the unsafe banner.

I think it should eventually be made Send, as a part of supporting multi_thread.

Closing in favor of #258.


target.stop() at attack function causing unexpected behaviour.

I suggest the removal of this line.
I have found that calling stop() here will make the bot receive a stoppedAttacking event even though they have just started attacking. At the end of the attack, stop() will be called again. This is, in my opinion, not really intuitive, since it will clash with the startedAttacking event especially if the callback is async.
After removing this line, I found that the events emitted makes more sense than how it is now.
I understand that this may be used to show that the bot has changed targets but putting it in one general event of stoppedAttacking is not intuitive.

That line was added to correctly stop the current attack if the bot was already in the middle of attacking another entity. Simply removing that line will prevent the stoppedAttacking from the first target to be called. I made a quick PR to fix this.


Add support for wt.exe to run commands in the current Terminal Window

Description of the new feature/enhancement
I found that wt.exe can open a new window and split it, can it  split current window like tmux split-window -v, tmux split-window -h?
like this:

Proposed technical implementation details (optional)

Yep, it absolutely can! See this doc for more details.
https://github.com/microsoft/terminal/blob/9df9bd00d74e7910395306f551fc57a673155a7a/doc/user-docs/UsingCommandlineArguments.md#L115-L130

Consider the following commandline:
wt ; split-pane -p "Windows PowerShell" ; split-pane -H wsl.exe

This creates a new Windows Terminal window with one tab, and 3 panes:

wt: Creates the new tab with the default profile
split-pane -p "Windows PowerShell": This will create a new pane, split from the parent with the default profile. This pane will open with the "Windows PowerShell" profile
split-pane -H wsl.exe: This will create a third pane, slit horizontally  from the "Windows PowerShell" pane. It will be running the default profile,  and will use wsl.exe as the commandline (instead of the default profile's  commandline).

but i want split current window

wt ; split-pane -p "Windows PowerShell" ; split-pane -H wsl.exe

it will open a new terminal...

Sure yea you can do that in the current window. Use the splitPane keybindings. By default, these are bound to the following keys:
https://github.com/microsoft/terminal/blob/39d3c6542006fa3cd45d85fc00e9d546a1398625/src/cascadia/TerminalApp/defaults.json#L242-L243

but I want use a shell command to do it, I want to write it in my script.

Unfortunately, that's not supported quite yet. It's mentioned in the "future considerations" part of the original spec. It's sort-of tracked as a sub-point in #4632, but there's not a dedicated thread for it yet.
Congratulations, this is now the thread

We actually do have a thread for it, /dup #4472!

Description of the new feature/enhancement
I found that wt.exe can open a new window and split it, can it split current window like tmux split-window -v, tmux split-window -h?
like this:

Proposed technical implementation details (optional)

@plusls I use this workaround.
Create a function in my default profile that opens the new tab with split windows and exits the previous tab.
# %USERPROFILE%\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
Function split{
    # Open window with split panes
    start-process wt ' -p "Windows Powershell" ; split-pane -p "Windows Powershell" ; split-pane -H -p "Ubuntu"';
   # Exit
    echo "Exiting...!";
    Exit(0);
}

Then call the function from the terminal when needed.
> split


Remove test json

Coverage remained the same at 62.656% when pulling 6ce43ffd7764d60ad2cf74029722cd23e828fa7c on remove-test-json-juha into 7611b003aac45a82bac9e61f3c3772ea7f192288 on master.

LGTM.


[Report Fields] Update 'deletable' fields to show as "remove field " vs. "empty"

The current funtionailty for Report Fields allows the user to set a value as "empty" to delete the field. We'll want to update the UI so it's more apparent to the end user. More contect in this thread,
If a report field exists within a report but has been removed from the policy, mark the report field as 'deletable' by showing "Remove field" in the overflow menu for each individual report field that becomes deletable. For Example:

If a field is called Department, then we’d show RBR next to the right caret for that field(just like shown in the details section in the below mock-up)
Then when you tap on that row for the report field and we push-to-page, you see the red error message below the field input.

@caitlinwhite1 Can I please get a UI screen of how this x would look like? Thanks!

@allroundexperts Yup! Let me grab something from Figma

@allroundexperts I updated with the context from that slack thread but let me know if you need any other info!

Thanks @caitlinwhite1. I was waiting for my other PR related to backend integration to get merged first. It got in Yesterday so I should be making a PR for this soon!

Update: Created a draft PR here. Waiting on @thienlnam to provide me with the API endpoint needed to delete the report field.

Hi @thienlnam!
Did you get a chance to create the endpoint needed to delete the report field?

Yup, it's merged pending deploy - should be available on staging tomorrow. Here are those details
Endpoint: RemoveReportField
Parameters:

fieldID: field_id_21312

Still getting the following:

How do I set the server as staging in the App? I no longer see that option in preferences.

Not sure, but it's on production now so you should be able to test there.
Also as a note - due to the way these are stored, you'll have to prefix the fieldID with expensify_
So same as the changes I made here https://github.com/Expensify/App/pull/36769

@allroundexperts quick note that we are trying to wrap up the report fields initiative by the end of this month. Do you think it'll be possible to get this PR merged by then?

@JmillsExpensify This is blocked on https://github.com/Expensify/App/issues/36170 which is waiting changes from the backend. I'm not sure how long it will take those changes to get in. This can not be completed until those are done.

Nice, appreciate the color. I'm also going to go ahead and move this to our Polish section on a second read of the description. Ideally we can still get this merged before the end of the month!

Circling back on this one, with the PR for #36170 now merged, are we good to pick this one back up?

Yes. I'll try to resolve the conflicts today and make it ready for review.

Hit production 2024-04-10, payment should be due tomorrow. cc @JmillsExpensify

This deployed so i think we're all set to close!
https://github.com/Expensify/App/pull/36039#issuecomment-2048094936

@caitlinwhite1 Please can you reopen as payment is due for the PR review? Thanks :pray:

@dylanexpensify reopening and adding bug label for payrment!

Nice one!
Payment summary:

Contributor+: @jjcoffee $500

Please apply or request!

Thanks, applied @dylanexpensify!

Yes!

@jjcoffee sent offer! Also @allroundexperts updated original post btw!

Paid @jjcoffee!

$500 approved for @allroundexperts


How to use ViewBadger?

How to add the Badge Lib in order to add badge? I cannot find the solution using the provided NuGet package.

Thank you for using our binding library.
I just published the latest nugets for both BottomNavigationViewEx and BadgeView.
Hope you will enjoy using them. Plz give us a star if you like them.

Thanks kanvuduc for your fast answer!! I already give you a star, I downloaded the updated NuGet package version of BottomNavigationViewEx and installed the new BadgeView NuGet Package. There's any way to write some kind of example into the Readme for BadgeView? Thank you!!!! Great binding lib!

Nobody?

Plz follow the sample code.
if you have time to write down a short guideline, it's really appreciated.
Cheers.


Patch for Julia 0.5.1.

This commit allows the quickstart code to run on the latest version of
Julia (0.5.1). Quite a few methods and some syntax has been deprecated
in the last two years. This patch replaces these with the equivalent
new methods and syntax.
Included changes:

Rewrite deprecated Dict declarations.
Use String instead of deprecated ASCIIString.
Use Int instead of deprecated int.
Use ceil(Integer, x) instead of deprecated iceil(x).
Use floor(Integer, x) instead of deprecated ifloor(x).
Import PyPlot to automatically resolve matplotlib dependency.
Explicitly convert E, tua_s and tua_p to Integer when needed. (nasty!)
Use Range instead of Range1. (typo?)

Tested using http://cyrusmaher.github.io/CauseMap.jl/Quickstart.html. I
did not test with any other data or settings.
The graph output looks aesthetically different, but seems okay in terms
of the data. I suspect this is the result of changes to matplotlib, but
I did not investigate further.
I believe this commit also fixes #12 and fixes #13.

For reference, after making these changes, I get the following graphical output.


Aws roles

This PR enables OIDC auth for our github actions, allowing us to get out of the 'permanent secret key/id' security no-no that we've been using since last august.
Now, each time we do a deploy, we tell the action to assume a certain role (the ARN of which is stored in a repo secret) that grants us access to the AWS infra we need to do the upload.
Outside the scope of this PR: The new Identity Provider and Role that I set up in our AWS account to support OIDC.  It's enough to know that the new Role has been set up with its ARN stored in a repo secret, which our deploy .yaml reads.
Here's the trust policy for that new role titled rapid-cicd-role that I created in the fbjagill account:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "Federated": "arn:aws:iam::632571768781:oidc-provider/token.actions.githubusercontent.com"
            },
            "Action": "sts:AssumeRoleWithWebIdentity",
            "Condition": {
                "StringEquals": {
                    "token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
                },
                "StringLike": {
                    "token.actions.githubusercontent.com:sub": "repo:facebookincubator/RapiD:*"
                }
            }
        }
    ]
}

}
This is fairly standard boilerplate for any such ephemeral cred service config in github actions- note though that the second 'stringLike' condition predicates only our repository- actions from other repos can't use this to deploy stuff to our bucket.

Note: The old secrets are still part of the repo (for now) so as not to break any existing builds/deploys on other branches. But, once this is merged into main those keys should be deleted forever.
Further reading:
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
https://benoitboure.com/securely-access-your-aws-resources-from-github-actions

@bhousel friendly bønk for this PR


Issue with MacOS Catalina

Thanks for this tool. I've been looking for something like this for a while.
I'm running into an issue where, if I run c ./main.c, and the contents is something like this:
#include <stdio.h>

int main(void)
{
    printf("%s\n", "Hello, World");
    return 0;
}

I get the following output:
Hello, World
du: illegal option -- -
usage: du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x] [-I mask] [file ...]

Seems like --block-size in size="$(du --block-size=1024 -s "$tmproot" | tail -n1 | cut -f1)" isn't valid on Catalina.
Any ideas? #38 mentions this error.

Okay, I just pushed a new released and updated the Homebrew forumla. You should be able to reinstall and have it work!
ryan@mm ~ $ brew uninstall c
Uninstalling /usr/local/Cellar/c/0.12... (5 files, 12.1KB)
ryan@mm ~ $ brew install https://raw.githubusercontent.com/ryanmjacobs/c/master/c.rb
Updating Homebrew...
######################################################################## 100.0%
==> Downloading https://github.com/ryanmjacobs/c/archive/v0.14.tar.gz
Already downloaded: /Users/ryan/Library/Caches/Homebrew/downloads/0569632f5a36722c60daa16d6e6fb6770eb40af4c69942b8648ff00e2bb5cb64--c-0.14.tar.gz
🍺  /usr/local/Cellar/c/0.14: 5 files, 12.1KB, built in 4 seconds
ryan@mm ~ $ c hello.c
hello world!
ryan@mm ~ $

That did it. Wonderful!


Payum\Paypal\ExpressCheckout\Nvp\PaymentFactory::create() should not be called statically,

So all of a sudden my payments stopped working, I'm guessing this have something to do with an update?, so no backward support ?

Yes, there may be some BC breaks between releases like 0.14.x to 0.15.x but there should not be any between 0.14.1 to 0.14.2 for example
I am trying to document all BC breaks here https://github.com/Payum/Payum/blob/master/UPGRADE.md
Also when 1.0 is released it means no more BC breaks


Why not use the REST web service?

We plan to use JQM for our batch processes. We already have a UI application that enables us to manage everything. I would like to build a client that extends our UI to manage queues and queue mappings for JQM. However the documentation gives me a warning saying "the admin REST web service is a private JQM API. It should never be accessed directly."
Is there any reason why I should avoid using the REST API?

Okay I found the chapter in the docs. Sorry!
Closed.

I like it when tickets close by themselves ;-). The real reason behind the "closed API" thing is that we wanted to testproof it before with our own UI and our own command line. The command line is still being built. If you are ready to see a few things break with future version 1.4 (end of summer if everything goes well), feel free to use the admin REST API - it will become official at that point.

Can you please share some java swing application examples codes with complete imports that creates a job definition and enqueue the job?


[65] SE-0166, 0167, 0168 in review

so many proposals!

Yep. All sneaking in before the window closes.


"Edit this page on GitHub" link broken on documentation website

🐛 Bug report

At the bottom of documentation pages zagjs.com there is a link that says "edit this page on github". When clicking the link I get a 404.
💥 Steps to reproduce

Go to the bottom of this page and click the "edit this page on github" link. It leads to this URI which 404s for me: https://github.com/chakra-ui/zag-docs/edit/main/data/components/number-input.mdx
💻 Link to reproduction

N/A
🧐 Expected behavior

Expect to be able to edit the page or if it requires some level of permissions a note that it may not work or something.
🧭 Possible Solution

🌍 System information

Software
Version(s)

Zag Version

Browser

Operating System

📝 Additional information

Good catch! I just fixed the links


JS-T: Witness listing/voting/unvoting

Witness listing/voting/unvoting
AC

[ ] List all witnesses (50-100), short overview of parameters
[ ] Voting/Approving and Unvoting/Unapprove witnesses
[ ] Explanation and ref links about witnesses, hot signing (steemconnect)

Also might be good to perhaps keep in mind: "switching a witnesses."  This is something I made up: Unvoting for one witness while simultaneously voting for another witness in the same transaction.
The thing that makes this a little unintuitive is that notion that the blockchain allows this to happen even if you've already voted for 30 witnesses.
Maybe there's nothing to document in our tutorials about this because it works as one would expect.  I just think it's interesting.


Help with VUE Custom Components

I am trying to create a Vue Custom Component but I can't seem to get it work, looked all over and no idea how to do it.
I have created a component (.vue file) and added it in 'assets/js/components'.
Then I have run the

php artisan twill:build

command but still not working.
Then I have runner php artisan twill:dev and in chrome devTools i get the error:

Unknown custom element : <custom-event-attendees-table> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

The component has the "name" property, and it's set to: "CustomEventAttendeesTable", so I don't think the problem is from here.
I have looked into main-form.js and I see that the component is included in the file but just not working.
Do I have to declare the component somewhere else?
Another big problem that I have at the moment is that the custom components only are included in the main-form.js build but not into the main-free.js build which forces you to use the form view instead of the free one.
Thanks for helping!

I think I have found part of the problem, I need to put a17- before the component name.
Is there a possibility that in the main-free.js in the twill source to add this
// Custom form components
const importedComponents = require.context('@/components/customs/', true, /\.(js|vue)$/i)
importedComponents.keys().map(block => {
  const blockName = block.match(/\w+/)[0].replace(/([a-z])([A-Z])/g, '$1-$2').replace(/\s+/g, '-').toLowerCase()
  return Vue.component('a17-' + blockName, importedComponents(block).default)
})

so that custom components can be available in FREE layout?
Thanks.

Yes I agree with this.
I just re-worked most of the hacky attempts I used in older versions and this is only bit that still forced me to mess with twill vendor folder.
I would be great to add it. Unless there is a different way to load custom components into those pages ?


Use fbp-graph for Graph and Journal

fixes #517

The versioneye fail is probably because they didn't fetch the new library yet. NPM shows license correctly: https://www.npmjs.com/package/fbp-graph

Was commented out in d1a55d3d778ca1afb484fda1ce8727033efec721

The test was introduced in 311d724f2907db15a0df92f4c40f077f2f45675f and probably its expectations are not right for current behavior

@jonnor added tests in 1d29626


Document customizing express.json() size limit for specific routes

In the following issue, it is requested to customize the body size limit for express.json() dynamically based on the API route:

@marbuser (Apr 11, 2019):
I've got some endpoints and 90% of them I want to have a limit of around '2MB'. However, there is 1 specific route, my upload route, where I want to have an upload limit of '10MB'.

https://github.com/expressjs/express/issues/3932

There are some solutions provided in the thread, but maybe a simpler option would be this one inspired by this Stack Overflow answer:
// Parse application/json
// - limit on /upload: 5MB
// - limit on other routes: default of 100KB
app.use('/upload', express.json({ limit: '5mb' }));
app.use(/^(?!\/upload$)/, express.json());

This may be a nice example to document on the express.json() docs section

For future people here, I have a problem because I forgot my pre-fix API structure, all my endpoints start with API
for example api/upload/
import bodyParser from 'body-parser';
// others imports

// more code...
app.use('/api/posts',bodyParser.json({ limit: '50mb' }));
app.use(/^(?!\/api\/\/posts$)/, bodyParser.json());


Add Debug Output Levels

Most of the time when I'm working on Xyris, I find myself commenting out annoying, spammy debug messages that hide the info I want to see.
We should update the debugf function to take a level that scales as such:

Emergency (0)
Error (1)
Warning (2)
Info (3)
Debug (4)
Verbose (5)

Resolved in #372


[Workspace Feeds] [External] Create a modal for Expensify Card Enabled empty state

Part of the Workspace feeds project.
Implement the following part of the design doc.
@koko57 @VickyStash @allgandalf @DylanDylann

I will take over this one

Taking this issue 😊

This is off hold now

@shawnborton I see that the component created in #44137 accepts either a lottie animation, video or an svg. How should be this asset exported?

Fairly certain this one is just static, so just an .svg would do? Let me try to export something for you...

Let's try this and see if it works? emptystate__expensifycard.svg.zip
cc @Expensify/design - tried to make this an actual svg with no pngs embedded or anything, let's see how it goes!

@shawnborton I've just noticed that the screenshot element in the svg you exported doesn't have rounded corners

Could you check why they're not rounded and export a new version please?🙏🏻

Ah good catch! Here is an updated version: emptystate__expensifycard.svg.zip

Fighting a bit with svg size on mobile, but it's almost ready (PR in draft)

This was merged 🎉

$250 for @DylanDylann for PR review and testing.

@JmillsExpensify No need for payment here. This belongs to project

Oh ok cool thanks! Closing then.


generateApolloSources can't find schema because schema download task wasn't run first.

Summary
generate[myService]ApolloSources task is executed without executing download[myService]ApolloSchemaFromIntrospection task first.
This produces the following error:
No schema file found in:
src\main\graphql\[myService]

Manually running the download task first or configuring gradle build order with the following code fixes the issue.
generate[myService]ApolloSources.dependsOn download[myService]ApolloSchemaFromIntrospection
Version
3.6.2
Logs
> Task :app:generateStagingDebugRootServiceApolloSources FAILED
Execution failed for task ':app:generateStagingDebugRootServiceApolloSources'.
> No schema file found in:
  src\debug\graphql\com\tinvio\odin\rootservice
  src\main\graphql\com\tinvio\odin\rootservice
  src\stagingDebug\graphql\com\tinvio\odin\rootservice
  src\staging\graphql\com\tinvio\odin\rootservice

Steps to reproduce the behavior
Configure a service with introspection and build the project.
Expected behavior
The task execution order should be: downloadSchema -> generateSources.

Hi! As you may not want to re-download your schema every single time you build your project, I believe the current behavior makes sense.
However if that would be useful in your workflow, you may declare a gradle task that depends on both the download and generate source tasks, and run that instead.

Usually, during a dev cycle, the schema is constantly evolving. So resyncing with every build ensures that there are no gaps in what the client expects and what the server can deliver whenever we do a release.
I have a custom script in place but it becomes a little boilerplate-y and creates a maintenance overhead when there are a bunch of services in place.
I was hoping if we could have a config flag for this? To explicitly tell apollo to run the corresponding download task for a service before generating code for it.

You can make an explicit dependency:
apollo {
  service("service") {
    // ...
  }
}

// Make the codegen task depend on the download schema task to run it every time
tasks.named("generateServiceApolloSource").configure {
  dependsOn("downloadServiceApolloSchemaFromIntrospection")
}

As @BoD said, it's not something we recommend because it makes builds not-reproducible and has a direct performance impact on every build so it's not something we'll make easier to do.
A nice way to handle your schema updates is to commit it in source control and update it from a CI cron job using something like https://github.com/apollographql/update-graphql-schema. This way, your build are reproducible and you get a nice diff about what changes in your schema every night (or whenever you decide 😃 )

I see. We're still in the early stages of working with a gql backend so I'm yet to find out how the workflow is or isn't affected by continuous syncs but I'll be mindful of what you said.
For now, I guess I'll just go with the task dependency way. Thanks for pointing to the CI action, that's definitely something we could use down the line.


Promoted search results label missing padding

Minor style tweak but the promoted search results label needs some padding or the overall settings fly-out width needs increasing.

Already fixed in February https://github.com/torchbox/wagtail/commit/e5e79d2e2b2f64e88660d485fb40a3e0eb200895


Github build validation fails on missing tags when it shouldn't

Describe the bug
We enforce tags for Azure resources at different levels of the solution and our build validation should take that under advisement but it doesn't... Is requires tre_workspace_id tag on a devops level resource which isn't reasonable.

Hi @tamirkamara
Is this the same as/ related to the linting issues on my recent PR https://github.com/microsoft/AzureTRE/pull/4116#issuecomment-2454358909?
Was wondering whether I should attempt to fix the lint issue, or whether the /devops path should be excluded from that lint condition?
Thanks

Hi @jonnyry,
Yes, this is the source of your issue too. There's a PR in flight that once merged will (hopefully) solve the issue in your PR.

Ah great thanks :-)


Listing image tags on hub.docker.com does not match URL in API docs

File: registry/spec/api.md, CC @joaofnfernandes
The above file references a URL /v2/<name>/tags/list. However, this seems to be looking for a tag called list, rather than enumerating them:
$ curl -I -L https://hub.docker.com/v2/repositories/library/alpine/tags/list
HTTP/1.1 301 MOVED PERMANENTLY
Date: Thu, 06 Jul 2017 16:09:50 GMT
Content-Type: text/html; charset=utf-8
X-Frame-Options: deny
Location: https://hub.docker.com/v2/repositories/library/alpine/tags/list/
...

HTTP/1.1 404 NOT FOUND

I think this should be /v2/<name>/tags/:
$ curl -I https://hub.docker.com/v2/repositories/library/alpine/tags/
HTTP/1.1 200 OK
Date: Thu, 06 Jul 2017 16:11:19 GMT
Content-Type: application/json

Similarly, the docs claim that ?n=20 can be used for pagination, but I can't replicate this on hub.docker.com.

@marcusmartins correct me if I'm wrong, but hub.docker.com APIs are not public and they might differ from the APIs exposed by docker/distribution.

@joaofnfernandes @marcusmartins is there a canonical API for querying whether public Docker images exist?
References to the hub.docker.com/v2 API do exist on Stack Overflow questions and even in the Docker Success Center: https://success.docker.com/Cloud/Solve/How_do_I_authenticate_with_the_V2_API%3F

I'm not seeing official docs at https://docs.docker.com/docker-hub/, so I'm not sure Hub has a public API :(

@tiborvass I think you were looking into this too.

After confirming with @marcusmartins, Docker Hub doesn't have a public API, so even if that API were compatible with the Registry API, it could change at any time and break any scripting that you have.
And as it happens, Docker Hub doesn't follow 100% of the Registry API.
I'm going to close this issue since there's nothing we can do in the docs, but feel free to comment @Wilfred.

That's a definitive answer, and useful. Thank you :)


fix typos in README

Cool little theme! 🙂
Saw a small typo in the README was all. It's already showing up in the Gatsby plugin library as well: https://www.gatsbyjs.com/plugins/gatsby-theme-stitches 🎉

Thanks @gillkyle :grin:


Next throw an error when issuer option is present in next.config.js

Next throw an error when issuer option is present in next.config.js
next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
  webpack(config) {
    config.module.rules.push({
      test: /\.svg$/i,
      issuer: /\.[jt]sx?$/,
      use: ["@svgr/webpack"],
    });

    return config;
  },
  reactStrictMode: true,
};

module.exports = nextConfig;

if the issuer option is present the folowing error will be occure:

it works fine without the issuer option
I'm using:

svgr v6.2.1
node v14.17.5
next v12.1.5
windows 10 version 21H1 OS build 19043.1706, wsl 2 ubuntu 20.04

Saw the same thing, landed here
https://github.com/gregberge/svgr/issues/860


Remove log message about expected files being missing in IEP import

Who is this PR for?
developers
What problem does this PR fix?
remove log noise:
File #<File:0x0000000005bc8d38> has zero size. Did you mean to pass the create flag?

we didn't mean to pass the create flag, but we don't need to be making this call at all since we know there's no file there (as expected and noted in other log messages).

selfie


[Testing] Add missing REQUIRES: concurrency

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


feat(api): default to sending api logs to opentrons

Overview

Test Plan

Changelog

Review requests

Risk assessment

this setting is not wired up to anything on the robot and doesn't do anything


bzip2 is a dependency for installing patternfly, phantomjs

see https://github.com/ryanj/origin-s2i-nodejs/issues/8

Let me know if you'd rather have this added to sti-base.  other language-specific build tooling might need it as well...

The patternfly team needs this as well

let's leave it here for now, we can always push it down later.

thanks!

@ryanj: Be advised that PhantomJS also needs freetype and fontconfig in order to run correctly.

Also, this should update Dockerfile.rhel7 as well.

@elyscape good catch, I'll send an update for Dockerfile.rhel7.
It looks like freetype and fontconfig are available in the centos base image.
Are they not included in the rhel base image?  Do they need to be added to the rhel Dockerfile as well?

It looks like freetype and fontconfig are available in the centos base image.

Interesting. That must have changed, as I definitely had to install them for some of the work I've been doing.

Are they not included in the rhel base image? Do they need to be added to the rhel Dockerfile as well?

I don't have access to this image, so I couldn't say.

@ryanj i already caught the rhel7 miss and included it in my nss pr:
https://github.com/openshift/s2i-nodejs/pull/95/files#diff-debeaecb79f21738a847dd9c4a710bf7R32


Test don't fail when change text or color

I have an issue with matching screenshots when changing colors. It will won't fail when changing color or changing the text. It will only fail when elements are not in the same place. Is there a way that he detects whether color or text changed?

What threshold are you using? The default configuration didn't work for me when changing text color.
I set it up this way and it works:
// cypress.json
"env": {
    "cypress-plugin-snapshots": {
      "imageConfig": {
        "threshold": 0.01,
        "thresholdType": "pixel"
      }
    }
  }

Thanks that worked! Is there a way to show more detail in the difference?
Is this situation he is not showing the difference very good

I had the same issue while changing the text of an Angular Material button. Test was passing with results displaying "Snapshots match" even though the text of the button was changed from "open" to "close".
When adding the configuration provided by @franciscotrillo to cypress.json it worked.
It seems that default configuration is not applied for some reason.


Can't get it to work at all?

🐞 bug report
Describe the bug

To Reproduce

Expected behavior

Screenshots

🌍  Your Environment

OS:  e.g. Win7 x64
Version:  e.g. 0.6.9 portable
PoE:  e.g. Steam 3.10.0/e English

Hello. I unfortunately can't get anything to work with PoE-Overlay.
Sometimes F7 will bring up the options but other than that nothing else works.
The scroll function doesn't scroll even though I've gone into settings and set it to normal. F5 doesn't take me to hideout. I've tried uninstalling the PoE-Overlay and reinstalling a few times. I've ran everything as admin.
I've installed both versions of vc_redistribute.
I feel like I've got to be missing something major.
Anyone else have these problems? Thanks.

Hi, thanks for creating an issue. Seems like the game is not correctly detected. Is the yellow version text displayed at the bottom left? Also could you please attach the application log. This can be found at %appdata%/poe-overlay/logs/main.log

I appreciate the reply.
The text is and has always been in yellow. After creating the ticket originally and Google not helping I finally uninstalled PoE Overlay and went back to Trade Macro.
When I saw your reply I followed the same steps I've always followed, installed PoE Overlay, and it's working flawlessly all the sudden. Sorry to have wasted your time as I have no idea what's changed to make this work. I keep Windows pretty up to date and I don't recall it updating any time recently.
Would you still like to see the log? Thanks again for all your help and the great program.

Awesome! Glad it's working now.

Would you still like to see the log?

Yes, please! Hopefully i'll find a useful error log what caused this.

Apologies for the delay. Just saw your reply. Here you are.
main.log

Thanks for your logs. It seems like the error was caused by iohook. I'll keep an eye open if this same error occurs again. Closed.


Marionette.Application has no addInitializer method

Marionette.Application has no addInitializer method and Marionette has no Controlller
have i user the wrong version of Marionette。
the version i use is v3.0.0

Hi @lixuejiang
Yes, you are right. This tutorial was written on Marionette v1.6.1
I haven't used Marionette for the last two years, so I'm not sure what is an alternative in the current version.

@dmytroyarmak i see,anyway thank you very much,are you still use backbone for your application development

@lixuejiang No, for the last two years I'm using Angular 1.x at work and currently playing with React and Angular 2 in the spare time

so awesome


Use aws secretmanager to store access credentials

This PR implements the use of AWS Secretsmanager to store HTTP endpoint access credentials as discussed in this AWS Documentation.
The PR does the following:

Creates an aws_secretsmanager_secret resource as a container for the credentials.
Updates the firehose-role-policy document to allow access from firehose to the secret.
Updates the dynamic block for http_endpoint_configuration to reference this new secret and role.
Removes a now unused variable: http_access_key.
Alphabetises the outputs.
Alphabetises the unit tests.

This PR is tracked upstream in https://github.com/ministryofjustice/modernisation-platform/issues/7607


Make SOPS work with keys from parameters and function input

Function input parameters can be taken from
ConfigMap and Secret matching jsonpath expression.
This allows to cover different user scenarios, e.g.

public keys for encryption can be stored as a separate ConfigMap or Secret. and can be part of repo.
encryption and decryption fn configurations may reference the same or different configurations.
examples and documentation has been updated for kpt v1.

@mengqiy , done :) Thank you for the thorough review - not sure how I forgot to update exec.sh in the second example :)


Jcaccamo/browse wfs layers

@anmacdonald @mfeigl Please review. Thank you!

@anmacdonald code has been updated and slightly modified due to some feedback from the samples team.

Looks good to me too.


Upload darwin package to Github releases

already have this for linux, need to adapt for macos pipeline

Successfully released at https://github.com/newrelic/infrastructure-agent/releases/tag/1.20.1
See https://github.com/newrelic/infrastructure-agent/runs/2930461812?check_suite_focus=true


use pooch

https://pypi.org/project/pooch/ does all the downloading, caching and checksumming so we don't have to write code

We could use pooch as foundation for MDAnalysisData .


[GHSA-gj96-4654-x98q] Unrestricted File Upload vulnerability in Greek...

Updates

Affected products
CVSS
CWEs
Severity
Source code location
Summary

Comments
Adding the appropriet CVSS score and vulnerable versions

👋 Hi @RoboGR00t, unfortunately, Greek Universities Network Open eClass does not appear in Composer (see https://packagist.org/?query=openeclass) or any other supported ecosystem, so we cannot review this advisory. Thank you for your interest in GHSA-gj96-4654-x98q.

👋 Hi @RoboGR00t, unfortunately, Greek Universities Network Open eClass does not appear in Composer (see https://packagist.org/?query=openeclass) or any other supported ecosystem, so we cannot review this advisory. Thank you for your interest in GHSA-gj96-4654-x98q.

I wanted to Update the Advisory with the  CVSS score and the Vulnerable versions.

I wanted to Update the Advisory with the CVSS score and the Vulnerable versions.
Wanting to improve the advisory with accurate information is understandable, and we appreciate members of the open source community caring about data quality! But we can't make changes to an unreviewed advisory without reviewing it, and reviewing an advisory requires at least one product in a supported ecosystem.

I wanted to Update the Advisory with the CVSS score and the Vulnerable versions.
Wanting to improve the advisory with accurate information is understandable, and we appreciate members of the open source community caring about data quality! But we can't make changes to an unreviewed advisory without reviewing it, and reviewing an advisory requires at least one product in a supported ecosystem.

Thanks a lot for your reply @shelbyc :)
You were really helpful!


Update "Nested generics" sample code

Update sample code comment (remove "currently ill-formed, but should be possible")
"Nested generics" is now available...?

@swift-ci Please smoke test

Thanks!

@swift-ci Please smoke test Linux


Import Lines changes

InteractionHands are MonoBehaviours now (this is a smaller change than you might expect), this allows a better API when you have InteractionHand objects or you want to add special interaction scripts to individual hands (this is most of the change to InteractionHand, along with generic ActivityManager)
Bugfix in DeltaBuffer
Make SingleLayer IEquatable because I like cleanly using it in hashsets
Alex-provided fix in GR/BakedUnlit.shader
Big one: Made ActivityManager generic, and provided the appropriate setup in InteractionHand

Looks good!


feat(UserInfoHeader): Add UserInfoHeader component

This PR adds a component for the user information to be displayed on the profile pages.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add weekdaysonly flag to remove weekend data and display only weekdays on plot

For some uses such as a school or business that is only open during the week there will never be any weekend data to display.

I've taken over maintaining this package, please submit a PR to my dev branch: https://github.com/MarvinT/calmap/tree/dev
Thanks!

Hi, if this problem still exists and you'd like to create a PR to fix it please direct it to https://github.com/MarvinT/calmap/
That is the version that gets published to pypi and has received several updates to fix some existing issues.

Thank you for your contribution. Unfortunately I don't have the time to maintain this project. As per @MarvinT 's comment, please see https://github.com/MarvinT/calmap/ instead.


Update Symbol Helper to Also Parse Symbols

Expected Behavior
To facilitate better history requests the QCA.Symbol() method should accept "SPY" or the full encoded symbol string "SPY R735QTJ8XC9X" so users can easily decode symbol objects without knowing the details of the Parse API.
self.ibm = self.Symbol("SPY R735QTJ8XC9X")
var ibm = Symbol("SPY R735QTJ8XC9X");
Actual Behavior
Throws if not found in symbol cache.
Potential Solution
Attempt to Parse() as a full symbol hash before throwing an exception.
public Symbol Symbol(string ticker)
{
    return SymbolCache.GetSymbol(ticker);
}
//SymbolCache
public static Symbol GetSymbol(string ticker)
{
    Symbol symbol;
    if (TryGetSymbol(ticker, out symbol)) return symbol;
    throw new Exception(string.Format("We were unable to locate the ticker '{0}'.", ticker));
}

Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

The parsing of the symbol identifier string seems to be already implemented here:
https://github.com/QuantConnect/Lean/blob/master/Common/SymbolCache.cs#L137
These two statements have the same effect:
var x = Symbol("SPY");
var x = Symbol("SPY R735QTJ8XC9X");

the correct symbol is returned from the SymbolCache if the security was added previously, otherwise this exception is thrown: We were unable to locate the ticker, as documented here:
https://github.com/QuantConnect/Lean/blob/master/Algorithm/QCAlgorithm.cs#L1999

Thank you!


How to Change temporary security  with Authorizing access to port 22 from [<IP_ADDRESS>/0] in the temporary security groups?

How to Change temporary security  with Authorizing access to port 22 from [<IP_ADDRESS>/0] in the temporary security groups?
@cartermckinnon
if temporary  security groups  create allow all [<IP_ADDRESS>/0] . its getting security breach , so we have request for have our own security group how to change that?
2023-09-04T10:26:34Z: ==> amazon-ebs: Creating temporary security group for this instance: packer_64f-##### 2023-09-04T10:26:34Z: ==> amazon-ebs: Authorizing access to port 22 from [<IP_ADDRESS>/0] in the temporary security groups... 2023-09-04T10:26:34Z: ==> amazon-ebs: Launching a source AWS instance... 2023-09-04T10:26:34Z:     amazon-ebs: Adding tag: "creator": "ec2-user"

You probably want to create your own security group beforehand and pass in the ID. Refer to the Packer docs: https://developer.hashicorp.com/packer/integrations/hashicorp/amazon/latest/components/builder/ebs


Fix #16806 - Update link for patch release manager in in skew support policy.

fixes #16806

thanks for the review/comment @sftim
Is the responsibility now with the "Release Managers" as explained here or its the "Patch release team" as explained here.?
I will update the wording and link accordingly.

Is the responsibility now with the "Release Managers" as explained here or its the "Patch release team" as explained here.?

Sorry @miteshskj: 🤷
I don't know which of those options is correct.

Maybe someone on Kubernetes Slack will know how to resolve the mismatch?

/lgtm
/approve
@miteshskj Please let us know if you're able to address @sftim 's concerns

Thanks @zparnold @sftim - Confirmed from the sig-release channel on slack. I will send another PR to fix the text.


[build-script-impl] Simplify libcxx build step

Fixes ninja: error: unknown target 'cxx-headers' on master-next after that target was removed upstream, so trying this change out on master as well.

@swift-ci please test

@swift-ci Please Build Toolchain macOS Platform

@swift-ci please clean test

Build failed
Swift Test OS X Platform
Git Sha - e081fd12edd3e5362f1f316ab2daa13b660a4643

Build failed
Swift Test Linux Platform
Git Sha - e081fd12edd3e5362f1f316ab2daa13b660a4643

@swift-ci Please Build Toolchain macOS Platform

@swift-ci Please Build Toolchain macOS Platform

@swift-ci Please Build Toolchain macOS Platform

@swift-ci Please Build Toolchain macOS Platform

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e081fd12edd3e5362f1f316ab2daa13b660a4643

Build failed
Swift Test OS X Platform
Git Sha - e081fd12edd3e5362f1f316ab2daa13b660a4643

@swift-ci Please Build Toolchain Linux Platform

@swift-ci please clean test

@swift-ci Please Build Toolchain macOS Platform

@swift-ci please clean test

Build failed
Swift Test Linux Platform
Git Sha - 7514dd3b78f166c10a9bb945707e94f52b612b60

Build failed
Swift Test OS X Platform
Git Sha - 7514dd3b78f166c10a9bb945707e94f52b612b60

@swift-ci Please Build Toolchain Linux Platform

The macOS toolchain build succeeded even though it still shows as pending above. The toolchain it produced does seem to have the headers still too.

The Linux toolchain failure seems unrelated:
project/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp:1681:49: error: no member named 'getTargetMachine' in 'swift::GeneratedModule'
12:47:49                                       GenModule.getTargetMachine());
12:47:49                                       ~~~~~~~~~ ^
12:47:49 1 error generated.


MapBrowserEvent originalEvent Type

https://github.com/openlayers/openlayers/blob/76e9dfc16fd21de4b507755136d688a3067b1722/src/ol/MapBrowserEvent.js#L10
The event here should not only inherit from UIEvent, but also include the ol.BaseEvent.
    const selectInteraction = new SelectInteraction({});
    mapInstance.addInteraction(selectInteraction);
    selectInteraction.on('select', (event) => {
    const [feature] = event.selected;
       // @ts-ignore
       feature.dispatchEvent(new MapBrowserEvent('click', mapInstance, event));
    });

The originalEvent is the browser event that triggered a higher level event in OpenLayers. So the type is correct. What makes you think otherwise?


Error: Path must be a string. Received null

From @Ristaaf on November 20, 2015 13:8
I get this error every time when opening a comparison of a ts file in the GIT panel of VS Code. Happen in all projects I have tried, including a test one with just one simple ts file.
Copied from original issue: Microsoft/vscode-tslint#5

This is unrelated to vscode-tslint. Moving to vscode.

From @serkanyersen on November 23, 2015 22:23
Same here.

closing, this is indeed a tslint issue, reopening the original issue filed against vscode-tslint and closing this one.

@egamma I'm getting the same error when I view a javascript file in the Git diff view after updating to 1.6-insider. The only change in settings I've done is setting the nodePath for eslint. @dbaeumer could it be related to that?
Although I must say that nothing is breaking (visibly) due to this error yet, just pressing escape dismisses it and I can keep working, and this error is not being shown when I open a golang file.

No, the nodePath variable is only interpreted by the ESLint server.

@kumarharsh can you file a new bug with as much information about your setup and steps to reproduce please.

@egamma: I want to, but I don't have any extra info as of now. Is there a way to trace where an error is being thrown from? The stack trace of the error is not very helpful I'm afraid...

@kumarharsh I doubt that you see the same problem that was reported here and that was fixed some time ago. Therefore, please file a new issue with the error you are seeing.
Can you still reproduce the issue when you run without extensions --disable-extensions.  Do you see anything in the developer tools console Help>Toggle Developer Tools.

Yes, restarting vscode with your recommendations does indeed fix this error. It might be due to the eslint server... I've opened the new issue here: https://github.com/Microsoft/vscode/issues/12229


[Bug]: Changing value of automatically_upgrade_os has no effect on existing nodes

Description
I created a cluster with the default setting automatically_upgrade_os = true. I noticed that changing this value to false afterward has no effect. It only seems to be applied when a new node is created.
Steps to reproduce:

Create a cluster with automatically_upgrade_os = true
Change the value to automatically_upgrade_os = false
Run terraform plan. No changes are detected.
Run terraform apply.
SSH into one of the nodes and execute systemctl status transactional-update.timer. The status still shows as enabled.

I don't know if this behavior is intended. It would be convenient being able to change this value across all nodes through terraform.
Changing the value automatically_upgrade_k3s applies the changes to the cluster as expected.
Kube.tf file
module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  hcloud_token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token

  source = "kube-hetzner/kube-hetzner/hcloud"

  cluster_name = "k8s-prod03"

  ssh_public_key  = file("id_ed25519.pub")
  ssh_private_key = file("id_ed25519")

  network_region = "eu-central"

  control_plane_nodepools = [
    {
      name        = "control-plane-01"
      server_type = "cx22"
      location    = "fsn1"
      labels      = []
      taints      = []
      count       = 3
    }
  ]

  agent_nodepools = [
    {
      name        = "agent-pool-01"
      server_type = "cx32"
      location    = "fsn1"
      labels      = []
      taints      = []
      count       = 2
    }
  ]

  load_balancer_type     = "lb11"
  load_balancer_location = "fsn1"

  ingress_controller = "none"

  initial_k3s_channel = "v1.30"

  automatically_upgrade_os = false
  automatically_upgrade_k3s = true
}

provider "hcloud" {
  token = var.hcloud_token != "" ? var.hcloud_token : local.hcloud_token
}

terraform {
  required_version = ">= 1.5.0"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.43.0"
    }
  }
}

output "kubeconfig" {
  value     = module.kube-hetzner.kubeconfig
  sensitive = true
}

variable "hcloud_token" {
  sensitive = true
  default   = ""
}

Screenshots
No response
Platform
Mac

@ggogel Indeed, please see the upgrade section in the readme. For now you need to issue commands manually. We will try to have this feature via terraform in the future.

Thank you for the fast response and clarification.


Barrier Option Price XLA compatibility.

Hey Guys,
Added XLA compatibility for the "barrier_price" function. Also changed the condition statement to run function. Let me know if any additional changes are required. Sorry about the delay on this! Feel free to pull me in for any other features as I have more free time now!

Hi Vishnu,
Could you please let me know if you need any help resolving the comments?
Best,
Cyril

@cyrilchim Woops, I missed your first update. Sorry about that. Just pushed the changed!


[FEAT] Add command to CP to Add New Item/Note and then a modal asks which Workspace to add to

This is in relation to #34 ... I realize that when I say "Project" you are probably thinking I mean "Workspace" when I am actually calling a Project just a new Note/Item. So in #34 you added the command for creating a new workspace (thank you) but I was actually meaning a command to "Add a new item/note" (or whatever we want to call it). And then it will ask you which Workspace to add it to. Basically a way to quick create items/notes within our workspaces. I think it should also ideally then ask you if you want to open this new Item/Note in the current active tab/pane or to open it in a new tab/pane.
I have been referring to those new Notes as "Projects" (thinking like small sub projects for each note) but realize now that "Project" to most probably lines up with "Workspace". I think this goes to the conversation you and I had @marcusolsson via DM in Discord about how the naming has changed a bit and it may be confusing for folks understanding the different between Folder vs Workspace vs Project vs Item vs Note etc.

😆
Before publishing this, I definitely need to look over the terminology.
So far, I've only really considered two abstractions. An individual note, and a collection of notes.
I've been using "record" to refer to an individual note. I thought about using "note", but since the plugin isn't really about note-taking I wanted to distinguish them. Might have to revisit that.
A collection of notes (or records) is a "workspace" at this point. The only place I'm using Projects is in the name, so the way I see it, we should rename the plugin to Obsidian Workspaces, or rename the "workspaces" to "projects".

Another question is whether each view should call it different things based on the context.
For example:

Table: Record -> Row
Board: Record -> Card
Calendar: Record -> Event

... or we use "record" consistently throughout all the views.

My opinion is that we use "record" consistently. The idea (in my opinion) is that the data is all the same and the views are just on top of the data and allows you to see the data in different ways (since it is just a view). For example, if I add a record to the Table view for "Create a new GitHub repository for blah blah..." and I put in there a date I'd like to do it, it will (and should) show up in my Table view and Calendar view. But it would not be considered an "Event". It all depends on the context of the view I think at that point. So all that being said, I agree that probably keep it consistent with either "Record" or "Item" or even "Note" (since they all are Notes... at least today they are 😄 ).
Thoughts?

so the way I see it, we should rename the plugin to Obsidian Workspaces, or rename the "workspaces" to "projects".

If I had to choose between these two options I would definitely say "rename the workspaces to projects" ... because if you change the plugin name to Obsidian Workspaces it will confuse everyone with the core Workspace plugin already and the Workspace ++ plugin :)
If you changed the terminology from workspaces to projects then I think that adds opportunity (at some point) to introduce the idea / terminology of "Sub Projects". Because you would probably have a folder (Project) for Client ABC but the you may have multiple projects for Client ABC so some sort of Project > Sub Project hierarchy may be good to explore.
Alternatively once you explore the ideas of filtering and grouping and "Folders" concepts, then that may solve the problem or need for introducing "Sub Projects".
Hopefully this helps!

@marcusolsson adding comment here from our DM chat just for documentation purposes :)

This is PERFECT! The only thing I can add to it would be it would be nice if the new note created opened (or could be opened) after creation in a new tab (or had an option in the creation modal that you can select "Do nothing" / "Open Note" / "Open Note in New Tab". But now I am just getting greedy 😉 haha

I will open a new Issue for consistency.


add Roslyn api conceptual docs

This PR adds the initial Roslyn Overview pages.
Original source is here: https://github.com/dotnet/roslyn/wiki/Roslyn Overview
The new TOC contains an outline for other upcoming topics, all commented out.
/cc @jaredpar @kuhlenh

WIP label added while I verify all xref links in a test build.

CC @gafter, @VSadov and @jcouv

closing and reopening to force a build.

closing and reopening to force a new build

closing and re-opening to force a build.

closing and reopening to force a build

closing and reopening to start a build.

closing and reopening to force a build.

I removed the WIP label. This is ready for review.

Adding @AnthonyDGreen to the reviewer list.

@mairaw said:

If this works with VB too, is under the csharp folder the right place to be?

I discussed this with the product team, and they felt it was the right place. The VB development community has had much smaller interest.

Thanks for clarifying @BillWagner! I thought it was sort of a dumb question initially. 😄

I'll merge this.  @mairaw reviewed that I had made all the changes requested by @rpetrusha
Enjoy the holidays @rpetrusha


Arcanist is mandatory jenkins build server?

Yes, if you use the pre-build step. You can also use "staging areas" and only use the post-build step and circumvent the arc patch requirement.


Fetch all facilities by default on main page when vector tile feature is active

Overview
When the vector tile feature is active, fetch all facilities by default
on the main map and sidebar page. Also make the "Facilities" tab the
initially displayed tab on loading the map page if the vector tile
feature is active.
Add guards to retain prior map behavior when the vector tile feature is
not active.
Connects #765
Demo

Notes
Making this work while keeping the same functionality as before when the feature flag is off was a little tricky, but I think I came up with a good way to handle it which was to defer rendering any components that need to know the state of feature flags until the feature flags have returned from the API.
Testing Instructions
Using the standard set of fixtures, serve this branch, then...
With the vector_tile switch turned off, use the app and verify that it still works as it did before.
With the vector_tile switch turned on, use the app and verify that the facilities tab populates with data as expected.
In particular: clicking the "reset" button for the vector tiles version will now undertake a new search.
Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Looking at this now.


Hibernate 5 support

The plugin is not compatible with Hibernate 5. There is an error thrown :
:dbmGenerateGormChangelogCommand execution error: org.hibernate.cfg.Configuration.getTableMappings()Ljava/util/Iterator;

Could be nice with Hibernate 5 support. @bassmartin can you fix, or do you have any idea who can fix it?

If this plugin do not support Hibernate 5 it's sadly.

There is no liquibase-hibernate5 module available yet https://github.com/liquibase/liquibase-hibernate/issues/96

did you see the linked linked repo there (https://github.com/jean-merelis/liquibase-hibernate5)? seems like @jean-merelis is working on liquibase-hibernate5 it but it says

For now only supports ejb3 database

which i am afraid might not be enough for the grails/gorm/dbm integration.. so maybe some collaboration over there could steer it in the right direction?

@zyro23 I did see that. Perhaps it will be necessary for us to implement that. It doesn't seem like it would be incredibly difficult.

Seems like support for hibernate 5 is getting somewhere on liquibase side. On master branch of https://github.com/liquibase/liquibase-hibernate is support for hibernate 5 (5.0.10).

Hibernate 5 support from liquibase has been pushed to maven.

@animator013 @zyro23 @alex-shamshurin @bassmartin @jesperronn If all of you can try out version 3.0.0.BUILD-SNAPSHOT of the plugin, I have integrated liquibase-hibernate5.

Tested the snapshot release and it looks good! Just observations -

I had an old version of liqudbase in my build.gradle due to this https://github.com/grails-plugins/grails-database-migration/commit/b2915891627589b0e664269bb844f13bc86ea22c
INFO 10/27/16 9:26 PM: liquibase: Can not use class org.grails.plugins.databasemigration.liquibase.GormDatabase as a Liquibase service because it does not have a no-argument constructor is a harmless message but shows every app startup
Migration logs are not displayed anymore (probably just need to adjust my logback)
It worked fine with https://github.com/kaleidos/grails-postgresql-extensions/pull/99
Every changeset now has objectQuotingStrategy: "QUOTE_ALL_OBJECTS"  - have to read up on what that means tomorrow

Closing this due to my testing it is generally working. Create new issues for any problems found


3d examples don't work on https://bevyengine.org

Bevy version
Unfortunately I couldn't figure that out. I assume latest?
Operating system & version
Manjaro Linux
What you did
The steps you took to uncover this bug. Please list full reproduction steps if
feasible.
What you expected to happen
That the demos work just like they do, when running natively.
What actually happened
The canvas stays grey.
Additional information
I got the following backtrace both in FF nightly and chromium:
ERROR  Handling wgpu errors as fatal by default log.target = "wgpu::backend::direct";
log.module_path = "wgpu::backend::direct";
log.file = "/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs";
log.line = 2272;

panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `pbr_opaque_mesh_pipeline`
    Internal error in VERTEX | FRAGMENT | VERTEX_FRAGMENT shader: error: declarations for uniform `webgl_25d25c27a7d04294` are inside blocks `webgl_bf5ae0eb601f7274` and `webgl_a1aa523c9251d872`

', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs:2273:5

Stack:

init/imports.wbg.__wbg_new_693216e109162396@https://bevyengine.org/examples/3d/load-gltf/load_gltf.js:408:19
console_error_panic_hook::hook::hb69894350157d62a@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[5953]:0x74dcbf
core::ops::function::Fn::call::h44cc0d5f8e19021b@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[22478]:0x98816f
std::panicking::rust_panic_with_hook::h606d7c7f7a423b98@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[9787]:0x881df8
std::panicking::begin_panic_handler::{{closure}}::h9b985a293aac4ce1@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[12453]:0x8f4c48
std::sys_common::backtrace::__rust_end_short_backtrace::ha03abef02a8b70fd@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[19191]:0x97b489
rust_begin_unwind@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[16512]:0x96071a
std::panicking::begin_panic_fmt::hdc64259b9212cbe8@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[17162]:0x969a8c
wgpu::backend::direct::default_error_handler::h5cd3152f6a32c0f0@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[13588]:0x919f5a
core::ops::function::Fn::call::hdfa1dc9cfc3654d7@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[15823]:0x9541a9
<wgpu::backend::direct::Context as wgpu::Context>::device_create_render_pipeline::h29fa881fb926afab@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[604]:0x24dc58
wgpu::Device::create_render_pipeline::h43c817573f389b74@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[16190]:0x95b04c
bevy_render::render_resource::pipeline_cache::RenderPipelineCache::process_queue::h020a3c144a0e65c5@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[473]:0x1c30cc
<bevy_ecs::system::function_system::FunctionSystem<In,Out,Param,Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h338ae34ca3e2f698@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[13928]:0x9242e6
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h55a8131a9caa7110@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[2243]:0x50c14a
async_task::raw::RawTask<F,T,S>::run::h204ebac2c5e73c53@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[1652]:0x45678d
async_task::runnable::Runnable::run::h85713b94a547ba0f@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[20929]:0x98398d
async_executor::LocalExecutor::try_tick::hef3e4ab59be85343@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[8071]:0x8130d2
bevy_tasks::single_threaded_task_pool::TaskPool::scope::h3031b6c0c39c4170@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[3074]:0x5bc4ef
<bevy_ecs::schedule::executor_parallel::ParallelExecutor as bevy_ecs::schedule::executor::ParallelSystemExecutor>::run_systems::h453a7507f0c59c98@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[725]:0x2aaf0b
<bevy_ecs::schedule::stage::SystemStage as bevy_ecs::schedule::stage::Stage>::run::h3645ac3dad6b9e9a@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[388]:0xeff67
<bevy_render::RenderPlugin as bevy_app::plugin::Plugin>::build::{{closure}}::h0d9a7208edd52dab@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[5367]:0x70a791
bevy_app::app::App::update::h65d6085972dc7376@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[8463]:0x82fea7
winit::platform_impl::platform::event_loop::EventLoop<T>::run::{{closure}}::h547f51ad042b84c4@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[408]:0x139833
winit::platform_impl::platform::event_loop::runner::Shared<T>::handle_event::ha6b57b40083fed68@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[2829]:0x58dc5f
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h2107af58f757fce3@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[2615]:0x561ab9
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h1e7983de114a9acb@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[16228]:0x95bab6
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h34c16ceebb3e049c@https://bevyengine.org/examples/3d/load-gltf/load_gltf_bg.wasm:wasm-function[18178]:0x974486
__wbg_adapter_38@https://bevyengine.org/examples/3d/load-gltf/load_gltf.js:223:10
real@https://bevyengine.org/examples/3d/load-gltf/load_gltf.js:200:20

Yup it's a known issue that will be fixed when a new version of Naga with https://github.com/gfx-rs/naga/pull/1616 is released.
May I ask how you found that link?

I was looking for examples of people doing UI in bevy so I searched for bevy UI examples on DuckDuckGo where it is the first result.

Oh Bevy has better SEO than I expected 😄 You should be aware that this page is for the next version of Bevy, not the currently released one.
The bug in itself will be fixed on next rebuilt of the website, in around 7 hours at the latest 👍


Fix harmless warnings emitted by apt-utils in squidb-processor

Update squidb-processor to use java 1.7 and the latest version of apt-utils, which removes several unecessary warnings

💎 s are forever.
LGTM


Skip polygamma float16 test

We skip the polygamma float16 test due to a CPU issue: https://github.com/pytorch/pytorch/issues/132386
This issue is caused by that the CPU result is not the same with CUDA/XPU. We believe that it should be fixed from the CPU side.

The CI failure is not because of this PR, thus could be merged:
024-11-08T13:14:30.6094569Z Traceback (most recent call last):
2024-11-08T13:14:30.6094901Z   File "<string>", line 1, in <module>
2024-11-08T13:14:30.6097688Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
2024-11-08T13:14:30.6098246Z     exitcode = _main(fd, parent_sentinel)
2024-11-08T13:14:30.6098731Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/multiprocessing/spawn.py", line 126, in _main
2024-11-08T13:14:30.6099255Z     self = reduction.pickle.load(from_parent)
2024-11-08T13:14:30.6106200Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/torch/utils/data/datapipes/datapipe.py", line 386, in __setstate__
2024-11-08T13:14:30.6107069Z     self._datapipe = dill.loads(value)
2024-11-08T13:14:30.6107662Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 301, in loads
2024-11-08T13:14:30.6108181Z     return load(file, ignore, **kwds)
2024-11-08T13:14:30.6108730Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 287, in load
2024-11-08T13:14:30.6109269Z     return Unpickler(file, ignore=ignore, **kwds).load()
2024-11-08T13:14:30.6109841Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 442, in load
2024-11-08T13:14:30.6110338Z     obj = StockUnpickler.load(self)
2024-11-08T13:14:30.6110908Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 432, in find_class
2024-11-08T13:14:30.6111441Z     return StockUnpickler.find_class(self, module, name)
2024-11-08T13:14:30.6112189Z   File "/home/sdp/actions-runner-1/_work/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_dataloader_xpu.py", line 32, in <module>
2024-11-08T13:14:30.6112802Z     from test_dataloader import (
2024-11-08T13:14:30.6113781Z ImportError: cannot import name 'TestDataLoaderDeviceType' from 'test_dataloader' (/home/sdp/actions-runner-1/_work/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_dataloader.py)
2024-11-08T13:14:30.7242166Z Traceback (most recent call last):
2024-11-08T13:14:30.7242638Z   File "<string>", line 1, in <module>
2024-11-08T13:14:30.7243179Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
2024-11-08T13:14:30.7243666Z     exitcode = _main(fd, parent_sentinel)
2024-11-08T13:14:30.7244137Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/multiprocessing/spawn.py", line 126, in _main
2024-11-08T13:14:30.7244620Z     self = reduction.pickle.load(from_parent)
2024-11-08T13:14:30.7245362Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/torch/utils/data/datapipes/datapipe.py", line 386, in __setstate__
2024-11-08T13:14:30.7245958Z     self._datapipe = dill.loads(value)
2024-11-08T13:14:30.7246499Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 301, in loads
2024-11-08T13:14:30.7246962Z     return load(file, ignore, **kwds)
2024-11-08T13:14:30.7247475Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 287, in load
2024-11-08T13:14:30.7248086Z     return Unpickler(file, ignore=ignore, **kwds).load()
2024-11-08T13:14:30.7248653Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 442, in load
2024-11-08T13:14:30.7249099Z     obj = StockUnpickler.load(self)
2024-11-08T13:14:30.7251032Z   File "/home/sdp/miniforge3/envs/xpu_op_1/lib/python3.10/site-packages/dill/_dill.py", line 432, in find_class
2024-11-08T13:14:30.7251565Z     return StockUnpickler.find_class(self, module, name)
2024-11-08T13:14:30.7252270Z   File "/home/sdp/actions-runner-1/_work/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/test_dataloader_xpu.py", line 32, in <module>
2024-11-08T13:14:30.7252850Z     from test_dataloader import (
2024-11-08T13:14:30.7253704Z ImportError: cannot import name 'TestDataLoaderDeviceType' from 'test_dataloader' (/home/sdp/actions-runner-1/_work/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_dataloader.py)


Chapter 5 Data preprocessing

Operating system: windows 10
tensorflow v2.2.0
tfx v0.22.0
Simply running the interactive_pipeline.ipynb jupyter notebook in the repo, the code fails at the data transform section when trying to run the preprocessing_fn in module.py and produces the following error:
RuntimeError: FileNotFoundError: [Errno 2] No such file or directory: 'C:\blmp\tfx\Transform\transform_graph\13\.temp_path\tftransform_tmp\beam-temp-vocab_compute_and_apply_vocabulary_vocabulary-47fb6d70f05611eab03c7ce9d3b592e5\007c4e2d-3739-412a-ae5a-808d1283096e.vocab_compute_and_apply_vocabulary_vocabulary' [while running 'Analyze/VocabularyOrderAndWrite[compute_and_apply_vocabulary/vocabulary]/WriteToFile/Write/WriteImpl/WriteBundles']
The file 007c4e2d-3739-412a-ae5a-808d1283096e.vocab_compute_and_apply_vocabulary_vocabulary doesn't get generated which is probably why it fails.

Hi @tommy2k0, I am unable to reproduce this error. If you try running the pipeline again, does the error persist? Occasionally the InteractiveContext becomes corrupted and you will need to delete the tfx folder and restart the pipeline (this behavior doesn't happen when using an orchestrator such as Beam, Airflow or Kubeflow Pipelines).
If you are still getting the error, it may be related to using Windows. I don't have access to a Windows machine to test, so please could you check that you can run this example locally: https://www.tensorflow.org/tfx/tutorials/tfx/components_keras

I get the same error as @tommy2k0 and this is may be related to using Windows because it work fine on Linux


feat(auth): do not allow profile to login if the user is not found

[ ] we can sign in but you can not login if the email is not found

We cannot connect if the account doesn't exist in the DB


Do not try to instantiate Unit when producing an error message

Currently we get an error on the lines of "Unit is an abstract class, cannot instantiate".

I remember we tried this in the live-coding session, but can you remind me of a test case which produces this error so I know when it's fixed?

scala> case class Foo(bar: Int, baz: Unit)
defined class Foo

scala> ShowDerivation.gen[Foo]
<console>:19: error: magnolia: could not find typeclass for type Int
    in parameter 'bar' of product type Foo

       ShowDerivation.gen[Foo]
                         ^

scala> implicit val showInt: Show[Int] = _.toString
showInt: Show[Int] = $$Lambda$3995/908974882@b5d6295

scala> ShowDerivation.gen[Foo]
<console>:20: error: class Unit is abstract; cannot be instantiated
       ShowDerivation.gen[Foo]
                         ^

I have made a PR that fixes this problem.
Lest it seem like an exercise in triggering random wats around usual edge cases: I do actually have a real use case for using Unit type fields in my data types! They are useful in statically tracking absence of some information, in contexts where you are abstracting over the nature of presence. The following code example may make this clear:
scala> :paste
// Entering paste mode (ctrl-D to finish)

trait Presence { type Apply[A] }
trait Yes extends Presence { type Apply[A] = A }
trait Perhaps extends Presence { type Apply[A] = Option[A] }
trait No extends Presence { type Apply[A] = Unit }

// Exiting paste mode, now interpreting.

defined trait Presence
defined trait Yes
defined trait Perhaps
defined trait No

scala> case class Foo[IP <: Presence](i: IP#Apply[Int], s: String)
defined class Foo

scala> implicit val showInt: Show[Int] = _.toString
showInt: Show[Int] = $$Lambda$6200/1223790512@47107c70

scala> implicit val showString: Show[String] = identity
showString: Show[String] = $$Lambda$6201/297525142@24d74286

scala> ShowDerivation.gen[Foo[Yes]]
res0: ShowDerivation.Typeclass[Foo[Yes]] = ShowDerivation$$anon$1@6c664af5

scala> ShowDerivation.gen[Foo[No]]
<console>:22: error: magnolia: could not find typeclass for type No#Apply[Int]
    in parameter 'i' of product type Foo[No]

       ShowDerivation.gen[Foo[No]]
                         ^


Translate Chinese to follow the English's changes

LGTM

Missing the other commit

Trusted LGTM

I will send a PR to sync English version to this one after this LGTM

Nice LGTM.

Waiting merge zh-cn translations. I will start translate zh-cn to zh-tw. Thanks.

Drone?

LGTM work?


GetData not updating object after crop.cropper event fires twice.

Hi, as the title says when the crop.cropper fires it gives me the correct object for example this:
{
    "x": 0,
    "y": 0,
    "width": 500,
    "height": 485,
    "rotate": 0,
    "scaleX": 1,
    "scaleY": 1
}

But when I change the image (using the method replace and I also use it in the first step) the result object is:
{
    "x": 0,
    "y": 0,
    "width": 0,
    "height": 0,
    "rotate": 0,
    "scaleX": 1,
    "scaleY": 1
}

Also instead of using the parameter from the method, I have invoked the method in the callback phase $( "#image1").cropper("getData");  but it gives me the same result. But if I invoke the previous method in the console, it works!
So I think every time the image changes it should give the object filled and not empty. (Ignoring scaleX and scaleY).
Thank you!.

If you call the replace method, it will rebuild the cropper, so you should call the other methods after built.

Yes I did it, but the crop.cropper event execute twice as well. I just used a setTimeout in order to get the data from the cropper and it works. But it should give me the object data without using replace or setTimeout or other methods.


irmin-pack: unify LRUs and add max memory config

At a high-level, this PR:

Unifies the previous 3 LRUs in irmin-pack into one
Adds a configuration option to bound the LRU by memory used instead of entry count
Maintains previous cap of "large" contents objects for both entry-based cap and memory-based cap

When deciding how to count the memory usage of objects in the LRU, two paths were evaluated: using Obj.reachable_words or using repr's size function. The former was too slow in replay benchmarks, so that latter is used. The size is used as-is for commits and contents, and a correction factor, based on benchmark observations, is applied to inode sizes.
The definition of "large" for contents objects is 20kB. This seems like a reasonable value based on previous analysis of object size which indicated that less than 0.1% of contents objects are larger than 512B. Note: the previous weight based limit would allow any object < ~500kB into the LRU (based on Octez's default configuration of 5000 entry cap), but lowering the cap allows more objects into the cache.
Conclusions based on benchmarks (to be pushed to the benchmarks repo once I finish tidying the analysis and running a final bench):

Entry-based cap still slightly out-performs the memory-cap. My assumption is that it is the overhead of memory usage calculation for inodes.
Both entry-based and memory-based can out perform 3.7.1 with only slightly more memory used.
Past a certain size increase, the LRU starts hurting performance of the benchmark. More could be investigated here in the future. I did not use cachecache's LRU for this, but with some modifications to its code, it may provide better scaling. I ran its benchmarks against the modified irmin LRU in this PR, and it does seem to scale better.

The final benchmark I want to run is an 80mb, but here is some high-level analysis.
Snippet of benchmark stats:
 |                          |   3.7.1   |   entry-15k    |   entry-30k    |   40mb-optim   |   80mb-optim
 | --                       | --        | --             | --             | --             | --
 | -- main metrics --       |           |                |                |                |
 | CPU time elapsed         |   104m07s |    99m13s  95% |    97m38s  94% |   100m07s  96% |    98m20s  94%
 | Wall time elapsed        |   104m28s |    99m33s  95% |    97m56s  94% |   100m25s  96% |    98m38s  94%
 | TZ-transactions per sec  |   736.349 |   772.810 105% |   785.217 107% |   765.767 104% |   779.649 106%
 | TZ-operations per sec    |  4809.664 |  5047.817 105% |  5128.860 107% |  5001.817 104% |  5092.489 106%
 | Context.add per sec      | 14121.692 | 14820.934 105% | 15058.886 107% | 14685.872 104% | 14952.096 106%
 | tail latency (1)         |   0.224 s |   0.222 s  99% |   0.244 s 109% |   0.245 s 109% |   0.240 s 107%
 |                          |           |                |                |                |
 | -- resource usage --     |           |                |                |                |
 | disk IO (total)          |           |                |                |                |
 |   IOPS (op/sec)          |   180_572 |   142_980  79% |   119_928  66% |   145_343  80% |   122_530  68%
 |   throughput (bytes/sec) |  18.060 M |  16.541 M  92% |  15.280 M  85% |  16.609 M  92% |  15.378 M  85%
 |   total (bytes)          | 112.826 G |  98.463 G  87% |  89.517 G  79% |  99.772 G  88% |  90.737 G  80%
 | disk IO (read)           |           |                |                |                |
 |   IOPS (op/sec)          |   180_475 |   142_878  79% |   119_825  66% |   145_242  80% |   122_427  68%
 |   throughput (bytes/sec) |  10.639 M |   8.753 M  82% |   7.367 M  69% |   8.891 M  84% |   7.521 M  71%
 |   total (bytes)          |  66.466 G |  52.103 G  78% |  43.157 G  65% |  53.412 G  80% |  44.376 G  67%
 | disk IO (write)          |           |                |                |                |
 |   IOPS (op/sec)          |        97 |       102 105% |       103 107% |       101 104% |       103 106%
 |   throughput (bytes/sec) |   7.421 M |   7.788 M 105% |   7.913 M 107% |   7.717 M 104% |   7.857 M 106%
 |   total (bytes)          |  46.360 G |  46.360 G 100% |  46.360 G 100% |  46.360 G 100% |  46.360 G 100%
 |                          |           |                |                |                |
 | max memory usage (bytes) |   0.394 G |   0.401 G 102% |   0.428 G 108% |   0.416 G 106% |   0.469 G 119%
 | mean CPU usage           |      100% |      100%      |      100%      |      100%      |      100%

Here is memory usage comparisons. You can see:

entry-100k and 500mb regress in performance (not shown is entry-60k but it also regresses in perf)
entry-30k has the best performance (but 80mb is almost the same in perf and memory)
entry-15k has almost equivalent memory usage as 3.7.1 but better performance

To expand a bit on my comments, did you consider keeping the hashtables separate (since they cause type issues), but sharing the Q.t list across the different LRUs? (so that they have the ability to make room from other hashtables when needed)
https://github.com/mirage/irmin/blob/3222d26a3504bc6518dbc34a067be846aeeb36b7/src/irmin/lru.ml#L78-L84
The type q: (key * 'a) Q.t is an issue, but I believe it could be replaced by q: (unit -> unit) Q.t instead (a closure to free an element from whichever hashtable it was in and subtracting the removed weight from the total used space...)
(Note that this is just a thought that popped into my head! I don't think there's a strong incentive to do things differently as the current solution works nicely :) )

Ah, thanks for sharing your extra thoughts! I didn't think about changing the core LRU implementation too much since I wanted to keep options of switching it in the future (maybe a modified cachecache or some lock-free version, for instance). If it looks too complicated to bring the extensible type into the LRU, I think we should push it out to a future time when we evaluate the actual LRU implementation.


/categories and /products is horrible for SEO

My personal opinion is that in the year 2019 is very bad to use that instead of some middleware that redirects to proper controller using /electronics or /iphone-6
Instead of /categories and /products.
I think none of the popular stores (Magento, WooCommerce, Prestashop, etc) uses that url structure.
Do you plan to change it?

We can surely make a provision for customization and u too can change that by creating new package that loads your own routes and suppress the exisiting routes in Bagisto. By creating new packages you can create new routes, new views and obviously your own controllers and other things.

I know we can customize it, but to have those urls is proper from an online shop of 2003.

I don't want to be rude, I just think if you plan to do a new e-commerce system, when we already have some leaders in the market, and you promote SEO features in your homepage, you should not commit those mistakes.
It is impossible to rank when your products have /products/ before

I don't want to be rude, I just think if you plan to do a new e-commerce system, when we already have some leaders in the market, and you promote SEO features in your homepage, you should not commit those mistakes.
It is impossible to rank when your products have /products/ before

Quite right as i told we will move this issue to help wanted and let some search engine optimisation view to flow in.


Double-Clicking on PassiveButtons

Some PassiveButtons, including those in the GameSettingMenu, register both OnMouseDown and OnMouseUp as a click. This appears to be happening to Windows 10/11 users on Among Us 2023.3.28s, CrowdedMod 2.9.0-rc1, and Reactor 2.1.0. The bug does not exist on CrowdedMod 2.8.0.
(No, my mouse is not broken 😄)

I was able to reproduce the bug and confirm that your PR fixes it.
Your fix will be a part of CM-2.9.0-rc2. Due to our inability to host 15+ player lobbies, 2.9.0 will be released when anyone confirms that 15+ lobbies indeed work without any problems.
Thank you for your contribution! Closing and merging.