Allow to blend more than two shaders or image filters

fixes #825

@naraB I added more tests that give me some confidence about the implementation. First we write it imperatively and then we check if this match the declarative result.


Fix typos in russian translation

There was one typo in Russian translation, and one missing comma.

@cunctat0r Can you take a look at https://github.com/Roshanjossey/first-contributions/pull/4670  and provide your review comments there, since that PR was created earlier and required someone to review it.


Peer to Peer : Code Review

Great job on implementing the React Hooks on your Calculator.
I would suggest changing the Readme.md file for a better understanding of your project.
Keep it up !

Your project looks, nice bro. Keep coding React clean.

Thanks you man I will update my Readme file


cleanup(userspace/libsinsp): improved sinsp metrics_collector to make it more future proof

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
A bit tedious but i quite like how it looks now. Basically, refactored metrics_collector in libsinsp to enforce that every declared metric MUST be actually used.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/cc @incertum
/milestone 0.16.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Wow @FedeDP :rofl: so fast? @federico-sysdig mind checking given https://github.com/falcosecurity/libs/pull/1693.

Will double check/fix tests tomorrow :)

CI Build / run-e2e-tests-amd64 (asan) (pull_request) Failing after 41m

This test  fails on every PR and on master :/

Rebased on top of master to fix CI.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[5.9 🍒] TypeCheckType: Fix existential any migration diagnostics for extra-modular protocols

Explanation: See #65112.
Scope: Missing diagnostics for adoption of explicit existential any in Swift 6 mode.
Issue: Resolves #65034.
Risk: Very low. A simple and predictable functional change.
Testing: No additional testing warranted. This change does not impact code generation whatsoever, and is source-compatible unless the ExistentialAny feature is enabled (enabling the feature is supposed to be source-breaking).
Reviewer: @hborla
Main branch PRs:

#65112
#65132

@swift-ci please test

@hborla ping

@swift-ci please test

I’m wondering if we can set up our CI↔GitHub infra to require rerunning successful checks after a period of time.


convert perturb into sphere in boundary attack.

Describe the bug
If the shape of perturb is (3,218,178) (channel, height, width), how to convert perturb （height and width are not equal) into sphere?
To Reproduce
Steps to reproduce the behavior:
The shape of input image is (3,218,178) (channel, height, width). When I tried to run boundary attack, in function _orthogonal_perturb: it needed to convert perturb into sphere.
perturb[i] -= np.dot(perturb[i], direction[i]) * direction[i]
But it failed because of the shape. How to deal with it ?
Expected behavior
Input image shape (3,218,178). Convert perturb into sphere for boundary attack.
Screenshots
This is screenshots:

System information (please complete the following information):

OS: ubuntu16.04
Python version: python 3.7
ART version: latest
PyTorch version:1.1

Hi @AndrewSoul  Thank you very much for using ART and raising this issue! This would be for applications where the input images are not squares? If I'm right, I think so far we have tested ART only with square images, but I see an increasing interest in non-square shapes and ART. We'll take a look at it as soon as possible.
Would you have a proposal for a solution?


WIP: Use constant time by default

The BIGNUM library defaults to a non-constant time implementation of various operations. Where we want to force a constant time implementation we have to remember to set the BN_FLG_CONSTTIME flag. Experience has shown that we often forget to do this. For example see:

54f007af9 (CVE-2018-0737)
8db7946ee
e913d11f4
6364475a9
6364475a9
3de81a591
47ae05ba6
033dc8fad
399944622 (CVE-2016-2178)

This is not intended to be an exhaustive list - there are probably others cases that I haven't listed.
The difficulty of changing the default is that this will have a performance impact for cases where constant time is not a requirement. It is unclear to me how many of those cases there are are and whether we should be worried about it or not.
This PR switches the default so that we always use a constant time implementation unless data is specifically marked as public. It also attempts to track what data is private and what data is public. For example if an operation takes two inputs and has one output (e.g. BN_add()) then we mark the output as public if both inputs are also public. Otherwise we mark the output as private. When its gets to a decision as to whether to take a constant time path or not, if any input is marked as private then the constant time path is taken. BIGNUMs are created private by default. This PR adds a number of new functions for creating public BIGNUMs instead and uses them throughout libcrypto where applicable.
This is WIP because there are no tests or documentation as yet. Before I go any further with this I'd like feedback on the approach and whether this is something we should pursue now (i.e. for 1.1.1) or later (post 1.1.1) or not at all.

See https://github.com/HACS-workshop/spectre-mitigations/blob/master/crypto_guidelines.md#1-do-not-conditionally-choose-between-constant-and-non-constant-time. I'm biased, but I think BoringSSL's solution, which was to use separate APIs for constant-time and non-constant-time implementations, is better, in general.

Agreed, though I suppose that too is unsurprising. :-)
Echoing what I wrote on openssl-project:
In a crypto library, something like "modular exponentiation" is not a complete API contract. Rather, you need contracts like "modular exponentiation with secret fully-reduced base and public exponent" or "modular exponentiation with secret fully-reduced base and secret exponent publicly bounded by such-and-such". Cast in that light, I think it becomes much clearer that they should be separate functions. You could even imagine embedding secrecy into the type (either for safety or to take advantage of some future compiler annotations), in which case separate functions is necessary.
This PR instead makes things even further dependent on bit propagation, which was a large part of why the old scheme was error-prone and difficult to analyze. While the flipped default probably helps a bit, most BIGNUM functions do not allocate their results, so things are still ultimately dependent on bit propagation correctly overwriting whatever was in the result BIGNUM originally.
Separate functions, in contrast, place the algorithm decision right at the call site, where one typically thinks about it. It's much easier to reason about what code runs where, and whether the right code runs.

Separate functions feels better to me as well.  Trying to track public vs private automatically is a noble ideal but it relies on the programmer setting things correctly every time.  This PR will be easier/safer than having to remember to set and clear the constant time flag but the risk seems high still.  Separate functions has this risk too but it is more in the face -- someone looking at the documentation will see both versions immediately rather than having to remember to look at this other page of documentation, which they mightn't even know exists, for the public/private differentiator.  I'd advocate adding a suffix _public (for want of a better name) to the non-constant time flavours and making the shorter/existing names constant time.  This means a performance hit for people who call BN directly, at least until they amend their code, but it shouldn't break anything.
A separate item along similar lines would be making the small memory model builds only have the constant time flavour of these routines.

Thanks for the link and other feedback. A separate API does seem like a good idea. I'm going to leave this PR open for a while longer to see if there is any other feedback.

I opened #6078 to track this issue, so I'm going to close this PR.


[Multi Actions] create some multi-actions Templates

From: https://dust4ai.slack.com/archives/C050A0S2Z7F/p1718295974152449?thread_ts=1718289229.685489&cid=C050A0S2Z7F
I've created two multi-actions templates @codingBuddy & @customerSuccessTraining that can be improved :pray::skin-tone-2:
Note about templates:
For a single-action workspace, we display all the Templates that have no action set in presetActions
For a multi-action workspaces, we display all the Templates that have at least one action in presetActions or that are in reply only.
=> So the 2 new templates are in prod but only displayed for Multi-Actions activated workspaces.


Update NOTICE.txt

(This is the automated NOTICE.txt update for November 2018)

Minor authorship updates
serialize-error adopted a differently formatted version of the MIT license text (this is a verbatim update from the upstream source)

(Ready to merge by any dev)


Code Deploy Edge Case with 1 ASG In Service server

@geisbruch @Jmcfar @mpantelimon
There is an undesirable edge case that occurs when a Code Deploy revision is deployed to an ASG where there is only 1 "In-Service" server:
aws-codedeploy-samples/load-balancing/elb/common_functions.sh autoscaling_enter_standby() will cause the ASG minimum and desired number of servers to drop from 1 to 0 while the new revision is being deployed. This will cause the ASG to terminate the instance after the deployment is completed. You will then be left with no servers "In-Service" for your application.
For a "no-loss-time" deployment, the desired and minimum servers for the ASG should be incremented if the ASG maximum is high enough before taking a server offline to deploy a new revision.

Tracking this issue in https://forums.aws.amazon.com/thread.jspa?threadID=169858&tstart=0

#19 and this are duplicates.

This is fixed in https://github.com/awslabs/aws-codedeploy-samples/commit/e1e1501dc44084d6e7c0857ee84279061db73e80

@suryanarayanan I don't think this problem was actually solved in e1e1501.  The script never tries to increase the desired (or minimum for that matter) instance count before setting the instance to standby.  Not to mention, the script never waits for the new instance to reach a healthy state.  I really think these things should be taken care of by either CodeDeploy or AutoScaling as it requires a lot more work otherwise.


Umbrella header SQLite.h not found in module.modulemap

I've updated XCode to the new version and I am trying to convert everything to use Swift 2.0. Unfortunately SQLite does not work anymore. I used the newest cocoapods (ver. 0.38.2) and i use this podfile:
use_frameworks!
pod 'SQLite.swift',git: 'https://github.com/stephencelis/SQLite.swift.git',branch: 'swift-2'
But I receive always the above mentioned error. I tried to clean the Build Folder without success, always the same. Using the old version of SQLite.swift (copying the project in my project) with the old version of xcode was running like a charm. Now I have troubles using SQLite.swift.
thanks
arnold

@arnoldschmid  do u have the below issue
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sqlite3.h"
??
I am also facing the same

Does anybody solve this problem? I have the same problem.

Can you try against the master branch again? I've merged the swift-2 branch in.

We are still having this issue on the master branch. We had earlier failed to get it working with pods on Swift 1.2, so had fallen back to the manual installation instructions. We are really hoping to go the pods route now that we are upgrading our project to Swift 2. We think we thoroughly removed the previous manual installation, but I guess there is a chance this issue could be related to some ghost or remnant of that.

@warn4n Can you tell me where your Xcode.app is installed?

It's in /Applications, updated from the Mac app store.

I can confirm this problem. It happened after updating to Swift 2.
Xcode.App is also in the /Applications folder

Did anyone figure this out? I just installed this today in Xcode 7.1.1 and I'm getting this same error.

@cliftonlabrum I'm pretty sure the swift2 branch was merged into master and is out of date. We have this line in our podfile and it works fine: pod 'SQLite.swift', git: 'https://github.com/stephencelis/SQLite.swift.git'

That's what I have in my Podfile, too. Maybe something is wrong with my build settings in Xcode.

I met same problem with this error : umbrella header "SQLite.h"

My cocoapods version is 0.39 Xcode7.2
I create a new project with cocoapod to integrate SQLite.swift. It builds well.
I have no idea to solve this error in project setting.

Hi everyone.
I had solve this problem I met.
refer to https://forums.developer.apple.com/thread/7528
point out by TommieC of 4th
I Resolved all errors/warnings and then the project build success.

I found I did't solve this error with cococapod.But When I solved this problem when try to build my project with carthage.
first, I met this error on my OSX thich is 10.11.3 beta.
and if you want to use Carthage. You should do with this https://github.com/Carthage/Carthage#adding-frameworks-to-an-application

Hi all: please try the publicpod branch. It's just a simple one line change to your Podfile (or Cartfile) - see PR https://github.com/stephencelis/SQLite.swift/pull/314 for instructions.
If you're just trying to get SQLite database access without encryption, it should fix all build problems as it's now a very vanilla build. (Per #311, the goal is to add SQLCipher via a separate build to keep things simpler).
And if any CocoaPods experts out there have an idea on how to fix the erroneous warning (Umbrella header for module 'SQLite' does not include header 'fts3_tokenizer.h), any help is much appreciated. CocoaPods tends to trip over itself a little and in an effort to keep tweaking to a minimum, I gave up trying to remove this for now.

@mikemee By looking to http://stackoverflow.com/questions/29657487/umbrella-header-for-module-bolts-does-not-include-header-bfapplinkresolving-h, You would need to add it on module map too.

Thanks! Yes, I saw that article and tried it, but failed to find the right magic incantation. Xcode and hence Carthage are fine as is.  I'll try again to tweak the CocoaPods specific module map file again after this set of changes is confirmed - though hopefully someone will beat me to it 😎.

On 8 Jan 2016, at 12:08 PM, Jonathan<EMAIL_ADDRESS>wrote:
@mikemee By looking to http://stackoverflow.com/questions/29657487/umbrella-header-for-module-bolts-does-not-include-header-bfapplinkresolving-h, You would need to add it on module map too.
—
Reply to this email directly or view it on GitHub.

This should now be fixed, via PR 314, version 0.9.0. This is now an 'official' CocoaPod and thus can be installed like any other. See updated installation instructions on the home page.

still getting the error with version 0.9.2 and current XCode 7.2 (7C68)

@gdelmas How are you integrating the library?  Carthage or CocoaPods or manually or ??

@mikemee cocoapods

Hmm..  So that most likely means that the path in this file:
https://github.com/stephencelis/SQLite.swift/blob/master/podstuff/module.modulemap
which is current set to:
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sqlite3.h"
is different for your machine...  Can you take a look and see if you can find it?  We might have to create a script for this, like the one used here: https://github.com/svdo/swift-netutils/tree/master/ifaddrs.
Btw, we can chat here https://gitter.im/stephencelis/SQLite.swift in case that's more convenient.

Summarizing the chat we had:  When @gdelmas deleted the module.modulemap file from his CocoaPod install, everything started working....  V strange...  More research is needed clearly!
Other data: this strategy worked with CocoaPods v1.0 beta 2.

@gdelmas Can you try the following Podfile with a brand new project?
use_frameworks!

pod 'SQLite.swift', '~> 0.9.2'

I'd like to isolate the problem and see if it has to do with your existing project file or your computer. I've heard that certain project file setups can cause issues (e.g., overrides to certain build settings).

hi @stephencelis,
i could not reproduce the issue with a new project. i also tried to use the same Podfile from the other project, and it worked. i also tried to manually set a bridging header, as the other project uses. still no issue. if you have any other ideas what i might try to reproduce, please tell.
best,
gerard

@gdelmas First, many thanks for trying this. That is hugely helpful!  (And I know it can be tedious to do!)
Do you have a gut feel that perhaps this is "fixed" in the latest SQLite.swift release, but your original project retains some strangeness either from an earlier install or its own needs?  Or is that just typical wishful thinking on my part perhaps?

i just did have one pod in the other project and tried to install the SQLite pod and two other pods. the same configuration seems to work an the new project. although i installed the pods in another order. if this can be an issue i might retry that. apart from that i have no gut feel what might have caused the issue.

@stephencelis @mikemee @gdelmas
I have been facing the exact same issue as well, I bumped into this question on my search to resolve this, then it made me realise that my project file is not using ${inherited} for Header Search Paths and User Header Search Paths, although Always Search User Path was set to NO. After changing them to use ${inherited}, it all started working just as expected.

probably out-of-date, closing

Happens again if remove use_frameworks!, cocoapods ver. 1.5.0

The same error without use_frameworks!

@volodg Issue is with linking dynamic library of libsqlite3.tbd. I've made an issue in #831 to find a solution that should work for both Cocoapods and Carthage when building static.


Lamp Plushie

changelog
-adds lamp plushie to maint loot table (it squeaks and lights up)

I like lamp?


package:flutter/src/rendering/viewport.dart': Failed assertion: line 1522 pos 12: 'correctedOffset.isFinite': is not true.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @asimuddin1
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Error when verifying instalation

Error: {http_request_failed,"GET","http://<IP_ADDRESS>:5984/verifytestdb/", {error,{error,{conn_failed,{error,econnrefused}}}}}
That's the error I get, everything is installed properly except the replication part. Just wondering what exactly it is and how to fix it, thank you.

Is your CouchDB bound to <IP_ADDRESS>?
We would need more of your couchdb.log file to diagnose this problem.

Closing until we get more information.


this config does not support the provided wordlist type

Version of the software
0.2.1
Operating system
windows 8.1
Browser / Native
Native
What happened?
when i want to run taks, i receive this error:
this config does not support the provided wordlist type
post request format: username=&password=&realm=pam
but i tried with  and  same results
also Environment.ini
[WORDLIST TYPE]
Name=Credentials
Regex=^.*:.*$
Verify=True
Separator=:
Slices=USERNAME,PASSWORD
SlicesAlias=USER,PASS

Relevant LoliCode if needed
BLOCK:HttpRequest
LABEL:try to login
  url = "https://<IP_ADDRESS>:8006/api2/extjs/access/ticket"
  method = POST
  TYPE:STANDARD
  $"username=<USER>&password=<PASS>&realm=pam"
  "application/json"
ENDBLOCK

BLOCK:Keycheck
LABEL:success or not
  KEYCHAIN SUCCESS OR
    STRINGKEY @data.SOURCE Contains "CSRFPreventionToken"
  KEYCHAIN FAIL OR
    STRINGKEY @data.SOURCE Contains "authentication failure"
ENDBLOCK

i found problem, i need to enter in settings=>data, and add to allowed

I have a problem, wordlist say is not accepted

i found problem, i need to enter in settings=>data, and add to allowed

may I ask how to find "settings=>data"?  Because I only found the option to manually set the config to Email and not your screen + my solution didnt worked so Id appreciate your help

**Daftyyy ** commented Mar 30, 2023 •

https://github.com/openbullet/OpenBullet2/issues/639#issuecomment-1489553558


feat: port MeasureTheory.Group.Action

[x] depends on: #4422

This PR/issue depends on:

leanprover-community/mathlib4#4422
By Dependent Issues (🤖). Happy coding!

Did you use the start-port.sh script?

This PR/issue depends on:

leanprover-community/mathlib4#4422
By Dependent Issues (🤖). Happy coding!


drop grunt support

We have a Gruntfile for doing some CSS linting checks, which was added back in 7a2ff7ae (Gruntfile and package.json, 2015-03-23). This is our only use of nodejs/npm, so it also brings in a package.json file. Some of the packages we use are out of date and no longer supported (e.g., grunt-autoprefixer is deprecated in favor of grunt-postcss). This causes dependabot to complain quite a bit, but there is no easy solution (e.g., npm audit fix chokes because the ancient autoprefixer wants a similarly ancient version of grunt).
Given that I have never used these, and that we don't even run them as part of CI, my feeling is that periodically dealing with npm package updates is not worth it. If there were active CSS work going on in the repo (which was happening when they were added), they might be carrying their weight, but that's not really the case these days.
So this PR removes them entirely, making the problem go away.
If you are using this support, now is the time to say so. But even better, now is the time to volunteer to fix the autoprefixer issue. :wink:

gotta love code deletion PRs <3

OK, merged! We can always resurrect the code from the history if we change our minds. And now we have exactly 0 outstanding dependabot alerts.


LegacyVisaStarter: fix formatting of resource_name for VisaRaw connection

When using a VisaRaw connection the connection already provides a resource_name so there is no point in trying to format one.
As you were the ones to encounter this error would mend doing a PR @Qcircuits.

Done!

Fixed by #34


text visualizer should not use transpiler(format='json')

We are going to remove the option format='json' from the transpiler (see #1129). For that, we need to move the visualizers into the function get_instractions introduced in PR #1187.
The function _text_circuit_drawer calls transpile_dag(dag_circuit, basis_gates=basis, format='json'). This needs to be removed in favor of _utils.get_instructions(dag).

pending PR #1280


Run travis against node 12

@JeffreyWay It seems that the AppVeyor build is broken. Also the mac builds in travis don't seem to start. I'm not the only one with this issue if I look at some other PRs.
Not sure if you can do anything against that, because it's a different party!

#2248


fix bug with inlining scripts when webpack asset hash contains public path prefix

Some versions of Webpack have a compilation asset object of {'app.chunkHash.js': VALUE},
some have {'publicPath/app.chunkHash.js': VALUE}. Prior to this commit, the plugin
looked at a script tag's src value, stripped all prefixes from the asset's name, and
used that prefix-free name to directly reference the object in the compilation asset
object. This worked for prefix-free hashes but did not work when the asset object
contained the public path prefix.
This patch instead searches the asset object's keys for one which ends with the asset
name and uses that key to reference the asset; this accomodates both forms.

Thanks - I'll take a look.  Any idea why the tests are failing?

@bhaibel - could you let me know which versions of webpack you see this problem so I can reproduce it in tests?

@bhaibel - I'll close this for now but will happily reopen if you can let me know how to reproduce the problem.


Run deps-tools in parallel

go install is far too conservative in regards to parallel HTTP requests, so we can run the commands in parallel to achieve a speedup.

CI run shows the time is almost the same as before on GitHub actions, but I had other projects that benefitted massively from this change (300% faster).
Maybe setup-go does some magic to speed up go install, not sure. Change is still worth to have imho.

Definitely a lot faster for me locally:
make deps-tools  11.66s user 13.97s system 38% cpu 1:07.28 total
make deps-tools  8.30s user 9.14s system 127% cpu 13.637 total


Desgin responsive Landing Page #1343

Hi @991rajat  @ridsuteri  complete task- #1343 Review the pr and merge in the main branch
I have added a gif below of the project
https://user-images.githubusercontent.com/76445546/119840139-54f3f700-bf22-11eb-946e-1d576145d5dc.mp4

@WebVishal Squash commits into one commit and resolve the merge conflicts !!

@Vishal-raj-1  check now please

Hey @ridsuteri  thanks to merged my pr but if you not problem can you give me on Level3 on this project I have worked on so hard  😛

Hey @ridsuteri thanks to merged my pr but if you not problem can you give me on Level3 on this project I have worked on so hard 😛

done ! and thanks for contributing :)


Revert "OAPI 2.0 Swagger YAML"

Reverts ga4gh/task-execution-schemas#113 just so that the community is notified before eventual merge into master.

Before you merge this request, see the note from issue #113 about rebasing master to ish 0765b930542ebd8124d5b42109fe81916129f99c
Is that preferable to re-adding files?

@delagoya I can't see a way to rebase this to 0765b93 as the commits have already been pushed and merged.
I would merge this into master. We have all the new changes in develop anyway.

It should be possible to rebase local and force-push to origin/master but that may confuse folks that have already pulled down the most recent branch. Let’s just go ahead and apply the revert changes.

@delagoya Yes, exactly. Reverting changes.


Provide completion for session symbols

What problem did you solve?
Closes #164
Closes #170
This PR provides

Completion of session symbols, showing symbol str in documentation. The latest languageserver already supports workspace completion (global variables in code), scope completion (local variables in scope). This PR adds session completion as a new kind of completion.
Completion of elements in list-like objects (list, environment, S4 objects). As for R6 object, they are basically environments so that they are covered too.
Completion of symbols in brackets [], mainly for subsetting and extracting using "col", or accessing elements with dynamic scoping in brackets (usage of data.table).

(If you have)Screenshot
Session symbol completion

Completion for elements in list-like objects

Completion for brackets
Quoted symbol:

Element completion for dynamic scoping in data.table:

Comments below were original posted in https://github.com/REditorSupport/languageserver/issues/75. @renkun-ken requested to also post them here which are more relavent to this PR.

Neither current vscode-R release and @renkun-ken's cutting-edge version can do the completion for my use case.
Here is a reproducible example.
library(eplusr)
path_idf <- system.file("extdata/1ZoneUncontrolled.idf", package = "eplusr")
idf <- read_idf(path_idf, use_idd("auto"))
#> IDD v8.8.0 has not been parsed before.
#> Try to locate `Energy+.idd` in EnergyPlus v8.8.0 installation folder 'C:/EnergyPlusV8-8-0'.
#> IDD file found: 'C:\EnergyPlusV8-8-0\Energy+.idd'.
#> Start parsing...
#> Parsing completed.

class(idf)
#> [1] "Idf" "R6"

names(idf)
#>  [1] ".__enclos_env__"     "clone"               "print"
#>  [4] "run"                 "save"                "is_unsaved"
#>  [7] "to_table"            "string"              "to_string"
#> [10] "is_valid"            "validate"            "replace_value"
#> [13] "search_value"        "del_object"          "ins_object"
#> [16] "set_object"          "add_object"          "dup_object"
#> [19] "paste"               "update"              "load"
#> [22] "insert"              "rename"              "del"
#> [25] "set"                 "add"                 "dup"
#> [28] "search_object"       "object_in_class"     "objects_in_relation"
#> [31] "object_relation"     "objects_in_group"    "objects_in_class"
#> [34] "objects"             "object_unique"       "object"
#> [37] "object_num"          "is_valid_name"       "is_valid_id"
#> [40] "object_name"         "object_id"           "definition"
#> [43] "is_valid_class"      "is_valid_group"      "class_name"
#> [46] "group_name"          "path"                "version"
#> [49] "initialize"

Created on 2020-01-01 by the reprex package (v0.3.0)
In vscode, when I type idf$, nothing from the names pops up.
Please note that idf object contains active bindings. Not sure if this may influence the auto-completion.

Would you mind check is.list(idf) and is.environment(idf) and take a look at ${workspaceFolder}/.vscode/vscode-R/{pid}/globalenv.json and can you see idf has these names in this file?

It's embarrassing but I noticed that I did not attach the R session. Because R session created from vscode did not respect my .Rprofile under ~/Documents (Windows default). After I attach the session (by manually run the command in vscode-R README), I can confirm the auto-completion works as expected.
Sorry for the bother.

@renkun-ken I can confirm that is.list(idf) returns FALSE and is.environment(idf) returns TRUE. And below is the contents of file globalenv.json which indeed contains all the names of idf object.
{"path_idf":{"class":["character"],"type":"character","length":1,"str":"chr \"C:/Users/hongy/R/eplusr/extdata/1ZoneUncontrolled.idf\""},"idf":{"class":["Idf","R6"],"type":"environment","length":49,"str":"-- EnergPlus Input Data File ---------------------------------------------------","names":[".__enclos_env__","clone","print","run","save","is_unsaved","to_table","string","to_string","is_valid","validate","replace_value","search_value","del_object","ins_object","set_object","add_object","dup_object","paste","update","load","insert","rename","del","set","add","dup","search_object","object_in_class","objects_in_relation","object_relation","objects_in_group","objects_in_class","objects","object_unique","object","object_num","is_valid_name","is_valid_id","object_name","object_id","definition","is_valid_class","is_valid_group","class_name","group_name","path","version","initialize"]}}

Thanks for your great work!
Wish this feature can be implemented into the language server, because I mainly use Vim with the language server for my R work. Anyway, thanks to you and other contributors, vscode-R indeed becomes a rich-featured R IDE now.

@hongyuanjia, Thanks for your testing. As we discussed at https://github.com/REditorSupport/languageserver/issues/75, languageserver is designed to only perform static analysis, i.e., no active R session is assumed. Session-related features are editor-specific at the moment. Maintainers of R support in other editors could implement such features using similar methods (we use a file-based method in vscode) or come up with better methods, or similar with RStudio methods (socket-based method), but anyway it is editor-specific.

@Ikuyadeu @andycraig This PR is a LGTM. Please take a look.


lisa/utils: Fix wrong function signature in dispatch_kwargs()

Fixes bug in dispatch_kwargs where the object 'self' reference is passed in kwargs causing 'self' to be dispatched twice: Positional argument and kw argument.
The bug can be reproduced by creating an default RTA object, RTA(). Normally RTA objects are created through other functions, so the problem only occurs when trying to create an RTA object from a provided rtapp json file.
The bug is caused by inspect.signature() misbehaving for unbound methods. This problem is already fixed in kwargs_dispatched(), so it needs to be fixed in dispatch_kwargs() too.

I don't think it's a good idea to do it at this level, as this can be fixed by simply being consistent between what we tell the decorator (_early_init function) and what we actually call (_early_init function rather than a bound method made out of it):
https://github.com/ARM-software/lisa/pull/2147

Closing as I merged this one: https://github.com/ARM-software/lisa/pull/2147
We can keep the decorator as it is since it currently has the most straightforward behavior and this behavior covers everything that we would want to do  (the callable give to the decorator should match the one that is actually called by the user)


docs: new type values for git integrations

PR summary
Add documentation for new type values in git tool integrations to the release notes.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[x] Documentation content changes
[ ] Other (please describe)

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


03/30/2018 06:54 : Create Pull Request for branch master -> prTesting1_2018033006

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


not working with Tubi tv

not combine video and m4a audio, both free movie and DRM protected ones.
play url : https://tubitv.com/movies/100005746/florence-nightingale

Use -M mp4 or -M mkv to mux the video stream and audio stream.
Also, don't forget passing the key to decrypt the video and audio:
1e0f06a348c6451eaa43e9ba5e5e55e4:b6c7cb9d23147d088c9c6c0880aa9664

thank you a lot and how to get DRM key?

I think my repo may help you.


feat(ConditionBuilder): action section,custom input and fixes

Contributes  #4916
Tree variant implementation
What did you change?

Implemented option for custom input type (custom input component)
Implemented Action  section
support for animation for action button and previews
Input validation for Number input
Refractor option input component and separated it with option value field
General issue fixes

How did you test and verify your work?
Local storybook

great work! got a few more things i noticed

Thanks for your time and effort on this. I have resolved it.


Does this have LangchainJS support?

I've created a localized https://github.com/linonetwo/langchain-alpaca based on langchain-js
Can I use it inside langflow?

We have not tested langchain-js.
It might be useful to implement it later on but there are no plans just yet.
I'll take a look at it to see how hard would it be.

Can you explain how you load py modules? So I can take a look how to add TS support.

we have plans for a doc site, but for now, all our objects reflect langchain objects and the front-end renders it only. Our python modules filter it and adjust for the flow rendering. There is just some documentation in the comments inside the code for now.

@linonetwo we plan on improving the code that parses the graph but the main thing @anovazzi1 might be able to help, I think, is on the output of the react-flow canvas.
The data structure that goes to the backend is what defines the structure of the code.
In the tests folder you can take a look at one or you could simply Export the flow you've built. That structure is what the backend parses to build each LangChain object. An algorithm for that is in the loading.py module in the backend but it still in development.

Another huge +1 for langchain-js as well!

One more +1 for the integration with langchainjs

For us to have that implemented we need to finish the algorithm that puts LangFlow a lot closer to what LangChain is.
I'm planning the steps as I write this to get us to the point where we can more easily integrate langchainjs.
Thanks for the feedback on this matter! This helps us a lot in prioritizing the tasks.

We were looking for similar drag&drop UI for LangchainJS support as well, ended up creating one written in JS/TS: https://github.com/FlowiseAI/Flowise with the ability to import and use your localized module

What is the difference with langflow?


"Cannot read property 'startTime' of null" on seeking

Have you read the FAQ and checked for duplicate issues: yes
What version of Shaka Player are you using: 2.1.4-debug
Can you reproduce the issue with our latest release version: unknown
Can you reproduce the issue with the latest code from master: unknown
Are you using the demo app or your own custom app: shaka-player-demo.appspot.com
If custom app, can you reproduce the issue using our demo app: N/A
What browser and OS are you using: Chrome 58 on Windows 10
What are the manifest and license server URIs: https://media.axprod.net/TestVectors/v8-MultiContent/Clear/Manifest.mpd
What did you do?

Entered URL and hit Load.
Change audio language to x-popmusic
Set video quality to 360p level
Seek around within the first period (12 minutes or approximately the first third of the content)
Or just wait - sometimes it appears without any seeking

Issue is erratic. The above steps seem to reproduce it semi-reliably on my PC but they seem very arbitrary to me.
What did you expect to happen?
Normal playback without any funny business or errors.
What actually happened?
Invalid cue times: Infinity - Infinity
shaka.media.TextEngine.makeCue @ text_engine.js:109
shaka.media.Mp4VttParser.assembleCue_ @ mp4_vtt_parser.js:314
shaka.media.Mp4VttParser.parseVTTC_ @ mp4_vtt_parser.js:287
shaka.media.Mp4VttParser.parseMedia @ mp4_vtt_parser.js:182
(anonymous) @ text_engine.js:173
streaming_engine.js:1281 Assertion failed: Should only receive a Shaka error
(anonymous) @ streaming_engine.js:1281
streaming_engine.js:1295 (text:33) failed fetch and append: code=undefined
(anonymous) @ streaming_engine.js:1295
player.js:2470 Assertion failed: Wrong error type!
shaka.Player.onError_ @ player.js:2470
(anonymous) @ streaming_engine.js:1304
main.js:488 Player error TypeError: Cannot read property 'startTime' of null
    at shaka.media.TextEngine.<anonymous> (text_engine.js:176)
    at <anonymous>
shakaDemo.onError_ @ main.js:488
shakaDemo.onErrorEvent_ @ main.js:479
shaka.util.FakeEventTarget.dispatchEvent @ fake_event_target.js:117
shaka.cast.CastProxy.playerProxyLocalEvent_ @ cast_proxy.js:529
shaka.util.FakeEventTarget.dispatchEvent @ fake_event_target.js:117
shaka.Player.onError_ @ player.js:2473
(anonymous) @ streaming_engine.js:1304

Exploration of the code indicates that the error appears to be due to this.timescale_ being null in mp4_vtt_parser.js:184, which leads to an infinity being generated for start/end timestamps. The timescale in mdhd is 1000, so it is not clear to me why a null value exists in this variable.

The fix for this has been cherry-picked and will be released in v2.1.5.


Make pug the default template engine instead of jade

Make pug the default template engine instead of jade.  Jade has been renamed to pug due to trademark issues.  The last version of jade has known vulnerabilities per https://snyk.io/test/npm/jade which results in express-generator projects by default have vulnerabilities in their dependencies out of the box.

@dougwilson either the support policy in express-generator or express itself needs to change to drop support for versions of NodeJS that are in End-of-Life in order to follow standard security practices.  Do you think if I should open an issue with express-generator for the discussion, or would you rather keep the NodeJS version support in express's court (like in https://github.com/expressjs/express/issues/2755 )

We are dropping support for older version in Express 5 (there is already an open issue and has a recorded discussion people can listen to). Express 5 is still aways out, though. Do you want to resolve this jade issue now in 4.x or wait unt 5?
Also just noticed pug is stll a release candidate.  Please use a stable version for the default engine.

Closing because these changes are against what we talked about in the TSC and voted for. We welcome your contributions, but if you are looking to help, the best would be to implement the didection that was voted for (it's right at the top of the issue).

From the perspective of security vulnerability management it needs to be resolved in 4.x, since 5.x is ways out.  In other words, it should get addressed in the current stable release of express-generator, or whatever npm install -g express-generator ends up deploying.
Regarding the TCS discussion and voting, I think End-of-Life and vulnerability management practices need to get a slightly more weight in the future discussions.  End-of-Life (EOL) software by definition is considered as vulnerable. I'm not sure what the background of current TSC members in vulnerability management is, and what the proper method for the process change might be.
So would the following be the right set of action items?

Contacting pug maintainers and having them release 2.0.0 as a stable version (currently it's rc4) - I'll take the action item under https://github.com/pugjs/pug/issues/2610
Contacting Node Security Project and snyk.io and ask them to mark express-generator 4.x npm package with a vulnerability, since by default express-generator is creating projects that have vulnerable dependencies - I can take care of this too.
Patch express-generator 4.x to change the default to address NSP/snyk flags, this may mean that 4.17 or may be a different 4.x version is going to draw a line in the sand for the default setups using express-generator when it comes to NodeJS<4.x.  It needs to be documented that users on EOL versions of Node will need to explicitly specify the jade flag and need to be aware of the risk of vulnerabilities. - action item dougwilson?
Discuss dependency and platform End-of-Life and vulnerability management with TCS voting members, and perhaps engage other folks from NSP or Node.js Foundation as needed. - action item dougwilson?

The default engine MUST support Node.js 0.10 and up, there is no discussion on this point. Just choose a default engine with that support. If you disagree, did you listen to our TSC discussion on this? If pug is not goinf to support Node.js 0.10 or release a stable version, then we are not goig to change to pug, which was the discussion and why we are going to default to no view engine. Defaulting to no engine satisfies your security argument, does it not? If it doesn't please explain.

The reason we are in this situation is because this is a dependency we cannot control the lifecycle and other aspects. We are not going to keep making those same mistakes. We will not default to a ciew engine we so not have direct control over if it doesn't follow our lifecycles. We are effectively held hostage by our dependency where it has a securuty vulnerability and there isn't even a stable version of it without a vulnerability.  My only action plan is to implement the no view engine. Also for nos I'm blocking yoh from the org and erasing this discussion as a violation of our security policy for public disclosure of vulnerabilities.
It also seems very rude if you are security conscious to publicly disclose this without even a chance to work though a private disclosure and release timeline over a holiday weekend no less (you're in the same country it seems).


Fix search tab in composer to match all (not any) entered patterns

Currently, the search tab in the Composer treats a line in the index file as matching if it matches ANY of the patterns in the search box, but the help text suggests that the only lines that match are those that match ALL entered patterns.
This fix causes the search tool to demonstrate the behavior documented in the help text.

The search help was corrected in https://github.com/graphite-project/graphite-web/pull/1162 to match the actual (intended) behavior. Thanks for your submission though!


maint ~ configuration and utility clean-up and maintenance

waiting for the CI to pass to make sure I didn't make any silly mistakes.

I guess it is normal that it is still a draft :)

@sylvestre , well, that was a slog trying to iterate changes and debug a process which takes 1 to 2 hours for feedback. 😅
I plan to change this to a PR in a couple of hours (when CI passes).

Added a commit fixing a cargo clippy complaint for head which slipped into the 'main' tree with a recent commit.
I'll refrain from further rebasing onto 'main'.
Any other comments/concerns?

sounds great :)

and it was fixed by the initial author: #3124

I'll drop the fix commit and rebase off the new 'main'  then...

Done... rebased and pushed onto the fixed 'main'.
That should pass (🤞🏻) and then be merge-able if you concur.

excellent, thanks

More conflicts on https://github.com/uutils/coreutils/pull/3045 ;)

I'm on it.


Module vpc and others are not available in terraform registry

https://github.com/terraform-ibm-modules/terraform-ibm-vpc/blob/a5a98db51f4bff63180a254295dd461643f18a57/examples/vpc/main.tf#L14
I can't find this vpc module here:
https://registry.terraform.io/search/modules?q=terraform-ibm
Terraform 0.14 says:
$ terraform init
Initializing modules...

Error: Module not found

Module "vpc" (from main.tf:26) cannot be found in the module registry at
registry.terraform.io.

Hi @l2fprod

we have removed registry source from examples' main.tf https://github.com/terraform-ibm-modules/terraform-ibm-vpc/blob/master/examples/vpc/main.tf
our modules are now available on registry https://registry.terraform.io/modules/terraform-ibm-modules/vpc/ibm/latest


KAFKA-10770: Remove duplicate defination of Metrics#getTags

Removal of duplicate code.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712   Updated PR. Please take a look.


Compact tree to display changed files

Implement a compact-tree for file changed, see #653

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yulrizka sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

One final thing and then I think this is ready to merge - let's refresh the tree when the new fileListLayout setting changes.
You can add a listener for this in prsTreeDataProvider.ts, should look something like
		this._disposables.push(vscode.workspace.onDidChangeConfiguration(e => {
			if (e.affectsConfiguration(`${SETTINGS_NAMESPACE}.fileListLayout`)) {
				this._onDidChangeTreeData.fire();
			}
		}))

@RMacfarlane thanks for the review. I rebase and squashed it into single commit to make the history more clear


Eng-688: sessions pagination

Not done yet
please review the basic idea
This is stacked PR on ENG-702

didn't we talk also about secondary sorting?


Render comment markdown

This is easy to achieve, but problematic.
const textContainer = commentContainer.createDiv('trello-comment--text-container');
const text = textContainer.createEl('div', {
  cls: 'trello-comment--text'
});
MarkdownRenderer.renderMarkdown(comment.data.text, text, '', this);

This works great, but styling is all over the place. A few things that need to be handled:

Element margins
Text size
Probably a "see more" / "see less" type function to show/hide entire comment text if its super large

 render comment markdown

Done in #38, released in v1.6.0.


feat: Meson build system for nanoarrow-ipc extension

Meson's handling of subprojects is way easier I think than CMake's. If down the road we wanted to replace CMake with Meson there is a ton that we could simplify within these extensions, and maybe could even consider them as separate projects

I haven't used these in particular so I'm just kind of guessing, but it feels like it would make sense to combine them. I think for consumers having to potentially install three different libraries for nanoarrow instead of just one library that you can choose the dependencies out of is overkill. And as you've mentioned already, there appears to be a ton of overlap between these projects' dependencies

Let's just wait to merge this until after then - there is no rush for this and I think waiting will make that consolidation easier

Interesting to see the valgrind error in CI right now. I assume this is also why the windows build is failing, although interesting our CMake setup didn't catch it
https://github.com/apache/arrow-nanoarrow/actions/runs/9455933515/job/26046780100?pr=483#step:7:338

Seems like the error has to do with the fields being sent to ArrowErrorSet in this function:
https://github.com/apache/arrow-nanoarrow/blob/f443e46163ded43ddb5e024c1a2f1fddd3b43c3f/src/nanoarrow/array.c#L1247
Not familiar with the run end encoded implementation but I think we are missing something with how fields are being initialized and accessed through that code block


Clean-up TOC

Further refactor the TOC to be more readable for future use, this won't break linkages.

Resolved.


Fix fishing rod models and check carrot-on-a-stick models

Someone reported that the default fishing rod model will be wrong when the user uses a fishing rod as internal item type of a custom projectile cover. I should check the model generator for fishing rods.
Also, I should check the carrot-on-a-stick model, because that one has also been unchecked for a very long time.

This has been fixed in Custom Items 11.3


Add Netbeans to other editor

Hello,
I don't know if it's the good place to post this suggestion.
In the web site of TypeScript, there is a section with the other editors that support TypeScript.
I think it would be nice if you add Netbeans because Netbeans is a good IDE for web and its plugin for TypeScript is very good.
More information about the Netbeans' TypeScript plugin https://github.com/Everlaw/nbts

Hi @idarous I think you should create a PR for https://github.com/Microsoft/TypeScript-wiki/blob/master/TypeScript-Editor-Support.md

We will publish the editor support page pointed out by @angelozerr to the handbook as well.

I mean is it possible to add Netbeans in this section of the main page of the web site of typescript ? http://www.typescriptlang.org

Maybe you can also add Intellij and Notepad++ (https://github.com/sorskoot/npp-typescript-vs) in order to have a new full column of editors displayed.

For maintainability, i would like to add a link to a page with all editor/IDE support.  https://github.com/Microsoft/TypeScript-wiki/blob/master/TypeScript-Editor-Support.md seems like a good starting place. feel free to send a PR for notepad++


Printing local variable from kernel in JIT mode

Hi,
it seems like printing a local kernel variable does not work for JIT particles. While it works in ScipyMode, casting the function
def Print1(particle,fieldset,time,dt):
    h = 1
    print(h)

k_Print1 = pset.Kernel(Print1)

to a kernel, returns an AttributeError in JIT mode:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-49-2b7d0641cd75> in <module>()
      3     print(h)
      4
----> 5 k_Print1 = pset.Kernel(Print1)

~/miniconda3/envs/parcels_master/lib/python3.6/site-packages/parcels/particleset.py in Kernel(self, pyfunc, c_include)
    540         """Wrapper method to convert a `pyfunc` into a :class:`parcels.kernel.Kernel` object
    541         based on `fieldset` and `ptype` of the ParticleSet"""
--> 542         return Kernel(self.fieldset, self.ptype, pyfunc=pyfunc, c_include=c_include)
    543
    544     def ParticleFile(self, *args, **kwargs):

~/miniconda3/envs/parcels_master/lib/python3.6/site-packages/parcels/kernel.py in __init__(self, fieldset, ptype, pyfunc, funcname, funccode, py_ast, funcvars, c_include)
     92             self.field_args = kernelgen.field_args
     93             kernel_ccode = kernelgen.generate(deepcopy(self.py_ast),
---> 94                                               self.funcvars)
     95             self.field_args = kernelgen.field_args
     96             if 'UV' in self.field_args:

~/miniconda3/envs/parcels_master/lib/python3.6/site-packages/parcels/codegenerator.py in generate(self, py_ast, funcvars)
    248
    249         # Generate C-code for all nodes in the Python AST
--> 250         self.visit(py_ast)
    251         self.ccode = py_ast.ccode
    252

~/miniconda3/envs/parcels_master/lib/python3.6/ast.py in visit(self, node)
    251         method = 'visit_' + node.__class__.__name__
    252         visitor = getattr(self, method, self.generic_visit)
--> 253         return visitor(node)
    254
    255     def generic_visit(self, node):

~/miniconda3/envs/parcels_master/lib/python3.6/site-packages/parcels/codegenerator.py in visit_FunctionDef(self, node)
    276         for stmt in node.body:
    277             if not (hasattr(stmt, 'value') and type(stmt.value) is ast.Str):  # ignore docstrings
--> 278                 self.visit(stmt)
    279
    280         # Create function declaration and argument list

~/miniconda3/envs/parcels_master/lib/python3.6/ast.py in visit(self, node)
    251         method = 'visit_' + node.__class__.__name__
    252         visitor = getattr(self, method, self.generic_visit)
--> 253         return visitor(node)
    254
    255     def generic_visit(self, node):

~/miniconda3/envs/parcels_master/lib/python3.6/site-packages/parcels/codegenerator.py in visit_Expr(self, node)
    363     def visit_Expr(self, node):
    364         self.visit(node.value)
--> 365         node.ccode = c.Statement(node.value.ccode)
    366
    367     def visit_Assign(self, node):

AttributeError: 'Call' object has no attribute 'ccode'

Thanks for reporting, @JoostSH! I just checked, and this error appears only in python3. Python2 is fine. We will investigate

Thanks for the quick response @erikvansebille!
The fix got rid of the error message. However, the print output is not displayed in the jupyter notebook I'm currently working in, but in the terminal the notebook was launched from. Could be a configuration issue on my side.

The fact that output is not printed in the notebook but in the terminal seems to be a python3 issue too. This is likely also why py.test fails for the printing. It appears that JIT output is handled differently in Python3 than in Python2; I have no idea how to fix that. Suggestions very welcome!


.github/workflows: add dcap-related compile dependency in centos8.1

Fixes: #495
Signed-off-by: Yilin Li<EMAIL_ADDRESS>

@hustliyilin Plz use "CI/CD" subsystem as the commit title.

@hustliyilin Plz use "CI/CD" subsystem as the commit title.


Enhancement request: return the embedding for EmbeddingComposite

Would be helpful to return the found embedding to users. Thanks!

Currently the best way to work with the embedding is to use the FixedEmbeddingComposite.
The obvious way to expose the embedding would be in the Response.info attribute. We could always do this, or we could add a parameter to the EmbeddingComposite.sample method that toggles embedding returns.

I like the toggle parameter

I am still of two minds about this. While I agree the embedding is sometimes useful to have, it is somewhat counter to the idea of EmbeddingComposite. I do think the LazyFixedEmbeddingComposite #105 might be the best of both worlds. It will let users avoid having to use minorminer directly while also providing embedding information,


Alternate way to make some progress on the absolute locktime unit types

Just the last patch. This is an alternate approach to the last patch of #2356 (but done on top of #2492).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

116 of 172 (67.44%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 83.777%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/parse.rs
7
8
87.5%

bitcoin/src/blockdata/transaction.rs
29
31
93.55%

bitcoin/src/pow.rs
31
33
93.94%

bitcoin/src/blockdata/locktime/absolute.rs
48
56
85.71%

bitcoin/src/error.rs
1
44
2.27%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
19515

Relevant Lines:
23294

💛  - Coveralls

Not needed.


Clean daemons on build agent before performance workers

This commit inserts a script step before performance worker build to
clean all daemons.

We also should make sure to kill all daemons before running an Ad-hoc test.

We already have some logic for salt to kill Gradle daemons and worker processes:

When will this be triggered? By manually calling some salt command or some jobs?

We should probably also kill things between builds

IIUC, the daemon is kept between builds to speed up things. If we have to kill all of them after a build, why don't use --no-daemon?

We already have some logic for salt to kill Gradle daemons and worker processes:

When will this be triggered? By manually calling some salt command or some jobs?

You can run that thing manually via salt. I don't know if any jobs use it. I also don't suggest we use the python script, though I think it is another source of input what we already do.

We should probably also kill things between builds

IIUC, the daemon is kept between builds to speed up things. If we have to kill all of them after a build, why don't use --no-daemon?

We have various levels of Gradle JVMs:

gradle/gradle build which is started by TC
distribution build which is started by 1 to build the baseline distribution (if necessary)
workers started by 2 (should be gone after the build)
test worker started by 1 to run the performance test
one Gradle daemon for each version we are testing the scenario started by 4
workers started by the daemons in 5

We should probably make sure that the daemon in 2) is also stopped before starting 4). For each version we will start 5) and 6) to run the iterations. We should make sure that those are gone as well before we test the next version.
I agree with you that we don't need to stop daemons after 1) is finished, so they can be re-used by the next build.

I've tried this by running it a few hundred times, while printing the current process count that has gradle in it (i.e. ps aux | egrep '[Gg]radle' | wc --lines).
The process count is still very unstable, i.e. in two consecutive runs we got:

Running Gradle process count: 23
Running Gradle process count: 6

Should we kill the unused gradle processes before every iteration instead?

Thanks @paplorinc @wolfs !

@blindpirate, what do you thin about https://github.com/gradle/gradle/pull/10082#issuecomment-515737429 ?

@paplorinc TBH I'm not sure - things seem to be complicated, there're more worker daemons than I thought, and I don't know which ones are "unused"...

Lemme' see what happens if I save the Gradle process list before the executions and kill the new ones before every iteration.


Module '"../node_modules/did-jwt-vc/lib"' has no exported member 'Issuer'

Hi,
I installed did-jwt-vc using npm install did-jwt-vc.
Next compiling  index.ts file fails with the error message Module '"../node_modules/did-jwt-vc/lib"' has no exported member 'Issuer'
import EthrDID from 'ethr-did'
import { Issuer } from 'did-jwt-vc'
const ethrDid = new EthrDID({address: '0xf1232f840f3ad7d23fcdaa84d6c66dac24efb198', privateKey: 'd8b595680851765f38ea5405129244ba3cbad84467d190859f4c8b20c1ff6c75', provider})
Can someone help? Thanks

Hi Please try importing like this import { Issuer } from 'did-jwt-vc/lib/types'

Hi, this solved the issue. Thank you!
Next, if I write instead in my index.ts file:
const issuer: Issuer = new EthrDID({
address: '0xf1232f840f3ad7d23fcdaa84d6c66dac24efb198',
privateKey: 'd8b595680851765f38ea5405129244ba3cbad84467d190859f4c8b20c1ff6c75'
})
This gets compiled with tsc into index.js file
"use strict";
exports.__esModule = true;
var ethr_did_1 = require("ethr-did");
var issuer = new ethr_did_1["default"]({
address: '0xf1232f840f3ad7d23fcdaa84d6c66dac24efb198',
privateKey: 'd8b595680851765f38ea5405129244ba3cbad84467d190859f4c8b20c1ff6c75'
});
which results in following error with node index.js
var issuer = new ethr_did_1["default"]({
^
TypeError: ethr_did_1.default is not a constructor
at Object. (/home/kst/sem3/src/index.js:7:14)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
PS. Sorry newbie questions to javascript & typescript

Hmm seems to be some sort of quirk with typescript, try doing it like this
import * as EthrDID from 'ethr-did'

Hi, thanks again, that solved it as well :-)

Hi, trying the other code from the Readme.md file, a few other modifications are needed it seems:
import { Issuer } from 'did-jwt-vc/lib/types'
import * as EthrDID from 'ethr-did'
import { VerifiableCredentialPayload } from 'did-jwt-vc/lib/types'
import {  createVerifiableCredential } from 'did-jwt-vc'
import { createPresentation } from 'did-jwt-vc'
import { PresentationPayload } from 'did-jwt-vc/lib/types'
import { getResolver } from 'ethr-did-resolver'
import { verifyCredential } from 'did-jwt-vc'
Remaining problem is now:
import { Resolver } from 'did-resolver'
const resolver = new Resolver(getResolver())
The interpreter doesn't find the Resolver in did-resolver.
Tried a few alternatives import * as Resolver from 'did-resolver' and import { Resolver } from 'did-resolver/lib/resolve' however without any luck.
best regards

@kst-howest what interpreter are you using?
As far as I know, the examples are in typescript.
Can you provide an example project where these errors occur?

Hi, i'ḿ using visual studio code with tsc on ubuntu
Attaching a test.zip file with 2 files

index.ts file (under src/)
tsconfig.json.

The index.ts file is simply a copy & paste of the readme.md code snippets, with a hello message just for debugging purposes.
br
test.zip


gulp-protractor works

instead of
"postinstall": "node node_modules/protractor/bin/webdriver-manager update"
used
"postinstall":"node ./node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update"

This fixed the issue.

are you using npm2.x ?
run npm -v to check

3.8.6


Feature Request - ability to reorder by dragging

It would be great if we can  reorder the collection item by dragging.

Collection records don't have fixed order as it depends on the sort query parameter.
You can implement your own ordering mechanism (eg. with order field), but the Admin UI is not extendable at the moment.

Collection records don't have fixed order as it depends on the sort query parameter.
You can implement your own ordering mechanism (eg. with order field), but the Admin UI is not extendable at the moment.

Ok thanks


modify default Environment name “Forbidden”

Describe your issue here

Useful
Info

Versions
Rancher v1.6.2 Cattle: v0.181.4 UI: v1.6.5

Access
localauth admin

Orchestration
Cattle

Route
settings.projects.detail

@chenchanglei - I wasn't sure exactly what you are trying to say, but if you want the "Default" environment to be named "Forbidden" you can:

Go to Manage Environments
Edit Default Environment
Change the name and save

If you want us to change "Default" to "Forbidden" every time we create that first environment, this would not make sense for us.  It's not a "Forbidden" environment and can be used by anyone that has access.  I'm going to close this.  Please reopen if this did not answer your question.


add feature

please make title and description  take widget not text
and make toast more customize
i need to add button in top toast make user can navigate to another screen

Hello @abdalazeez1 I updated the package to accept widget in title and description fields
check it out https://pub.dev/packages/motion_toast


Added -allow-insecure flag for docker push/pull

This PR addresses the commonly requested feature of allowing communication with insecure registries at runtime discussed at #8887 and #10027. The flag -allow-insecure is added to docker {pull,push}. Documentation and unit tests will be done shortly.

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "8887-allow-insecure" git@github.com:jsdir/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Thanks @jsdir for your contribution! This feature is a sensitive one, I know a lot of people want it. However there has not been any consensus among maintainers, far from that. I cannot therefore not accept this contribution today.
It's really unfortunate that Github doesn't have a voting system; it forces people to send +1 comments on issues. But we are aware of those since we read every email. I'll make sure to bring this issue up again given the amount of feedback.
Feel free to continue the discussions preferably on #8887 because, as I commented on #10027 I consider #10027 a duplicate.
I hope you'll understand and that you'll continue contributing to Docker!

I would just like to put my two cents in that the community at large seems to be in favor of doing this, and that I hope those dissenting maintainers recognize the potential for alienation of new users here due to the poor initial user experience. I'm frankly disappointed by the seeming lack of interest here. I hope I'm proven wrong before too long.

@jsdir your change would need some documentation in both cli.md and the man pages - and a discussion of why its useful, and how its dangerous.

@SvenDowideit this is closed


Add a version of GlobalResync that calls an event handler.

This allows impl to apply filtering and queuing logic of their own,
instead of calling Enqueue() for everything.
Currently ConfigMap update event triggers GlobalResync which will evade the filtering logic like ClusterIngress class annotation (or KPA class annotation).  Once this is checked in we can switch ConfigMap update to use this version instead.

/assign @vagababov


feat: strong law of large numbers for vector-valued random variables

We already have the strong law of large numbers for real-valued integrable random variables. We generalize it to general vector-valued integrable random variables. This does not require any second-countability assumptions as integrable functions can by definition be approximated by simple functions, for which the result is deduced from the one-dimensional one.
Along the way, we extend a few lemmas in the library from the real case to the vector case, and remove unneeded second-countability assumptions.

bors r+


constraint-generators test failure on CI: prop_univSound @BaseFn

Recently we started to get test failures on CI for a test case that had no problems in months. It sounds like some recent change introduced a significant overhead leading to long runtimes. Here is one reproducer, but there are many more failures on CI. This started to happen quite often and needs to be fixed. We've tried doubling the time in #4718, which didn't help.
  1) constrained prop_univSound @BaseFn
       Timeout of 20000000 microseconds exceeded. (after 605 tests and 1 shrink):
         Rng :: Map Int Int -> [Int]

         fn ctx = Rng v_0

         spec = TypeSpec
                  (ListSpec
                     hint = Nothing
                     must = []
                     size = MemberSpec [ 0 elements ...] @Integer
                     elem = constrained $ \ v_1 ->
                              exists v_0 in
                              {whenTrue v_0 $ assert ["toPred Term"] $ LessOrEqual (-3) v_1
                               whenTrue (Not v_0) $ assert ["toPred Term"] $ LessOrEqual (-3) v_1}
                     fold = FoldSpec
                              fn   = Id
                              spec = constrained $ \ v_1 ->
                                       exists v_0 in
                                       {whenTrue v_0 $
                                          {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                           assert ["toPred Term"] $ LessOrEqual v_1 4}
                                        whenTrue (Not v_0) $
                                          {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                           assert ["toPred Term"] $ LessOrEqual v_1 4}})
                  []

         propagateSpecFun fn ctx spec =
           TypeSpec
             (MapSpec
                hint       = Nothing
                mustKeys   = fromList []
                mustValues = []
                size       = MemberSpec [ 0 elements ...] @Integer
                elem       = constrained $ \ v_2 ->
                               [Snd v_2/v_1]exists v_0 in
                                            {whenTrue v_0 $
                                               assert ["toPred Term"] $ LessOrEqual (-3) v_1
                                             whenTrue (Not v_0) $
                                               assert ["toPred Term"] $ LessOrEqual (-3) v_1}
                fold       = FoldSpec
                               fn   = Id
                               spec = constrained $ \ v_1 ->
                                        exists v_0 in
                                        {whenTrue v_0 $
                                           {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                            assert ["toPred Term"] $ LessOrEqual v_1 4}
                                         whenTrue (Not v_0) $
                                           {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                            assert ["toPred Term"] $ LessOrEqual v_1 4}})
             []

         Simplfied spec:
           TypeSpec
             (MapSpec
                hint       = Nothing
                mustKeys   = fromList []
                mustValues = []
                size       = MemberSpec [ 0 elements ...] @Integer
                elem       = constrained $ \ v_2 ->
                               [Snd v_2/v_1]exists v_0 in
                                            {whenTrue v_0 $
                                               assert ["toPred Term"] $ LessOrEqual (-3) v_1
                                             whenTrue (Not v_0) $
                                               assert ["toPred Term"] $ LessOrEqual (-3) v_1}
                fold       = FoldSpec
                               fn   = Id
                               spec = constrained $ \ v_1 ->
                                        exists v_0 in
                                        {whenTrue v_0 $
                                           {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                            assert ["toPred Term"] $ LessOrEqual v_1 4}
                                         whenTrue (Not v_0) $
                                           {assert ["toPred Term"] $ LessOrEqual 0 v_1
                                            assert ["toPred Term"] $ LessOrEqual v_1 4}})
             []

  To rerun use: --match "/constrained/prop_univSound @BaseFn/" --seed<PHONE_NUMBER>

Other recent reproducers:

https://github.com/IntersectMBO/cardano-ledger/actions/runs/11508716952/job/32039500171

I did some git bisecting and it seems that the problem was introduced (or made bad enough to fail often enough to notice) in d24211a6d8a04222a7b9add7a1d9157f2d631933

Note that if you have a fast machine, a given seed that fails in CI may not fail locally. My machine is almost 2x the speed of the CI runners, and I had to set the time limit back down to 10s to get it to fail with the seed shown in the description<PHONE_NUMBER>).

I have a fix for this in #4730. The issue was that the generator for lists with sum constraints was changed not to fail immediately when the size constraint is difficult to meet. The result was that we ended up running way too many checks on impossible to satisfy size constraints.


⚠ ClamAV has degraded performance

In 09e7c4f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 728 ms

Resolved: ClamAV performance has improved in 19b14b0 after 5 minutes.


MF-513 - Add Bootstrapping service

What does this do?
This pull request introduces Bootstrapping service.
Which issue(s) does this PR fix/relate to?
This pull request resolves #513.
Have you included tests for your changes?
Yes.
Did you document any new/modified functionality?
Yes.

Codecov Report

Merging #524 into master will decrease coverage by 2.17%.
The diff coverage is 77.53%.

@@            Coverage Diff            @@
##           master    #524      +/-   ##
=========================================
- Coverage   87.07%   84.9%   -2.18%
=========================================
  Files          53      62       +9
  Lines        2399    3080     +681
=========================================
+ Hits         2089    2615     +526
- Misses        213     330     +117
- Partials       97     135      +38

Impacted Files
Coverage Δ

bootstrap/reader.go
0% <0%> (ø)

bootstrap/configs.go
100% <100%> (ø)

bootstrap/api/requests.go
63.63% <63.63%> (ø)

bootstrap/service.go
72.14% <72.14%> (ø)

bootstrap/api/responses.go
72.91% <72.91%> (ø)

bootstrap/postgres/configs.go
76.42% <76.42%> (ø)

bootstrap/api/transport.go
86.28% <86.28%> (ø)

bootstrap/api/endpoint.go
88.23% <88.23%> (ø)

bootstrap/postgres/init.go
89.47% <89.47%> (ø)

things/service.go
92.14% <0%> (-1.43%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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


Check  Hooks

Running into some issues.
Not sure what it is. Could be the conditional or me breaking the rules of hooks somehow. I'll need to look into this later.

StackOverflow
Sandbox

I can confirm this issue is still happening:

Okay so I think I need to take a different approach.
<Audio Player /> should contain an <audio /> element
useAudio should accept a ref for the audio element and then modify the values on it...this will be better than having the custom hook create an HTML element, which I think is a no-no


NetworkedVarSettings Doc maybe typo

WritePermission : Defines the "read" permissions for this var.
ReadPermission : Defines the "write" permissions for this var.
In my opinion, each explanation is the opposite.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Issue with Italian translation

Tested on
Sony Xperia XZ1 - Android 9.0, Samsung Galaxy S4 - Android 10.0, Sony Xperia X - Android 9.0
Steps to reproduce
After clicking "incominciamo", the sentence "knowledge is power" appears. It should be translated in Italian (to maintain consistency with the other pages).

The expected translation is: sapere è potere
https://www.jotform.com/uploads/AppQuality/201096241235345/4632140126817427183/20200420_172437.jpg

@vedhakannan will take care of that in an upcoming PR

@matteocrippa just following up, do you know if this issue has been addressed yet?


Updated mod to 1.20.1

I've tested the build and it runs fine without any issues.

Newest release works on every 1.20 version so merge isn't necessary


feat: add WriteBatch addPutItem support

Reopens https://github.com/typedorm/typedorm/pull/383.
I was looking to do a batch write where one of my items just needed to be a PUT since it's under a job that runs continuously, so the item might already be present, and if it is, I'd like to override it.
I had done it with patch-package, but it was simple enough that it was worth a PR.

Hi @aecorredor
Can you add some unit tests against this... To maintain the codecov lvl.
Otherwise looks good.

@whimzyLive I just realized something pretty important as I added unit tests. I noticed that no real difference existed in the final transformed output when specifying/leaving off overwriteIfExists. I then also realized that the unique conditions that overwriteIfExists appends to the dynamoPuItem weren't really being used on batch writes. As I looked deeper to see if that was a bug, I started reading the document client's batchWrite docs. It turns out that batch writes only support Puts and Deletes. So, addCreateItem is really overwriting data every time, so I think if anything that should be renamed to addPutItem.
Here are the docs:

AWS SDK v2
AWS SDK v3


Need a way to load all intervals in Fluid

Describe the bug
I don't see a way to efficiently iterate through all the intervals so that third party applications using Fluid can create visuals and other relevant data on their side for each interval.
I could see two ways of iterating through intervals in Fluid as of now. But both of them don't seem very efficient and neither of them work properly.
One way of iterating through intervals is below. When the below code is executed, any communication with Fluid after that seems be unresponsive.
  for (let intervalCollectionLabel of sharedString.getIntervalCollectionLabels()) {
const intervalCollection = sharedString.getIntervalCollection(intervalCollectionLabel);
for (let interval of intervalCollection) {
   // Do something with interval
     } }
Another way of iterating through interval is below. The main idea is to use waitIntervalCollection from shared string. WaitIntervalCollection returns a promise that seems to never get resolved or rejected. So, the code in then or catch never seems to be executed.
for (let intervalCollectionLabel of sharedString.getIntervalCollectionLabels()) {
   sharedString
       .waitIntervalCollection(intervalCollectionLabel)
        .then((intervalCollection) => {
      for (let interval of intervalCollection) {
      // Do something with interval
     }
  })
    .catch((error) => {
   // Do something with error
 });
    }
The ideal way to iterate through intervals would be if it can be done in parallel when getting other data like marker data or text from shared string. As of now, we can use walkSegments method from shared string and pass in a call back method as a parameter to load segments. It would be nice if intervals can be loaded with the same walkSegements mechanism.
  * @param handler - The function to handle each segment
 * @param start - Optional. The start of range walk.
   * @param end - Optional. The end of range walk
    * @param accum - Optional. An object that will be passed to the handler for accumulation
     * @param splitRange - Optional. Splits boundary segments on the range boundaries
   */
    public walkSegments<TClientData>(
   handler: ISegmentAction<TClientData>,
   start?: number, end?: number, accum?: TClientData,
    splitRange: boolean = false) {
   return this.client.walkSegments<TClientData>(handler, start, end, accum, splitRange);
  }

Both of the first two methods should work (though the wait is redundant with some of the semantics I updated to make interval collections act more like a default map), but run into an issue where we prefix interval collection keys with "intervalCollections/" on access. So if the sequence starts out with a single collection under the label "comments", then the for loop:
for (let intervalCollectionLabel of sharedString.getIntervalCollectionLabels()) {
const intervalCollection = sharedString.getIntervalCollection(intervalCollectionLabel);
for (let interval of intervalCollection) {
// Do something with interval
} }
will try and access "intervalCollections/comments", then "intervalCollections/intervalCollections/comments", etc.


Login & Unauthorized pages for publisher

We need a proper login page with (password or 3bot connect or both) as well as an (unauthorized page)

[x] Login page
[x] UnAuthorized page
[x] Not found page

fixed


enable the wiki to contribute articles

I've spent a few hours with this starter project and think its amazing. It could really help devs like myself become better at the fullstack. I'm frontend strong and backend weak so I'd like to contribute a wiki page how to use to this project to create, edit, and delete an article. I noticed the article list is empty.
Would you mind enabling the wiki option? I also see you have docs so I could add the article there once its done and peer reviewed.

I could help move\copy the docs to github pages too - I see your note about wanting that - makes sense


tooltip: Fix arrow position.

This was one of the regressions from our upgrade to bootstrap 2.3.2.

after:

Merged, thanks @amanagr!


[BUG Report]: RuntimeError: Tensorflow.NET cannot find a backend.

Description
I make a fresh project, install the packages, run the example code, and get the following error.

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'Tensorflow.Binding' threw an exception.
Source=Tensorflow.Binding
StackTrace:
at Tensorflow.Binding.get_tf()
at Tensorflow.NumPy.AutoNumPyAttribute.OnEntry(MethodExecutionArgs args)
at Tensorflow.NumPy.np.array[T](T[] data)
at TensorFlowTesting.Program.Main(String[] args) in C:\Users\nikes\Documents\source\repos\TensorFlowTesting\Program.cs:line 23
This exception was originally thrown at this call stack:
Tensorflow.tensorflow.tensorflow()
Tensorflow.Binding.Binding()
Inner Exception 1:
RuntimeError: Tensorflow.NET cannot find a backend. Please install one of the following packages for your program: SciSharp.TensorFlow.Redist, SciSharp.TensorFlow.Redist-Linux-GPU, SciSharp.TensorFlow.Redist-Windows-GPU. For more details, please visit https://github.com/SciSharp/TensorFlow.NET. If it still not work after installing the backend, please submit an issue to https://github.com/SciSharp/TensorFlow.NET/issues

If any other info is needed I'd be glad to provide it.
Reproduction Steps
I installed packages like so:
Install-Package TensorFlow.NET
Install-Package TensorFlow.Keras
Install-Package SciSharp.TensorFlow.Redist
When I run the example code I get the above error.
Known Workarounds
No response
Configuration and Other Information

Windows 11 PC
Visual Studio 17.7.2
New Console App using .Net Framework 4.7.2

Many apologizes for seeing this late. I'm too busy these days to watch all the issues. This is a known problem that .NET Framework does not have good support for backend package. There're generally two ways to solve it:

Upgrade your runtime version (net core is recommended).
Find the nuget package under the folder C:\users\xxx\.nuget\packages and then extract the tensorflow.dll from it. Finally put the dll in the output directory of your project (or add an reference).

This can also be caused by missing visual c++ redist
https://aka.ms/vs/17/release/vc_redist.x64.exe

none of the proposed  works  in my case

Hi all, any solution so far? I faced the same problem, none of the proposed solution works.

Facing same issude right now. @AsakusaRinne

Hello, the dll file cannot be referenced, VS pop-up error

@ @AsakusaRinne

To resolve the issue with macOS:
CPU version for MacOS
PM> Install-Package SciSharp.TensorFlow.Redist-OSX
CPU version for Windows and Linux
PM> Install-Package SciSharp.TensorFlow.Redist
GPU version for Windows (CUDA and cuDNN are required)
PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU
GPU version for Linux (CUDA and cuDNN are required)
PM> Install-Package SciSharp.TensorFlow.Redist-Linux-GPU


[OAP-CACHE][OAP-1690][POAE7-430] Cache backend fallback bugfix

What changes were proposed in this pull request?
call OapCache.apply method instead of directly call new specific CacheBackend like (new VMemCache、new ExternalCache)
Then can go cacheDetectFallBack codepath.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please take a review @jikunshang @winningsix @yma11 @yeyuqiang @Aaxida.Thanks.

Please take a review @jikunshang @winningsix @yma11 @yeyuqiang @Aaxida.Thanks.

LGTM

LGTM.


Create an automated workflow to build official Docker images

Add a dockerize workflow that allows us to pull from an official Cohere build. Would output to ghcr.io/cohere-ai/cohere-terrarium:latest.
Support the workflow_dispatch command for manually triggering builds

Addresses #4

do we want to put this in the actions repo? https://github.com/cohere-ai/actions

@arkadyark-cohere I'll assume that question isn't meant for me, since it seems like I don't have access to that repo :). Happy to help if the action needs to be refit to work there.