Proposal: Adding Go support to monorepo

This is a scratch PR showing the changes & ergonomics when bringing Go into the monorepo.

Creating Projects

Create directory under /go. Example /go/special-provider
Initialize the project. cd go/special-provider; go mod init go.wasmcloud.dev/special-provider
Add the directory to go workspace. Add use ./go/special-provider to go.work

Gotchas
Every project-within-project ( ex: provider sdk examples ) has to be registered in the Go workspace.
Failure to do so will result in a compilation failure
 ❯ go build ./provider/examples/keyvalue-inmemory
main module (go.wasmcloud.dev/provider) does not contain package go.wasmcloud.dev/provider/examples/keyvalue-inmemory

Vanity URLs setup.
They are per package, meaning our vanity urls must understand our package layout.
For example, given the 2 packages:

go.wasmcloud.dev/provider
go.wasmcloud.dev/provider/logging

It is not enough to serve a vanity url for go.wasmcloud.dev/provider, we need to serve 2 vanity urls:

go.wasmcloud.dev/provider => github.com/wasmCloud/wasmCloud/go/provider
go.wasmcloud.dev/provider/logging => github.com/wasmCloud/wasmCloud/go/provider

This can be seen in action in Opentelemetry's project:
❯ curl -s https://go.opentelemetry.io/otel | grep go-import
<meta name="go-import" content="go.opentelemetry.io/otel git https://github.com/open-telemetry/opentelemetry-go">

❯ curl -s https://go.opentelemetry.io/otel/codes | grep go-import
<meta name="go-import" content="go.opentelemetry.io/otel git https://github.com/open-telemetry/opentelemetry-go">

Discussion
❓ Not clear how/where vanity urls will be configured yet. Github Pages is the top option so far, and it could be served from go/vanity_urls directory.
❓  ~Should the Go workspace be at the top-directory? We'd continue to host Go projects under /go directory, but wouldn't need to jump to /go to interact with them.~
Decision: Go workspace is at the git root directory

❓ Not clear how/where vanity urls will be configured yet. Github Pages is the top option so far, and it could be served from go/vanity_urls directory.

I believe wasmcloud.dev domain was previously configured via https://github.com/wasmCloud/wasmcloud-dev-site, which has been archived. I think we have the opportunity to either do it from here, or alternatively from the https://github.com/wasmcloud/wasmcloud.com repo if it were to become/stay as the source of "all things web presence"

❓ Should the Go workspace be at the top-directory? We'd continue to host Go projects under /go directory, but wouldn't need to jump to /go to interact with them.

I think we should, having the workspace activated as soon as you clone the repository down seems like a nice convenience, unless there are downsides to doing it top level?

❓ Should the Go workspace be at the top-directory? We'd continue to host Go projects under /go directory, but wouldn't need to jump to /go to interact with them.

I think having the workspace at the top level would be ok as long as the code is nested under /go. Without that nesting I'd be worried that our repo structure would be very disorganized.
It's probably easier to serve the vanity URL page out of this repo, but I also like the idea of keeping that all in the wasmcloud/wasmcloud.com repo. We could have an action that could fire off whenever we add new modules here to make sure we keep the generated HTML in sync.

Thank you @lxfontes for putting this together! I'm a huge fan of moving the Go libraries here so we can start creating some common libraries for types we use all over the place, and possibly even start using codegen to, say, define wasmCloud events in JSON and then create go/rust libraries from both.
I have no hard preference regarding putting it at the top level of the repo or nesting it under go/, and I feel the discussion above seems to lean towards putting it under go/ so I'm fine with that too.

Our desired structure (example https://github.com/lxfontes/go-get ) can't be translated to go.wasmcloud.dev/<package> directly without the use of a custom proxy ( see https://go.dev/ref/mod#module-proxy ).
For the time being will add the vanity url pointing to the existing provider-sdk-go repository and reassess in the future.


Cloud code validation

If your Cloud Functions have required parameters, you can do this today:
Parse.Cloud.define("foobar", function(req, res) {
  if (req.params.myRequiredParam != 'foobar') {
      res.error();
  }
 // ... do something else ...
});

OR
function isValidRequest(req) {
   return req.params.myRequiredParam;
}

Parse.Cloud.define("foobar", function(req, res) {
  if (!isValidRequest(req)) {
     res.error();
  }

  // ... do something else ...
});

Depending on the approach you use you might end up duplicating code or writing more if-not-valid-return-error kind of code all over the place.
This PR introduces the option to provide a Validator function for a Cloud Function which runs before the actual Cloud Function runs and validates the input parameters of the request. If the validation fails, it will return an error or executes the Cloud Function if the validation succeeds.
Example
Parse.Cloud.define("foobar", function(req, res) {
  res.success();
}, function(params) {
  return params.myRequiredParam;
});

OR for multiple functions that share a validator
var requireMyAwesomeParameter = function(params) {
  return params.myRequiredParam;
}

Parse.Cloud.define("foobar1", function(req, res) {
  res.success();
}, requireMyAwesomeParameter);

Parse.Cloud.define("foobar2", function(req, res) {
  res.success();
}, requireMyAwesomeParameter);

This PR is just a foundation for other work that can be done around here, for example multiple validators per function, global validators that are only registered once by calling something like Parse.Cloud.validate(...) and returning detailed validation errors etc.
I added two test in ParseAPI.spec.js:L547

This is very cool, @codegefluester!  :+1:

If you could write up a post/docs about this, we should host it somewhere..

Sure thing @gfosco, what would be the best place to put this?

https://github.com/ParsePlatform/Docs/tree/master/en/cloudcode

@codegefluester from what I understand, this doesn't enable multiple required parameters right? Do you think that returning an array of params is a great idea? I see that currently it only checks for one value, what would make an array not an option.

@natanrolnik You can actually verify as many parameters as you want. We pass in the complete object of parameters of the request and all you need to do is returning true or false. I just used one parameter in the example to simplify it a bit.
I also noticed that it probably would be better to pass in the complete request as the current implementation would not contain request.user. If you want you can add it, otherwise I'll out up another pull request for this.


[PLC] [Evaluation] [Builtins] Generating mappings during evaluation of builtins in the polymorphic case

An alternative solution to the evaluation of polymorphic built-in functions problem.

In this comment https://github.com/input-output-hk/plutus/issues/1882#issuecomment-598716038 you say there's a worry about polluting the environment with lots of extra bindings. I guess this will happen a bunch here because we do the trick even for non-polymorphic builtins, i.e.
addInteger 1 2 will evaluate to (<arg1 := 1, arg2 := 2>, 3) or something.
I seem to remember reading something about "garbage collecting" the environments of abstract machines - that might help here since the new bindings are dead. Perhaps we could implement a cheap version of this by doing something like:
gc :: Closure -> Closure
gc (_, c@(Constant{})) = (mempty, c)
gc x = x

i.e. we "garbage collect" the environment closures whose term is a constant as they cannot have any free variables. Then if we call gc after evaluating builtins, then we'll quickly discard the environment for builtins that return constants i.e. most of them.

Perhaps we could implement a cheap version of this by doing something like:
gc :: Closure -> Closure
gc (_, c@(Constant{})) = (mempty, c)
gc x = x

Look at the definition of withScopedArgIn :)
We have the old behavior for monomorphic things, i.e. no additional closures are created (unless there's a bug there). That was the original intention:

If the argument is a constant, then we simply apply the function to it (like before) -- we don't want to introduce any additional overhead in the common case just to handle the less common one.

In #1882 I'm worried about having this overhead in the polymorphic case. But then we have it everywhere as the CEK is simply not optimal.

Ah yes, that's even better since it avoids creating the closures in the first place. And indeed necessary since normal builtins won't work being passed a variable rather than a constant!

Okay, I think this is clearly better and it's not even too ugly.

I did look at this but have nothing useful to say. Merging it will let us see how it works out in practice though, so no objections.


Not doing searches anymore

Do not report invalid user agents.
Make sure you have read the troubleshooting before submitting a bug report.

I have read the Troubleshooting
Yes
Describe the bug
All of a sudden I get an error when the extension is trying to do searches.
Since when
July 4th
Screenshots

U.S
Your web browser and OS
Edge on Windows 11
Additional context
Had this issue before, I started using edge and the extension seemed to be working. Now I have the same issue.

Had the same issue up until a few minutes ago. Clearing site data for bing/msn/microsoft/xbox/whatever else you use the account on, made it work again.

Had the same issue up until a few minutes ago. Clearing site data for bing/msn/microsoft/xbox/whatever else you use the account on, made it work again.

tried, no luck

@tmxkn1 The extension was working fine up until 2 days ago. It's only the mobile searches that are not working

@tmxkn1 The extension was working fine up until 2 days ago. It's only the mobile searches that are not working

All the plugins I've been testing have the same problem with mobile searches. Hope Microsoft has made some changes over there.

The repo is not up to date with current useragents.

You can fork the repo, and change the useragents here and edit the utility.js file here to your own github repo url: e.g.: https://github.com/username/Microsoft-Reward-Chrome-Ext/blob/master/useragents.json

OR if you don't want to, or don't know how, just download my repo and use it.

Still not working for me. it starts after chrome last update

UA is always going to be an issue. MS may also closely monitor it to produce measures to counter bots like these. In a future version, I will provide a toggle to allow the use of the browser's native UA. The only problem with this is Edge search will not be registered if you are not using the Edge browser.


[refarch/ocp-cli] script should create user-data directory if it does not exist and cleanup should clear it.

The create_all.sh script (or the user-data script) should create the required user-data subdir if it does not exist.
If it does not exist the user data scripts are not created and instance boot fails.

PR https://github.com/openshift/openshift-ansible-contrib/pull/190


Jan/2023 Fixes

9e360ab moves CI from Travis to git actions.
9b76b0d improves default literal expression handling
3b6ec95 removes dead code
9bc2b5b fix recursive generic type parameter constraint order (#218)
b965102 updates tfm in generated .csproj to net7.0
7ad4b9c fixes NRE when code contains references to inner types of outer generic ones (#216)
b0fb5b6 cleanup TypeHelpers + some minor ones
a1f00c2 adds support for implicit object creation
d38332b fix crash during resolution of non generic inner type of a generic outer type (#216)
1b5329b update .Net to 7.0 on CI
f204c58 adds support for abstract static interface methods (#120)
534cc66 add explicit interface method implementation to 'Override' property (#217)
fb1afbb use SymbolEqualityComparer instead of equals operator/Object.ReferenceEquals
b1bcf51 adds support for interface static abstract methods definition
652ca80 convert projects to .Net 7.0 / C# 11
33bd577 bumps cecilifier version to 1.90.0

Codecov Report
Base: 95.44% // Head: 95.61% // Increases project coverage by +0.17% :tada:

Coverage data is based on head (9e360ab) compared to base (e95b15f).
Patch coverage: 98.17% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #219      +/-   ##
==========================================
+ Coverage   95.44%   95.61%   +0.17%
==========================================
  Files          74       73       -1
  Lines        6211     6183      -28
==========================================
- Hits         5928     5912      -16
+ Misses        283      271      -12

Impacted Files
Coverage Δ

...ifier.Core/AST/DefaultParameterExtractorVisitor.cs
100.00% <ø> (+7.14%)
:arrow_up:

Cecilifier.Core/AST/EnumDeclarationVisitor.cs
96.62% <ø> (ø)

Cecilifier.Core/Extensions/CecilifierExtensions.cs
95.72% <ø> (-0.11%)
:arrow_down:

Cecilifier.Core/Extensions/TypeExtensions.cs
83.96% <0.00%> (-7.55%)
:arrow_down:

Cecilifier.Runtime/TypeHelpers.cs
91.07% <ø> (-3.22%)
:arrow_down:

Cecilifier.Core/AST/ExpressionVisitor.cs
95.94% <98.59%> (+0.04%)
:arrow_up:

Cecilifier.Core/AST/EventDeclarationVisitor.cs
96.06% <100.00%> (-0.07%)
:arrow_down:

Cecilifier.Core/AST/FieldDeclarationVisitor.cs
96.49% <100.00%> (ø)

Cecilifier.Core/AST/MethodDeclarationVisitor.cs
99.35% <100.00%> (+<0.01%)
:arrow_up:

Cecilifier.Core/AST/NonCapturingLambdaProcessor.cs
98.11% <100.00%> (ø)

... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Unable to fit Earth() over multiple X variables

I'm using Python v3.7.5 on Windows 10 over Jupyter notebook.

What I have is an X array of (m, n) shape, where n = no.of columns/variables from my dataframe & m = no. of rows or data points for each variable. Each element inside the array is also a pandas.core.series.Series instance of (m,) shape.
My target variable Y is just another Series instance from pandas with (m,) shape.
I need to test the MARS modeling method via pyearth against the statsmodel.api ordinary least squares fitting, where Y is linearly regressed against all the "n" X variables.
All entries in my dataframe are of the numpy.float64 data type.
Now, when I attempt:
model = Earth()
results = model.fit(X,Y)
print(results)

It returns from line 424 of earth.py:
ValueError: Wrong number of columns in X. Reshape your data
I've even tried the transpose of the arrays X and Y. Nothing works, and the error is the same. Further highlighted, internal errors are:

--> 611   X, y, sample_weight, output_weight, missing)
--> 465   X, missing = self._scrub_x(X, missing, **kwargs)

Question:
What is going on here? Can't pyearth accept multiple variables? MARS is supposed to be "multivariate" adaptive regression splining, after all. Or am I doing something wrong?

@kchoX14 If you are refitting your model multiple times you will run into this error -- see this issue https://github.com/scikit-learn-contrib/py-earth/issues/198. This project is largely abandoned so I wouldn't expect any resolution to your question. My advise would be to try a different algorithm to model you data or use the R package, which is still supported.

@kchoX14 If you are refitting your model multiple times you will run into this error -- see this issue #198. This project is largely abandoned so I wouldn't expect any resolution to your question. My advise would be to try a different algorithm to model you data or use the R package, which is still supported.

That is indeed very sad... MARS is powerful for predicting nonlinearity. It's a shame that the code isn't capable of dealing with multiple linear regressions (the foundation of MARS is multivariate). Sigh!

@kchoX14 I don't understand your comment. By it's very nature it is multivariate. However, if you are trying to refit the model multiple times, you will need to subset the dataset each time

@kchoX14 I don't understand your comment. By it's very nature it is multivariate. However, if you are trying to refit the model multiple times, you will need to subset the dataset each time

Each row from 1 to m represents a regression in multiple variables (1 to n). So, the ideal requirement from pyearth is that it fits for every such candidate basis and then it gets passed to, I don't know, say a repeated cross-validation against the model. Right now, this only works when n=1. n > 1 fails terribly, and that is the precise requirement to check against multiple linear regression, not its simple sibling.

This project needs to be worked into, in order to fix and provide a fully functional MARS over python.

It should work just fine with multiple columns in X.  Can you provide a minimal reproducible example?
This part confuses me:

Each element inside the array is also a pandas.core.series.Series instance of (m,) shape.

Do you mean your data is really 3D?  That is probably not supported; what should the MARS algorithm be doing on such data?

Reading through the observed error lines, I don't see how this could happen unless as @kevin-dietz says, you fitted the same instance of Earth twice on different data; just make a new instance in that case.


Use stashedFile in downstream builds ('build job')

Hello,
First of all I am very glad that this plugin faces the jenkins lack of handling file-parameter in pipeline jobs. Thanks for that!
I have a use case, where the 'main job' receives a file (20 MB) via http request and starts a couple (6-7) downstream jobs.
According to the readme file, the build job is working with Base64 files but not with stashed ones.
I tried:

creating a file object

build job: 'other-project',
                            parameters: [[$class: "FileParameterValue", name: "propertiesFile", file: new FileParameterValue.FileItemImpl(new File(propertiesFilePath))]]

I got:
java.lang.ClassCastException: io.jenkins.plugins.file_parameters.StashedFileParameterValue.file expects interface org.apache.commons.fileupload.FileItem but received class hudson.model.FileParameterValue
Or:
java.lang.ClassCastException: io.jenkins.plugins.file_parameters.StashedFileParameterValue.file expects interface org.apache.commons.fileupload.FileItem but received class java.io.File

passing the file name
I got:
java.lang.ClassCastException: io.jenkins.plugins.file_parameters.StashedFileParameterValue.file expects interface org.apache.commons.fileupload.FileItem but received class java.lang.String

It seems its because of the default Constructor:
@DataBoundConstructor
FileParameterValue(String name,
                   org.apache.commons.fileupload.FileItem file)

How can I use the second Constructor which expects a FileItem:
FileParameterValue(String name,                    File file,                    String originalFileName)

a file (20 MB) via http request

You are likely to hit something like https://issues.jenkins.io/browse/JENKINS-20327 at that scale.

I tried

You seem to be trying to use the file parameter type in Jenkins core. As noted in https://github.com/jenkinsci/file-parameters-plugin#usage-with-build it is possible to use this plugin with smallish files, but that is not going to work well or at all with a 20Mb file. Consider passing a reference to a file in Nexus, S3, etc. instead.


SMIRNOFF: The switching function is never explicitly specified

The SMIRNOFF spec makes references to switching functions when discussing the pair distances at which it should be applied, but never states what switching function should be applied. Most simulations implement some form of a switching function, but no engines seem to agree on precisely how to do so, in particular the actual polynomial used (https://github.com/openforcefield/openff-toolkit/pull/896#issuecomment-835546058). It's not likely that these differences make a huge impact on most scientific results, but strict implementations will always be impossible while these details are unclear.
This causes a significant issue when validating any result relating to non-bonded interactions; mismatches in tail corrections tend to result in different non-bonded energies. This obfuscates whether differences are due to the values of the non-bonded parameters, the implementation of the switching function, other non-bonded settings (cutoff distance, switching distance, non-bonded method, etc.) or some combination thereof. This makes it difficult to compare implementations of SMIRNOFF force fields in different engines (https://github.com/openforcefield/openff-interchange/issues/159).
Related #9
cc: @mrshirts

Ugh. This is a painful one. Probably our reference implementation ought to be OpenMM so we probably ought to look at what we'd do when evaluating energies in OpenMM, then specify that in the spec. It'd be helpful though to cross-compare with GROMACS and see if we can choose something also supported by GROMACS.

I am still advocating for separating the parameters and short range functional forms for the force fields for how the nonbonded long range terms are handled.  One will never get complete agreement between engines on how to handle these.  I've tried.  Even supposedly matching functional forms are only accurate up to one part in 10^5, which for a large system can be several kcals/mol. I tried to do it during the course of this: https://link.springer.com/content/pdf/10.1007/s10822-016-9977-1.pdf, it just couldn't be done better.

Functional form would be specified, and then there's some set of optional information - if you do a cutoff, you get this, if you do some type of LJ with switch you get this, etc.
I'm just noticing that like half of the issues have to do with trying to match long range interaction choices, and it would be much simpler if that was somehow and optional part of the spec, or undefined in the spec.


Meta header checks for INFO and FORMAT SV tags

This PR aims to add meta header checks for all Info and Format SV tags. The Type and Number of the meta header definition would be checked for SV specific tags.

The remaining tests which could be added are the negative CHECK assertions, passed test file(s), failed test file(s).


DBZ-7754 Removes database.names entry from connector yaml example

DBZ-7754
During review of the downstream docs, QE noticed that the connector YAML example in the deployment instructions still included a reference to the database.names property, even though that property is no longer supported. This change removes that line from the example.
This change applies to the downstream documentation only and does not affect the version that's published to the community site.

2.5 PR: #5464


Mark CronJob as beta

CronJob went beta in v1.8 and is not yet in general availability. Update the website to show this.

https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/
https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/

Page previews:
https://deploy-preview-17985--kubernetes-io-master-staging.netlify.com/docs/concepts/workloads/controllers/cron-jobs/
https://deploy-preview-17985--kubernetes-io-master-staging.netlify.com/docs/tasks/job/automated-tasks-with-cron-jobs/

Thanks @sftim
/approve


Automated cherry pick of #8287

Cherry pick of #8287 on cloud.
/cc  @hmhealey

/release-note-none


fix(lines.py): CJK chars cannot be correctly decoded

After trying to beautify some files which contains CJK chars, it will show a 500 ERR due to the content cannot be correctly decoded.

Auto close pull request due to expiration.


Add a Provider.save_account method

What is the expected enhancement?
Users should be able to save their provider tokens to their local environment. This allows them to more easily instantiate their serverless provider in their code. The interface should likely be similar to other IBM interfaces, such as Qiskit Runtime IBMProvider.save_account.
Outstanding questions:

Should this method be included in the BaseProvider class, or should only some providers implement it?

Only IBMServerlessProvider


npm start with error because package too old

This project seems to have been no longer a long time, and Angular's package dependencies are also very old. When running npm, various errors, consider whether to update the angular package?

What errors are you getting?

After run npm start,I get following error .
λ npm start

><EMAIL_ADDRESS>start C:\MyBox\Github\eventcloud\aspnet-core-angular\angular
> ng serve --host <IP_ADDRESS> --port 4200

** NG Live Development Server is listening on <IP_ADDRESS>:4200, open your browser on http://localhost:4200/ **
Date: 2019-04-02T12:52:35.465Z
Hash: fe8de2f80044ac7d8231
Time: 8850ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.91 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 577 bytes [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 1.79 MB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 1.67 MB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 867 kB [initial] [rendered]

ERROR in node_modules/@types/jasmine/index.d.ts(142,47): error TS1005: ';' expected.
node_modules/@types/jasmine/index.d.ts(142,90): error TS1005: '(' expected.
node_modules/@types/jasmine/index.d.ts(142,104): error TS1005: ']' expected.
node_modules/@types/jasmine/index.d.ts(142,112): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,113): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,121): error TS1005: ')' expected.
node_modules/@types/jasmine/index.d.ts(142,147): error TS1005: '(' expected.
node_modules/@types/jasmine/index.d.ts(142,162): error TS1005: ']' expected.
node_modules/@types/jasmine/index.d.ts(142,163): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,164): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,165): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,179): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,183): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,208): error TS1005: '{' expected.
node_modules/@types/jasmine/index.d.ts(142,217): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,222): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,227): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,228): error TS1109: Expression expected.
node_modules/@types/jasmine/index.d.ts(142,230): error TS1005: ')' expected.
node_modules/@types/jasmine/index.d.ts(635,30): error TS1005: ';' expected.
node_modules/@types/jasmine/index.d.ts(720,1): error TS1128: Declaration or statement expected.

webpack: Failed to compile.

I found some solutions on the Internet saying to update the version of typescript,so ,i update the typescript version to  "typescript": "^2.8.9",But still get new error.
><EMAIL_ADDRESS>start C:\MyBox\Github\eventcloud\aspnet-core-angular\angular
> ng serve --host <IP_ADDRESS> --port 4200

<EMAIL_ADDRESS>requires<EMAIL_ADDRESS><2.7.0' but 2.9.2 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.

Please run the following command to install a compatible version of TypeScript.

    npm install<EMAIL_ADDRESS><2.7.0'

To disable this warning run "ng set warnings.typescriptMismatch=false".

** NG Live Development Server is listening on <IP_ADDRESS>:4200, open your browser on http://localhost:4200/ **
Date: 2019-04-02T12:59:33.839Z
Hash: 1b21ac9a22f48468c9c6
Time: 15909ms
chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.91 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 577 bytes [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 1.79 MB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 1.67 MB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 867 kB [initial] [rendered]

ERROR in src/shared/helpers/SignalRAspNetCoreHelper.ts(9,9): error TS2322: Type '{ autoConnect: true; connect: undefined; hubs: undefined; qs: string; url: string; }' is not assignable to type 'typeof signalr'.
  Property 'startConnection' is missing in type '{ autoConnect: true; connect: undefined; hubs: undefined; qs: string; url: string; }'.

webpack: Failed to compile.

I try to solve the error by the solution
https://github.com/aspnetboilerplate/module-zero-core-template/issues/207
but it sill not work.
with new error.
ERROR in ./node_modules/abp-ng2-module/src/abp-user-configuration.service.ts
Module build failed: Error: C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\abp-ng2-module\src\abp-user-configuration.service.ts is missing from the TypeScript compilation. Please make sure it is in
your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:674:23)
    at plugin.done.then (C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./node_modules/abp-ng2-module/src/abpHttp.ts
Module build failed: Error: C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\abp-ng2-module\src\abpHttp.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:674:23)
    at plugin.done.then (C:\MyBox\Github\eventcloud\aspnet-core-angular\angular\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at process._tickCallback (internal/process/next_tick.js:68:7)

webpack: Failed to compile.

I guess the package is too old, need to update the whole, just guess, I am a .net backstage developer, not good at angular, but I still want to run to see the results.
Best Regards!

@liuzhenyulive we are updating the solution, it will be available soon.

Thank you, I will continue to pay attention.

yes guys....please update the solution asap for the love of dog

https://github.com/aspnetboilerplate/eventcloud/pull/35

@alirizaadiyahsi
Thank for you update so quick, but why after update I can't find the event menu?

And this is the latest version

I found the reason, we need to switch to Default Tenantid, can't be empty Tenantid


Update 8 - Manual consistency updates

Manual content improvements.

@Eideren, let me know if you are ok with this

Yep, looks good, nice work @VaclavElias :)


Complete the data/dimensionles_mapping.yaml

Complete the file with all the possible dimensionless units defined here:
https://notes.desy.de/CXe0axlgSbStWgOLjaXnlQ?view#

Functionality will be merged soon. Action not yet required from any of the assignees until later. I'll write later in this issue to ask for help, I just opened the issue so that we don't forget about it


memoized_path_copy helper to complement @memoize_path

In the light of https://github.com/dandi/dandi-cli/issues/848 discussion to allow for more efficient caching of digests, I wondered if it would be feasible to provide something like memoized_path_copy which would copy all (?) memoized invocations for a specific decorated function as they were invoked for another "new" path.
ATM, looking at the code, and since we rely on joblib memoization and otherwise do not track what specific parametrizations of the function were used, I really do not see how we could even do that.  But may be you @jwodder see some way to provide such functionality?

@yarikoptic I'm not entirely clear on the behavior you're describing.  Do you mean that a thus-decorated function should detect copies (How?) and memoize them as though they were the original path?

I was thinking about something like if we have
@cache.memoize_path
def decorated_func(path, ...):
   .... whatever ...

and decided to copy file from src_path to dest_path (well, could also be "move" instead of "copy"), we could do
copy(src_path, dest_path)
cache.memoized_path_copy(decorated_func, src_path, dest_path)

which would then copy all memoized/cached invocations for the decorated_func for the src_path so they would also be known for dest_path

@yarikoptic This might be possible depending on the underlying functionalities of joblib; I've brought this possibility up in a related issue there.

not sure if we would see desired development in joblib done/accepted in the nearest future... may be only if we send a PR for some alternative (probably based on FileSystemStoreBackend) backend which would provide desired interfaces/functionality.
Meanwhile tried already existing interface to get information about all entries in the cache:
(dandisets) dandi@drogon:/mnt/backup/dandi/dandisets$ time python3 -c 'from dandi.support.digests import checksums; c = checksums._memory.store_backend.get_items(); print(len(c)); print(c[0]);'
55341
CacheItemInfo(path='/home/dandi/.cache/fscacher/dandi-checksums/joblib/dandi/support/digests/get_dandietag/75ce6b526d6e61faac02b4164ac645c5', size=641, last_access=datetime.datetime(2021, 6, 29, 21, 55, 31, 925287))

real    0m3.325s
user    0m2.399s
sys     0m1.141s

and that was a "warm" run, original one was probably twice longer.  But it is on drogon which "saw too much" (over 50k entries) and for a typical user, and probably having mv not that common -- this should be ok.  So we can identify cache entries associated with a path easily and through an existing interface. The question would be either it would be possible to copy them into a new entry (with adjusted path and last_access)?

@yarikoptic Copying modified entries depends on too many implementation details of joblib.Memory which, at best, are managed via functions with no public documentation whose names start with underscores.  If we want to be able to do this reliably, we need cooperation with joblib; see https://github.com/joblib/joblib/issues/1237 or start a new issue.


Loosen typing-extensions version to semver

What was wrong?
typing-extensions was pinned (not sure why?) to a version. It was causing build problems for trinity:
https://app.circleci.com/pipelines/github/ethereum/trinity/7295/workflows/507aaeee-b94f-45f6-951e-7cd53e5b4536/jobs/278793
docker run ethereum/trinity:test-build --help
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 582, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 899, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 790, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (typing-extensions <IP_ADDRESS> (/usr/local/lib/python3.7/site-packages), Requirement.parse('typing-extensions==<IP_ADDRESS>'), {'trie'})

How was it fixed?
Loosened up to semver.
Cute Animal Picture

Rage-merge for a new alpha release of py-trie, so I can get py-evm ready for release tomorrow morning.

:+1: ran into this in ddht too (as did probably most anything we have that had it in the dependency graph).


Editor freezes or crashes when selecting tiles [Android/Fire OS]

Description of Problem or Question
When selecting image drop down menu for tiles, the editor freezes. I'm using a Kindle Fire with the Playstore android version of MoM. Any ideas how to fix this?
Valkyrie Version
2.1.5

What's the name of the obb file you were using? com.fantasyflightgames.mom/main.821.com.fantasyflightgames.mom.obb should work.
The app is not heavy tested to use with the editor, because scenario creation is to be expected to be done on the pc side.

Com.fantasyflightgames.mom/main.808.com
How do I get v.821 - the download link on the wiki only links to v.808?
On Wed, 13 Feb 2019, 2:12 am redwolf2<EMAIL_ADDRESS>wrote:

What's the name of the obb file you were using?
com.fantasyflightgames.mom/main.821.com.fantasyflightgames.mom.obb should
work.
The app is not heavy tested to use with the editor, because scenario
creation is to be expected to be done on the pc side.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NPBruce/valkyrie/issues/1058#issuecomment-463026192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtYJi13kl2cTrrFtMYN3Xf7i68yomJBDks5vM3SZgaJpZM4a4Zlg
.

Also in the android in game editor I can't move tiles or tokens at all - so they just pile on top of each other. I'm using v.808 as the link from the wiki download page only likes to that not v.821. Where do I find the latest version of the OBB?

https://www.1clickobbapk.com/

Ok, I've installed that , and it's still crashing when the tile image is
selected. Must be a memory thing as you suggest - at the moment the editor
is completely unuseable on Android.
Is it possible to create local scenarios on the PC then upload them and
redownload them to android to play?
On Wed, 13 Feb 2019, 10:11 pm redwolf2<EMAIL_ADDRESS>wrote:

https://www.1clickobbapk.com/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NPBruce/valkyrie/issues/1058#issuecomment-463396383,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtYJi3H4LrCvyb7_ZEEV3p0bl3yPpIWVks5vNI2ZgaJpZM4a4Zlg
.

Yes, that is possible and the way of choice to do it. The editor inside android is more of a: hey there is also a editor ... check it out ... maybe not on android ... type of thing.

I will close this, since it is in beta 2.2 and will be in the final release.


Sidebar title sometimes is not formatted

What is not working?
The sidebar will randomly be all lowercase and out of order.
How to reproduce issue?
Issue seems to happen after a redeploy.
Expected behavior
The sidebar have the correct order with emojis shown.

Fix to try: docs.streamlit.io/library/get-started/multipage-apps/create-a-multipage-app#convert-an-existing-app-into-a-multipage-app

Fix found where the call must be at the top of the page: https://discuss.streamlit.io/t/streamlitapiexception/17798/4
Other users were also putting set_page_config in a function and calling for each page.


Resizable panels / splitters broken in desktop Safari

This seems concerning -- think we should understand what's happening here sooner rather than later

I'm looking into this... it seems this test is failing:
https://github.com/xh/hoist-react/blob/develop/desktop/cmp/panel/impl/dragger/DraggerModel.ts#L256-L258
DragEvent's buttons is 0 in Safari, but 1 in Chrome, which causes us to exit out of the drag early here:
https://github.com/xh/hoist-react/blob/develop/desktop/cmp/panel/impl/dragger/DraggerModel.ts#L93-L96
Investigating why / how this could be the case, and what we can do about it. Seems like a low-level Safari bug to me - will post findings here

I came up with a workaround which resolves the issue:
https://github.com/xh/hoist-react/pull/3799
I'll keep looking for a better solution / more information


Initial changes for llvm uplift

The changes in this uplift are mainly related to following the migration guide in this discussion post  https://discourse.llvm.org/t/psa-bufferization-new-buffer-deallocation-pipeline/73375/11

The final issues seem to be related to https://discourse.llvm.org/t/psa-bufferization-new-buffer-deallocation-pipeline/73375/11
I'm working through them now

Hey @AlexandreEichenberger, @tungld, @chentong319
This should be ready for review. Only one lit test has a lingering issue. All other lit tests and end to end tests pass.
test/mlir/driver/buffer_loop_hoisting.mlir no longer works. I don't understand the part of the codebase too well. Everything else succeeds. How would you guys suggest I proceed.
Selfishly I would like to either

Delete the test
Leave the test changed as it is right now in the PR to get the lit tests to pass.

The test can than be updated at a later point in time once it is fully triaged.
Someone familiar with this part of the codebase could triage the issue.  The LLVM dialect, memref, and bufferization dialect or not things I regularly work with. So I'm likely not the best person to trouble shoot this lit test.
This would allow us to unblock the LLVM uplift which has already slipped (Really my fault there).

@AlexandreEichenberger Thanks for the review

Would it make sense to open an issue with the lit test you had to yank?

Will do

Jenkins Linux ppc64le Build #12432 [push] Initial changes for llvm... started at 14:11

Jenkins Linux s390x Build #13438 [push] Initial changes for llvm... started at 14:02

Jenkins Linux amd64 Build #13411 [push] Initial changes for llvm... started at 13:02

Jenkins Linux amd64 Build #13411 [push] Initial changes for llvm... failed after 1 hr 32 min

Jenkins Linux ppc64le Build #12432 [push] Initial changes for llvm... failed after 2 hr 22 min


during installation error in creating symbolic links

the creating of symbolic links from the public directory to the module directory fails

Is it really an error? Or is it just a warning, caused of allready existing symlinks?


Update Add Debit Card form to match VBA styles

@luacmartins @marcaaron will you please review this?
Details
This PR updates the add debit card form to match the form styles when adding a bank account.
Fixed Issues
$ https://github.com/Expensify/App/issues/5644
Tests/QA

Sign into an account and go to Settings->Payments->Add Debit Card, confirm that the form fields have the same height
Confirm you can navigate back to the previous page
Submit the empty form, confirm that the fields are outlined in red (except for state field) and an error message displays below each field
Confirm that an alert shows at the bottom of the form, above the submit button, with a link to fix the errors
Confirm properly filling out fields in the form removes the error messages
Confirm you can add different values for the expiration date including MM/YYYY, MMYYYY, MM-YYYY, MM/YY, MMYY, MM-YY

Local Testing (no QA)

You can use<PHONE_NUMBER>424242 as a test debit card number to confirm the form submits properly

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web
Mobile

🚀 Deployed to production by @roryabraham in version: 1.1.11-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[HOTFIX]Fixed reflection issue in Query

Problem: Reflection call is taking more time while getting the task context listener.
Solution: Now instead of calling CarbonReflectionUtil.scala added code in CarbonScanRDD

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@ravipesala Please review

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6236/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7872/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6595/

LGTM


[ci] Upgrade to chart-testing v2.3.2

Image pushed ✅
Signed-off-by: Reinhard Nägele<EMAIL_ADDRESS>

/lgtm


LUCENE-10577: enable quantization of HNSW vectors to 8 bits

I made a new PR because there was so much merging required after 9.3 release and switching this to 9.4.  Other changes since the previous version:

byte-formatted vectors are now exposed in the Field api again
byte-based comparisons are done in VectorSimilarityFunction instead of being special-cased
I moved VectorEncoding from o.a.l.util.hnsw to o.a.l.index package since it needs to be supported by any vector codec

ehh - I missed adding bytes-suport to KnnVectorField; will follow up

OK - I pushed a commit which actually adds the byte encoding to the whole Fields API - I had missed a few bits there :) So I think this is complete, but I still need to do some end-to-end testing

I made the needed changes to KnnGraphTester and ran several tests with different datasets. I believe this version of the PR addresses all the previous comments, and I'd like to move ahead and commit this to main branch soon with a fast follow backport to 9.x.
Re tests:The "electronics" dataset is a proprietary set of vectors; the GloVe data set is open source. I rescaled the GloVe data and converted to bytes by multiplying each sample by 400 and then clipping to [-128,127].
The results are reasonable; roughly a 10% decrease in indexing times, and similar or a bit smaller reduction in query times in most cases. In a few cases the reduction is much more - eg in GloVe-M=100-beamWidth=400. It seems that in this case the index based on 8-bit vectors fit in a single segment, while the baseline index was spread across two segments.  Generally the quantized indexes are smaller. The amount of reduction depends a lot on: (1) the dimension of the vectors and (2) the number of graph arcs per document. Basically the more of the index is taken up by the vector data (.vec file) the greater the reduction in size.
baseline electronics (256 dim)

recall
latency
nDoc
fanout
maxConn
beamWidth
visited
index ms

0.932
0.37
10000
0
16
32
100
1497

0.962
0.48
10000
50
16
32
150
0

0.959
0.44
10000
0
16
64
100
2666

0.980
0.57
10000
50
16
64
150
0

0.940
0.40
10000
0
32
32
100
1465

0.968
0.51
10000
50
32
32
150
0

0.966
0.46
10000
0
32
64
100
2602

0.984
0.61
10000
50
32
64
150
0

0.901
0.55
100000
0
16
32
100
21830

0.933
0.71
100000
50
16
32
150
0

0.938
0.63
100000
0
16
64
100
41997

0.963
0.82
100000
50
16
64
150
0

0.915
0.57
100000
0
32
32
100
22212

0.949
0.80
100000
50
32
32
150
0

0.952
0.71
100000
0
32
64
100
45915

0.973
0.99
100000
50
32
64
150
0

0.853
0.71
1000000
0
16
32
100
337099

0.894
0.92
1000000
50
16
32
150
0

0.910
0.84
1000000
0
16
64
100
626227

0.939
1.08
1000000
50
16
64
150
0

0.871
0.85
1000000
0
32
32
100
372921

0.910
1.04
1000000
50
32
32
150
0

0.928
1.00
1000000
0
32
64
100
713421

0.956
1.30
1000000
50
32
64
150
0

electronics 256 quantized bytes

recall
latency
nDoc
fanout
maxConn
beamWidth
visited
index ms

0.932
0.40
10000
0
16
32
100
1653

0.961
0.51
10000
50
16
32
150
0

0.959
0.45
10000
0
16
64
100
2992

0.979
0.58
10000
50
16
64
150
0

0.940
0.40
10000
0
32
32
100
1543

0.968
0.54
10000
50
32
32
150
0

0.966
0.51
10000
0
32
64
100
2928

0.984
0.62
10000
50
32
64
150
0

0.901
0.50
100000
0
16
32
100
22502

0.935
0.69
100000
50
16
32
150
0

0.938
0.64
100000
0
16
64
100
40918

0.963
0.81
100000
50
16
64
150
0

0.916
0.56
100000
0
32
32
100
23693

0.948
0.77
100000
50
32
32
150
0

0.952
0.73
100000
0
32
64
100
43528

0.973
0.92
100000
50
32
64
150
0

0.854
0.61
1000000
0
16
32
100
324533

0.894
0.80
1000000
50
16
32
150
0

0.907
0.71
1000000
0
16
64
100
575319

0.937
0.93
1000000
50
16
64
150
0

0.872
0.65
1000000
0
32
32
100
341945

0.909
0.88
1000000
50
32
32
150
0

0.929
0.87
1000000
0
32
64
100
645656

0.957
1.10
1000000
50
32
64
150
0

Glove 100 baseline

recall
latency
nDoc
fanout
maxConn
beamWidth
visited
index ms

0.963
0.65
10000
0
100
200
100
7189

0.993
0.99
10000
100
100
200
200
0

0.973
0.71
10000
0
100
400
100
11174

0.996
1.08
10000
100
100
400
200
0

0.963
0.67
10000
0
200
200
100
7634

0.993
0.98
10000
100
200
200
200
0

0.972
0.73
10000
0
200
400
100
11347

0.996
1.09
10000
100
200
400
200
0

0.887
1.47
100000
0
100
200
100
215773

0.952
2.44
100000
100
100
200
200
0

0.918
1.80
100000
0
100
400
100
424821

0.972
3.09
100000
100
100
400
200
0

0.887
1.46
100000
0
200
200
100
208859

0.952
2.55
100000
100
200
200
200
0

0.918
1.83
100000
0
200
400
100
430869

0.972
3.09
100000
100
200
400
200
0

0.824
3.15
1000000
0
100
200
100
3946321

0.893
5.18
1000000
100
100
200
200
0

0.859
3.61
1000000
0
100
400
100
9402514

0.923
6.27
1000000
100
100
400
200
0

0.874
3.86
1000000
0
200
200
100
3413582

0.932
6.88
1000000
100
200
200
200
0

0.904
4.95
1000000
0
200
400
100
7758411

0.957
8.66
1000000
100
200
400
200
0

Glove 100 byte quantized

recall
latency
nDoc
fanout
maxConn
beamWidth
visited
index ms

0.962
0.70
10000
0
100
200
100
8259

0.993
1.06
10000
100
100
200
200
0

0.973
0.74
10000
0
100
400
100
12799

0.996
1.15
10000
100
100
400
200
0

0.962
0.66
10000
0
200
200
100
8331

0.993
1.07
10000
100
200
200
200
0

0.973
0.75
10000
0
200
400
100
12497

0.996
1.15
10000
100
200
400
200
0

0.887
1.32
100000
0
100
200
100
169558

0.952
2.08
100000
100
100
200
200
0

0.917
1.51
100000
0
100
400
100
363433

0.972
2.74
100000
100
100
400
200
0

0.887
1.24
100000
0
200
200
100
174706

0.952
2.12
100000
100
200
200
200
0

0.917
1.51
100000
0
200
400
100
366009

0.972
2.70
100000
100
200
400
200
0

0.820
1.85
1000000
0
100
200
100
3681623

0.891
3.37
1000000
100
100
200
200
0

0.856
2.48
1000000
0
100
400
100
8957531

0.921
4.37
1000000
100
100
400
200
0

0.873
3.66
1000000
0
200
200
100
3041750

0.932
6.57
1000000
100
200
200
200
0

0.905
4.75
1000000
0
200
400
100
7676780

0.957
8.66
1000000
100
200
400
200
0

I'll push to main later today if I don't see any further discussion, and let it percolate for a bit before backporting to 9.x

Thanks so much for the review @jtibshirani -- I will post some PRs with fixes today, although I may not be able to address everything you raised


There is a mixup of lines in the documentation of image_layer.py

I think the lines in the following documentation are somehow not in correct order. Maybe chunks were added between multi line statements. Especially import_str: is broken.
https://github.com/tern-tools/tern/blob/a3e76cdb0e08d92e896822634cbcf670bdd05e30/tern/classes/image_layer.py#L18-L43

@sayantani11 go for it!


add parserPlugins config opt to parse flow syntax

added a parserPlugins config option that can be set to an
array of string plugin names to pass to Babylon, allowing
ESDoc to parse Flow syntax (and whatever else might be
available now / in the future).
added a parser test for the most basic flow syntax and tested
on a project using flow.
added some documentation regarding the config option.

i needed it, it's there if y'all want it...

This seems fantastic?

@krainboltgreene yeah, it's worked great for us.
You can use it directly from my version if you like:
yarn add --dev @nrser/esdoc # or whatever install command you need

It's based off version 0.5.2 (which is current ESDoc release at the moment) with only the PR commit added. I haven't looked at what's going on with ESDoc 1.0, but unless it includes this feature I'll port this change in once it's out and stable.

Thanks!
ESDoc v1.0 supports to handle parse options.
e.g. https://github.com/esdoc/esdoc-plugins/blob/master/esdoc-jsx-plugin/src/Plugin.js#L8

Awesome! So you create plugins, and then they can add Babel plugins?


added copyright & license

Helps with finding you & your project.  Company owners like to know the licenses of the assets they're using.
I recommend hard-coding (c) year since it may be re-built by someone a few years after you stopped working on it.

Agree!


Add missing openapi_from_app.py script to .static_files

Title for squash and merge:
Add missing openapi_from_app.py script to static file list

@KerstenBreuer Would be good to have openapi_from_app.py be part of .static_files. Not sure if the omission was intentional or by mistake.

Thanks, @deepakunni3. However, this was intentional because not all services have a RESTful API.

Ah, okay. Yes, that makes sense 👍


Tree Map and Heat Map not displayed in ErrorAnalysisDashboard on Databricks

I am able to run this notebook with no issue locally using Jupyter Notebook. However, whenever I run the same notebook on Databricks, Tree Map and Heat Map are not displayed.
Output:

Databricks cluster info:

@le1tz3y sorry about the trouble you are having.  Please see related issue:
https://github.com/interpretml/interpret-community/issues/290
Copy-pasting here:
unfortunately Databricks is the most difficult environment of all, because the driver/worker nodes are under their own virtual network, and for tree map and heatmap to be generated we need to call the python backend from the front-end. I created an issue on databricks forum a year and a half ago:
https://forums.databricks.com/questions/42981/call-flask-app-on-azure-databricks.html
Actually that link doesn't seem to exist anymore.

I think it should still be possible to generate a static view of the dashboard though

Hi I'm facing the same issue. Would you provide more details on how to generate a static view in Databricks? @imatiach-msft

@imatiach-msft this recent thread may be related https://community.databricks.com/s/question/0D53f00001RYmgJCAT/hosting-python-application-on-azure-databricks-and-exposing-its-rest-apis
Just wanted to share since the older link doesn't work anymore.
What do you users have to do to see the static view?


MLDB-1713 added test case for fixed wildcard issue

Issue was fixed but I added a unit test case.

+1


Multiple chart not work

Thanks for the library, it nice to work with rechart. But I am facing a problem.
If I have multiple chart It doesn't work properly.
Is there a way to use multiple rechart to png image?

Can you provide a reproduction or more detail on your problem?
Does it not work when there are multiple charts on the same page?
In what way does it not work? Are you getting an error? Does it only download one of the charts regardless of how many are on the page?

@rahadkc here is a quick sandbox  example of downloading two different charts.
Does this do what you want it to do? This wouldn't scale well if you had a large number of charts though.

Closing this issue until/unless there is any further discussion.


Any interests in updating this to support the latest Visual studio sln formats?

Any idea what it would take to update this to the latest and is there any interest in doing so?

ahh I see https://github.com/themotleyfool/SlimJim/pull/7 un-merged

Thanks for the nudge. #7 is merged.


Close when clicking on parent

Firstly - great component, thanks!
Idea/Issue
It feels natural to be able to close the dropdown by clicking on the main element (e.g. the input) again.
Currently, doing so causes a 'flash' where the dropdown closes on mouseDown but then opens again on mouseUp.
Secondly, if you use the 'Toggle' slot for a custom toggle icon, clicking this no longer works to close the dropdown.
Solution
Either make it the default behaviour or provide an option to make clicking anywhere on the main element close the dropdown.
GIF to show what I mean

Thanks again.

Thank you for the feedback 😄 .

The 'flash' issue is fixed in 58ab2bf63bc9be0565d86635330fae571f361652, and released in v2.7.0, maybe you can try upgrade it.

I will research for this, but since changing this behavior will introduce a breaking change I will expose a new prop to achieve different behavior.

It feels natural to be able to close the dropdown by clicking on the main element (e.g. the input) again

Did you register the click event on custom toggle slot by the exposed toggle function.
I also noticed it works properly on button but span 😞 , I will fix it.

if you use the 'Toggle' slot for a custom toggle icon, clicking this no longer works to close the dropdown

Thanks for the reply - much appreciated - hadn't used the toggle function so will give that a go... I should have read more carefully! All the best.

LMK if it doesn't works 🙇♂ .

@timchesney I noticed you reopen this issue. Does this still not work 🤔 ?


ncurses: 6.0-20171125 -> 6.1-20180303

Motivation for this change
New ncurses version is out.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

closing since ncurses 6.1 is in master now.


Is there 3D ConvNets support ?

(Is there) or (will there be) a 3D ConvNets support in tensorflow ?
Which helps for spatiotemporal features.

We don't have a conv3d op yet, but there will eventually be!   We'll use this issue to track this feature request.

:+1:

Theano offers serveral 3D Convolutional Implementations on CUDA. https://github.com/Theano/Theano/blob/master/theano/sandbox/cuda/GpuConv3D.py
https://github.com/Theano/Theano/blob/master/theano/sandbox/cuda/GpuConvGrad3D.py
https://github.com/Theano/Theano/blob/master/theano/sandbox/cuda/fftconv.py
I would really appreciate, if you guys can port this stuff to tensorflow.

:+1:

What is a good way to support 3D convolution in an existing code base that already uses tensorflow? I'm expecting to have to just port to a different library, but wanted to ask in case there's an easier way. I would want GPU support, but less optimized is fine.

+1 on this request.

Please, support 3D convnets. Thanks for help.

Ops are arriving with https://github.com/tensorflow/tensorflow/pull/1571/commits/784778e76d3f5fd75b9ec99138770795907f1616

Great!
I guess a problem with 3 (or higher) D convnets will be the cost of computations. Do you think it would be possible / useful (or maybe it is already possible in your ops?) to implement a tetrahedral instead of square grid convnet as suggested in this article? Interesting also for later generalization to higher dimension: if I understand well, this approach (generalized if necessary to higher dimension) will make the number of nodes in the kernel linear instead of exponential in the dimension of the initial tensor.
http://arxiv.org/pdf/1505.02890v2.pdf

Can the people at the origin of the present enhancement look at the following one:
https://github.com/tensorflow/tensorflow/issues/1661
The generalization asked may (?) be easier to implement by the same people who have already done it in 3D...

Is it just the missing conv3d operation? Or do all operations for ConvNets need to be modified? Because when looking through the API documentation, the input tensor almost always seems to be fixed at 4D with [batch, height, width, channels].
What I can spot now but is probably incomplete:

avg_pool
max_pool
moments

https://github.com/tensorflow/tensorflow/commit/6a187ccddaebb741ea77fc3201c6e36625f0aadb added 3d convolution support, including the pooling ops.

is there also a 3d "Deconvolution" (conv3d_transpose) available?
Thanks!

@rogertrullo conv3d_backprop_input is available e.g. #2467

@rogertrullo if you manage to get conv3d_backprop_input to work as a deconvolution, would you publish some example code?

@el3ment sure!, I am wondering though, if I define the operation like in #2467 , if I use the function as a layer, will the backward pass do something? (since we are actually using the backward pass of the convolution as forwards pass for the "deconvolution" )

@rogertrullo I think so. conv2d_transpose is actually conv2d_backprop_input.
https://github.com/tensorflow/tensorflow/blob/9e8a4938c06301cc3afa4cd3a3c6c2279e81c98f/tensorflow/python/ops/nn_ops.py#L292

According to the doc (r0.9 and master), max_pool3d doesn't support pooling along the depth axis (ksize[1] = 1). Is there a way around this? Is this a missing feature?


Module dependencies example

based on this example here a created two modules that have dependency to each other. DB to APP.
RDS Module has dependencies to my App Module with vpc_id and subnets.
Based on dependencies section in the docs I created to following setup:
But when I run plan-all in stage I get asked to enter  vpc_id and subnets.which should not be the case.
myProject:
  modules:
    app:
      - main.tf
      - terragrunt.hcl # empty file
    rds:
      - main.tf
      - terragrunt.hcl
  prod:
  stage:
    eu-west-1:
      db:
        - terragrunt.hcl

The content of myProject/modules/rds/terragrunt.hcl is
dependency "vpc" {
  config_path = "../app"
}

inputs = {
  vpc_id     = dependency.vpc.outputs.vpc_id
  subnet_ids = dependency.vpc.outputs.private_subnets
}

This is the content of my myProject/stage/eu-west-1/db/terragrunt.hcl
locals {
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))
  region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))
  env        = local.environment_vars.locals.environment
  aws_region = local.region_vars.locals.aws_region
}

terraform {
  source = "${get_parent_terragrunt_dir()}/modules/rds/"
}
include {
  path = find_in_parent_folders()
}

inputs = {
  name = "sample-rds"
}

Maybe you could extend your example project and add module dependencies.

Hmm it looks like you have a terragrunt.hcl file in modules/rds, which you reference as the terraform source in another terragrunt.hcl file.
Terragrunt doesn't do any configuration processing of the module pointed to by the terraform block source attribute, as it assumes that is a terraform module. So it won't pick up the terragrunt.hcl file in your modules/rds folder, which is why it is not getting any dependencies.
If you look at the examples, you will notice that the infrastructure-modules repo only contains terraform code, and all the terragrunt config lives here (and points only to the infrastructure-modules repo). Part of doing that is to make it extra clear that there should be no terragrunt configuration in the modules.
Given all that, to do what you want:

Have the dependency block and inputs attributes in myProject/stage/eu-west-1/db/terragrunt.hcl
If you want to make that reusable, you need to use read_terragrunt_config to import it in, or wait for import blocks

thx, somehow I got the impression it was also possible to do dependencies on modules.


New version: Microsoft.OneDrive.Internal.Fast version 21.247.1130.0001

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

Can someone tell us the error code?
/update fixed error<PHONE_NUMBER>
2147747474 means there is a newer version installed.


Initial implementation

This PR includes a rewrite of my previous draft implementation and an updated README.md.
Below snippet demonstrates the basic usage.
import { Octokit } from "https://cdn.skypack.dev/@octokit/octokit";
import { createOAuthUserClientAuth } from<EMAIL_ADDRESS>
const octokit = new Octokit({
  authStrategy: createOAuthUserClientAuth,
  auth: {
    clientId: "client_id", // get client id from https://github.com/settings/apps
    clientType: "github-app", // "github-app" | "oauth-app"
    expirationEnabled: true, // true | false
  },
});

const auth = await octokit.auth();
if (!auth) await octokit.auth({ type: "signIn" });
else console.log(await octokit.rest.users.getAuthenticated());

Although targeting browsers, this module is written, tested, and bundled using Deno for its simplicity. The (bundled and gzipped) size is slightly less than 2kB.
I’m grateful if @gr2m or @wolfy1339 could give it a review. Thanks again for your help.

Thanks for the suggestions. I’ve published the octokit-auth-oauth-user-client module.
Closing for now.


Import single bootstrap module

Hello,
There something strange happening on a project.
I'm compiling with webpack some js file, 2 of these include a boostrap.js file that initialize all js requirements like jquery, some boostrap modules (like dropdown), bootstrap-select ecc.
In one page of my application there is 2 js file compiled, one generic used in the entire application and one that is relative to the page showed.
Both of them import the bootstrap file (described before).
In a page of my application there is a select that is initialized with the bootstrap-select plugin but if the bootstrap.js file is included multiple time (2 in my case) this plugin not works.
Looking at the events binded on the select component I can find 2 click event, normally only one should exists.
Bootstrap select is not working because the two click event are in conflict, one open the select and the second close it immediately making the select not usable.
Importing only one time the module bootstrap/js/dist/dropdown the select works again.
There any way to import multiple time bootstrap/js/dist/dropdown without conflicts?
Thank you

Bug reports must include a live demo of the problem. Please create a reduced test case via Stackblitz etc.


Can't use Batch Variable as TRAVERSE Target

OrientDB Version: 2.2.18
Java Version: openjdk version "1.8.0_131"
OS: Ubuntu 17.04
Expected behavior
Just as we can pass a record ID as the target for TRAVERSE, an equivalent batch variable should (as under Steps to reproduce, below) also work.
Hopefully this is related to #7435
Actual behavior
The following batch executes, but it returns an empty result. Which is different to the behaviour of returning $tgt, and issuing the same TRAVERSE command on the returned record-id.
Steps to reproduce
Given this set-up:
CREATE CLASS leonardo EXTENDS V
CREATE CLASS donatello EXTENDS V
CREATE CLASS on_top_of EXTENDS E

The following batch returns an empty result:
BEGIN
LET leo = CREATE VERTEX leonardo
LET tgt = $leo
LET don = CREATE VERTEX donatello
CREATE EDGE on_top_of FROM $don TO $leo
LET leo = CREATE VERTEX leonardo
CREATE EDGE on_top_of FROM $leo TO $don
LET don = CREATE VERTEX donatello
CREATE EDGE on_top_of FROM $don TO $leo
LET leo = CREATE VERTEX leonardo
CREATE EDGE on_top_of FROM $leo TO $don
LET don = CREATE VERTEX donatello
CREATE EDGE on_top_of FROM $don TO $leo
LET leo = CREATE VERTEX leonardo
CREATE EDGE on_top_of FROM $leo TO $don
LET don = CREATE VERTEX donatello
CREATE EDGE on_top_of FROM $don TO $leo
LET leo = CREATE VERTEX leonardo
CREATE EDGE on_top_of FROM $leo TO $don
LET traversal = TRAVERSE in('on_top_of') FROM $tgt
COMMIT
RETURN $traversal

Even changing the final LET to this fails:
LET traversal = TRAVERSE in('on_top_of') FROM $tgt.@rid

After a little more tinkering, it's clear that it's not so much the batch variable but the traversal itself that is failing, somehow.
If I create another class:
CREATE CLASS lifo EXTENDS E
and replace the three lines above COMMIT in the batch with:
LET top = CREATE EDGE lifo FROM $tgt TO $don
LET leo = CREATE VERTEX leonardo
CREATE EDGE on_top_of FROM $leo TO $don
UPDATE EDGE $top SET in=$leo
LET traversal = TRAVERSE in('on_top_of') FROM $tgt

... then the batch return value is not empty.

Hi @TropicalPenguin
Could you please try latest snapshot? A couple of days ago I pushed a fix that should solve this problem
Thanks
Luigi

Yep, solved in 2.2.21-SNAPSHOT. Thanks!


Notifications

Is there a way to enable Home notifications when the car is started? My wife is checking the garage every time her car is scheduled to start because she doesn't trust the automation :)
I don't see the "notifications" option in the settings of the "climate" switch. I do see it in the settings of the "door lock" switch. Maybe if HomeKit only allows notifications on certain types, we could have an option to pretend climate is a different type?

Hmm, yeah, from a quick google it seems like notifications are only available for windows/blinds, door/locks, and sensors in Homekit.
Seems like the solution I've seen in homebridge-contact-switch-notification and homebridge-motion-switch would be to add an optional sensor accessory whose state is linked to the start switch. So when the switch turns on, the sensor goes active and triggers a notification.
Could look into adding something like that.

This is old, but I "solved" this issue by using Shortcuts instead of HomeKit automations.
Essentiallly:
Step 1, open garage door

Step 2, Check Eve door/window sensor to make sure door is open(or at least opening)
Step 3, If door is open, start the car.


python310Packages.apache-beam: 2.40.0 -> 2.41.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.apache-beam is: "Unified model for defining both batch and streaming data-parallel processing pipelines"
meta.homepage for python310Packages.apache-beam is: "https://beam.apache.org/"
meta.changelog for python310Packages.apache-beam is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.41.0 with grep in /nix/store/n07s56rmypl39s46cms5p4di6m0vzn6w-python3.10-apache-beam-2.41.0
found 2.41.0 in filename of file in /nix/store/n07s56rmypl39s46cms5p4di6m0vzn6w-python3.10-apache-beam-2.41.0

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

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.apache-beam
python310Packages.dm-sonnet
python310Packages.tensorflow-datasets
python39Packages.apache-beam
python39Packages.dm-sonnet
python39Packages.tensorflow-datasets

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n07s56rmypl39s46cms5p4di6m0vzn6w-python3.10-apache-beam-2.41.0 \
  --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 python310Packages.apache-beam https://github.com/r-ryantm/nixpkgs/archive/003f86e48f5cc1bbdb385b4460f656c4774be7c7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n07s56rmypl39s46cms5p4di6m0vzn6w-python3.10-apache-beam-2.41.0
ls -la /nix/store/n07s56rmypl39s46cms5p4di6m0vzn6w-python3.10-apache-beam-2.41.0/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.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @ndl for testing.

@ofborg build python310Packages.apache-beam

why is this closed?

The update has been done in https://github.com/NixOS/nixpkgs/commit/b744a3cd49cba33c622e22549270a4027f289c43.


Typescript support

Since the UdgerParser class is not exposed, but only a default function that instantiate the class, there's no way to reference it in a typescript project and take advantage of static analysis.
For example:
class MyClass {
  constructor(private _uaParser: UdgerParser) {}

  getUserAgentInfo(req: Request) {
    const ua = req.headers['user-agent']
    return this._uaParser.parseUa(ua);
  }
}

Can you please expose the class (and maybe add correct types as well?)

@eviltik can you please help?

@eviltik can you please help?

No, i'm not typescript compliant :( PR welcome !


Change all the cache docs to use new configurable URL from 1.0

For details, see relevant sections of this docs PR and this JS one.

In this case we will consider "all the cache docs" to be just Show Video Ads, which is addressed by PR #496
There is additional work needed to update the Prebid.org-hosted video example pages, which has been captured in #508


docker images are too large

how come docker image is 9GB?
this is not model itself, right?
it is odd to have docker image 20x larger than model itself (e.g. 1B/3B INT4)

Thanks for raising the issue! The reason why distribution-meta-reference-gpu is 7GB is because it uses pytorch as base image which is ~6.18 GB, due to CUDA library for GPU inference. For distributions with remote providers, the size is ~2GB. We are also looking for ways to reduce the size of docker images.

This is likely fixed by #349.


✘ [ERROR] No matching export in "node_modules/bootstrap5-autocomplete/autocomplete.js" for import "Autocomplete"

Cannot wrap my head around this error in Angular 17 SSR
✘ [ERROR] No matching export in "node_modules/bootstrap5-autocomplete/autocomplete.js" for import "Autocomplete"
src/app/components/contact/contact.component.ts:8:9:

8 │ import { Autocomplete } from 'bootstrap5-autocomplete/autocomplete';

I installed the library npm i bootstrap5-autocomplete, imported inside of the component
import {AfterViewInit, Component, DoBootstrap, Inject, Injectable, PLATFORM_ID} from '@angular/core';
import {TranslateModule} from '@ngx-translate/core';
import {HttpClient} from '@angular/common/http';
import {ReactiveFormsModule, FormBuilder, FormGroup, FormControl, Validators} from '@angular/forms';
import {FormsModule} from '@angular/forms'
import {TopicsEnum} from '../../models/topics';
import {CommonModule} from '@angular/common';
import {phoneNumbers} from '../../../assets/phone-numbers';
import {Autocomplete} from 'bootstrap5-autocomplete/autocomplete';
import {CountriesService} from '../../services/countries.service';
import {tap} from 'rxjs';

@Injectable()
@Component({
  selector: 'app-contact',
  standalone: true,
  imports: [TranslateModule, ReactiveFormsModule, FormsModule, CommonModule],
  templateUrl: './contact.component.html',
  styleUrl: './contact.component.scss'
})
export class ContactComponent implements DoBootstrap, AfterViewInit {
  contactForm: FormGroup;
  submitted: boolean = true; // show and hide the success message
  isLoading: boolean = true; // disable the submit button if we're loading
  responseMessage: string; // the response message to show to the user
  TopicsEnum = TopicsEnum; // Assign TopicsEnum to a class property
  phoneNumbers = phoneNumbers;
  countryCodePhoneNumber: string;

  constructor(@Inject(PLATFORM_ID) private platformId: Object,
    @Inject(CountriesService) private countriesService,
    private formBuilder: FormBuilder, private http: HttpClient,
  ) {
    this.contactForm = this.formBuilder.group({
      firstName: new FormControl("", [Validators.required]),
      secondName: new FormControl("", [Validators.required]),
      email: new FormControl("", [Validators.required, Validators.email]),
      selectedTopic: new FormControl(this.TopicsEnum.H4U.toString(), [Validators.required],),
      selectedCountry: new FormControl("", []),
      phone: new FormControl("", [Validators.required, Validators.pattern('[- +()0-9]+')]),
      countryCodePhoneNumber: new FormControl(this.countryCodePhoneNumber, []),
      message: new FormControl("", [Validators.required, Validators.maxLength(256)]),
      honeypot: new FormControl(""),
    });
  }
  ngAfterViewInit(): void {
    console.log('from ngAfterViewInit')
    this.countriesService.getCountryListAllIsoData().pipe(
      tap(countryObj => console.log(countryObj))
    );
  }
  ngDoBootstrap() {
    Autocomplete.init();
  }

doesn't make a lot of sense to me either. you may want to try using the full esm path (including .js extension)
but it's probably down to your build pipe. this module uses standard esm modules, anything compatible with that should work fine

doesn't make a lot of sense to me either. you may want to try using the full esm path (including .js extension)
I tried this:

import {Autocomplete} from '../../../../node_modules/bootstrap5-autocomplete/autocomplete.js';

but it's probably down to your build pipe.

Could you please elaborate?

what i mean is that your issue is probably not related to this project, but is specific to how you build things. do you have any other issues with other
if you google a bit you can find similar issues, eg
https://community.transloadit.com/t/why-do-i-keep-seeing-this-no-matching-export-error/16632
could be your node js version
could be something specific to angular
i don't know :)
but as far as i can tell, everything is declared properly in my module :)


build: rollup-plugin-esbuild target Node.js v18

Description
While I was reading the source code of Vitest, notably vite-node to investigate how it works, I stumble on the rollup.config.js file and found out that it was building for Node.js v14 whereas Vitest requires at least Node.js v18.
By avoiding useless transformations for old runtimes not supported anymore, we can reduce packages sizes.
For example I tried to experiment with the build size of vite-node, with Node.js v14 target, the dist folder takes 180.6 kB and with Node.js v18, it takes 176.9 kB.
I haven't checked the other packages, but we should probably get a similar reduction of package size.
It's a minimal difference, but still good to get, I guess, it's always nice to have less to download on npm and reduce the size of our node_modules. :laughing:
Small note
We could maybe improve the "implementation" of this PR, by automatically getting the oldest supported Node.js version thanks to the package.json, "engines" field, but that might overcomplicate something which is not needed, might be fine to update it manually each time we drop support for a Node.js version (however we should not forget to also update this then).

Yes, but we also support browser testing without pre-transforming Vitest source code #4320

Closing as not needed. :+1:


As a developper, I would like support for a URL shortener tool

We are currently facing a challenge in our development pipeline where long URLs in markdown files are causing issues with the 80-character line length rule enforced by our markdown linter.
We're seeking a script or tool that can automatically shorten URLs in markdown files, ensuring compliance with the line length rule while maintaining readability and functionality of the links.
The awesome-url-shortener GitHub repository has a list of url shortener services and hostable services.

This is not necessary.
https://github.com/updownpress/markdown-lint/blob/master/rules/013-line-length.md

This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.

From a security practice, it is a bad habit to get users to get into the habit of following shortened links obscured by an external link shortener. Only a link shortener within a domain we control should be trusted.
https://alpha.canada.ca/ had a link shortener service at some point, we should look into why they didn't pursue it.

Since it is handled with an exception to the rule and we dont mind long url, I will close this issue.


Creating user in zabbix from AD when surname is empty

When an user in AD has empty surname, the program generate an AttributeError:
Traceback (most recent call last):
File "./zabbix-ldap-sync", line 92, in
main()
File "./zabbix-ldap-sync", line 89, in main
zabbix_conn.sync_users()
File "/root/zabbix-ldap-sync/lib/zabbixconn.py", line 369, in sync_users
user['surname'] = self.ldap_conn.get_user_sn(ldap_users[eachUser]).decode('utf8')
AttributeError: 'NoneType' object has no attribute 'decode'

#6 fixed this issue.


[poll] Editor of choice for Vue project

IDE = what?
Maybe add Webstorm?

@cristijora I think most likely it means Webstorm lol, I can't update existing polls though since it's not allowed by design.

How come did I forgot Vim and Emacs?

VSCode won here, but indeed I see many people use WebStorm too.


Add inventory script for ansible-playbook

Allow ansible to get hosts inventory from rackHD by node id
the ansible job looks for this script in /opt/onrack/etc/ansible/

@RackHD/corecommitters  @zyoung51 @tannoa2 @uppalk1

+1

+1

Do we also need to remove inventory.py?

Two minor things that I think might be a -1, but correct me if I'm wrong on either one.

Ah ok @keedya, sorry I thought inventory.py as a file still existed somewhere, but looks like it doesn't. :+1:


Make Widget Works with proper database

After using postgres some test started to fail.
They are all related to comparing pint values and int in widgets.
The branch is called "improve_testing"
@cornelv If you  have time that would be definitely an issue worth looking into!

I looked into this today I wasn't able to figure out the issue I will keep working on this in the following days.

I figured it out.
Django called validators for Int fields if a database was used.


push does not upload new versions after first version

Okay there's this weird thing that has happened to me twice now (version <IP_ADDRESS> on macOS Sierra)

Create a file locally
Push it
Make edits to the file
Push it again
Repeat 3 - 4 multiple times
Go to another computer (Linux) and pull

Expected: the file I pull is the most recent version
Actual: the file I pull is the first version I pushed from the other computer
I look in drive.google.com at the file, right click and go to "Manage Versions" and it says there is only one "version" even though I pushed multiple successive versions (and the pushes purported to be successful)
I've tried push --force and that doesn't seem to make a difference...
The other weird thing is that in drive.google.com it lists the file's modification time as the time of the last push, yet when I look in "Manage Versions" there is only the one (first) version and its time is the time of the first push.
The only thing I can do is manually upload a new version via the web UI.
I've been using this amazing program for 1+ years and this just started happening recently, around the time that I noticed Google added that "Manage versions" feature, so maybe it is related to API changes or something.
This is obviously a serious issue because it could result in lost work totally transparently. Let me know if there's anything more info I can provide.

Hello there @andmatand, thanks for reporting this and welcome to drive!
So would you mind giving an actual sample of a file and how to make those edits?
If the file size remains the same, by default we won't push it unless you use
--ignore-checksum=false as per https://github.com/odeke-em/drive#verifying-checksums which is the common case for most users. In the past drive was sensitive enough and would push up any file change but this was found to unnecessarily consume CPU and bandwidth verifying checksums everytime so we only perform checksum if that flag is set. It is a tradeoff that we found necessary since folks complained about speed.
From the symptoms it seems like the filesize remained the same and any edits just caused modTime changes(modTime can be changed without uploading or downloading any content).

Ah! You are exactly right. I am changing the file contents without changing the size. (This is a common workflow for editing tracker music in PICO-8 files where the data allocated to the music is a fixed size) That explains it!
Okay so then the UI seems pretty darn misleading in this case, because it shows all the same progress bar and everything as if it is uploading the file contents...is that not what it was doing? I would expect that it would instead say something like "filesize hasn't changed...updating timestamp". So I think there's room for improvement there.
Also it seems to me that "force" should have done the job here. The documentation says it "forces a push even if no changes present" and that does not seem to be what it did in this case. I think the --ignore-checksum=false behavior should be added to the behavior of --force. I told it to push one specific file, with the --force flag...in most CLI syntax you literally cannot get any more explicit than that lol. So I did not imagine there could be another flag that would be more forceful :)

might be an idea to close this issue if the answer is satisfactory. when flicking through the issue list it gives the impression that there is a serious problem!

Yeah, good idea. I'll make a different issue for the UI issue(s).


chore: Fix ci for icelake-dev

What is the purpose of the change
(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)
Verifying this change
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Extended interop tests to verify consistent valid schema names between SDKs
Added test that validates that Java throws an AvroRuntimeException on invalid binary data
Manually verified the change by building the website and checking the new redirect

Documentation

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

cc @ZENOTME

Sorry for the noise, we put it to wrong repo.

Don't worry! I wouldn't accept it anyway without a JIRA issue and a proper PR description! 😄
I'm glad you find the CI configs useful!


how to get the value of ganglia metrics ?

Hi：
when I use the logstash-input-ganglia to receive package from gmond and save to elasticsearch,
I can get the metrics base info like name type unit ...，But I can't get the value of metrics
I read the source ,and I think should modify ganglia.rb and add
event["val"] = data["val"]
before
%w{dmax tmax slope type units}.each do |info|
am I right ?
sorry for my bad english

Hi kkpbbb
I am also stuck in the same problme
Were you able to solve the issue ?
Can you share your ganglia.rb
Thanks in advance

same problem

Hi
I have resolved this problem
But currently i on vacation so do not have details with me.
If you need solution i can provide you with details next week
Regards
himanshu
On Sun, Oct 25, 2015 at 12:55 PM, milonimrod<EMAIL_ADDRESS>wrote:

same problem
—
Reply to this email directly or view it on GitHub
https://github.com/logstash-plugins/logstash-input-ganglia/issues/2#issuecomment-150898482
.

I'm having the same issue. Is there somebody who solved this?

@hd8622, did you happen to get this information? My gut says it's in gmondpackets.rb, but I'm still fairly new to ruby.

FYI, anyone having this issue, check the Pull requests. There are a couple solutions which work like a charm.

Fixed in v3.1.0


Added a field for preferred gender pronoun.

Sorry @myles but you'll want to create a new changeset to the migration.xml file for adding the column:
http://www.liquibase.org/quickstart.html
This is what allows the live webapp to incrementally have its schema change.


Issue #610: Add jacobi3d-gausssiedel to the test.

Original date: 2018-02-27 17:10:48
Original PR: https://charm.cs.illinois.edu/gerrit/883

Change-Id: I1783d3d3b0107e9da4646c568ebdba66a0718271

This test no longer exists, so closing this PR.


Nice!

Hey I just wanted to say that your work is great. Thaks!

Please don't use issues that way


CQL->ELM compiler leaves out crucial type information

The Java CQL->ELM compiler can annotate the ELM with the determined static types of the nodes in the ELM tree. However, there are quite a few occasions where these annotations are left out, sometimes at crucial points, e.g.
{
                 "name" : "ToString",
                 "libraryName" : "FHIRHelpers",
                 "type" : "FunctionRef",
                 "operand" : [ {
                    "path" : "system",
                    "type" : "Property",
                    "source" : {
                       "type" : "First",
                       "source" : {
                          "path" : "coding",
                          "type" : "Property",
                          "source" : {
                             "path" : "code",
                             "scope" : "$this",
                             "type" : "Property"
                          }
                       }
                    }
                 }

Note how none of the Property nodes in this expression have a type annotation, so the user of the ELM (in our case the ExpressionBuilder) has to redo the semantic analysis that the compiler has already done. Can we ask the Java team to fix this?
Most of the time, there is at least some information:
{
              "path" : "component",
              "type" : "Property",
              "source" : {
                 "locator" : "173:11-173:25",
                 "resultTypeName" : "{http://hl7.org/fhir}Observation",
                 "name" : "EncounterLastBP",
                 "type" : "QueryLetRef"
              }
           }

Here, we see that the result of the QueryLetRef has a type annotation, but then again, the property reference (component) has not.
If this cannot be fixed, we have to think about sharing some code between our to-be CQL->ELM compiler and the ExpressionBuilder to redo the analysis....

See this code
You are supposed to get the return type of these implicit conversions from the ModelInfo.  The return type of ToString is indicated here:
 <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EnrollmentRequestStatus" toType="System.String"/>
We should be asking them to fix this.  Note this isn't the only place you're going to see this.  CQL-to-ELM doesn't annotate types on some aliasref nodes either.  It's really annoying.
And also keep in mind that we have code in various places that supports older renditions of ELM that could still exist in the wild and we need to support.

I think this is safe, but we should probably issue a warning that the resultTypeSpecifier is not present and we are inferring the type based on the TypeResolver's GetProperty method.

File a bug with Bryn that these nodes should have returnTypes as a final solution.


add numpad sound

add numpad sound

It is a thing when you have number lock enabled

It is a thing when you have number lock enabled


Primary Disk Size Definition

Field recommended disk min size is 80g.  Currently it is not available to set via variables and using default 40g default.
Could specify in root_block_device for aws provider, or az_nodes{ disk_size{} } in xc provider.

@Mikej81 exposed "aws_instance_disk_size" and set default to 80G.

Thanks!


[JS/PY/C#] Tools + Stream Enablement

Hello
Is this streaming example now working (dotnet/c#) ?

Hey @asith-w,
This feature is currently in the rollout phase and is available only to specific tenants. Our team is actively working on enabling this feature fully on Teams and across all languages in the SDK.
Once the feature is generally available, we will make a public announcement here:
https://github.com/microsoft/teams-ai/discussions/2069


Multi instance consensus

Draft PR for multi-instance consensus, see #27 .

My opinion as reflected in the latest commit:

F3 pushes newly finalized chains to Lotus, prompting perhaps a change of chain head on EC (by updated fork choice rule)

Lotus pushes a call to receiveCanonicalChain every time EC changes its chain head (of the heaviest chain)

This means a new push from Lotus every time F3 pushes itself its finalised chain (this is important to trigger a new F3 instance).

Lotus also pushes all beacons and their associated epochs from drand to F3. F3 handles storing them and deleting them as needed by F3.

ReceiveECChain is only called locally by f3 (Lotus only calls ReceiveCanonicalChain everytime its chain head changes)

The changes from the sync discussion and slack are both implemented here in the latest commit.

I think it would be easier to have receiveBeacon as a separated function (even if it makes sense to have the beacons in the receiveCanonicalChain method. This is because of #69 .

A lot has changed since this draft. I've had a quick look but not sure how much makes sense to attempt to rebase, vs just start over.

Beacons are no longer relevant for timing
Alarms don't need to identify instance
I think some assumptions about chains received aren't quite right

I will try to recover our discussion about design here and jot some notes on the issue.

Beacons are no longer relevant for timing

But we still need beacons for the VRF.

Alarms don't need to identify instance

Not sure how the signaling works in the rebased code otherwise but for now I will trust you on that one.

I think some assumptions about chains received aren't quite right

Happy to discuss this once more detailed.


Whitelists and Blacklists

Useful for ex. tutorials? Active or disable set of items to control, what is able to interact

Done! In develop. Prepare for 0.7.0.


NTRIP V2 get fix

Description
NTRIP V2 requires host to be sent, GET to have / for valid SOURCETABLEBLE request, some ntrip servers return 400 error code, but this is not responded to by this library.
This patch adds the Host line to the request, and always adds the / to the GET request, as blank entries are also invalid
Testing
tested on "http://ntrip.data.gnss.ga.gov.au:2101/" -> retrieves sourcetable correctly

Hi @polytopes-design
Much appreciated - a useful fix, as some NTRIP casters appear to be more tolerant than others. Will review but looks good.


Stop rescuing connection issues

I think it's reasonable to assume that if the config file has a
dev_server section then it's expected that the webpack dev server is
running therefore any issues connecting should be raised as an
exception. Curious to know what others think though.
My personal experience with this was my computer taking more than 10ms
(using the original webpacker gem) to open the TCP socket and the
timeout error was swallowed by this rescue. Consequently it took me
quite some digging to figure out what was going on.

@danbee I think the functionality is designed to auto-detect if the dev server is running. Otherwise, default to compiling.
We have many projects that support using bin/webpacker --watch and the dev server.
We could consider an option to error if not running.

@justin808 Makes sense. Perhaps a better option would be to rescue but log the error?
  def running?
    # ...
  rescue => e
    Rails.logger.warn("Error connecting to Webpack dev server: ${e}")
  end

@danbee @tomdracz can we get this one wrapped up?

@danbee any update?

@danbee any update?
@tomdracz ?

@justin808 My apologies, I've been pretty busy. I'll take another look at this this week.

@danbee any update?

I'm going to close for now, as the current behavior is the desired behavior.


The output massage about L vs M modes for the PPP simulation

For a target list with only the medium-resolution mode for
https://pfs-etc.naoj.hawaii.edu/uploader-dev/app
I got this:
The expected completion rate for low-resolution mode is 98%.
The expected completion rate for medium-resolution mode is nan%.
To reproduce:

Upload the target list (submitted target ID c1cbf792fd875433)
Validate and Simulate => successful
See the messages above

fixed in 0f8eff6f9957b88420c0645808828b262766320d
I'll merge once He-san finishes the integration of new features.

I've updated it. Could you please check if the issue still persist? @mihoishigaki

I also confirmed that the issue has been resolved, running successfully for the med-res-only target list. Thank you so much for fixing.


feat: fix template to set working dir for task

update task template to execute tasks in cwd of list tasks executed (for Taskfiles in child dirs)

Can you provide some more details about the situation you are encountering and the problem you are facing? Some more context will help me determine if this is the best approach or if there is perhaps a better solution to your issue.

@stevearc When there is a Taskfile in a subdirectory, tasks can only be executed within that subdirectory.
Currently, if you open a Taskfile in a subdirectory and run OverseerRun, the tasks that can be executed in that subdirectory are listed. However, when you actually execute a task, it runs in the current directory (the parent directory), fails to find the task, and execution fails.
Therefore, this pull request aims to enable the correct execution of tasks in the subdirectory by running the tasks in the directory of the opened file.

Makes sense, thanks for the PR!


Use different tools other than python

Is it possible to integrate other tools which helps to just provide reasoning for the given query and not execute any code. Only execute if its needed not all the time?

yeah you can input additional tools in the args
https://github.com/shroominic/codeinterpreter-api/blob/5b58af7d9f1b2bf0cb56396ab77b1a5167b79c53/codeinterpreterapi/session.py#L53C9-L53C47

Thanks @shroominic


Inital Setup Closes #1

Initial Setup of the project by importing React and Bootstrap Libraries in reference to issue #1

LGTM


Dockerfile updates

This merge contains updates to the Dockerfile
The purpose is:

Build directly from an officialalpine image.
Quote shell variables (in-case someone tries to use a path or URL containing special characters)
Use Alpine linux packages for pip and the Python yaml package
Move the APK tidying to the end, to remove warnings when uninstalling packages needed only during build.
Use a specific file name for the downloaded ElastAlert zip file
Improve support for HTTPS connection to ES

Thanks a lot for the contribution!
I've recently made some changes, so I would ask you to do the changes from the current state.
If you don't want to do this, I will reject the pull request and perform selected changes myself.
Again thanks!

Thanks for the contribution!