Is there any way to choose which node should be used

Trying to figure out how to add some node to cluster that would be visible just to users that set some secret, cookie.
Is there any neat existing solution? Something with sticky cookies? @jfclere @rhusar
So we can for example add node to prod and just QA can test it before all other users.

The cookie is filled by the server (node)  so you can't use it for that. Normally a different context is used, you can protect the context using Apache httpd limitation for example require a valid user.

Ok. Thank you for feedback.

@DragoMlakar As @jfclere says, we don't have a top level feature to do this, though I think we could and perhaps should have. Please open a feature request.
Using a separate context (or host perhaps?) seems to be the best way to do this.
@jfclere Should we provide an example how to setup that 'valid user' workaround, e.g. in docs or do we not want to promote it?
Another workaround that comes to mind is starting the node as disabled / with load="0" and then manually creating a user session that contains route to the disabled node? This way, normal new requests won't be routed to that node only the 'test ones'.

@rhusar Yes, the new node could be configured and launched with modcluster's auto-enable-contexts set to false so it is disabled and QA members can access and test it manually initially adding a ".route" value JSESSIONID cookie to their requests.  Otherwise, separate contexts or hosts with access control should be the way to go.

the  'valid user' is not mod_cluster but standard httpd configuration stuff see  https://httpd.apache.org/docs/2.4/howto/auth.html and just require a valid user for the context.

@rhusar Yes, the new node could be configured and launched with modcluster's auto-enable-contexts set to false so it is disabled and QA members can access and test it manually initially adding a ".route" value JSESSIONID cookie to their requests. Otherwise, separate contexts or hosts with access control should be the way to go.

We can try with this auto-enable-contexts false but not sure how to set proper JSESSIONID value. Can you give some example?

This would just be adding a JSESSIONID cookie on the client with a value like ".instanceidfornewnode" to be sent in the requests to httpd.  ".instanceidfornewnode" would be the instance-id value used by the new node you want the request stickied to (which would be the name for the balancer member shown in the /mod_cluster_manager page).

@rhusar  Is this somehow releated to this https://issues.redhat.com/browse/MODCLUSTER-780 ?
It would be nice to have it with this additional cookie.

@rhusar Is this somehow releated to this https://issues.redhat.com/browse/MODCLUSTER-780 ? It would be nice to have it with this additional cookie.

Yes, it is somewhat related - so basically if we supported affinity stored in a separate cookie you could just edit a single cookie with the new route, rather than editing the JSESSIONID value.

@rhusar  Any progress on this? It would be nice to have this feature for different production scenarios.


<EMAIL_ADDRESS>

Customer<EMAIL_ADDRESS>

@callahad @thresheek
Can we block this user?


Updated quick_start notebook

@dominiquesydow
I adapted a few small details, please check especially

the addition on the erlotinib example
the final code to look at the structures in the most common analysis

Hi @AndreaVolkamer,
Thanks a lot for your detailed notebook/code review!
I reviewed your PR and added most of you requests (see commit messages).
FYI: "Review and update AV's changes/comments" refers to formatting your text/docstring/code changes in-line with previous formatting.
Two of your comments and some other points I would like to address in a new PR, since it allows us to use ReviewNB then (this is not possible for PRs that were created while the repo was private - at least I think this is how it will work).
These are the TODOs for the new PR (will be copied to new PR's description text):
util.py

[] Rename util.py to utils.py
[] AV's comment: Drawing molecules functions: Allow for saving as png/svg or not saving to file at all
[] Remove draw_selected_fragments, since this can be covered by draw_fragments by passing a DataFrame that only contains the fragments that shall be drawn

cluster_most_common_fragments.ipynb

[] AV's comment: Add cluster statistics (cluster ID vs. size plot)
[] Move functions to utils.py (bring in line with function style used in utils.py)

fragment_analysis.ipynb

[] Save SMILES for fragment library to file (with and without dummy atoms)
[] Add original ligand data to repo

combinatorial_analysis.ipynb (up for discussion)

[] Add data for reduced fragment library to repo (SMILES and SDF)
[] Get original ligands that are represented by the reduced fragment library (in part or fully represented)

Let me know if I can merge this PR and precede as described above.

@AndreaVolkamer  - could you please rename the PR to e.g. "Review notebooks" so that it is clear from the PR's title that it covers all notebooks, not only the quick start?


Docker Synology

this is no bug but a help request.
i  ran the composer on my docker hosted on synology via portainer.
3 dockers are created succesfully and are up and running
but somehow i cant connect to the page am i missing something ? or do i need to do something after the dockers are created ?

Ran into the same issue. Seems like the app cant reach db at port 5432. Meanwhile db seems to be running correctly on port 5432 and listening to connections.
2023-01-17 23:07:05.801 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2023-01-17 23:07:05.801 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-01-17 23:07:05.851 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-01-17 23:07:05.927 UTC [25] LOG:  database system was shut down at 2023-01-17 23:06:41 UTC
2023-01-17 23:07:05.954 UTC [1] LOG:  database system is ready to accept connections

I am also using docker on Synology. The default network created by docker on Nas cannot resolve service names. Can you create a bridge network and use that?

Can you try this guide?
https://drfrankenstein.co.uk/step-3-setting-up-a-docker-bridge-network/

Can you share your exact docker-compose.yml file?

sure and thnx for the fast replies !
`version: '3'
volumes:
db:
redis:
services:
app:
container_name: kaizoku
image: ghcr.io/oae/kaizoku:latest
environment:
- DATABASE_URL=postgresql://kaizoku:kaizoku@db:5432/kaizoku
- KAIZOKU_PORT=3000
- REDIS_HOST=redis
- REDIS_PORT=6379
- UID=1038
- GID=65547
- TZ=Europe/Amsterdam
volumes:
- /volume1/docker/kaizoku/data:/data:rw
- /volume1/docker/kaizoku/config:/config:rw
- /volume1/docker/kaizoku/logs:/logs:rw
depends_on:
db:
condition: service_healthy
ports:
- '3000:3000'
redis:
image: redis:7-alpine
volumes:
- redis:/data
db:
image: postgres:alpine
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U kaizoku']
interval: 5s
timeout: 5s
retries: 5
environment:
- POSTGRES_USER=kaizoku
- POSTGRES_DB=kaizoku
- POSTGRES_PASSWORD=kaizoku
volumes:
- db:/var/lib/postgresql/data
`

Oke another update I noticed in the composer that there are a DB and a REDIS volume declared so I made these folders and added the locations to the composer.
Only thing that gives errors now in the logs is kaizoku docker
_          Please make sure your database server is running at db:5432.
Can't reach database server at db:5432
[00:01:58.850] ERROR (5542):
err: {
"message": "\nInvalid prisma.manga.findMany() invocation:\n\n\nCan't reach database server at db:5432\n\nPlease make sure your database server is running at db:5432.",
"type": "PrismaClientInitializationError",
Error:
"stack":
"clientVersion": "4.6.1"
Invalid prisma.manga.findMany() invocation:
at RequestHandler.handleRequestError (/app/node_modules/.pnpm/@prisma+client@4.6.1_prisma@4.6.1/node_modules/@prisma/client/runtime/index.js:34316:13)
at RequestHandler.request (/app/node_modules/.pnpm/@prisma+client@4.6.1_prisma@4.6.1/node_modules/@prisma/client/runtime/index.js:34293:12)
at async PrismaClient._request (/app/node_modules/.pnpm/@prisma+client@4.6.1_prisma@4.6.1/node_modules/@prisma/client/runtime/index.js:35273:16)
[00:02:34.588] ERROR (5881):
Please make sure your database server is running at db:5432.
Can't reach database server at db:5432
Invalid prisma.manga.findMany() invocation:
[00:02:46.191] ERROR (5994): _

I tried it but I cannot reproduce this.

Damn that's unfortunate :(. Fixed another docker which couldn't communicate with my other container which was due to I had multiple gateways enabled on my nas. But it did t fix this issue I'll try it again from scratch after I brought the kids to bed.

Well I think fixing my gateway shizzle on the nas and redeploying the stack solved my problem :).
Thnx for the support. So I guess if anyone else has this issue on a synology nas they have to check if they have this setting set to enable cause that might brake some stuff....


Add support for minimum and maximum values for Tweak variables

Add support for minimum and maximum values for Tweak variables. In the Mixpanel A/B testing builder this restricts numerical Tweak values to be within a specified range:

The syntax of a Tweak with min and max looks like:
Tweak<Integer> testInt = MixpanelAPI.intTweak("Test Int", 2, 0, 10);
This PR brings the Android library up to parity with iOS which allows for minimum and maximum values on Tweak variables.

@ryanseams Thanks for the PR! Setting minimum and maximum values for Tweaks could be very useful and informative. I can see that we are now sending its minimum and maximum value as part of the json payload. However, we should also use those numbers to restrict a new updated tweak value probably here https://github.com/mixpanel/mixpanel-android/pull/441/files#diff-12156f10a71140dc852b0573774a2484R133

Thanks @ryanseams ! added some tests (https://github.com/mixpanel/mixpanel-android/commit/4cf892abbd2788f3574a80516c8f57be917779ff) and it works great :)


Hey , i need your help on an issue away from this project but similar , so if you can help me ?

No description provided and irrelevant to this project.


Discussion on node-addon-api test suite

node-addon-api composites multiple C interface N-API to a C++ API and it is maintained officially by Node.js working groups, if test suite covers node-addon-api shall be maintained a copy in napi-test-suite?

@lengendecas.  I'm not sure that is needed.  node-addon-api only depends on the C N-API functions exported by Node.js (or another N-API implementation).
So, for other N-API implementations they should be able to just build/run the node-addon-test suite as is.  If tweaks/changes are needed to allow them to run the tests then that is probably best handled through changes in the node-addon-api repo.
One of the key differences is that we don't expect different implementations of node-addon-api, it should be able to be used by all implementations that support all of the exported N-API functions.

The issue we've encountered is that node-addon-api used some es6 features(symbols, here) in a crucial code path that not supported in ShadowNode yet, which depends on aJS engine still on a very early ECMA stage.
So the naïve idea is n-api test suite could generates a report if node-addon-api are supported on the N-API implementations, or some parts of node-addon-api are supported.


fix LibraryIdentifier paths when initialization starts from an inline script in a subfolder

lgtm

For the root library it seems to be the folder, and for inline scripts in
html imports its the .html file name
On Mon, Mar 30, 2015 at 9:41 AM sigmundch<EMAIL_ADDRESS>wrote:

lgtm
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/initialize/pull/33#issuecomment-87744976.


[Feature] Add support for repository scanning

Kubescape supports scanning entire repositories - https://hub.armosec.io/docs/repository-scanning
The GitHub action should support an option for scanning the entire repository.

The feature should be through a mandatory input - scanRepository, which should accept yes or no.
If the input is set to yes, the value for the accountGUID needs to be provided as an input. The input accountGUID should be an optional input and validated only if the input scanRepository is set to yes.
If the input scanRepository is not set to yes, the current functionality of the action should be performed. If not, the repository scan should be performed and the results should be sent to the SaaS platform.
The updates should be documented in the README with examples.

Reach out in the Kubescape Discord Server in the github-action-development channel or leave a comment on this issue for details/help/interest.

Hey @avinashupadhya99 , Can I work on this issue?

Sure, go ahead.

I want to work on this issue.

The goal here is to scan the repository in which the action is called, or do we have to take a repository link as input?

As mentioned in the discord channel, what we want is to set up the github action in a repo and make it fulfill the two goals as specified.
We only want to scan the repo in which action is specified, there's no reason to scan another repository.

PR #9


Tree width zero or not expanded after data is added

Hi,
thank you very much for your work on the great component.
I add data to the gantt chart via an async call. But sadly the tree component is not expanded. If I use hardcoded sample data everything is fine.
Do you have any hints? Thank you very much.

What do you mean by not expanded ? node are all collapsed, or width is too small and truncates the tree ?

I have reproduced the issue in the demo app.
Here's the actual workaround.
// Reload data action
$scope.load = function() {
    // Using $timeout to emulate loading from REST API
    $timeout(function() {
        $scope.data = Sample.getSampleData();

        // We have to call api.side.setWidth(undefined).
        // Wrapping in a $timeout call is required for this to be invoked
        // after view has been refreshed with data.
        $timeout(function() {$scope.api.side.setWidth(undefined);});
    }, 250);
};

Updated the docs in side API section.


erg: 0.6.43 -> 0.6.44

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/erg-lang/erg/releases.
meta.description for erg is: Statically typed language that can deeply improve the Python ecosystem
meta.homepage for erg is: https://github.com/erg-lang/erg
meta.changelog for erg is: https://github.com/erg-lang/erg/releases/tag/v0.6.44
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.44 with grep in /nix/store/1mx7xx7fks9d8x721mi1hr3f2iip376c-erg-0.6.44
found 0.6.44 in filename of file in /nix/store/1mx7xx7fks9d8x721mi1hr3f2iip376c-erg-0.6.44

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

erg

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1mx7xx7fks9d8x721mi1hr3f2iip376c-erg-0.6.44 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A erg https://github.com/r-ryantm/nixpkgs/archive/40c6ef6bc3cb034c53f83b216a00cb4f3e10c74c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/40c6ef6bc3cb034c53f83b216a00cb4f3e10c74c#erg

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1mx7xx7fks9d8x721mi1hr3f2iip376c-erg-0.6.44
ls -la /nix/store/1mx7xx7fks9d8x721mi1hr3f2iip376c-erg-0.6.44/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

erg

Maintainer pings
cc @figsoda for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 343022 run on aarch64-darwin 1

1 package built:

erg


MAINT: Ortholog types updates to pair with q2-types PR#338

Hey @misialq!
Me again 🤪 looks like the changes from https://github.com/qiime2/q2-types/pull/338 also require some updates in here as well. Sorry I keep making false assumptions lol but I think when this is fixed we'll hopefully have a passing metagenome build 😅 otherwise I'll just keep chipping away at things, and we'll at least have a passing build before the next release!

You probably already know about this @misialq, but just in case - I looked into the test failure above and here's what I found:

Looks like this test is failing b/c shortuuid wasn't imported from q2-assembly, even though that's a dep that's present in it's recipe file... I suspect this might be because the plugin deps are installed via pip (instead of through conda).

Hey @lizgehret, thanks for the PR! I was just about to open one 😅 Let's merge this first and then I can rebase my branch - I have more changes coming (some stuff needed for future features).
As to the shortuuid: I'm a bit confused myself as q2-assembly should be installed through conda (and with it shortuuid) but if the latest built conda package does not include that PR, maybe that's why this is failing? In any case, we should see after your prep passes :)
Can I merge this one or should I wait for some other PR-in-progress on your side first?

Thanks @misialq! Ah interesting re: q2-assembly - yeah let's see what happens after the next metagenome build. You're good to merge this PR whenever! Sorry for making any subsequent PRs you're working on more difficult 🫢


Target node_modules options?

Any way to run node_modules packages through this?

The contents of node_modules is excluded by default.
You can override the default configuration and stop node_modules from being excluded with:
mix.webpackConfig({
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /(bower_components)/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: Config.babel()
                    }
                ]
            }
        ]
    }
});


setImageAlpha() method added

handles issue #125

обработва номер # 125

@dev-ritik Thanks for your work on this and sorry for not getting back to you at all until today. I just merged support for setting an alpha value in 7ad4632 which is based on your general idea but implemented a little differently. Thanks again!


Product price needs to be entered twice for new products

Since <IP_ADDRESS> it is necessary to enter the price for a new product twice. The first time, the price will be cleared. This was not reproducible with already existing products, when changing their price.
Steps to reproduce:
Create a new product
Enter the price
Expected result:
Price will not be cleared,  when entering price for the first time
Actual result:
Price is cleared, when entering it the first time for a new product. It needs to be entered a second time to save it.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37568.
[created from NEXT-37568, comment 484550]


Introduce a "distributed" UnitOfWork for Orleans clients

As of now, we only support a single node unit of work scenario, meaning that the caller (ASP.NET Controller based) will have to be in the same process as the Grain it is calling.
One way to achieve a "distributed" version is to implement a Grain version of a UnitOfWork that is identified by its CorrelationId. It would implement the IUnitOfWork interface making it compatible for the AggregateRootContext to get an instance of it. Any calls to AppendEvent would then be potentially out of process. Committing the UnitOfWork would then be from this new grain and there would only be one instance of it and it should work as the in-process one.
It would most likely require some changes to how things are implemented in the ASP.NET Core client.

Will be fixed with #1405 in a better way


Antidrag

During gearswitch it sometimes occurs (from person to person) that your gear gets dragged around.
A setting that can be toggled on to prevent from dragging anything in your inventory unless you press a button is my suggestion. (shift, alt, idk..)
There is a setting callled "shift anti drag" that doesn't provide the same idea and might be confusing.

Duplicate #9974


Install local Airflow (with Docker) to start testing out the features

https://airflow.apache.org/docs/apache-airflow/stable/installation/index.html

Can you provide an update on this ticket?

Been in jury duty since Thursday, which is when I had planned to do this. So it is not done or started aside from figuring out where to download.

installed


Force correct URL format for custom URL on profile edit page

The attached screenshot contains characters that I should not be able to add. Users should only be able to enter alphanumeric characters and dashes
Strings should be validated via JS on the front end, as well as the Ruby back end.

What characters should be accepted?

@RandomlyKnighted This is very closely related to #128.

Hmm forgot about this issue.
Anyways, @skylenewman @davidhjones I think the best way to handle this issue as well as #128 and   #102 would be to add a polyfill for HTML5 so that attributes like required and pattern work with Safari and other browsers that don't support it. This way we don't have to add custom code to get around any attribute we may we want to use.
What do you think?

I don't have experience with Polyfill but that makes sense. If you go down this route, make sure to remove the custom code that we have on the events/_form.html to handle required tags on Safari. Also, we really should be adding code on the Ruby side too. I can help you with this, but I think it should be included in these issues.

Yeah that's fine. I need to look into Ring.js so I can get a better grasp on how server side validation would affect any work I'm doing on the front-end.

I don't think you'd have to leverage Ring.js. I think you could simply in the object creation (in the routing :create and :update function) add logic that verifies the inputs are what expect).

Well by that point you've already done a submit on the page and are in the process of being redirected are you not? I was thinking it'd be nice if we could verify on the back end and then update the front end to let the user know that something is invalid.

Oh I see what you're thinking. I'm thinking the UI validation should be done on the front-end, and for security reason we should validate on the backend. Technically, if we don't have UI front-end validation, someone could directly ping the endpoints. Therefore I was thinking we should be checking that the information we're receiving in a POST or UPDATE is actually valid data

Although, to your point with Ring.js, I do think that is a possible solution (doing all the validation in Ruby) if you want to go that route for UI interaction.

I ran across this jQuery polyfill for HTMl5 validation: https://github.com/ericelliott/h5Validate
I'll be using it to fix these issues.
Note: Looking at caniuse.com it looks like Safari will have full support for the required and pattern attributes with version 10.1. I did look through Apple's version history for Safari and they stay pretty consistent with releases. If they follow their previous patterns then 10.1 should be released within the next couple of months. If so then we can always revisit this issue later in the year and see if a polyfill is still needed.
On a similar note the only other HTML5 attribute I can think of that I commonly use is the placeholder attribute and it's supported by Safari just not IE. If I remember right that can be polyfilled using html5shiv, but I'll look into that when we actually need it.


Where should I add helm charts?

We use kubernetes to run our solid servers, and I'd love to submit the helm charts we use for both NSS and CSS. Helm repositories are pretty easy to self-host out of a github repo, so I'd love to put them in a new project 'solid/charts' and serve them from there.
https://medium.com/@mattiaperi/create-a-public-helm-chart-repository-with-github-pages-49b180dbb417
I'm imagining a pretty small repo like https://github.com/vmware-tanzu/helm-charts to serve as the canonical solid chart repo. We could also package up charts with each individual repo (i.e. serve the CSS charts from this repo), but having a centralized place for all charts feels cleaner to me.

Hi @ianconsolata, that's a great idea indeed. I'd propose to get in touch with Solid administrators @justinwb and @jaxoncreed to figure out how we could best do that. I will move this to the process repository for that reason.


Run tests for the tutorial Jupyter notebook we provide

Background
The Jupyter tutorial notebook which is preloaded is currently not tested. Any change on exaslct / the used flavor can cause it to break.
We should create a automated test during the ci-test which leverages:
https://nbconvert.readthedocs.io/en/latest/execute_api.html
https://nbconvert.readthedocs.io/en/latest/usage.html#convert-script
to execute the test on the started EC2 instance.
Acceptance Criteria
During the ci-test, connect to the test EC2 instance and run the jupyter file using nbconvert. If it fails. the ci-test should fail.

Obsolete


Add MIT License

To resolve https://github.com/timmfin/broccoli-webpack-cached/issues/2

Is MIT okay with you? Would love to get this in today so I can unblock one of our teams.

I'm on vacation, so I might not get a chance to publish. But I can merge (and tweak the copyright).


Make Bootstrap notify to be working

What part am I missing in order to make bootstrap notify to be working?
I just can't find the error.
jsbin.com/tagohopofo/edit?html,js,output
Thank you!

Wrong library.
https://cdnjs.com/libraries/mouse0270-bootstrap-notify
that's the one you're looking for. hope that helps.

Thank you for your help!


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2781

Questions ?
Please refer to the Backport tool documentation


Nan loss for classification - LSTM while training

This is my code
data_train = pd.read_csv(trainingdata_fn)
x_train = np.array(data_train.iloc[:2020,1:465])
y_train = np.array(data_train.iloc[:2020,-1:])
x_test = np.array(data_train.iloc[2020:2520,1:465])
y_test = np.array(data_train.iloc[2020:2520,-1:])
x_train = x_train.reshape(-1,10,464)
x_test = x_test.reshape(-1,10,464)
y_train = y_train.reshape(-1,10,1)
y_test = y_test.reshape(-1,10,1)
model=Sequential()
model.add(LSTM(10,return_sequences=True,input_shape=(10,464)))
model.add(LSTM(10,return_sequences=True))
model.add(LSTM(10))
model.add(Dense(1))
model.compile(loss=tf.keras.losses.BinaryCrossentropy(),optimizer='adam',metrics=['accuracy'])
model.fit(x_train,y_train,validation_data=(x_test,y_test),epochs=50,batch_size=5,verbose=1)
Im getting Nan loss from epoch 1 through 50
Sample output
Epoch 1/50
41/41 [==============================] - 7s 51ms/step - loss: nan - accuracy: 0.6654 - val_loss: nan - val_accuracy: 0.5300
Epoch 2/50
41/41 [==============================] - 1s 18ms/step - loss: nan - accuracy: 0.6780 - val_loss: nan - val_accuracy: 0.5300
Epoch 3/50
41/41 [==============================] - 1s 18ms/step - loss: nan - accuracy: 0.6616 - val_loss: nan - val_accuracy: 0.5300
Epoch 4/50

Hey @prabhakaran2812
Due to the fact that I did not have the data you trained your model on I tried with random numbers but tried keeping the shape similar and targets were binary (0 or 1). I did not find any problem with the working.
Code
data_train = np.zeros(shape=(2520,466))
data_train[:, :465] = np.random.normal(size=(2520,465))
data_train[:, 465] = np.random.randint(low=0, high=2, size=(2520), dtype=int)

x_train = data_train[:2020,:464]
y_train = data_train[:2020,465]

x_test = data_train[2020:,:464]
y_test = data_train[2020:,465]

x_train = x_train.reshape(-1,10,464)
x_test = x_test.reshape(-1,10,464)
y_train = y_train.reshape(-1,10,1)
y_test = y_test.reshape(-1,10,1)

model=tf.keras.Sequential()
model.add(tf.keras.layers.LSTM(10,return_sequences=True,input_shape=(10,464)))
model.add(tf.keras.layers.LSTM(10,return_sequences=True))
model.add(tf.keras.layers.LSTM(10))
model.add(tf.keras.layers.Dense(1))
model.compile(loss=tf.keras.losses.BinaryCrossentropy(),optimizer='adam',metrics=['accuracy'])

model.fit(x_train,y_train,validation_data=(x_test,y_test),epochs=10,batch_size=5,verbose=1)

It would be a good first thing to start getting into the data and scaling them. I think the model might explode with the gradients. Another probable thing that you could do is to check the gradients of the architecture with tensorboard or with any other ML tracking tool. Hope this helps 😄

@ariG23498 - Thanks for the reply and your effort.
My data is already normalized (0 to 1 - all features). I tried decreasing learning rate but didn't help. Exploring the tensorboard debugging. Its not writing histogram in tensorboard may be that first epoch is throwing Nan. This  is the first time building LSTM. Im missing something fundamental. Any ideas / pointers will be helpful. I will keep exploring tensorboard.
Thanks Again Aritra!

When I reduced the feature count from 464 to 20, it started giving loss value. Don't understand this behavior.
Any idea @ariG23498
?

Could you send the input data over?
That would be really good to have to find the real problem here!

Here you go @ariG23498 . rename the file as from train.txt to train.csv
columns 1-464 are features, last column(binary) is label when i use the full 464 features, loss always nan but when i restrict to first 20 columns its giving some loss and predicting poorly. Let me know what you find. Thanks in advance.
train.txt

Hey @prabhakaran2812
Doing a quick EDA on the data
data_train.isnull().values.any() I found that the data itself has NaN. You need to clean the data first I reckon.
I think you should close this ticket, as this is not a keras error.

Is there some NaN value in your origin input data?

Yes, but I cleared and tested again, with 400+ features its still giving Nan but i reduce to below 21 it is giving a loss value but the prediction is 0% accurate. My only question is why it is able to give a loss for up to 20 feature but NaN if I increase to 21 or above. I will anyway close the ticket in a day or two.
Thanks @ariG23498 and @Dragon-GCS


docs: fix typo in the sandbox.ex documentation

Signed-off-by: Girish Ramnani<EMAIL_ADDRESS>

Thank you @josevalim. A huge fan of your work 🙌


fix(iam): Merge multiple principals correctly

When adidng multiple principals, an array of principals was created, but
IAM documents expect an object with different keys, for which values may
be arrays. This corrects the merging process so it produces valid
statements.
This restores the fix for #924 that was introduced in #916 and reverted
in #958 due to an other feature part of the same commit.

There was exactly 1 line that wasn't covered (because it's not easy to reach). I'm adding a test to cover this one line... Woot woot.


packages_autoroller step is failing with GitHub auth error

Framework tree is red on the packages_autoroller step.
An example failure is here:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux packages_autoroller/6534/overview
Executing "gh auth login --hostname github.com --git-protocol https --with-token" in null
Unhandled exception:
Exception: GitException: Exception on command "auth login --hostname github.com --git-protocol https --with-token": error validating token: HTTP 401: Bad credentials (https://api.github.com//)
Try authenticating with:  gh auth login

#0      PackageAutoroller.roll (package:conductor_core/src/packages_autoroller.dart:101:7)
<asynchronous suspension>
#1      run (file:///b/s/w/ir/x/w/flutter/dev/conductor/core/bin/packages_autoroller.dart:88:3)
<asynchronous suspension>

It appears GitHub is rejecting our credentials.

token looks like it was updated in July.

Lowering the priority as this is no longer blocking the tree

@christopherfujino anything still needs to be done with this?


PopupMenuItem Unknown Right padding

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Use a PopupMenuItem and padding parameter set EdgeInsets.zero
Expected results
PopupMenuItem show without Padding

Actual results
PopupMenuItem with Unknown Right Padding
https://github.com/flutter/flutter/assets/48482259/d15d5f66-da92-44ee-8035-552ad2edbabb
Code sample
Code sample

import 'package:flutter/material.dart';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: darkBlue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
          backgroundColor: const Color(0xFFFFFFFF),
          body: SizedBox(
            width: 120,
            child: PopupMenuButton(
                elevation: 0,
                color: Colors.transparent,
                padding: EdgeInsets.zero,
                onSelected: (value) {},
                itemBuilder: (context) => [
                      PopupMenuItem(
                          padding: EdgeInsets.zero,
                          value: 'write_work',
                          child: Container(
                            color: const Color(0xFF6C6051),
                            child: const Text('add\nwork',
                                style: TextStyle(color: Color(0xFF000000))),
                          )),
                    ],
                icon:
                    const Icon(Icons.edit, size: 28, color: Color(0xFF000000))),
          )),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4 22F66 darwin-arm64, locale ko-KR)
    • Flutter version 3.13.4 on channel stable at /Users/
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (9 weeks ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/
    • Platform android-33, build-tools 33.0.2
    • ANDROID_SDK_ROOT = /Users/
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.84.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • 8CE0EB23-A5A1-4DD1-BBCC-849C7D40A673 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4
      (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for filing this @LIMMIHEE.
Can you help with more information on the expected behaviour here?
I can reproduce the actual behaviour as described here on the latest versions of flutter

Thanks for your response!
Please can you help with a screen record of the actual behaviour vs. Expected behaviour?

I'm checking with dart Pad, but it's not working as shown in the Without Padding video. Could you please provide the code?
The screen recording you requested is as follows.

actual behaviour

With EdgeInsets.zero
https://github.com/flutter/flutter/assets/48482259/eb5c375c-a32a-41ba-bc20-1b4d2992d42b

Without Padding
Even if you Without padding of PopupMenuButton, it is the same screen.
https://github.com/flutter/flutter/assets/48482259/755c61cc-2765-41dd-b1cf-c34308ec1f48

Expected behaviour
I applied the constraints property of PopupMenuButton to create the screen I expected and recorded it.
https://github.com/flutter/flutter/assets/48482259/fac57d57-2556-49c3-841f-f7c7c38af671

Thanks for your detailed response. I see the issue you are referring to is when the PopupMenuItem is tappedDown, I can reproduce this on the latest master and stable channels as well even when SizedBox widget is removed.
stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.9 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (3 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)        • emulator-5554
      • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)         • 00008110-001964480AE1801E
      • ios            • iOS 17.0.2 21A351
    • iPad Air (5th generation) (mobile) • B3716F7D-587E-4473-9F87-F1BA94E31B29
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                    • macos
      • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                       • chrome
      • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.17.0-9.0.pre.22, on macOS 14.0 23A344 darwin-arm64, locale en-NG)
    • Flutter version 3.17.0-9.0.pre.22 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a930fd8e4a (50 minutes ago), 2023-11-15 00:03:08 -0500
    • Engine revision a7f2267dd1
    • Dart version 3.3.0 (build 3.3.0-133.0.dev)
    • DevTools version 2.30.0-dev.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)        • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)         • 00008110-001964480AE1801E            • ios            • iOS 17.0.2 21A351
    • iPad Air (5th generation) (mobile) • B3716F7D-587E-4473-9F87-F1BA94E31B29 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                    • macos                                • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                       • chrome                               • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hi @LIMMIHEE
The "Right padding" you see is the minimum popup menu item width.  If the child width is smaller than the minimum item width then the item will have a minimum.
https://github.com/flutter/flutter/blob/e9de4484209472079d3db1cc0dfd1fcf54570b65/packages/flutter/lib/src/material/popup_menu.dart#L37-L40

I applied the constraints property of PopupMenuButton to create the screen I expected and recorded it.

This is exactly it is designed for.
From https://api.flutter.dev/flutter/material/PopupMenuButton/constraints.html docs:

The default constraints ensure that the menu width matches maximum width recommended by the Material Design guidelines. Specifying this parameter enables creation of menu wider than the default maximum width.

You can use constraints property  for your purpose. When you use it you're overriding the minimum width,
https://github.com/flutter/flutter/blob/e9de4484209472079d3db1cc0dfd1fcf54570b65/packages/flutter/lib/src/material/popup_menu.dart#L623-L627
Closing


[2.15][Security analytics] Updated detector tests

Description
Updated detector tests
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Passing tests for detector spec


Updating for Foundation for Emails 2

Regarding the recent announcement that a private release of Ink Foundation for Emails 2 will be starting soon, I was wondering if you planned to update your Bundle.  If yes, I'd love to help.  If you're not interested or don't have the time to devote to it next year, I'll plan take a pass at it myself.
I've taken a look at the Foundation for Emails 2 Template Samples which utilizes gulp to build emails from mustache templates using Panini, Zurb's recently released static site generator.  The compiled templates produce markup in a custom language called "Inky" which gets transformed into email-ready HTML by the Inky Gulp Plugin using the Inky Parser.
I see no reason to utilize Panini. It's basically just a mustache engine with a few helpers that would be trivial to implement in Twig (if they aren't already built-in).  The Sass compilation is covered by Assetic and inlining is already handled by CssToInlineStyles.
The missing piece is Inky.  It's currently written in 555 lines of Javascript but there's probably a newer version coming in the private release.  My initial thought is that porting it to PHP makes the most sense for integration into Symfony.
Thanks for making this by the way.  You've saved me countless hours.  Cheers!

Hi,
thank you for making me aware of this. I have created a new branch feature/foundation-for-emails-2 for the development and would appreciate your help ;).

Is it in beta?

As far as I know Version 2 is still in private beta and I have no invite, yet.

It's now released :)

HI,
a new bundle version (<IP_ADDRESS>) is now released, with "Foundation for Emails 2" (2.1) Support.

@thampe This looks awesome!


Added critical point calculator

Fixes Issue🛠

Closes #1610
Description👨💻
Added the critical point calculator with following features ,
Creating a critical point calculator for ideal gases involves calculating the critical temperature, critical pressure, and critical volume based on the Van der Waals equation of state.
The critical point of an ideal gas is a set of specific thermodynamic conditions where the distinction between the gas and liquid phases disappears. At this point:
Critical Temperature (Tc): This is the highest temperature at which the gas can be liquefied by applying pressure. Above this temperature, no amount of pressure can cause condensation into a liquid phase.
Critical Pressure (Pc): The critical pressure is the pressure required to liquefy the gas at its critical temperature. Below this pressure, the gas cannot be liquefied by any means.
Critical Volume (Vc): This is the molar volume of the gas at the critical point, where the densities of the gas and liquid phases become equal.
Type of Change📄

[X] New feature (non-breaking change which adds functionality)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project
[X] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

https://github.com/user-attachments/assets/fe0c018d-285b-4c9a-b65f-e1ad18dcec43

@Rakesh9100 Please review my PR and merge it

@Maana-Ajmera  Add your calc in main index.html file of the project in alphabetical order.

Also please add appropriate conditions for 0 values.

@Nihal4777 and @Rakesh9100 done the required things

@Rakesh9100 This PR is reviewed  & can be merged.


getView method never to return with null value

From<EMAIL_ADDRESS>on April 16, 2013 04:21:30
getView(int id, int index) is unsuitable if you want to use the method to validate a View element visibility on the screen, because in getView(int id, int index) if the requested View is invisible that the method will make an assertion and the test will be failed. What is the expected output? What do you see instead? getView method is applicable for validating element visibility What version of the product are you using? On what operating system? 4.1 Please provide any additional information below. https://github.com/jayway/robotium/blob/master/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java - line 1788
..so it would be great if getView(int id, int index) will be usable for visibility checking.
Original issue: http://code.google.com/p/robotium/issues/detail?id=436

From<EMAIL_ADDRESS>on April 16, 2013 05:14:29
In the next version waitForView(string id) will be available. In the mean time please use solo.getCurrentActivity().findViewById(string id) and check if you get null back.
Status: WontFix
Owner<EMAIL_ADDRESS>


Sass->css compilation of legacy css

Functionality included:

Server-side sass->css compilation, using values from NewUiTheme.
Basic caching has been implemented to ensure that compilation only happens on first visit to any new ui page, or there is a newer version of the source sass file,or the theme editor is changed
Client rendering of sass compiled css for legacy content

Only commit c15136f needs to be reviewed
Note: The majority of the contents of legacy.scss is placeholder (copied from the original legacy css file).  So there's not much point in reviewing that part yet. It will be updated in subsequent tickets.

The autotests are failing because some elements are hidden (because they don't have any styling).
Jsass isn't liking importing css files from inside jar files. Apparently you have to write your own custom importer to do that.
I'm just going to merge this into the feature branch as-is, and revisit the importing issue down the track, before the feature gets merged to develop


Remove typo in main.py file

There's a small typo in main.py file, line 5. Replace dot with close parenthesis.

Thank you!


MeshTab Istio View

Move IstioView that we see in the MeshTab to native

I would do it

Closing since parent epic #108 is closed


M1Max Vagrant box cannot mount shared folders

When I saw that Alma supports the arm64 parallel vagrant box, I was very happy, so I started to experience it.
Everything went smoothly, except for a problem with the shared directory:
➜  kube-demo2 vagrant up
Bringing machine 'default' up with 'parallels' provider...
==> default: Box 'almalinux/9.aarch64' could not be found. Attempting to find and install...
    default: Box Provider: parallels
    default: Box Version: >= 0
==> default: Loading metadata for box 'almalinux/9.aarch64'
    default: URL: https://vagrantcloud.com/almalinux/9.aarch64
==> default: Adding box 'almalinux/9.aarch64' (v9.2.20230717) for provider: parallels
    default: Downloading: https://vagrantcloud.com/almalinux/boxes/9.aarch64/versions/9.2.20230717/providers/parallels.box
==> default: Successfully added box 'almalinux/9.aarch64' (v9.2.20230717) for 'parallels'!
==> default: Registering VM image from the base box 'almalinux/9.aarch64'...
==> default: Creating new virtual machine as a linked clone of the box image...
==> default: Unregistering the box VM image...
==> default: Setting the default configuration for VM...
==> default: Checking if box 'almalinux/9.aarch64' version '9.2.20230717' is up to date...
==> default: Setting the name of the VM: kube-demo2_default_1691573550481_71634
==> default: Preparing network interfaces based on configuration...
    default: Adapter 0: shared
==> default: Clearing any previously set network interfaces...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: <IP_ADDRESS>:22
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for Parallels Tools installed on the VM...
==> default: Parallels Tools were not detected on this VM! They are required
==> default: for shared folders, time sync and more. If shared folders are not
==> default: working on this machine, please install Parallels Tools within the
==> default: virtual machine and reload your VM.
==> default: Mounting shared folders...
    default: /vagrant => /Users/venus/Vagrant/kube-demo2
Vagrant was unable to mount Parallels Desktop shared folders. This is usually
because the filesystem "prl_fs" is not available. This filesystem is
made available via the Parallels Tools and kernel module.
Please verify that these guest tools are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t prl_fs -o uid=1000,gid=1000,_netdev vagrant /vagrant

The error output from the command was:

mount: /vagrant: unknown filesystem type 'prl_fs'.

I am not sure if there is a problem inside the Vagrant box, so I am seeking help here. Can you help me?

Moved this from the wiki to the /cloud-images repo, for better visibility!

Moved this from the wiki to the /cloud-images repo, for better visibility!

I was planing to ask to create a new one in cloud-images and close the wiki one. Thanks for migrating!


Support using Gradle Build Cache with Yarn tasks

This pull request enables the ability for users of Yarn install and setup tasks to enable Gradle Build Cache support. This relies on relaxing incremental build checking to use only relative path checking so that task outputs creating on one machine (or workspace directory) can be reused somewhere else. Older versions of Gradle will behave the same and ignore @PathSensitive annotations.

This change is

Hi. Thanks for the pull. But I noticed the build's are failing. Possible to fix that?

Sorry about that. The issue is that converting to using the input annotations enforced validation checks that the inputs API does not perform. Specifically, ensuring that input files exist. My guess is that this is only breaking the tests but I expect someone out in the wild might have a similar configuration (not using yarn.lock).
I've relaxed the validations to emulate with the old behavior was, which is just ignoring that input if the file doesn't exist. I'd suggest doing something more robust in the future but this should at least keep existing plugin users working.

@mark-vieira I noticed this when updating the version of gradle-node-plugin - cool change. Just wondering, since this doesn't add @CacheableTask, does that mean it's expected for users to define their own yarn task to use build cache, e.g.
@CacheableTask
class CacheableYarnInstallTask extends YarnInstallTask {
}
project.tasks.create('cacheableYarn', CacheableYarnInstallTask.class);

Adding @CacheableTask would cause those tasks to get cached by default, which isn't necessarily what folks want. What you've put above is a perfectly fine solution. You can also do this in an ad-hoc manner.
yarn.outputs.cacheIf { true }

@mark-vieira Ah, didn't realize cacheIf works even for tasks without the annotation, learned a great trick!


Maximum callstack exceeded

There seems to be a problem with the truncate function in https://github.com/mixpanel/mixpanel-js/blob/master/dist/mixpanel.cjs.js#L421, where it gets stuck on an infinite loop. I found the issue via our runtime error logs, and it seems to happen only to samsung internet 16.0 browser. I was not able to reproduce the issue myself, but it might be worth looking into.
Here's a screenshot of the callstack:

I'm using npm package mixpanel-browser version 2.41.0.

Thanks for the report @sara-jegorova. Do you know whether you're passing any property values to track() that aren't simply serializable, for instance a native Error object as in https://github.com/mixpanel/mixpanel-js/issues/317? This infinite recursion issue happens when you pass an Object to track() that has a circular reference to itself somewhere, and you mention it only happens on one browser, hence the suspicion that you're tracking something as a prop that the browser has natively produced.

Hi @tdumitrescu , thanks for having a look. The only complex info I'm passing to track() is from reportWebVitals() in CRA which uses the web-vitals library, as it passes Metric: https://github.com/GoogleChrome/web-vitals/blob/main/src/types.ts#L39

Yes, generally you want to choose explicitly how to serialize values like that. This will also ensure that your tracking properties remain consistent across browsers.


feature:refactor and add outer join LAsscom.

Proposed changes
Issue Number: close #xxx
Problem summary
refactor and add outer join LAsscom.
Extract the common function to LAsscomHelper.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

do we need to consider filter?


Invalid uri error message from Python extension when opening a Native Notebook

Looks like its coming from the Notebook language component in Python extension

Opt your self into native notebooks
Open VS Code
Open a Notebook immediately

Closing as fixed.

Still having this issue with vscode version: 1.60.0

I had the same issue. Followed these instructions https://stackoverflow.com/questions/65673839/how-can-i-fix-a-jupyterlab-code-editor-out-of-sync-error-message and the problem apparently was solved by replacing all "\r\n" with "\n". Both versions code and code-insiders were having the same issue. I was calling them from WSL2 Ubuntu.


fix: az login error

Current  'az login' settings get the error.
This PR resolves the 'az login' error for workload Identity.
I have tested these changes in my AKS.
refer to https://github.com/Azure/azure-cli/issues/26858
closes #224

Hi @nowjean
Thankyou for this. Could you elaborate on this a bit more please?
The identity should still work and this change would break anyone using the native identity? Could we make this an option instead please?
If using federated identity use the method above, else use the normal identity login?
Cheers

Hi @joshuafernandes.
Thank for your review. By the way, this PR is address to az login error. We have fixed az login with workload Identity through this PR: https://github.com/Consensys/quorum-kubernetes/pull/203
Current helm chart uses workload Identity not add-pod-identity which is deprecated. (Please refer to this link: https://github.com/Azure/aad-pod-identity/issues/1349).
So, az login --identity --debug will be occur a login error. And az login --federated-token "$(cat $AZURE_FEDERATED_TOKEN_FILE)" --service-principal -u $AZURE_CLIENT_ID -t $AZURE_TENANT_ID can fix this error.
In above reason, I think we don't need to distribute az login. Please review this PR again. Thanks:)

Hi @joshuafernandes.
Thank for your review. By the way, this PR fix to az login error. We have fixed az login with workload Identity through this PR: #203
Current helm chart uses workload Identity not add-pod-identity which is deprecated. (Please refer to this link: Azure/aad-pod-identity#1349).
So, az login --identity --debug will be occur a login error. And az login --federated-token "$(cat $AZURE_FEDERATED_TOKEN_FILE)" --service-principal -u $AZURE_CLIENT_ID -t $AZURE_TENANT_ID can fix this error.
In above reason, I think we don't need to distribute az login. Please review this PR again. Thanks:)

Thanks for the clarification @nowjean :)


SSH can't connect during cloud build

I'm trying to run this on cloud build, and it seems like everything is set up with the keys (the code checks out fine, tests run and a build a created), however, when it tries to run the commit.sh, I get errors about Host key verification failed.. That seems to mean that the script can't get access to the key stored on cloud build.
To get the error, I ran:
ssh -T<EMAIL_ADDRESS>Host key verification failed.

How did you get it work?

Hey, in the script, you should be able to set your ssh key that will be used with github. I'm gonna check this out for you today. This should be fine, given that it also clones with the same key. Maybe you just need to give it writing permissions in github?

We have set the permissions in github to be read/write.

It seems really weird. I'm trying to find the ssh key it's using but it seems like ls -lav ~/.ssh is empty. I'm wondering if I have to add the key manually.

Ok, so it seems the build process may have changed (another server clones the repo and then sends it off to the builder). I'm gonna have to figure out an easy way to do this, thinking about setting the key in the commit.sh file. Feel free to mess around with it - I probably won't get to it until end next week. Really sorry for the inconvenience.

Okay, this should work:

Generate a new key in the same directory as commit.sh called "deploy"
Add the "deploy" key as a deploy key
Update your commit.sh script with this one
https://github.com/PimDeWitte/UnityAutoIncrementBuildVersion/blob/master/commit.sh

I haven't tested it yet, let me know if it works.

Actually, before you do that, just add:
ssh-keyscan -H github.com >> ~/.ssh/known_hosts

to the commit.sh file and see if it works

Nope, I tried just
ssh-keyscan -H github.com >> ~/.ssh/known_hosts

and I still get the error
6780: [Unity] Permission denied (publickey).
6781: [Unity] fatal: Could not read from remote repository.
6782: [Unity] Please make sure you have the correct access rights
6783: [Unity] and the repository exists.

Will try the other thing. Thanks!

Oh, adding the deploy key into the repo (albeit private) is pretty risky. Don't think I want to do that.
Going to try and think of a better way...

I've contacted cloud build support to see if they have any other solutions.

Yeah that's probably a good idea. Let me know what they say.

I'm gonna try to mess around with this:
https://gist.github.com/testcollab/1236348/8ebe7df22fef7e695b2835614aaeea0114a3477d
And just make cloud build it's own account

It's been a while, but did you ever come up with a solution to this problem?

I have the same problem even after I use known_hosts, have you found a solution for this?

This is works for me, try to do:
chown $USER <path to known hosts>


Fix Multi-line entries

### Section
- Entry
   with other
   lines

should add a ### Dependencies section at the end of the section

🙌🏻 Thank you for this!


vsnip-expand doesn't work with emmet_ls.

https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#emmet_ls

The snippet is showing, But <Plug>(vsnip-expand-or-jump) doesn't work.
And  ['<cr>'] = cmp.mapping.confirm({ select = true }) works.

Because it isn't vsnip's snippet. It's LSP snippet.


python 3 not detected even though in path

I'm using the Anaconda Python 3 package, however Franklin cannot find it, even thought I  can type python in the repl and it runs.

Hello @musm can you just clarify what's not working? is it at the optimization step the minification script or is it in calling python from within a code block? (if you have an error and/or a repo, feel free to add that here too), thanks!


V0.0 ChuaPingChan

Coverage remained the same at 89.093% when pulling c51297b43f2fe31e52ddd90a0b7cf770e26810fb on V0.0_pingchan into b07948839c142af4c33d5e3d7950edfbd1ec3d24 on V0.0.

Coverage remained the same at 89.093% when pulling 96101851af8e5cf93af10ffde28b04f2f86dff5a on V0.0_pingchan into b07948839c142af4c33d5e3d7950edfbd1ec3d24 on V0.0.

Coverage remained the same at 89.093% when pulling e1922397a48ddff8fb4296ff00b9db7e4c590765 on V0.0_pingchan into f22e04865c1e002eae8892db56147d6d16140a85 on V0.0.


Opening folder the contains node_modules folder takes more CPU memory than opening a sub-folder that doesn't

I tested this with 2 different laptops. Looks like opening a folder in VSCode that contains node_modules folder makes Vs Code consume more CPU memory (12% more). Opening a sub folder is better but then i can't access angular-cli.json from VsCode folder explorer. Can someone please verify and look into it? Thanks

VSCode Version: Code 1.14.2 (cb82febafda0c8c199b9201ad274e25d9a76874e, 2017-07-19T23:34:09.706Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author (truncated)
Version

html-snippets
abu
0.1.0

Bookmarks
ale
0.15.2

ng-template
Ang
0.1.4

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

gitignore
cod
0.5.0

bracket-pair-colorizer
Coe
0.10.8

vscode-svgviewer
css
1.4.2

angular2-snippets
dan
1.0.15

githistory
don
0.2.3

vscode-generate-getter-setter
DSK
0.4.2

vscode-html-css
ecm
0.1.7

tslint
eg2
0.17.0

vscode-npm-script
eg2
0.2.0

json-tools
eri
1.0.2

prettier-vscode
esb
0.22.1

vscode-npm
fkn
3.3.0

auto-close-tag
for
0.4.3

auto-rename-tag
for
0.0.14

terminal
for
0.0.10

beautify
Hoo
1.1.1

output-colorizer
IBM
0.1.2

icon-fonts
idl
1.8.0

Angular2
joh
2.4.0

vscode-simple-icons
Lau
1.5.0

vs-color-picker
lih
0.6.0

Angular-BeastCode
Mik
4.3.5

prettify-json
moh
0.0.3

csharp
ms-
1.12.0

debugger-for-chrome
msj
3.1.7

color-highlight
nau
2.3.0

language-vscode-javascript-angular2
nwa
0.0.11

tsimporter
pmn
1.2.14

typescript-hero
rbb
1.4.0

autoimport
ste
1.2.2

Align
ste
0.2.0

Angular2
UVB
0.4.1

bootstrap-3-snippets
wcw
0.1.0

html-css-class-completion
Zig
1.8.0

vscode-open-in-github
ziy
1.2.7

(4 theme extensions excluded)

Steps to Reproduce:

Reproduces without extensions: Yes/No

duplicate of another issue


expandWorkingDir falls back to os.tmpdir

added check that process.cwd is writable
included tests

For #

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #14454 into main will decrease coverage by 59.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main   #14454       +/-   ##
===========================================
- Coverage   59.19%    0.00%   -59.20%
===========================================
  Files         720       15      -705
  Lines       40211       39    -40172
  Branches     5829        3     -5826
===========================================
- Hits        23802        0    -23802
+ Misses      15147       39    -15108
+ Partials     1262        0     -1262

Impacted Files
Coverage Δ

src/client/debugger/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/process/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/platform/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/datascience/notebook/types.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/datascience/notebook/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/interpreter/autoSelection/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
0.00% <0.00%> (-50.00%)
:arrow_down:

src/client/common/application/commandManager.ts

...scovery/locators/services/baseVirtualEnvService.ts

src/client/common/utils/regexp.ts

... and 701 more

Continue to review full report at Codecov.

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

This needs to be ported over to the other source.

I've been trying to add the IExtensionContext and it would seem that I have to inject it into several constructors since this code is called within a base class. Is that what you were expecting?

I've been trying to add the IExtensionContext and it would seem that I have to inject it into several constructors since this code is called within a base class. Is that what you were expecting?

Yes that was I was thinking of, but looking at it again, using the temp folder seems good enough to me. If the current working directory isn't viable, using the temp folder seems as good as using the extension's root storage directory.
So really we just need to port this to the new location. That should be possible in the next day or so when we make it public.

I've been looking at vscode-jupyter and I think this issue no longer exists. The expandWorkingDir function is not called in the workflow that I was using previously.

ExpandWorkingDir should still be called in jupyterExecution::startOrConnect when going down the local path.
https://github.com/microsoft/vscode-jupyter/blob/49ff2c6d0cd5b83f9be0bc5c52c8c44dbc66c022/src/client/datascience/jupyter/jupyterExecution.ts#L356

Closing as code related to Jupyter has moved to https://github.com/microsoft/vscode-jupyter.


Use molecule for testing

Molecule is a testing framework for ansible roles including support for multiple instances, operating system distributions, visualization providers and test frameworks.
I use it in all of my roles and it works pretty well. The main improvement to the current travis build is, that everyone can run it on his local machine before pushing.
It also add some nice features like linting via ansible-lint (see #198) ans verification via Testinfra or serverspec.
Pls give me feedback if this is an option for you. When you like it, i will make an PR and rewrite the current testing process to molecule.

Sounds interesting! Docker tests were added not so long ago but any improvements there are welcome! Can you please share a role where you use molecule to get a better look at it?

Sure, this is just a simple role to setup a tomcat server, but it's good to see how it works: https://github.com/FlxPeters/ansible-role-tomcat8
I will do some tests how i can use teh existing testing playbook with molecule. In molecule 2.0 there is also a support for scenarios to test diffrent settings. Maybe we should wait for that.


Mp/server pagination

Summary by CodeRabbit

New Features

Enhanced packet handling with new state variables and filters.
Improved search and pagination functionality for better data control.

Style

Updated layout and styles for better visual presentation.

Bug Fixes

Fixed various issues with data display and error handling.

Refactor

Replaced IbcTable with PacketsTable for a more efficient component.

Chores

Adjusted CSS properties for layout and styling improvements.

A couple of UX improvements that can be made:

Use cursor:pointer in dropdown menus of the filters and the columns.
Show the columns dropdown menu under the button.
Each page change, causes a lot of UI rerendering. The table columns disappear and then appear in a short period of time causing a lot of jerking. Can we keep the column names in the table header while it's loading?


Unable to get the edited content on DummySearchPage.html shown in the app

@jitwei98 can help me take a look into this? I wanted to edit the dummy content but it's not showing after it's rebuilt

You'll need to edit the link in seedu.address.ui.BrowserPanel.java #SEARCH_PAGE_URL.
Currently I still haven't figured out how to link it to local content yet.

Since @driedmelon already modified the BrowserPanel.java, I think this issue can be closed for now.
Feel free to reopen this issue if needed in the future.


Switch to prompts from inquirer

Switch to prompts. Refactored all the files and removed inquirer from the deps. Fixes #156.

Please resolve the merge conflicts.

Thanks for the PR, but it seems to be messed up. Let's have this migration in the future.


Add an updated roadmap

To reflect changes to the repo for the new year.

[x] Closes #12082, since I'm done re-organizing those now.

clarity is due on why we need to align with semesters

That's a fair concern. I suppose in the past, the Console repo was always aligned with Windows releases, then when we became the Terminal repo we kinda threw that to the wind. Since probably 99% of folks following the repo aren't familiar with that history, there's probably no harm in calling it out. I'll add an update with the spellcheck.

It looks like there's a lot of 2021 dates in here still -- on purpose?

It looks like there's a lot of 2021 dates in here still -- on purpose?

I just left the previous releases in the table. Seemed like it wasn't a bad idea. We don't have any 2022 releases yet, so we can just remove them whenever we have a 2022 release (and update this doc 😛 )


Resolution does not change when switching monitors OSX

OS: OS X Sierra 10.12.5
GPU: Intel Iris Pro 1536 MB
Macbook: Retina, 15-inch Late 2013
Macbook Resolution: 1440 x 900
External Monitor Resolution: Both at a resolution of 2560 x 1440
External Monitor Connections: Display Port / Thunderbolt 2 and HDMI (issue persists over both)
When switching between my external monitors and my mac monitor, the rendering of the Alactritty console does not scale the text resolution.
When Alacritty was started on the external monitor

When Alacritty was moved to the mac monitor

With the opposite effect happening when Alacritty is started on the mac monitor and moved to the external monitor. The rendering will be fine on the mac, but when moved to the external monitors the resolution does not upscale, and text appears giant.

I'm also seeing this.

I also have this bug… I haven't been able to test whether it's related to moving from a "retina screen" to a normal DPI screen…

Looks like this is a duplicate of https://github.com/jwilm/alacritty/issues/71

@tmiller Looks like you're right, I'll close this and defer to the already opened ticket. I guess I wasn't thorough enough in my search.


Signature data is not updated if mouse-up happens out of canvas.

If user starts signing and goes out of canvas, the signature data is not updated which may be confusing for user.
The reason is that touchEnd event is not fired within the directive which triggers the update (updateModel() method).
One way to handle this is by also updating the signature data when user goes out of the canvas using focus-out.

it should be a duplicate of this:
https://github.com/legalthings/angular-signature/issues/44


Fix: Support value="" for option tag

Fixed: #244
But there is more thing I think we should do in this:

In vtag.rs

    pub fn new<S: Into<Cow<'static, str>>>(tag: S) -> Self {
        VTag {
            tag: tag.into(), // <= change this to_uppercase()????
            .....
        }
    }

then, in macro.rs

        match vtag.tag() {
            "OPTION" => vtag.add_attribute("value", &value),
            _ => vtag.set_value(&value)
        }

Instead of what I have done in this PR?
Will this affect other parts of yew?

So, I will push a new commit with to_uppercase?

Yes, indeed! It will be great.

While changing tag to upper-case, there is a change will cause performance degrade in macro.rs:
pub fn child_to_parent...

    let endtag = endtag.to_ascii_uppercase();

This is my best effort, I don't know how to avoid allocation here!!

Could you use https://doc.rust-lang.org/std/primitive.str.html#method.eq_ignore_ascii_case instead?
We could avoid allocation with this method.

This branch accidentally closed when I pushed squashed updates here. Maybe it's because you used master branch instead of separate. Don't worry I'll recreate it.


Enabled TLS encryption for PostgreSQL and PGBouncer.

Enabled TLS encryption for PostgreSQL and PGBouncer (related issue: https://github.com/vitabaks/autobase/issues/361)
Automatically set the number of max_worker_processes and max_parallel_workers based on the system resources.

@klention Thank you for your contribution! Please consider my comments.

@vitabaks, I updated the scrips as suggested.

fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "msg": "The directory /var/lib/postgresql/17 does not exist or the file is not a directory", "name": "/var/lib/postgresql/17"}

I think we need another path to store certificates.

fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "msg": "The directory /var/lib/postgresql/17 does not exist or the file is not a directory", "name": "/var/lib/postgresql/17"}

I think we need another path to store certificates.

This is strange because just one task above at line 422 creates the postgresql_data_dir directory. But, we can definitely put it somewhere else.

We also need to ensure that the certificate and key are copied to the new cluster node during scaling (add_pgnode.yml). If this is challenging for you, I’m happy to handle it.

We also need to ensure that the certificate and key are copied to the new cluster node during scaling (add_pgnode.yml). If this is challenging for you, I’m happy to handle it.

Here is the new commit

Here is the new commit

Thanks, I made a small change (commit) and tested it, everything works!


Fixes for dom0 / cube-X separation

staged and under test!

merged with a commit of my own to document the systemd trick in the cmd.oci itself.


Updated Icons

Hey!
Firstly — thanks for the awesome tool! Can you please update Icon Packs? There is some updates in Icons look. For example Medium Icon, front FontAwesome Pack:
https://fontawesome.com/icons/medium
Thanks in advance.

I added font awesome 5 as a separate set, as it was fairly different than FA 4.


What kind of a string is the qr code 0xc00000c000?

I am trying to move from terminal to web, and I need to convert it to qr code. But I dont know what kind of string is this ? and how do I convert it...Can anyone help?

(Please guys let me know if there's any problem with this)
I made this by reading the project's code and finding out that the system gets the information from skip2 project and write it to terminal. So:
Add to import:
qrcode "github.com/skip2/go-qrcode"
Comment or delete from file:
go func() {
	terminal := qrcodeTerminal.New()
	terminal.Get(<-qr).Print()
}

Replace with this:
image := "qr.png"
qr := make(chan string)
go func() {
	qrpng := <-qr
	qrcode.WriteFile(qrpng, qrcode.Medium, 512, image)
}

This will write a file called qr.png in the same folder the app is running.
To read it, what I do is keep listening for the file for some seconds to show it with an AJAX call.

Thanks a lot fixed whatsapp qr detection for me.

@cleitonoliveira can you show example how to call the image with ajax sir ?

(Please guys let me know if there's any problem with this)
I made this by reading the project's code and finding out that the system gets the information from skip2 project and write it to terminal. So:
Add to import:
qrcode "github.com/skip2/go-qrcode"
Comment or delete from file:
go func() {
	terminal := qrcodeTerminal.New()
	terminal.Get(<-qr).Print()
}

Replace with this:
image := "qr.png"
qr := make(chan string)
go func() {
	qrpng := <-qr
	qrcode.WriteFile(qrpng, qrcode.Medium, 512, image)
}

This will write a file called qr.png in the same folder the app is running.
To read it, what I do is keep listening for the file for some seconds to show it with an AJAX call.
The WriteFile function has some options, like raising the complexity of the qrcode and the image size. Read the code to see it, it's quite simple. I chose "Medium" and 512 according to my project. Sometimes the QR fails, the "Medium" option was safer after several tests in my project.

how to show in form for scan


[ja] fix typo in concepts/architecture/nodes.md

fix typo

/assign @inductor

/lgtm

Thank you for contributing us!
/assign
/approve


Release merge request triggers pipelines without jobs

I have a weird issue, where when running changeset-gitlab there are two pipelines created without jobs which fail immediately. It happens when using for GITLAB_TOKEN:

A personal access token of a newly created accout
A project access token

But not if I use a personal access token of my regular account. For the projekt access token the api scope is used. For the newly created account all roles etc. are set like my regular account. It‘s really weird and I don‘t know why this happens.
Screenshots of the pipelines:

I have no idea what is going on neither, maybe request GitLab's service help?

close due to lack of response.

@JounQin Sorry for some reason I did not get or missed a notification about your response. I understand the issues is probably not related to changeset-gitlab and I'm using a workaround now to mitigate this.

@thomasaull If you could share your case and workaround for anyone else, that would be great.

@JounQin I'ts a pretty basic setup basically like the examples in your Readme. The workaround for me is to just use a Personal Access Token of my account.

👌🏻


no output when join tables with multiple columns

I found when join tables with multiple columns, if the sequence of columns in the two tables are different, there will be no output.

You can reproduce this bug by the example below. I join two tables using two columns _measurement and _time.
In table1, the sequence of these two columns is _time, _measurement,
In table2, the sequence is _time, _measurement,
In table3, the sequence is _measurement, _time,
There is no output when joining table2 and table3.
import "csv"

csvData1 = "
#group,false,false,false,false
#datatype,string,long,dateTime:RFC3339,string
#default,,,,
,result,table,_time,_measurement
,,0,2021-02-22T16:00:00Z,0
,,0,2021-02-23T16:00:00Z,0
"

csvData2 = "
#group,false,false,false,false,false
#datatype,string,long,dateTime:RFC3339,string,string
#default,,,,,
,result,table,_time,_measurement,sn
,,0,2021-02-22T16:00:00Z,0,GLD18-0
,,0,2021-02-24T16:00:00Z,0,GLD18-0
"

csvData3 = "
#group,false,false,false,false
#datatype,string,long,string,dateTime:RFC3339
#default,,,,
,result,table,_measurement,_time
,,0,0,2021-02-22T16:00:00Z
,,0,0,2021-02-24T16:00:00Z
"

table1 = csv.from(csv: csvData1)
table2 = csv.from(csv: csvData2)
table3 = csv.from(csv: csvData3)

table12= join(tables: { table1: table1, table2: table2 }, on: ["_measurement", "_time"], method: "inner")
  |> yield(name: "table12")

table13= join(tables: { table1: table1, table3: table3 }, on: ["_measurement", "_time"], method: "inner")
  |> yield(name: "table13") // no output

Same issue on OSS Version 2.0.4


download error

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

when process to 74% it occur "unknown blob" error message，I try many times all the same error.

No information provided or steps to replicate - Closing


4.2.12 Ready code

Ref #7002

Run sudo phive --no-progress install --global qossmic/deptrac --trust-gpg-keys B8F640134AB1782E
Phive 0.15.2 - Copyright (C) 2015-2023 by Arne Blankerts, Sebastian Heuer and Contributors
Downloading https://api.github.com/rate_limit
Warning:  Github API Rate Limit exceeded - cannot resolve "qossmic/deptrac"
Downloading https://gitlab.com/api/v4/projects/qossmic%2Fdeptrac/releases/
Fetching repository list
Downloading https://phar.io/data/repositories.xml
Error:    Could not resolve requested PHAR qossmic/deptrac

Error: Process completed with exit code 4.

https://github.com/codeigniter4/CodeIgniter4/actions/runs/3871342208/jobs/6599056922

Run sudo phive --no-progress install --global --trust-gpg-keys 67F861C3D889C656 phpDocumentor
Phive 0.15.2 - Copyright (C) 2015-2023 by Arne Blankerts, Sebastian Heuer and Contributors
Fetching repository list
Downloading https://phar.io/data/repositories.xml
Downloading https://api.github.com/repos/phpdocumentor/phpdocumentor2/releases?per_page=100
Error:    Failed to download load https://api.github.com/repos/phpdocumentor/phpdocumentor2/releases?per_page=100: HTTP Code 403

Error: Process completed with exit code 4.

https://github.com/codeigniter4/CodeIgniter4/actions/runs/3871342214/jobs/6599057050


fix readme hello code

error left from #103 (but noticed in #113)

this I leave it open a moment to see if you can spot other stuff @HugoGranstrom... :)

ok, that should do it

Looks good to me then :rocket:


Stripe: add payment button support

Used same approach as latest stripe updates

Did you get a chance to look at this @sampoyigi ?

Briefly yes, but haven't had the time to do a proper review and test.


Introduce compatibility layer for collective operations

flyby: updating documentation for collective operations

Fixes #5395

Seems like a huge waste of time to add a compatibility layer to something only you are using!

I thought so too, but as it turned out, two people started to complain about the breaking change.


Failure to load component on server restart with Pi-hole

I'm running Pi-hole and Home Assistant on one server.
When I restart entire server, Xiaomi Miot Auto fail to load due to DNS issues. I have to restart Home Assistant after Pi-hole loads to use Xiaomi Miot.

Maybe you should check your dns configuration.

@al-one This issue occurs only if DNS server is unavailable during Home Assistant start, causing integration fail to load at all (it can't be reloaded, because it wasn't loaded in first place).
Other integrations will generally retry their setup later in such case.


Can't get it working

I have compiled the proxy in VS2015 and have protoc.exe in my path and it is adding the .cs files to the DecodedProtos
I am using in iPhone so not sure if I am missing a step or not but I extracted the cert (Titanium Root Certificate Authority) from my machine and installed it on my iPhone. I set the proxy settiings on my WI-fi connection.
When I start the game I can see it trying to send a request but it looks like it never finishes or sends to along to niantic. I just get the following twice and then the app says failed login :
[-->] Request to pogo api server (XXXXXXXXXXXXXXXXXX)
[+] GetPlayer: {}
[+] GetHatchedEggs: {}
[+] GetInventory: {"LastTimestampMs":0,"ItemBeenSeen":0}
[+] CheckAwardedBadges: {}
[+] DownloadSettings: {"Hash":""}
It never does anything else

That's happened to me a couple times. Either the servers are down (which I just checked here and it looks like they are up), or the app cache needs to be reset.
Make sure to completely close the app, and reset then cache. Then trying opening it again with the proxy running. Let me know if that fixes it.

Not sure what you mean by app cache? I'm on iPhone.
I force closed the app and it's still a no-go. When I remove the proxy settings the game loads just fine.

Can you pull the latest changes and try it again? I added a few extra logging messages that will help figure out what exactly is going on.
I do get an error where the first call always requests 5 messages, and only gets back 2; however, this doesn't block the proxy and your Pokemon Go app shouldn't be affected (currently working to resolve this).
The differences may be due to the different devices but I don't have an iPhone to debug with. Make sure the app is fully closed before you run the proxy. And the proxy has to be running before you start the app.

OK sort of have it working now.
There is something wrong when it goes to get player data. I have to turn off proxy on my phone let the app load up then turn the proxy back on. Turn wifi off and connect to LTE then turn wifi back on. When I do that since it is already in the game I start getting the messages.
Now the important part. I want to get the IV values for all my pokemon's I have. I see the GetInventory() function coming back with almost every action but the Individual pokemon's in my inventory aren't being sent across. How do I read everything in my inventory??

So I added this bit of code into your for loop so you can check the IV's of encountered pokemon's on the map when you click on them.
if(ResponseType == "Encounter")
{
Console.WriteLine("" + responsePair.Key);
Console.WriteLine(" Name : " + ((POGOProtos.Networking.Responses.EncounterResponse)responsePair.Value).WildPokemon.PokemonData.PokemonId);
Console.WriteLine(" Attack : " + ((POGOProtos.Networking.Responses.EncounterResponse)responsePair.Value).WildPokemon.PokemonData.IndividualAttack);
Console.WriteLine(" Defense : " + ((POGOProtos.Networking.Responses.EncounterResponse)responsePair.Value).WildPokemon.PokemonData.IndividualDefense);
Console.WriteLine(" Stamina : " + ((POGOProtos.Networking.Responses.EncounterResponse)responsePair.Value).WildPokemon.PokemonData.IndividualStamina);
Console.WriteLine(" ");
}
if (ResponseType == "DiskEncounter")
{
Console.WriteLine("" + responsePair.Key);
Console.WriteLine(" Name : " + ((POGOProtos.Networking.Responses.DiskEncounterResponse)responsePair.Value).PokemonData.PokemonId);
Console.WriteLine(" Attack : " + ((POGOProtos.Networking.Responses.DiskEncounterResponse)responsePair.Value).PokemonData.IndividualAttack);
Console.WriteLine(" Defense : " + ((POGOProtos.Networking.Responses.DiskEncounterResponse)responsePair.Value).PokemonData.IndividualDefense);
Console.WriteLine(" Stamina : " + ((POGOProtos.Networking.Responses.DiskEncounterResponse)responsePair.Value).PokemonData.IndividualStamina);
Console.WriteLine(" ");
}
I still haven't figured out how to read the pokemon's in my inventory.

The GetInventoryResponse returns a delta of your inventory. Since you are turning the proxy off and on, the log probably misses the initial inventory call. See here (I've sanitized some of the values) for what the initial inventory call should look like.
Since the GetInventoryResponse only gives a delta, all subsequent GetInventoryRequests will return an empty list for the InventoryData unless your inventory has changed:
{
  "GetInventory":{
    "Success":true,
    "InventoryDelta":{
      "OriginalTimestampMs":999, // Should be the time of the last Inventory response
      "NewTimestampMs":999,
      "InventoryItems":[ ]
    }
  }
}

As far as the issue with the proxy not working initially for you, try this.

Once you get the proxy working and returning messages, close the app with the proxy still open
Close the proxy once the app has completely shut down
Reopen the proxy and wait til you see the "Logging at" message
Reopen the app

I was analyzed the requests and the very first thing it does when starting the app is make 5 requests . The issue appears to be I am only getting 2 requests back.
I get :
e.ResponseBlock	{  Parsed Messages:
{"GetPlayer":{"Success":false,"PlayerData":null},"GetHatchedEggs":{"Success":false,"PokemonId":[],"ExperienceAwarded":[],"CandyAwarded":[],"StardustAwarded":[]}}}	PoGo_Proxy.MessageBlock
This is telling me that GetPlayer is failing from niantic for some reason. That also explains why if I let the app do the initial connection and switch over to proxy it works. So there is a bug or something in GetPlayer somewhere. Do you have any changes that I might not have?

Update to the latest commit and see if you are getting the same issue. You will see that error message, but it doesn't block the proxy. All following requests should be handled without having to reopen it.
This is what my output looks like:

Hit any key to stop proxy..
[+++] Proxy started: listening at <IP_ADDRESS>:61212
[*] Request messages count (5) is different than the response messages count (2).
Request:
{"MessageInitialized":"2016-07-22T11:12:24.1705257-07:00","ParsedMessages":{"GetPlayer":{},"GetHatchedEggs":{},"GetInventory":{"LastTimestampMs":0,"ItemBeenSeen":0},"CheckAwardedBadges":{},"DownloadSettings":{"Hash":""}}}
Response:
Not sure yet how to read this without knowing what it is.
[*]
Response blocks:
GetPlayer
GetHatchedEggs
Response blocks:
GetPlayer
GetHatchedEggs
GetInventory
CheckAwardedBadges
DownloadSettings
Response blocks:
GetPlayer
GetHatchedEggs
GetInventory
CheckAwardedBadges
DownloadSettings
Response blocks:
...

Whatever you did I can get my Inventory now.
it is still failing at the beginning with received 2 responses and expected 5 but it's not keeping the game from loading now.

Good! Glad it's working for you now. Those messages will be fixed in just a sec. Pulling some final things together.

You wouldn't happen to have a code snippet that dumps that inventory out to like a CSV file or anything would you?


32kHz Vocos Multi Speaker Model Training Log

Training Loss, Generated Outputs.
I hope this will be a reference for model training.
https://api.wandb.ai/links/xi-speech-team/k0kdfwch

Do you have a standard tensorboard logs?  It is interesting to compare.

@patriotyk Sorry, I've change the code to log on WandB server. I have no local logging files nor tensorboard logs.

What is your validation loss on the last checkpoint? It is encoded in to the checkpoint file name. I am training 44100 for almost a week already and loss still goes down.

Training Loss, Generated Outputs.
I hope this will be a reference for model training.
https://api.wandb.ai/links/xi-speech-team/k0kdfwch

TKS for your work,could your share 32k model training detail like:
your encodec model(i found pretrained models :24k and 48k,so i guess 32k resample to 24k or 48k for encodec pretrained model,then resample to 32k ??)

Training Loss, Generated Outputs.
I hope this will be a reference for model training.
https://api.wandb.ai/links/xi-speech-team/k0kdfwch

TKS for your work,could your share 32k model training detail like: your encodec model(i found pretrained models :24k and 48k,so i guess 32k resample to 24k or 48k for encodec pretrained model,then resample to 32k ??)

I'm sry for your confuse.
I just trained Mel Vocoder not for encodec's decoder.
But I have plans to train Mel-Encodec?(Mel Spectrogram to RVQ Encoder, and Vocos Decoder for Various Speech data) in the future.

Do you have a standard tensorboard logs? It is interesting to compare.

What is your validation loss on the last checkpoint? It is encoded in to the checkpoint file name. I am training 44100 for an almost a week already and loss still goes down.

I estimated mel loss, and Generator loss with newly gained dataset. and each was 0.0942 and 2.82.
Because of the dataset's Size, estimating Eval loss with eval dataset has no difference with sampled train data.
how about your model output's quality? any artifacts?

Do you have a standard tensorboard logs? It is interesting to compare.

What is your validation loss on the last checkpoint? It is encoded in to the checkpoint file name. I am training 44100 for an almost a week already and loss still goes down.

I estimated mel loss, and Generator loss with newly gained dataset. and each was 0.0942 and 2.82. Because of the dataset's Size, estimating Eval loss with eval dataset have no difference with sampled train data.
how about your model output's quality? any artifacts?

I am still training(third week). It is very slow. I will update with my results when finish.

how many data do we need for training

@LEECHOONGHO  I have published my model here https://huggingface.co/patriotyk/vocos-mel-hifigan-compat-44100khz
Sounds great, and there is metrics.
@Mahmoud-ghareeb My model has been trained on 800+ hours of audio. Vocoder doesn't require text transcripts so you can easily use audio books for training. You even don't need to cut it by silence because vocos anyway internally splits provided audios to smaller segments. You can control it by num_samples parameter in config.

Great work! @patriotyk, Thank you so much

This model generates audio from mel spectrograms. The functionality that you tried just generates mel from audio and then back audio from mel. But real tts systmes generates mels directly from text then vocoder generates audio.


fix: CVE-2021-33502 in normalize-url

Resolves: #128
Microsoft Reviewers: Open in CodeFlow

Thank you for the fix! I just merged it and published as version 3.2.3


Added the payment gateway test cases

Added the payment gateway test cases

@sudhey19   template update and all required changes are done.
cc @Chhavig28


[fix] Db adapter database key name mismatch

Description
Fix for the db adapter not being able to connect to the database.
Related Issue

Thanks for the PR