[Relax][PyTorch] Add support for torch.export.ExportedProgram in Relax PyTorch Frontend

Part of #17346
To keep the PR small, this implementation only supports the Core ATen operators used in AlexNet. I'll add more support after the PR is merged.
I ran the AlexNet model from Torchvision and confirmed that the inference outputs from PyTorch and Relax match.
Here's a repro.

test_alexnet.py
import torch
from torch.export import export
from tvm.contrib.download import download_testdata
from torchvision.models import get_model, get_model_weights
from torchvision.io import read_image
import tvm
from tvm import relax
import tvm.testing
from tvm.relax.frontend.torch import from_exportedprogram

# prepare sample image
img_url = "https://github.com/dmlc/mxnet.js/blob/main/data/cat.png?raw=true"
img_name = "cat.png"
img_path = download_testdata(img_url, img_name, module="data")
image_tensor = read_image(img_path)

# load model from torchvision
model_name = "alexnet"
torch_model = get_model(model_name, weights="DEFAULT").eval()
weights = get_model_weights(model_name).DEFAULT
transforms = weights.transforms()

batch = transforms(image_tensor).unsqueeze(0)
example_args = (batch,)

# PyTorch
exported_program = export(torch_model, args=example_args)
expected: torch.Tensor = exported_program.module()(*example_args)

# Relax
target = "llvm"
dev = tvm.cpu()
mod = from_exportedprogram(exported_program)
mod = tvm.relax.transform.DecomposeOpsForInference()(mod)
exe = relax.build(mod, target=target)
vm = relax.VirtualMachine(exe, dev)
tvm_args = [tvm.nd.from_dlpack(x.contiguous()) for x in example_args]
tvm_output = vm["main"](*tvm_args)[0]
actual = torch.from_numpy(tvm_output.numpy())

# see if the outputs match
print(f"allclose: {torch.allclose(actual, expected, rtol=1e-5, atol=1e-5, equal_nan=True)}")

It seems like the CI is using the old docker image tlcpack/ci-cpu:20240105-165030-51bdaec6, which contains PyTorch 2.0. But the torch.export is introduced in PyTorch 2.1 so we need to upgrade it.
The dockerfile is already updated in #17338 so I guess all we have to do is to upload the new docker image to tlcpack/ci-cpu and update the image name in the jenkins file at ci/jenkins/unity_jenkinsfile.groovy.
cc @yongwww @tqchen

we need to update https://github.com/apache/tvm/blob/main/ci/jenkins/docker-images.ini

Looks like it's still using old docker image.
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-unity/detail/PR-17396/8/pipeline
cc @tqchen

Ah, https://github.com/apache/tvm/blob/main/ci/jenkins/unity_jenkinsfile.groovy#L35 needs to be manually updated for this file

@tvm-bot rerun

@tvm-bot rerun

Can you take a look at it? Thanks!
@yongwww @tqchen

overall LGTM, just a minor namimg nit. Thanks @mshr-h !


lessons 1.0-1.6

The lessons are:

Hello World (brief explanation of a hello-world program)
Variables (how to declare variables)
Constants (how to declare constants)
Namespaces (what are namespaces, why are they useful, how to use them)
Functions (what are functions, how to declare and use them)
Function Arguments (declaring functions with a parameter, passing argument to a function)
Multiple Arguments (likewise, but several arguments)

Dammit, I haven't tested the code, and it turns out deducing return type is prohibited for main. I need to update the snippets.

Still, what are your comments on the text?

The necessity of using types (return type for main, types of parameters) begs the question, if it is better to talk about them explicitly. Maybe it would be better, to add a lesson about types right after Variables?

Looks very good so far, this gives us a great basis to start!
After seeing your example, I realized we could have a unique opportunity here to
take a different route on teaching C++, without all the loaded I/O via stdout/cout.
That means, we would not use cout, or printf for output, but make use of the
return value of main or even use a "magic" print function defined somewhere
else, and revealed later. We can introduce text I/O after we've talked about the
basics. This would prevent to introduce std::string so early, and we could
simply stick to doing simple arithmetic with int to teach the basics.
The following is an example how "Lesson 3: Variables" could look like:
int main()
{
  int addition = 5 + 10;
  return addition;
}

The code editor will show the return value of int main() in it's output window.
Another easy solution, already proposed above, is to not rely on return
values, but to define a "magic" print function:
The following code would be hidden, until a few lessons later:
(debateable whether this should be implemented in terms of C I/O or iostreams)
#include <stdio.h>
void print(int x) { printf("%d\n", x); }

And the lessons code could be as simple as:
int main()
{
  int addition = 5 + 10;
  print(addition);
}

Which would completely avoid using any strange operators, strange namespace syntax,
including any headers or using cout/stdout.
The magic could be slowly peeled away in the following lessons, and could slowly
introduce the C++ way of implementing it.
To answer your question whether how I think we should talk about types, see #7.
It lists "Basic Types" as Lesson 4, right after "Variables" with the following rationale:
While I share your rationale of using auto, and not introduce types to early,
I think types is one of the most important concepts in C++ and should be talked
about as early as possible, only after we've talked about types I would introduce
auto, people, especially coming from JavaScript, could assume auto is actually
a type on it's own, which is not true, it simply deduces what's declared on the right.
To explain deduction correctly you need to know types first.
Just to make this clear, I don't want to teach C here, but the basics of C++ and C
are essentially the same, which is why you can avoid using any of C++ standard library
and the std:: namespace until much later.
Just a few minor points:

auto main is no valid signature for main, let's change that to int main
Omit the return 0. It's implied once you return from main, and can be explained later when we explain returning from functions
We have to agree on a code style, for that I'd suggest we make use of a code format to prevent all future arguments. I'm voting for the WebKit style and enforce that with clang-format. See the attached .clang-format for my suggestion on a style (only a rough draft, but should take care of most cases already)
I would not make 'Hello, World' a separate lesson. I would put the hello world into the introduction, to teach pupils about using the editor, without ever talking about the hello, world itself. Probably even keep it as simple as int main() { puts("hello, world"); }. No need for streams.

Edit: I've seen you changed auto main to auto main() -> int. While many experienced
programmers find the new function signature less confusing than the default one,
we should stick to the old one, since there are billions of lines of C++ code in
the wild, and about 99.99% are written using the old style. We can mention the
new function signature in a later lesson.
.clang-format:
BasedOnStyle: WebKit
DerivePointerAlignment: false
PointerAlignment: Right
ColumnLimit: 80
IndentWidth: 4
ContinuationIndentWidth: 4
AlignTrailingComments: true
MaxEmptyLinesToKeep: 2
ReflowComments: true
SpaceAfterTemplateKeyword: false
BinPackParameters: false
AlignAfterOpenBracket: AlwaysBreak

OK, what I wanted to do with auto is to create a consistent style, where each named entity is declared as auto <name><definition> which means, that variables will be defined as auto <name> = <expression> or auto <name> = <type>(<argument list>), and functions will be defined as auto <name> <type> <body> (note, that () -> T is a valid way to specify a function type). The classic way of declaring functions could be introduced later.
Return from main could be dropped, agreed.
The point of a separate lesson for Hello World is to introduce basic structure, i.e. show an #include, show main, tell about semicolons.
I am conflicted on the idea of having a special print function, or just not printing anything at all. That will decrease the amount of exposure to new syntax, but on the other hand I planned to employ passing std::cout to a function as a motivation for references. TBH, I don't think std::cout <<  will confuse the reader too much.

I see 2 alternatives on when to introduce types: after the "basic syntax" lesson, or after variables (with auto being used in place of types before that).

So, I rewrote the thing with Asciidoc and Slack-approved changes ;-)

Another suggestion: I close this pull request, and send each lesson as a separate pull request. That way it will be easier to decide whether or not a lesson is ready to be merged.

I like the idea!

OK. I will split it today and resend as different PRs (incorporating the feedback).


feat(summary): add summary_toggle event

This is emitted when the summary window is opened (true) or closed (false), allowing other consumers to perform actions when the summary window is toggled.
In my case, I want to enable automatic running of tests on write only when the summary window is open: I will likely tie other behaviour in my configuration to this state too, as a proxy for "concentrating on tests".
(I investigated adding events to consumers (so that the event could be defined within summary/init.lua itself), but it was getting complicated: it would require extending the Client interface, and most consumers won't need it. If you'd prefer a more general solution, I'm happy to hack at it some more!)

I like the idea of using events for consumers but would want to avoid them using the client.
Instead we could use autocmds which are already being used in #134. They are also more user friendly so people don't need to write consumers if they want to listen to them


[WIP] Add documentation to Grid class

Pull Request
Description
Creates documentation for the rest of the grid class methods
This pull request addresses #52

[x] make sure you are pulling from a dev branch on your fork
[x] check for code linting

I looked and couldn’t find anything about how to document function types. I think this approach is as good as any.


update dsfa - Bericht zur Datenschutz-Folgenabschätzung

Fixes https://github.com/corona-warn-app/cwa-website/issues/1066

The relevant subsection is now 5.6.12

@dsarkar

Fixes #1066

I can see that changes were made, but I don't think that the issue is fixed. 😞


Integrate Data Store Into App

Are there any related nextjs best practices that should be observed in terms of what we chose, or how it is configured?

Based on:
https://github.com/zeit/next.js/issues/2252#issuecomment-308206320
check out:
https://github.com/zeit/next.js/tree/master/examples/with-redux
https://github.com/zeit/next.js/tree/master/examples/with-refnux
https://github.com/zeit/next.js/tree/master/examples/with-mobx


vscode-eslint doesn't work for folder that is added as another workspace folder

If you have a project structure like this
root/
  .vscode
    settings.json
  inner/
    inner.js
  outer.js
  .eslintrc.json

and vscode-eslint is enabled in settings.json only for this workspace, and then add inner/ as a root folder in the workspace, vscode-eslint will stop work completely, for both inner.js and outer.js, not auto-fixing either on save.
Linting errors are still correctly displayed in the editor though, and it's possible to use the quick fix menu to manually fix errors.
A subfolder might be added as a root folder if this project also contains Go code. Go language server currently would only lint a module correctly if that module exists as a root folder in workspace.

It works if settings are specified in the code-workspace file


Catalog plugin dev page crashes on load

Expected Behaviour
When running the dev page in the catalog plugin, one should see some example catalog components.
Current Behaviour

The page crashes with No path for externalRouteRef{create-component} and displays a white page (Full error in toggle block)

Error: No path for externalRouteRef{create-component}
	resolve (hooks.tsx:60)
	mountMemo (react-dom.development.js:15465)
	useMemo (react-dom.development.js:15761)
	useRouteRef (hooks.tsx:126)
	CatalogPageContents (CatalogPage.tsx:85:99)
	renderWithHooks (react-dom.development.js:14826)
	mountIndeterminateComponent (react-dom.development.js:17506)
	callCallback (react-dom.development.js:189)
	dispatchEvent
	invokeGuardedCallbackDev (react-dom.development.js:238)
	invokeGuardedCallback (react-dom.development.js:293)
	beginWork$1 (react-dom.development.js:23235)
	performUnitOfWork (react-dom.development.js:22189)
	workLoopSync (react-dom.development.js:22162)
	performSyncWorkOnRoot (react-dom.development.js:21788)
	performSyncWorkOnRoot
	(anonym funktion) (react-dom.development.js:11112)
	unstable_runWithPriority (scheduler.development.js:653)
	flushSyncCallbackQueueImpl (react-dom.development.js:11107)
	workLoop (scheduler.development.js:597)
	flushWork (scheduler.development.js:552)
	performWorkUntilDeadline (scheduler.development.js:164)

The above error occurred in the  component:
    in CatalogPageContents (at CatalogPage.tsx:215)
    in EntityFilterGroupsProvider (at CatalogPage.tsx:214)
    in CatalogPage (at extensions.tsx:52)
    in RoutableExtensionWrapper (at extensions.tsx:96)
    in Suspense (at extensions.tsx:95)
    in Extension(Component) (at dev/index.tsx:31)
    in GatheringRoute (at render.tsx:117)
    in FlatRoutes (at render.tsx:152)
    in div (at Page.tsx:71)
    in SidebarPage (at render.tsx:150)
    in Route (at App.tsx:342)
    in Routes (at App.tsx:341)
    in Router (created by BrowserRouter)
    in BrowserRouter (at App.tsx:340)
    in AppRouter (at render.tsx:149)
    in RoutingProvider (at App.tsx:278)
    in CssBaseline (created by WithStyles(CssBaseline))
    in WithStyles(CssBaseline) (at AppThemeProvider.tsx:94)
    in ThemeProvider (at AppThemeProvider.tsx:93)
    in AppThemeProvider (at App.tsx:277)
    in AppContextProvider (at App.tsx:276)
    in ApiProvider (at App.tsx:130)
    in Provider (at render.tsx:144)
    in DevApp (created by HotExportedDevApp)
    in AppContainer (created by HotExportedDevApp)
    in HotExportedDevApp (at render.tsx:184)
React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.

Possible Solution
I think it's because the DevApp doesn't have a notion of bindRoutes. In the example app this external route is bound in App.tsx. Whereas the DevApp just has the apis and plugins, we could add something like:
  const app = createApp({
    apis: this.apis,
    plugins: this.plugins,
+   bindRoutes({ bind }) {
+     // Add bindings from something like .addBinding(routeRef)
+   },
  });

I might be way off though.
Steps to Reproduce

git switch master (I was on 1add977)
cd plugins/catalog
yarn start
Click the "🔖 Catalog" in the sidebar
💥

Context
I found this whilst trying to work on the TechDocs plugin locally in the hope it would should me how to fix up the TechDocs dev environment 😅 (#4619)
Your Environment

NodeJS Version : v14.15.1
Operating System and Version: macOS Big Sur (11.2)
Browser Information: Tried in Chrome and Safari with the same result

Yep indeed, confirmed, thanks for reporting! Should be fixed in https://github.com/backstage/backstage/pull/4632


plugin doesn't work with IntelliJ 15

The files which are ignored via patterns in .gitignore are no longer greyed out in the project view

Duplicate of #174


[Request] Update the list of pre-registered parts available on Material System

In BASE, I know there have multiples pre-registered parts availiable, but have not been added yet on the wiki. I think about the "ore_sample", the "cluster", the "metal log" and "metal leave"... I think all that parts can be usefull for somebody, but the list doesn't tell the existence of this parts.
Fireztonez

Metal Log and Leaf don't exist other than textures. and there is always "/ct parts" which lists all current parts.


Roadmap

These are the tasks that need to get done:
dom-assertions

[ ] extract all assertions from jest-dom. (#17)
[ ] document the assertions interface and usage guides for developing custom assertions.

jest-dom

[ ] refactor all assertions and error messages using the dom-assertions package
[ ] migrate the codebase to typescript
[ ] add type definitions
[ ] update the build process to emit ESM output
[ ] clean up the dependencies and configurations to use the ones shared across monorepo

chai-dom

[ ] add more assertions
[ ] update the documentation details

cypress-dom

[ ] add more assertions
[ ] update the documentation details
[ ] add a separate export for extending cypress default assertions

general

[ ] update the release process since the old configurations are not working in a monorepo
[ ] update the contribution guidelines
[ ] update issue/pr templates

Hey @mammadataei thanks a lot for creating this roadmap! Do you have any idea how feasible this is for this year? Is there something the community can help?

Hi @yannbf, I'm trying to put more time into this and I hope it will finish by the end of the second quarter of this year. Clearly, it can progress faster with some help. The primary task is to extract all assertions from the jest-dom package to dom-assertions and stabilize the rest by improving the test coverage.


ISPN-8962 Add one more merge scenario

The issue is already fixed, just adding one more test method.

Thanks @danberindei


[main] Update community files

pulling in team changes -dprotaso
Produced by: knative-extensions/knobots/actions/update-community
Details:

/lgtm
/approve

/verify-owners


Intel Fortran compiler is pinned to older version in CI/CD pipeline

Description
The Intel Fortran is pinned to version 2023.2.2 in the CI/CD pipeline because Intel's setup scripts for version 2024.0.0 are not currently working correctly. (Specifically, they're not adding the compiler's location to the system path, so build tools like CMake are unable to find it.) This will undoubtedly be changed in the short term, but this issue will serve as a visible reminder that we need to track this and unpin the compiler once the setup scripts are corrected.
How to fix
In run_tests.yml and run_static_and_examples.yml, remove "=2023.2.2" from the apt-get of the intel-oneapi-fortran-compiler "Install Intel Compiler" action. If the CI/CD runs to completion for the Intel compiler, the pinning is no longer necessary.
Expected behavior
CI/CD should be able to be run with the latest version of the compiler.
System

GitHub CI/CD

@billschereriii Can we do a quick if this has been solved.  If not I will file away in OSS backlog

@billschereriii Can we do a quick if this has been solved. If not I will file away in OSS backlog

@mellis13 Issue is still present. Rerunning the tests on https://github.com/CrayLabs/SmartRedis/pull/436 shows the issue. I wlll leave it up to simplify retest going forward

Closing as fixed -- the underlying issue is solved and we no longer pin the compiler version. See PR #436


Cannot build stack locally

Hi,
Starting from your Readme, and considering I dont have any experience with Flutter nor mobile development, I'm not able to start locally the Altme App using Android Studio.
CONTEXT :
We currently are able to issue SD-JWT credentials using openid4vc from our issuer api to the Altme wallet (DIIP V.3 profile) but presentation using openid4vp does not work.
I'm trying to run you stack locally to identify the reason.
ISSUE :

I do not see any dev channel as you mention, only master, main, beta and stable.
When using flutter 3.7.0, the associated Dart SDK version is 2.19.0 which is considered as incompatible with the project requirements (>=3.1.0 <4.0.0)
Upgrading the flutter version to latest in order to have a compatible Dart version on MAIN channel generate the following error on build :

../../../../.pub-cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart:88:23: Error: The method 'hashValues' isn't defined for the class 'SlidableRatioNotification'.
 - 'SlidableRatioNotification' is from 'package:flutter_slidable/src/notifications_old.dart' ('../../../../.pub-cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart').
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
  int get hashCode => hashValues(tag, ratio);

Upgrading the flutter version to latest in order to have a compatible Dart version on STABLE channel generate the following error on build :

Execution failed for task ':app:checkDevelopmentDebugAarMetadata'.
> Could not resolve all files for configuration ':app:developmentDebugRuntimeClasspath'.
   > Failed to transform LiquidCore-0.6.2.aar (com.github.LiquidPlayer:LiquidCore:0.6.2) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find LiquidCore-0.6.2.aar (com.github.LiquidPlayer:LiquidCore:0.6.2).
        Searched in the following locations:
            https://jitpack.io/com/github/LiquidPlayer/LiquidCore/0.6.2/LiquidCore-0.6.2.aar
            https://jitpack.io/com/github/LiquidPlayer/LiquidCore/0.6.2/LiquidCore-0.6.2.jar

One more thing, on Linux the script.sh generates the following error :
./script.sh: 15: Syntax error: "}" unexpected
Any hint ? Specially about how you run the project with a 3.7.0 flutter version, associated to a compatible Dart version.

@hawkbee1

@Lab3ss good to see french devs in SSI now !

@Lab3ss DIIP V3.0 uses did:jwk as identifiers, if you are on ARF you will need cnf as identifier, so a specific configuration like this one https://wallet-provider.talao.co/configuration/webpage?login=guest@eudi.talao.co&password=MLYGYA&wallet-provider=https://wallet-provider.talao.co/

we are looking into it
just some comments :
header of sd-jwt should not use jwk and kid at the same time, as it one or the other one

  "alg": "ES256",
  "typ": "vc+sd-jwt",
  "jwk": {
    "kty": "EC",
    "crv": "P-256",
    "kid": "an5v-8gJTq65TvRtrkvobTc9mQVBiH4Kzo29-GdJ3KA",
    "x": "0L9AV1Oqc3Olwqm9qP4JAjuLxZt6V9lfVaqlWgYLlDU",
    "y": "3lcQ7Q9E0ohePYr_d0UwVwMWtWlgELvErc0E6W8BRtE"
  },
  "kid": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2Iiwia2lkIjoiYW41di04Z0pUcTY1VHZSdHJrdm9iVGM5bVFWQmlINEt6bzI5LUdkSjNLQSIsIngiOiIwTDlBVjFPcWMzT2x3cW05cVA0SkFqdUx4WnQ2VjlsZlZhcWxXZ1lMbERVIiwieSI6IjNsY1E3UTlFMG9oZVBZcl9kMFV3VndNV3RXbGdFTHZFcmMwRTZXOEJSdEUifQ"
}

In the authorization request (oidc4vp), we should get presentation_definition or presentation_definition_uri but not both at the same time as it is confusing

@ThierryThevenet Right ! I'm looking into it.

here is the issue
I/flutter (30877): ⛔ | Response | ERROR[404] TYPE[DioExceptionType.badResponse],=> PATH: haip://authorize?response_type=vp_token&client_id=did%3Aweb%3Aapp-api-328189308.dev.archipels.io%2Fdid%2FTnvBQeSp67wAjX34e2uihU&response_mode=direct_post&state=m2oeXGDrRpok&presentation_definition_uri=https%3A%2F%2Fapp-api-328189308.dev.archipels.io%2Foidc%2Fpresentation-definition%2Fm2oeXGDrRpok&client_id_scheme=did&client_metadata=%7B%22authorization_encrypted_response_alg%22%3A%22ECDH-ES%22%2C%22authorization_encrypted_response_enc%22%3A%22A256GCM%22%7D&nonce=22926250-e740-46bb-b3b9-f63fe06fcf7f&response_uri=https%3A%2F%2Fapp-api-328189308.dev.archipels.io%2Foidc%2Fpresentation-definition%2Fm2oeXGDrRpok%2Fverify&request_uri_method=get&request_uri=https%3A%2F%2Fapp-api-328189308.dev.archipels.io%2Foidc%2FTnvBQeSp67wAjX34e2uihU%2Fpresentation-request%2Fm2oeXGDrRpok data: <!doctype html>

@Lab3ss the main issue here is that the verifier use a client_id_scheme = DID. In that case the authorization request must be signed as a jwt with a key from the DID Document. There are 2 problems 1) the DID is not resolvable 2) the request is passed as a value and not as a jwt signed .

maybe it is simpler to use a client_id_scheme = redirect_uri and set an iss/client_id = url instead of a DID for the verifier

@ThierryThevenet The did web document can be resolved here : https://app-api-328189308.dev.archipels.io/did/TnvBQeSp67wAjX34e2uihU/.well-known/did.json
My understanding is that resolving a did:web is using https and explicitly add /.well-known/did.json

Hum OK, let met dig deeper on that and tell you once its fixed. Thanks !

Hi @ThierryThevenet,
I did some changes on my side, including :

removing jwk in jwt headers, and keeping only a did:web as kid
making the did web resolvable via https://dev.uniresolver.io/
rework authorization request to only have a request_uri that return a presentation request as a jwt. jwt signed with the key found in the did document of course.
Good news is I'm still able to issue credentials in Altme (except that signature is considered as invalid). The bad one is that I still have a 404 error when I scan the presentation request.

Could you send us the VC (download from Wallet) and is it possible to get sn access to the verifier ?

Here is the credential :
eyJhbGciOiJFUzI1NiIsInR5cCI6InZjK3NkLWp3dCIsImtpZCI6ImRpZDp3ZWI6YXBwLWFwaS0zMjgxODkzMDguZGV2LmFyY2hpcGVscy5pbzpkaWQ6Sjh5Ulk3aDZranY5dDFaV0NGRWYxcSJ9.eyJhZ2Vfb3Zlcl8xOCI6InRydWUiLCJhZ2Vfb3Zlcl8xNSI6InRydWUiLCJhZ2Vfb3Zlcl8xMyI6InRydWUiLCJpc3MiOiJkaWQ6d2ViOmFwcC1hcGktMzI4MTg5MzA4LmRldi5hcmNoaXBlbHMuaW86ZGlkOko4eVJZN2g2a2p2OXQxWldDRkVmMXEiLCJjbmYiOnsiandrIjp7Imt0eSI6IkVDIiwidXNlIjoic2lnIiwiY3J2IjoiUC0yNTYiLCJ4IjoiVmU2VkFzclJkRno4MHNUakZsR1MwZHNqZnBmWXliQ0pwWmFxZzBBVG92USIsInkiOiJpRWkxZlpTWml4M2VUeVdPenhZQk5JU1M2MXRGbHVuTFhsbUVnSWt6VmswIiwiYWxnIjoiRVMyNTYiLCJraWQiOiJMclpfVjNFamduQ0FReDNDeEo3RmswLXAwVFhzcmh6T19TUkdxZGVQVG9rIn19LCJ2Y3QiOiJldS5ldXJvcGEuZWMuZXVkaTpvdmVyLW4tZGVtbzoxIiwic3ViIjoiTHJaX1YzRWpnbkNBUXgzQ3hKN0ZrMC1wMFRYc3Joek9fU1JHcWRlUFRvayIsImlhdCI6MTcyODQ2NDUwNywiZXhwIjoxNzYwMDIyMTA3fQ.BG36nhHBRfmeXUMQ-bOW9CWmjfOFVKt73JvQLF24UX0Nh47dHJHTqLyQeHA_SZOdp-EiKMYh2k4jerUh9xUmHA~
Jwt.io considere the signature as valid once I removed the last tild, and if a use as signing key the key behing the did:web.
Feel free to get the credential here (new link): https://app-328189308.dev.archipels.io/issuer-catalog/J8yRY7h6kjv9t1ZWCFEf1q
And verify it here  https://app-328189308.dev.archipels.io/oidc/presentation-request/be121989-2fc1-4419-a2f5-81cf11f0f6c0


Correctly quote table names with schemas when filtering with conditions

Specs passing locally. Looks like something is broken with CI.

CI failure is fixed in https://github.com/relevant-healthcare/filter_builder/pull/32


There's no difference in capa.rules between "2 or more" and optional?

Description
There's no difference in capa.rules statements between '2 or more:' and 'optional:' ? How do I find out what's actually in the yaml rule?
Steps to Reproduce
import capa.rules

or_more='''
rule:
  meta:
    name: test 2 or more
  features:
      - 2 or more:                # <===== HERE's the diff
        - string: "sites.dat"
        - string: "sites.ini"
        - string: "leapftp"
'''
r1 = capa.rules.Rule.from_yaml(or_more)
print("using 2 or more: ", r1.statement)

optional='''
rule:
  meta:
    name: test optional
  features:
      - optional:                # <===== HERE's the diff
        - string: "sites.dat"
        - string: "sites.ini"
        - string: "leapftp"
'''
r2 = capa.rules.Rule.from_yaml(optional)
print("using optional:  ", r2.statement)

gives output:
using 2 or more:  some(string(sites.dat),string(sites.ini),string(leapftp))
using optional:   some(string(sites.dat),string(sites.ini),string(leapftp))

Expected behavior:
See some difference between "2 or more" and "optional"
Actual behavior:
No difference
Versions
.pyenv/versions/3.9.1/lib/python3.9/site-packages/flare_capa-1.6.1-py3.9.egg/capa/rules.py'

forget about it, found .count


Hello-blockchain API returns 401

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Install the hello-blockchain application.
Access the URL, create and execute contracts. - Works fine
App service Authentication is switched off.
When using the API, I can not return any values at all, the error I am getting is 401.
I repeated the steps above with the App service Authentication switched on. - Still error 401

Any log messages given by the failure

401

Expected/desired behavior

With the App Service Authentication switched off, when executing 'https://cmblockchain-tnqc4z-api.azurewebsites.net/api/v1/users/1' I should get the user details.

OS and Version?

Windows 7, Chrome

Mention any other details that might be useful

Thanks! We'll be in touch soon.

This is the expected behavior. We do not rely on the App service authentication for Workbench and authentication cannot be turned off.
If you are trying to use Workbench's API problematically please take a look at this Q&A


Mask shape error in xder code implementation

Hello. Thank you for your recent work and for sharing xder code.
While I tried to reproduce your work on my one, I encountered a troublesome as follows.

File ".../models/xder.py", line 143, in update_logits
gt_values = old[torch.arange(len(gt)), gt]
IndexError: The shape of the mask [32] at index 0 does not match the shape of the indexed tensor [32, 10] at index 1
Have you ever met such problem? I'd like to ask you how to fix it. Thank you.

Hello there,
I'm gonna need some more details to assess what's happening. (i) What dataset are you using? (is it one of ours?) (ii) what shape is the input tensor of the observe function?

Thank you for your quick response. For detail, (i) I using custom dataset, (2)

Thank you for your quick replying. First of all, I tried to run this code for a custom dataset with some modifications. After I examined the code with the cifar-100 dataset, the existing code works well with no troubleshooting. I will update the comment later if I meet the same problem after I look into the code. Thank you :D

Ok, great!
Let me know if you have any trouble.


feat: add nid command ( save dev dependency alias )

This PR is to add a new command, which would be an alias to install dev dependencies.
nid vite

Would be same as
ni vite -D

Thanks, but we don't accept new commands anymore.
You can do that with your local shell alias:
alias nid=ni -D


Show pdf in new window not working

@volkanceylan
Ref to https://github.com/MrRio/jsPDF/issues/1371#issuecomment-326727128

@volkanceylan  can you merge this in Serene?


www/nginx: tmpfs logs fix

Hi!
closes https://github.com/opnsense/plugins/issues/4186
thanks!

Merged, thanks!

Thanks!)


(maint) Update YARD to latest version

Prior to this commit, puppet strings tests were failing against YARD
versions 0.9.0 and newer. This was due to 1) a change in the YARD
results output and 2) the upstream patch we submitted in PDOC-25
being released.
The upstream patch we submitted for that ticket added a regular
expression that we could override when matching the names of puppet
classes and defines since they begin with lowercase letters (unlike
Ruby). Until this was released with the new YARD gem, we were using
a different method of fixing this issue. Once the gem was out, the tests
started failing because the regex override doesn't propagate to the
tests.
In order to fix the failing tests, override the regex in the tests
as well.

Ping @hlindberg for thoughts on this. This may not be the right solution to the problem. I confirmed that when running strings (outside of the spec tests) with YARD 0.9.0 or greater the fix for PDOC-25 still works. Something is just going wrong and the override is not there in the spec tests. Happy to change this though if there is a better solution, this feels quite hacky.

Also I'm in favor of tying strings to a specific YARD version in the Gemfile and consciously making the decision to move to the latest version when it comes out rather than just defaulting to the latest, since a new YARD version has so much potential to break strings.

I'm going to close this as we can't move straight to the latest Yard (which is now 0.9.5) as it breaks a few things in the generated HTML.    I'm going to close this PR in favor of that work, which should go up soon.


StarCoder2 3B SFT models give CUDA OOM on IFEval

For some peculiar reason, I am getting CUDA OOM when evaluating an SFT of bigcode/starcoder2-3b on ifeval. Note this doesn't happen with the 15b models which suggests either a bug on the transformers side, but I'm opening the issue first here in case you know if lighteval handles these models differently or whether it's a user error on my part :)
Here's the command to reproduce:
accelerate launch --multi_gpu --num_processes=8 run_evals_accelerate.py \
    --model_args "pretrained=HuggingFaceH4/starcoder2-3b-sft-v00-deploy" \
    --use_chat_template \
    --tasks "extended|ifeval|0|0" \
    --custom_tasks "extended_tasks/ifeval/main.py" \
    --override_batch_size 1 \
    --output_dir "./scratch/evals"

Note you'll need transformers from main and the version I'm using is:
pip install 'transformers @ git+https://github.com/huggingface/transformers.git@0290ec19c901adc0f1230ebdccad11c40af026f5'

I'm also using lighteval commit df21407d9f714bde9ecfb4dd8283afdc2150eec3
I've inspected the inputs / outputs and everything looks good until I hit one sample that seems to blow up the memory.
Edit: the OOM issue is also present in gsm8k

Hi ! Thanks for the details, I was able to reproduce the issue and look into it.
Seems like it is indeed a bug in transformers (when using model parallel with 8GPUs it OOMs as well). lighteval does not handle these model differently, it could have been the dtype which is not set in your case but setting it to float16 does not solve the issue.
Interestingly, removing --use_chat_template makes it work for --max_samples 1.

What is particularly interesting is that samples should be sorted by context size, so hitting a sample where it failed (but not at the start) would be a matter of the generation being too big.
There could be something in the chat template which encourages the model to continue writing, what's the chat template for this one?


Reduce the size of linux binary

Linux binary is larger than other binaries.

move to https://github.com/TomokiMiyauci/rfd


added new

added: lyrics, jiosaavn
change: format

I really don't know what was the purpose of... doing this.

Basically this PR would ruin tsdocs, the ability to install from github and surely several things that biome changed with the formatter.
Not to mention the fact that it's too many things for one PR, I think and maintain that each change should be done in a different PR and not just one.
Also create a branch for the changes so as not to ruin the original branch in case of a problem.

why you added dist to .gitignore file?

why you added dist to .gitignore file?

The dist folder is added to .gitignore because it's generated during the build process. It's not needed in the repository since users can recreate it by running the build command after installing dependencies. This keeps the repo clean and avoids unnecessary conflicts or large file sizes.

I really don't know what was the purpose of... doing this.

Basically this PR would ruin tsdocs, the ability to install from github and surely several things that biome changed with the formatter.
Not to mention the fact that it's too many things for one PR, I think and maintain that each change should be done in a different PR and not just one.
Also create a branch for the changes so as not to ruin the original branch in case of a problem.

For cleaner code and better code structure. If you mentioned any problems, you can review it yourself by running:
pnpm add https://pkg.pr.new/appujet/lavalink-client@87fc00b

lyrics are already supported by lavalink-client by doing
node.request

Can't review the PR because every file is "modified" completly, therefore i can'T review the changes.

lyrics are already supported by lavalink-client by doing node.request

also added live lyrics event


Fresh build error.

I got this popup javascript error on first (and second) build:
Uncaught Exception:
TypeError: r.setTitleBarOverlay is not a function
at IpcMainImpl.<anonymous> (file:///Volumes/Data/Developer/Electron/2024-11-14/fap-core/.vite/build/main/main.js:70:19)
at IpcMainImpl.emit (node:events:519:28)
at WebContents.<anonymous> (node:electron/js2c/browser_init:2:85699)
at WebContents.emit (node:events:519:28)

And this terminal console  error that fires on mouse over clickable elements:
[25633:1114/105340.429490:ERROR:gl_display.cc(497)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.

I am on a Mac.
A few minutes later...

Adding a switch statement to not use "setTitleBarOverlay" on Mac fixed the first error.

Updating all the packages fixed the second error

npx npm-check-updates -u && npm install

Thanks for the issue. I don't have a mac to test the fix. I update the npm packages and added a check before calling setTitleBarOverlay as you said. Feel free to close this issue if every is working.

I have both a Mac and Windows and soon a Linux for building/testing. I normally work solo, so I do not have much experience with the 'github' way of contributing to someone else's codebase. But this would be a good place to start. There are a lot of small issues converting from CommonJS to ESM, so you may see some attempts from me ;)


wip

I think I closed a similar PR just now? Please don't send in PR's that contain breaking changes.


build: fix gitian builds

Issue being fixed or feature implemented
Gitian build fails on develop with
Compiling develop Linux
From https://github.com/dashpay/dash
 * branch                develop    -> FETCH_HEAD
fatal: No url found for submodule path 'src/immer/extra/python/lib/pybind11' in .gitmodules

What was done?
Drop empty submodule folders we don't use anyway
How Has This Been Tested?
Run Gitian build with this patch applied
Breaking Changes
None
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

Is there a way to have Gitian ignore those files entirely? I'd like to avoid subtree modifications as much as possible

@kittywhiskers This patch is similar to https://github.com/bitcoin-core/crc32c-subtree/commit/224988680f7673cd7c769963d4035cb315aa3388 for crc32c subtree. As an alternative solution we could probably fork immer repo into e.g. dashpay/immer-subtree, patch it and then keep it up to date with the upstream via "merge upstream" PRs and pull squashed changes here from time to time.


Youtube-dl has suddenly stopped working

This is my output:
A:\Portable Apps\Youtube-dl>youtube-dl -f "bestaudio/best" -ciw -o "%(title)s.%(ext)s" -v --extract-audio --audio-quality 0 --audio-format mp3 https://www.youtube.com/watch?v=C0DPdy98e4c
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio/best', '-ciw', '-o', '%(title)s.%(ext)s', '-v', '--extract-audio', '--audio-quality', '0', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=C0DPdy98e4c']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2022-12-19-git-48d5aecfc4-full_build-www.gyan.dev, ffprobe 2022-12-19-git-48d5aecfc4-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] C0DPdy98e4c: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

A:\Portable Apps\Youtube-dl>youtube-dl -U
ERROR: can't find the current version. Please try again later.

Anyone know what's wrong?

I have exactly the same problem

I have same problem

Let me repeat what I wrote in another duplicate of this:
@Tardkiller
You haven't followed the recommended procedure on submitting a new issue, now a PINNED issue in the main repo:

i.e. #30839 ...
Had you done that, you'd have discovered ca. 100 duplicate issues with the same error message, plus links to the originating issue (now a megathread), with content and info on how to hopefully remedy your predicament...
To ALL the rest: The same applies to you 😞 ...

Let me repeat what I wrote in another duplicate of this:
@Tardkiller :
You haven't followed the recommended procedure on submitting a new issue, now a PINNED issue in the main repo:

i.e. #30839 ...
Had you done that, you'd have discovered ca. 100 duplicate issues with the same error message, plus links to the originating issue (now a megathread), with content and info on how to hopefully remedy your predicament...
To ALL the rest: The same applies to you 😞 ...

Recommended procedure?
I literally did what the program told me:
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug

... And when you did as the app requested, i.e. load
https://yt-dl.org/bug
that brought you to
https://github.com/ytdl-org/youtube-dl/issues
did it not? The PINNED ISSUE is hard to miss if' you're about to file a "new" issue...

I literally did what the program told me:
ERROR: (...); please report this issue on https://yt-dl.org/bug

@dirkf : Kindly consider my suggestion here, at least for future mega-breakages; it's too late for this one, sadly...

... And when you did as the app requested, i.e. load
https://yt-dl.org/bug
that brought you to
https://github.com/ytdl-org/youtube-dl/issues
did it not? The PINNED ISSUE is hard to miss if' you're about to file a "new" issue...

I didn't see it or look for it. This forum is already hard enough to navigate as it as.
But hey; if you don't want this issue reported simply remove the thread and remove the suggestion from the software.

Of course I can manually clear up people's mess, but https://github.com/ytdl-org/youtube-dl/issues/31613#issuecomment-1437509345.
In my display, as in the picture above, the pinned issue is much larger than the 'New Issue' button. Did you come to the page in some way that caused the pinned issue not to be shown?
Or would having it directly above the button have made it more obvious? There can be three pinned issues so two dummy issues with title Look! -------> could be added at the left and centre.

I think the problem is mainly that people search the forum for recent threads that have titles that are clear descriptions of their own problem. I didn't notice any because when you close them they disappear. I am not invested enough in or knowledgeable enough about youtube-dl to get from a glance that the "[YouTube] Unable to extract uploader id" is that thread. Because that title doesn't really tell me much. Additionally this forum does not provide timestamps from the last post, just the day of the thread started, so it tells my 4 days ago someone had an issue with a description that I have no clue about.
I understand now that this is a big issue that just popped up in the past couple of days. You might want to make a forum sticky that says something like "We are aware that the software is currently not working", not some generic "READ THIS BEFORE OPENING A NEW ISSUE!".
/2 cents.


custom dataset

Hello, this is my dataset groundtruth screen shot,my problem situation is that some of neatly stacked boxes.I want to segmantic them one by one,but when i test ,it always shows that the label has an AP with 0.Then I try to visualize it,it shows as follow screen shot:

It seems predict the whole surface as a box.Do you think my task is suitable for your work?By the way,my train dataset is 35 samples,is it because there are few samples?How many samples do you think is suitable?
Thank you very much!

Are you using pretrained model to get the results.

yes，i used  the pretrained model to get the result

Your object pattern is too unique so the pretrained model could not separate. You can fine-tune the model on all the scans of your train set and visualize results the trained dataset. If the model can overfit (separate the train set) effectively, then you go the right direction.

Do you mean that my different instances are too similar to be separated？

More exactly, too close.


[release-1.14] unify timeout logic across service and virtual service

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.14
65a9a6cc94d4d1991cd14bd10e32f29546c238e4
link
true
/test unit-tests_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio_release-1.14


Windows opened via DoubleTapped Event lose focus

Describe the bug
When opening a new window that is triggered via double-clicking on a control, that window loses focus and the original window gets focus.
To Reproduce
Steps to reproduce the behavior:

Create a ListBox and assign a DoubleTapped event.  You can populate it with items but it should not matter.
In the DoubleTapped event, create a new window and call Show()
Run the application and double click on the ListBox
The new window should appear on the second mousedown and get focus.
The Old window will immediately take back focus on the following mouseup.

Expected behavior
The new window should appear on the second mousedown, get focus, and retain focus even on the mouse release.
An example project is created here:
https://github.com/audinowho/AvaloniaListTest/tree/master/AvaloniaListTest
Screenshots
https://imgur.com/a/wCOWjJY
Desktop:

OS: Windows
v0.10

Additional context
This issue was not present in v0.9
Currently using a workaround:
-Set a doubleclick boolean on DoubleTapped
-Read the doubleclick boolean on PointerReleased, opening the window only if it's set to true.  doubleclick is then set to false.

Struggled with the same issue, thanks for simple workaround!

@kekekeks looks like the same issue we were looking at a while back where Avalonia doesn't track Win32 pointer capture being lost.


Dataset Viewer issue for wikipedia

Link
https://huggingface.co/datasets/wikipedia
Description
The dataset viewer is not working for dataset wikipedia.
Error details:
Error code:   ResponseNotFound

keep open

This issue is fixed once we have updated datasets dependency:

#1147


Improve list of graph technologies

Feel free to suggest additions.

@mlhenderson , @psnovichkov You may be interested in these

in what?
P.

On Apr 30, 2015, at 4:12 PM, Dan Gunter<EMAIL_ADDRESS>wrote:
@mlhenderson https://github.com/mlhenderson , @psnovichkov https://github.com/psnovichkov You may be interested in these
—
Reply to this email directly or view it on GitHub https://github.com/kbase/nextgen/pull/35#issuecomment-97996910.

you mentioned elasticsearch and lucene but not solr

Ok. You could add it too ..
On Apr 30, 2015 4:32 PM, "Matt Henderson"<EMAIL_ADDRESS>wrote:

you mentioned elasticsearch and lucene but not solr
--
Reply to this email directly or view it on GitHub
https://github.com/kbase/nextgen/pull/35#issuecomment-97999438.

http://en.wikipedia.org/wiki/Graph_database has a comprehensive list and comparison chart of features.
Weaver is interesting, but in alpha.  http://weaver.systems
Titan guys came up with Fauna for graph processing.  http://thinkaurelius.github.io/faunus/


Windows docker build fails on EC2

Hello, I am attempting to build the Docker image for Windows following the instructions here: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/tree/master/docker_native_scripts/windows
I am running this on an EC2 instance using the Windows_Server-2019-English-Full-ContainersLatest-2019.11.13 (ami-01d2f26360c72b104) AMI.
When I run the build script I encounter the following error:

Any advice as to how to further identify what is causing this command to fail? Is the Docker image not buildable on an EC2 instance with this AMI?
Thanks

After re-running the build on a larger EC2 instance type, the build completed successfully. So this appears to have been either a disk space or memory limitation issue with running on a smaller instance.


Hosting through VM

Hosted through a VM running on Proxmox (my own personal instance).

This was now scrapped as this was a backup option in case of Github Pages not working. Github pages is now working wonderfully so this is now no longer used


Unread count doesn’t appear until feed clicked in iCloud account

I added a Podcasts folder on a Big Sur machine.
Then, on my Catalina machine, I noticed that the unread counts were different. As I clicked on each feed, the unread count appeared. The screen recording shows this in action.
https://user-images.githubusercontent.com/1297121/104411668-a8d7e380-551f-11eb-9cb5-1d5ff2a1eeea.mov

Closing because I haven’t seen this again and don’t have any idea how to reproduce it.


feat: creating multiple unnamed queues

There are often reasons to make multiple separate RQs in one Crawlee project (e.g., having CheerioCrawler for processing most of the pages and a separate keep-alive PlaywrightCrawler instance for processing some specific pages the first crawler finds).
Supporting this use case without both crawlers reading the same queue is now possible only with named queues (e.g., RequestQueue.open('playwrightQueue')).
The named queues, however, don't get purged with a new script run, so in any subsequent run, the PlaywrightCrawler might skip some requests (due to the implicit RQ request deduplication). This forces users to run the script with rm -rf ./storage && npm start, or similar "hacks".
// open a secondary queue
const secondaryRQ = await RequestQueue.open('Bqueue');

const crawlerA = new CheerioCrawler({
  // use the default queue with crawlerA, and add requests to the secondary queue
  requestHandler: async ({ request }) => {
    console.log(`[A] ${request.url}`);

    await secondaryRQ.addRequest({ url: request.url });
  }
});

const crawlerB = new CheerioCrawler({
  // consume the secondary queue
  requestQueue: secondaryRQ,
  requestHandler: ({ request }) => {
    console.log(`[B] ${request.url}`);
  },
});

await crawlerA.run(['http://example.com']);
await crawlerB.run();

Repeated runs yield different results:
$ npx tsx ./a.ts

[A] http://example.com
INFO  CheerioCrawler: Finished! Total 1 requests: 1 succeeded, 0 failed. {"terminal":true}
[B] http://example.com
INFO  CheerioCrawler: Finished! Total 1 requests: 1 succeeded, 0 failed. {"terminal":true}

$ npx tsx ./a.ts

[A] http://example.com
INFO  CheerioCrawler: Finished! Total 1 requests: 1 succeeded, 0 failed. {"terminal":true}
INFO  CheerioCrawler: Finished! Total 0 requests: 0 succeeded, 0 failed. {"terminal":true}

Moreover, Apify API supports creating multiple unnamed queues. The named queue solution is even more problematic on the Apify Platform since the named queues created by Apify Actors are stored indefinitely on the user's account, causing the users to spend credits on storage (often) unknowingly.

Thanks for opening this! We also talked about how we need to remember IDs of non-default unnamed queues between migrations.
My first idea would be an API like await RequestQueue.openTemporary("some-name"). On memory storage, we'd simply map this to storage/request_queues/__tmp_some-name, for example, and we'd remove this on start just like we do with default. On Apify, we'd have to keep a mapping of storage name => storage id in the key-value store to preserve the storages. Apart from that, it should make no difference.
The same could apply to all three storage types, not just request queues.

await RequestQueue.openTemporary("some-name")

I like it, apart from the fact that this would make RequestQueue.openTemporary("default") and RequestQueue.open() (and RequestQueue.open(null)) equal... I'm not sure if it's a bad thing; right now, I think it might be confusing.

Yeah, the storage thing is pretty confusing as a whole. To boot, the name "default" has special meaning in memory storage (which is filesystem-backed, obviously), but not on Apify. So, maybe we could just disable RequestQueue.openTemporary("default") with throw new Error("You don't want this, trust me bro").

On Apify, we'd have to keep a mapping of storage name => storage id in the KVS

Yeah, that's the one part I don't really like (to open an unnamed KVS, you'd first need to open the default unnamed KVS), but I'm afraid there is no way around it.

I mean, we already persist the state of multiple random components into the default key-value store, so I have no issue with that.


Code Quality: Moving registry database to Files.App

Resolved / Related Issues
Fixes all COMException crashing issues caused by CsWinRT. Particularly, LayoutPreferenceDatabase and FileTagsDatabase.

@hez2010 can you add steps we can use to test these changes?

No behavior changes as this is basically a copy-paste from Files.App.Server to Files.App

Can't we have both to easily revert when the package's issue fixed instead of deleting classes?

I made this change in about 20 minutes. It's almost a copy-paste and fixing namespace thing.
We are using registry now, so we don't need to move it to the server project as registry is thread safe. Thus, I don't think we want to revert this PR in the future.


parameter plot

Track a parameter over many values (repeat simulations between some bounds)

Place in a new tab

Currently live in param-plot branch: 2cbbbf6

need to adjust color ramps and give it a larger range of colors to sample from

Plot options:

x: time y: output
x: output (at t?) y: parameter value


wrong prediction for very small number of images

I used your comparison demo on my own images with pretty good success.
But when im using the classifier demo. it just classifies wrong images.
Fun Fact : It recognizes wrong image even if im trying to classify same image i trained with!
By wrong I mean they each  have low confidence < .5 but its wrong image
I tested it with my images, and two of my friend's image.
Each had 4 images (selfies) ( we also posed almost same in all images).
Total i used 12 images.
Why it recognizes wrong BUT compares correctly ? i dont get it.
Do i need more images  like 1000 of em for each person?
I used 1..4 instead of 8
http://cmusatyalab.github.io/openface/demo-3-classifier/#1-create-raw-image-directory
P.S. I know negligible about Maths side of DNN and Machine Learning

Hi @ricking06 - it's great to hear you're trying out OpenFace. For cases like this, you'll have to experiment more with the datasets and take a look at the embeddings and classifiers to see why you're getting bad performance. If you are ever interested in detecting unknown users, it's an active issue we're trying to solve. Feel free to join in on the discussion in #144.
-Brandon.

Hi @ricking06 @bamos ,
same issue for me. I  tried to train my pickle model with 6 persons and 2 images for each folder (so i have 12 images like you).
I also tried different classifier type, obtaining every time a 1.0 accuracy with a wrong person.
Every test was made using ./classifier.py with one of the photos used to generate pkl file itself.
It would be great to have an advice or and hint.
Thank you all


Improve correlation metrics

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (ea62101) to head (ec2dfa8).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #428   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           97        97
  Lines         2436      2436
  Branches       147       147
=========================================
  Hits          2436      2436

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Props colors not working

I try to change the color or ActivityIndicator with the property colors, and seems that not working
my code:
 <PTRView onRefresh={this.refresh.bind(this)} colors={'#f43e69'}>
 <View style={{ height:'auto', width:'100%'}}>
                    {this.props.children}
                </View>
  </PTRView>

yes i am facing the same problem.


validateAll returns error when parseData returns std::nullopt

We have following code (simplified for the purpose of example):
// ...
libyang::Context *context;
// ...

// ...
YangModule::YangModule() {
    this->context = new libyang::Context(std::nullopt, libyang::ContextOptions::SetPrivParsed);
}
// ...

/*
 * Validates the data tree against the schema.
 *
 * @param dataTreeJson The data tree to validate
 * @return `true` if the data tree is valid, `false` otherwise
 */
bool YangModule::validateData(const std::string &dataTreeJson) const {
    // Errors are automatically truncated every function call
    this->clearErrors();

    try {
        std::optional<libyang::DataNode> dataNode = this->context->parseDataMem(
            dataTreeJson,
            libyang::DataFormat::JSON,
            libyang::ParseOptions::ParseOnly,
            libyang::ValidationOptions::Present
        );

        validateAll(dataNode, libyang::ValidationOptions::Present);
    } catch (...) {
        return false;
    }

    // Errors are automatically truncated every function call
    return this->getErrors().empty();
}

If parseDataMem (respectively parseData in new version) returns std::nullopt instead of DataNode, and you pass it to the validateAll, libyang returns following error libyang[0]: Invalid argument tree (lyd_validate_all()).
I can provide example schema later, but the problem might be that std::optional<DataNode> Context::parseData returns std::nullopt when !tree. Colleague that use libyang (not libyang-cpp) says it works fine in C:
lyd_parse_data_mem(ctx, "{}", LYD_JSON, LYD_PARSE_ONLY, 0, &dnode);
// lyd_parse_data_mem(ctx, "", LYD_XML, LYD_PARSE_ONLY, 0, &dnode);
lyd_validate_all(&dnode, ctx, LYD_VALIDATE_PRESENT, NULL);

If he passes NULL instead of empty object, it the returns the same error as I mentioned before.
We think that C++ implementation is not correct.

Interesting. The main reason why the validateAll wrapper takes an optional<DataNode> & and not just a const DataNode & is that it might modify the node in-place, possibly even setting it to nullopt. The other reason is that a nullopt might be a valid "tree" on some models. The proper fix will probably be to extend validateAll to accept both an optional node, and a libyang context. Right now we're setting ctx to NULL and are relying on the C library to infer the context from the data tree, which it obviously cannot do if the tree is NULL as well.
However, the real point is that explicitly requesting validation like this should not be needed in the first place. If I read the C docs correctly, lyd_parse_XX performs validation already, so validateAll is intended to be called only when you're building your data trees programmatically.

The solution in this specific case would probably be just removing the libyang::ParseOptions::ParseOnly flag.
Adding an optional Context argument is probably pretty easy yeah. Something like adding a std::optional<Context> argument to validateAll

Thank you for quick response. We somehow ignored the fact that validateAll is not necessary. If I change our code from:
    try {
        std::optional<libyang::DataNode> dataNode = this->context->parseDataMem(
            dataTreeJson,
            libyang::DataFormat::JSON,
            libyang::ParseOptions::ParseOnly,
            libyang::ValidationOptions::Present
        );

        if (!dataNode.has_value()) {
            return false;
        }

        validateAll(dataNode, libyang::ValidationOptions::Present);
    } catch (...) {
        return false;
    }

to this:
    try {
        std::optional<libyang::DataNode> dataNode = this->context->parseDataMem(
            dataTreeJson,
            libyang::DataFormat::JSON,
            libyang::ParseOptions::Strict,
            libyang::ValidationOptions::Present
        );
    } catch (...) {
        return false;
    }

it almost works. I just have to change libyang::ParseOptions::ParseOnly to libyang::ParseOptions::Strict otherwise it does not validate anything. But with Strict options, it almost validates "empty data" as expected. I just need to figure out why the catch does not catch error as in previous case, whole code crashes instead and error is outputted in the standard output instead - before, I called parseData, validateAll and I found those error messages with getErrors function. But it might be problem in our WebAssemly code.
However, should't the mentioned problem be fixed? Empty data are still valid data, so if parseData returns std::nullopt, validateAll should be able it (if C code is able to do it), should't it?


Added overload of Blazor TestSetup

Added overload for TestSetup of BlazorBreakdanceTestBase that can take a JSRuntimeMode.

I was actually thinking about doing it a different way, but this way is better. Outstanding job!


Update README.md

Make sure to check it out on the live site and confirm everything looks as expected.


Support @defer and @live

@defer is a directive for streaming GraphQL responses from the server to the client.
By streaming the response, the server can send the most critical (or most available) data first, following up with secondary data shortly afterward.
@defer was first described by Lee Byron at React Europe 2015 and got experimental support in Apollo in 2018

I don’t think this is ready to be picked up yet. In theory it’d require just more exchanges delivering updates results over time and handling different protocols (event streams likely) but support is shaky.
It’d be great to add the proposal spec change link here, but I haven’t found it yet

I tried to look it up but couldn’t find it either.
Even if this is something that can not be worked on right now it may make sense to keep the issue open
Get Outlook for iOShttps://aka.ms/o0ukef

From: Phil Plückthun<EMAIL_ADDRESS>Sent: Saturday, May 23, 2020 10:18:27 PM
To: FormidableLabs/urql<EMAIL_ADDRESS>Cc: Miguel Carvajal<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [FormidableLabs/urql] Support @defer and @live (#830)
I don’t think this is ready to be picked up yet. In theory it’d require just more exchanges delivering updates results over time and handling different protocols (event streams likely) but support is shaky.
It’d be great to add the proposal spec change link here, but I haven’t found it yet
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/FormidableLabs/urql/issues/830#issuecomment-633131845, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNAI6PXYQIFD24LSXHW7MTRTAVRHANCNFSM4NISUSSQ.

I think we'll have to close this for now, if there's nothing to go on yet. There's no possible implementation plan or way forward yet, including on some supporting infrastructure, so even if we decided to go ahead with this now, reaping the benefits of this would be hard, especially since I doubt that with this spec even, there'd be a marginal benefit on most GraphQL setups / servers.
We can always come back to this once it's ready :)


Tried to generate the SPKI hash for an unsupported key algorithm

Hi,
The exception
Tried to generate the SPKI hash for an unsupported key algorithm

happens a lot to a very small amount of our users.
Is this a bug or is TrustKit doing its job against potential hackers?
Thanks,
Avi
Call stack:
0  CoreFoundation                 0x1848d2d8c __exceptionPreprocess
1  libobjc.A.dylib                0x183a8c5ec objc_exception_throw
2  TrustKit                       0x10453ba40 -[TSKSPKIHashCache hashSubjectPublicKeyInfoFromCertificate:] (TSKSPKIHashCache.m:67)
3  TrustKit                       0x10453b188 verifyPublicKeyPin (ssl_pin_verifier.m:71)
4  TrustKit                       0x104542a88 -[TSKPinningValidator evaluateTrust:forHostname:] (TSKPinningValidator.m:126)
5  TrustKit                       0x104542e9c -[TSKPinningValidator handleChallenge:completionHandler:] (TSKPinningValidator.m:203)

Hello,
This should not happen; it can only affect users on devices running iOS 9 or below tho (TrustKit’s SPKI hashing implementation was changed for iOS 10). What is the hostname that triggers this crash?

Hostname: https://www.mcpsmartphonews.4500.co.il
TrustKit version is: 1.6
iOS versions:
12.1.0 (16B92) on iPhone 8 Plus, iPhone 6s and iPhone 8
1.4.1 (15G77) on iPhone SE

We've recently started to use TrustKit for public key pinning in our app and have also been seeing this crash happen for a small amount of users.
Are there any other scenarios where this can happen, apart from using a self-signed certificate (which we don't)? I'm guessing it could happen if you're trying to use the app while on an unsecure network, but users are reporting that it also happens while using mobile data. Could there be any other reasons why this crash occurs?

@vrutberg I'm in the same boat, a good handful of crashes inexplicably. Been unable to track down anything more on why besides this thread.

@vrutberg @mccarron
Are either of you in a position to dump out the publicKeyType and publicKeySize parameters at the time of the crash.  Or retrieve that information from the certificate you are pinning?
This particular exception is only thrown from these two functions:
static char *getAsn1HeaderBytes(NSString *publicKeyType, NSNumber *publicKeySize)
static unsigned int getAsn1HeaderSize(NSString *publicKeyType, NSNumber *publicKeySize)
So either the publicKeyType or publicKeySize isn't supported, or at least that particular combination.
Also what string do you have specific against TSKPublicKeyAlgorithms, unless you are >=1.6.0 and have already removed it?
I'm not a maintainer/contributer, just a curious bystander.

Are either of you in a position to dump out the publicKeyType and publicKeySize parameters at the time of the crash. Or retrieve that information from the certificate you are pinning?

Have not been able to reproduce this crash so haven't been able to do that myself, but debated adding some logging to do just that so we can better debug this crash.

Also what string do you have specific against TSKPublicKeyAlgorithms, unless you are >=1.6.0 and have already removed it?

I had kTSKAlgorithmRsa2048 until I updated to 1.6.2 and removed it in my latest build last week, which has not crashed from this yet.

It could be due to the user being on a network that injects a certificate (to perform traffic decryption) that uses an usual or bad algorithm (such as RSA 1024 or a self signed cert).

I agree, would the reporting capability in TrustKit assist in this scenario at all?  I'm not entirely sure from reading through the code but it could be worth exploring via an email to datatheorem that's in the docs.

Are either of you in a position to dump out the publicKeyType and publicKeySize parameters at the time of the crash. Or retrieve that information from the certificate you are pinning?

I'll investigate adding some logging here. We haven't been able to reproduce the crash ourselves either, but seemingly this crash occurs from time to time so we should be able to get some logging from users who experience the crash.

Also what string do you have specific against TSKPublicKeyAlgorithms, unless you are >=1.6.0 and have already removed it?

We adopted TrustKit on version 1.6.0 so I guess we've never used that. 🤷♂

It could be due to the user being on a network that injects a certificate (to perform traffic decryption) that uses an usual or bad algorithm (such as RSA 1024 or a self signed cert).

Some of our users are experiencing exactly this: their ZyXEL router seems to inject a (self signed) RSA 1024 "ZyXELcert" certificate...
@nabla-c0d3 Any recommendations?

Interesting - it looks like it's for this feature: https://mysupport.zyxel.com/hc/en-us/articles/360010788960--ZyWALL-USG-How-to-configure-Content-Filter-on-Zyxel-appliances

SafeSearch requires the use of SSL-Inspection to function please enable and create an SSL-Inspection profile before enabling this function under the content filter profile.

It depends on what your app does, how sensitive its data, and how much it would affect your user base. However, in general, I would block it... SSL inspection done by home routers is usually very insecure.

Yes, I saw that during my investigation and agree about your assessment.
However, the routers these customers use seem to be less advanced; they don't have an option to disable content filtering. So we most likely won't be able to "fix" this by telling our customers to change a setting in their router.
Any other suggestions?

Ouch.
It was a bug in one of our Apps which was accidentally using the IP address of the router itself in some URL's that were supposed to access an accessory on the local network.
So, no MITM after all..
Problem solved!


Fixes initial fill for Dashboard Skin

In the case a Dashboard gauge has a gradient bar it need to be properly initialized

Fixed it with a different approach, thx for the info :)


[FEATURE]

Description
User can tap a button that copies the link of (for example, Twitter) to the clipboard
Screenshots
No response
Additional information
No response

Sounds interesting. I am new here. I would like to help but I would maybe need some guidance too since I'm learning React (not sure if it's good to show some weakness in these scenarios :) ).

Can you explain more about what you mean? Which button? As far as I know you can already right click the ‘follow me on…’ buttons and copy the link

Hey! Thanks for your comment! The issue is solved. I have thought maybe we could add a button like on GitHub where you just copy the link instead of going to the website but after trying out the demo, quickly realized it’s pointless.
I was thinking that the website will immediately switch to the app without my permission, leaving me without the ability to copy the link and share it someone. I apologize for the clumsiness of this issue


It is difficult to add categories and abstract components in the root level

I have created a new domain. Whenever I add a new component type, I must close all the other ones I have created before, otherwise it will create a component under the last selected one.
That is, if I select a component I can't deselect it without having to close its corresponding window.
I wonder if it would be possible to move components by clicking and dragging them in the hierarchy.

http://www.opmw.org/4.0 http://www.opmw.org/4.0
Should redirect to http://seagull.isi.edu:3030 http://seagull.isi.edu:3030/

On 8 Oct 2016, at 00:50, Daniel Garijo<EMAIL_ADDRESS>wrote:
I have created a new domain. Whenever I add a new component type, I must close all the other ones I have created before, otherwise it will create a component under the last selected one.
That is, if I select a component I can't deselect it without having to close its corresponding window.
I wonder if it would be possible to move components by clicking and dragging them in the hierarchy.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/IKCAP/wings/issues/31, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnTC9hhsqvxJmRfnrJwqN8ODoiJjU3_ks5qxtqwgaJpZM4KRjR-.

I think the answer does not belong to this particular issue, but thanks a lot for the response :)

Whoops, sorry about that !
On 9 Oct 2016 1:27 a.m., "Daniel Garijo"<EMAIL_ADDRESS>wrote:

I think the answer does not belong to this particular issue, but thanks a
lot for the response :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/IKCAP/wings/issues/31#issuecomment-252445021, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAnTC4itHrRQhlS3CSYcsA_rzkoKgy1Yks5qx_W3gaJpZM4KRjR-
.


Google doc file not existent until directory is read

When I try to read or stat a google doc file (e.g. as odt/ods) before the directory entries are read
with a command like ls, an error No such file or directory is shown.
Then, a ls shows the file with
?????????? ? ?     ?                 ?            ?
and the file cannot be read until I remount with cleared cache.
It works without error when I do ls before I try to access/stat the file.
You can reproduce that by creating a google doc file, mount the drive with clear cache and
do a stat <filename>.odt before any ls.

Should be fixed in 0.6.25 (beta channel).


Get logprofile of the subscription using resource graph query

There's no proper documentation or module to retrieve log profile associated with Subscription using graph query.
In a runbook, I need to change the context each time for all the subscriptions in management group to get the log profile. Since, Az.cli is not supported in Automation Account we can't use it. To reduce execution time of the runbook I need the resource graph query to get logprofiles.

@AdityaVishwekar can you provide the link to the documentation you were able to find? That way I can assign to the correct author to review further.

@MicahMcKittrick-MSFT https://docs.microsoft.com/en-us/azure/governance/resource-graph/

@AdityaVishwekar thanks for that. I will assign to the author to review and see about adding additional examples.

@AdityaVishwekar There's no property on Subscription for log profile that I'm aware of. Do you mean a log profile on Azure Monitor like you'd get with Get-AzLogProfile? If that's what you are looking for, you are correct that it's not in Resource Graph today.  Please post a request for the feature on Azure Governance UserVoice. If I misunderstood what you are looking for, please let us know.
@MicrosoftDocs/azure-cxp-triage #in-progress

@DCtheGeek Thanks for the response. Yes, I was looking for that only.

@AdityaVishwekar Great, thanks for confirming. Please do post the ask on UserVoice as the team uses it to plan future work. I'm going to close this issue now. Thanks again!
@MicrosoftDocs/azure-cxp-triage Please change the label from 'doc-enhancement' to 'product-question' and #please-close


f.buttons outputs empty actions div

For some reason f.buttons, f.buttons :commit, don't output the actual buttons, working around by using f.commit_button at the moment.

Can you let me know which versions of Formtastic and Bootstrap you're using?  Your form code would also be helpful.

I've been able to reproduce this.

Nice one, thanks!  Sorry for the lack of info in original issue, was just about to fill it out, but you are one step ahead. :)


Add ability to change potion color

SpongeAPI | SpongeCommon

(probably related to https://github.com/SpongePowered/SpongeAPI/issues/1829#issuecomment-390369707)
Pinging @gabizou since I'm not sure if creating DataManipulators to edit NBT data is the route we want to take.

@ImMorpheus I'm not sure if I understand you correctly, how would the implementation work without modifying the NBT data? Or maybe you mixed up DataManipulator and DataProcessor?
Also I based this processor's implementation on another potion data processor so I guess this is fine to do so.

We would modify the NBT data. What I'm saying is that I don't know if we plan to map nbt data to data processors. I was thiking of adding a key (to provide the query) without any data manipulator or data processor.
You can then rely on DataHolder#setRawData to change NBT data.


refactor: move test directory to root from src/

So as you might already know, src stands for source... so hence, the PR.

Closing this... It has been a while since this PR was approved; however, it was not merged for some reason.

Closing this... It has been a while since this PR was approved; however, it was not merged for some reason.


Kubernetes backend references non-existing pull secret: regcred

Component
agent
Describe the bug
Repository has registry secret for myregistry.tld
Step in workflow references myregistry.tld/path/my-plugin:latest
Agent creates build pod, but references non-existing pull-secret "regcred":
apiVersion: v1
kind: Pod
#...
spec:
  containers:
  - #...
    image: myregistry.tld/path/my-plugin:latest
    imagePullPolicy: Always
    name: wp-...
  #...
  imagePullSecrets:
  - name: regcred

System Info
docker.io/woodpeckerci/woodpecker-server:next (sha256:391eb21a843bf7e38bb4bfd5a529452e31733d90a494c6d3e783f8f1ac3630b3)
docker.io/woodpeckerci/woodpecker-agent:next (sha256:60a04e5b59bbec66bf5a61fc15fcbd8f4b44693602893d10e6f74270f21d2915)
kubernetes 1.28.2

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

regcred it's hardcoded. What is name of your "registry secret for myregistry.tld"?
#1897

The registry secret is the full hostname of the registry, in this example myregistry.tld.
Why would the pullsecret name be hardcoded if you can maintain a list of registries for each repository? I might be misunderstanding this, but I'd expect each repository to have their own pullsecret containing all listed registries, which would be made available to the pod running the workflow.
(Obviously there is a bit of a security flaw with images being cached on the host, but that's a whole different can of worms unrelated to this)

Repository has registry secret

I think @hcsaustrup meant this functionality. Draft is in #3122.
#3016 is kind of a workaround, it is deployment-wide (at least namespace-wide behind Agent). While it may work well for individual, it won't suit SaaS (like Codeberg) as well as enterprises, I think.


incompatible version required

Maybe this is just a fluke, but testing the package built by Launchpad fails, cf
http://cdash-bipop.inrialpes.fr/viewConfigure.php?buildid=20401
This can be reproduced by using
./driver.py --task=siconos_test_deb
You may want to change the Ubuntu distrib to 16.04, but it should not matter much

May be fixed


Stop using VS Codes proposed cell execution state API

For https://github.com/microsoft/vscode/issues/209787
The goal is to drop this VS Code API
Also found that the more event handlers we have in execution, the higher the likely hood of things to go wrong by adding lots of compulations tasks

The VS Code API for enum NotebookCellExecutionState is no longer used.
This is managed internally in jupyter extension,
Hence closing as completed.


Ci failure test

Checklist

[ ] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[ ] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary.

Motivation and Context

Description

Testing Steps

(I just wanted to test if my change in #18021 broke CI or not...)


Add Typetalk hook

I wrote a Typetalk hook for logrus.
Typetalk is a chat app like Slack and Hipchat ( https://www.typetalk.in/ )
I'd just like to add the link in the description of hooks.

Thanks!


lock_api: Mark unlock and friends unsafe.

Methods like unlock, bump, upgrade, downgrade and similar all assume that a certain kind of lock is being held. Since the wrapper mutex and guard types in the lock_api crate guarantee that these APIs are always used correctly, these methods are made unsafe to allow implementers to skip checks for these conditions. This allows sound and efficient implementations of these traits.
I hope I did not forget any methods or screw up any comments.

@brain0 Are you still working on this? Could you please address my review comments so that I can merge this.

Yes, sorry, I'll take care of it

There is a new conflict, would you prefer this to be solved via merge or rebase?

I solved the conflict with a merge to simplify review. If you prefer I rebase it, I can still do that.

A rebase is usually the preferred way to resolve conflicts.

A rebase is usually the preferred way to resolve conflicts.

Okay, done.


Add Vehicle component classes

Would an enum for the wheels not be a nicer implementation, or do you not know the names of all possible wheels?

I'm looking for how to convert a wheel ID to the wheel pointer(like RPH does).

I couldn't find way to convert a wheel ID to the wheel pointer after all.
Jet(0x3F119114) has wheel ID 49 and 51, but these seem to share wheel the bones with the other wheel IDs. I couldn't find the way to detect what wheel IDs are assigned to what wheel pointers, so I removed the features that use pointer from VehicleWheel. I'm so jealous of MulleDK19's docompiling ability!

Very nice :+1:


Proposal : PDF Merger and Splitter python script

PDF Merger and Splitter: Create a tool that can merge multiple PDF files into one or split a single PDF into separate pages.

Is your feature request related to a problem? Please describe.
Managing PDFs by merging or splitting them can be frustrating without specialized tools. Existing options are often paid, bulky, or have file size limitations, making them inconvenient for simple tasks.
Describe the solution you'd like
A Python tool that easily merges multiple PDFs or splits large PDFs by page. It should be lightweight, simple to use, and allow file selection and page range specification.
Describe alternatives you've considered
I've used online tools, but they pose privacy risks and file size limits. Desktop tools are often overcomplicated or paid for basic functionality.
Additional context
This tool would benefit users who frequently work with large documents, like students or office workers.

Hey @DhanushNehru
please add the hacktoberfest-accepted label
and assign it to me.

Merged!


Reload Atom And Recheck Packages locks up atom

From @despairblue on August 5, 2015 16:37
Pressing Reload Atom And Recheck Packages in Incompatible Packages View atom goes so far:

and then just hogs cpu until the it can only be killed

Command History
     -3:52.8 ready (#document)
     -3:40.6 incompatible-packages:view (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-one-dark-ui)
     -0:01.8 command-palette:toggle (div.tool-panel.panel-bottom.padded.incompatible-packages.native-key-bindings)
     -0:00.0 core:confirm (atom-text-editor.editor.mini)
     -0:00.0 bug-report:open (div.tool-panel.panel-bottom.padded.incompatible-packages.native-key-bindings)

Versions

Atom:       1.0.3
Atom-Shell: 0.22.3
OS:         linux 3.14.48-1-lts
Misc

apm  1.0.1
npm  2.5.1
node 0.10.35
python 2.7.10
git 2.4.6

This report was created in and posted from the Atom editor using the package bug-report v0.7.1.
Copied from original issue: atom/incompatible-packages#8

From @despairblue on August 5, 2015 20:50
The problem is caused by having an incompatible package (this for example, at least under linux) and project-manager installed and clearing the installed-packages-cache before reloading
Issuing just this into the developers console realods atom just fine:
atom.commands.dispatch(atom.views.getView(atom.workspace), 'window:reload')

but clearing the cache before that
atom.commands.dispatch(atom.views.getView(atom.workspace), 'incompatible-packages:clear-cache')
atom.commands.dispatch(atom.views.getView(atom.workspace), 'window:reload')

makes atom hang on while reloading.
Pausing in the debugger while atom is hanging does also not work.

So how to reproduce

use linux
trash the .atom folder
start atom
install atom-mermaid (or any other package with incompatible dependencies)
install project-manager
invoke Reload Atom and Recheck Packages

Having one of the packages disabled or not installed fixes the problem.


Add interface to DataQuery

@Ksteeds please review so we can merge in, once merged in we can download data from DQ such as:
import yaml
from macrosynergy.management.dq import DataQueryInterface

if __name__ == "__main__":
    with open("../config.yml", 'r') as f:
        cf = yaml.load(f, Loader=yaml.FullLoader)
    print(cf)
    with DataQueryInterface(
            username=cf["dq"]["username"],
            password=cf["dq"]["password"],
            crt="../api_macrosynergy_com.crt",
            key="../api_macrosynergy_com.key"
    ) as dq:
        print("Connected:", dq.check_connection())

        r = dq.get_ts_expression(
            expression="DB(JPMAQS,BRL_CPIXFE_SJA_P3M3ML3AR,value)",
            start_date="1999-01-01"
        )
        print(r)


Cannot template syncPolicy parameters because of applicationset validation

In the optics of self-serve, I would like to let each team specify their "prune" and "selfHeal" parameters from syncPolicy. To do so, I am using the following applicationset:
apiVersion: argoproj.io/v1alpha1
  kind: ApplicationSet
  metadata:
    name: XX-bootstrap
    namespace: argocd
    annotations:
      argocd.argoproj.io/sync-options: Validate=false
  spec:
    generators:
    - git:
        repoURL: "somegitrepo"
        revision: HEAD
        files:
        - path: apps/dev/**/config.yaml
    template:
      metadata:
        name: "XX-{{app.name}}"
      spec:
        project: XX
        source:
          repoURL: "somegitrepo"
          targetRevision: HEAD
          path: "{{app.path}}"
        destination:
          server: https://kubernetes.default.svc
          namespace: XX
        syncPolicy:
          automated:
              allowEmpty: true
              prune: "{{app.sync.prune}}"
              selfHeal: "{{app.sync.selfHeal}}"

The problem arises because "{{app.sync.prune}}" is not a boolean but rather a string:

I also cannot remove the double quotes, since my applicationset passes through kustomize. Therefore using the form {{app.sync.prune}} would result in
Error: map[string]interface {}(nil): yaml: invalid map key: map[string]interface {}{"app.sync.prune":""}
As you can see in the yaml above, I also tried to disable the validation using
annotations:
      argocd.argoproj.io/sync-options: Validate=false

however that did not seem to help.

Have you tried omitting the quotes around the templated values?
I.e.
              prune: {{app.sync.prune}}
              selfHeal: {{app.sync.selfHeal}}

Your syntax-checker will probably be red, but it might just work :-)

As mentioned in the original post, I cannot because it will cause problems with kustomize:

I also cannot remove the double quotes, since my applicationset passes through kustomize. Therefore using the form {{app.sync.prune}} would result in
Error: map[string]interface {}(nil): yaml: invalid map key: map[string]interface {}{"app.sync.prune":""}

@olvesh

Have you tried omitting the quotes around the templated values?

I even tried this on kubectl apply - doesn't work, since it's still being converted to JSON, and during conversion {{anything here}} being failed with error like:

invalid map key: map[interface {}]interface {}{"prune":interface {}(nil)}

Looks like now the only solution is to annotate for non-deletion each separated resource created by the application definition. [https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/#no-prune-resources](Here's the doc for it)

Is there any plan to support this feature? :(
it's a quite common scenario. For example:
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: bookinfo
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  generators:
    - list:
        elements:
          - environment: dev
            cluster: lab-nonprod
            prune: true
            selfHeal: true
          - environment: qa
            cluster: lab-nonprod
            prune: true
            selfHeal: false
  template:
    metadata:
      name: 'bookinfo-{{environment}}'
    spec:
      project: "bookinfo"
      source:
        repoURL: https://myrepo.com/k8s-template-deployment.git
        targetRevision: HEAD
        path: '.deploy/kustomize/overlays/{{environment}}'
      destination:
        name: '{{cluster}}'
        namespace: 'project-bookinfo-{{environment}}'
      syncPolicy:
        automated:
          prune: '{{prune}}'
          selfHeal: '{{selfHeal}}'
        syncOptions:
          - CreateNamespace=true

Any updates this problem??

any update?

Any update on this issue? I need to use a template for rendering boolean values for the skipCrds field.

any updates?
i'm heaving the same issues with skipCrds key, it expects a bool :(
skipCrds: "{{skipCrds}}"

Any updates on this? I really need to be able to specify dynamic syncPolicy in the app file for appSets.

I have also encountered this problem, Is there any chance this will be fixed soon?
Doesn't Go lang convert string to bool?

I hope this feature will be ready soon


Edits to RME questions

@markwhiting what do you think about these possible improvements to rmeTen:

[ ] make questions mandatory
[ ] hide the "previous" button so participants can't go back to a prior question

Both fine with me!
@amirrr — do you recall if we had strong reasons for either of these? I think I actually thought it was required, and that we didn't have a back button (because we had removed it in Surveyor)

Both fine with me!
@amirrr — do you recall if we had strong reasons for either of these? I think I actually thought it was required, and that we didn't have a back button (because we had removed it in Surveyor)

No they were there as default and I didn't remove the back button. We can remove them and also make them required.

completed in https://github.com/Watts-Lab/surveys/pull/190


Disable BuildConfig generate for compile time

Kind (Required)

Improvement

Overview (Required)

If there is BuildConfig, the Java compilation will run, so I want to eliminate BuildConfig in the module.

Links

You don't have to change the android module.

I wanna try it ✋

Thanks! Assigned!


Fy24 q4

FY 2024 Quarter 3: River Conditions Animation
Summary of changes:

gathered all callouts from river conditions teams chat
Built twitter version

To do:

[ ] share with Joe and Cee for approval to post
[ ] write up accompanying video description
[ ] get drupal link and update twitter social media draft

Hmm.. Im not seeing any duplicate code. Those appear to be separate callouts with their associated dates, locations, etc.


[FEATURE]add multilingual feature for the website.

Please describe your feature request related to a problem?

users from different regions/foreigners visiting for travel purpose must be provided with multilingual feature in website

Describe your solution to problem

can add select language in footer region.

Describe alternatives you've considered

NA

Additional context

NA

Add Relevant Screenshot (if available)

NA

Hey @SanikaBhalerao1345 ,
Could you tell how would you achieve this ?

@akbatra567 Thanks for assigning me.
I will use Google api for this.what do you think?

@SanikaBhalerao1345,
As you can see currently all the pages are html pages, so I would suggest find a way to avoid adding same code to each page and you can write a reusable code or script which can be directly imported would be a great option.
Google api would be good, thanks for telling.


Experiment with alternatives to mpsc::channel of Command.

The one-way Command channel between Client and ClientRelay, with oneshots to reply, doesn't allow for much synchronisation between them. It's also too indirect to feel entirely comfortable that Drop failure modes are predictable/well-understood. I think that the implementations in futures::sync::* can guide far better types.

Client storing an Arc-ed Inner that acts as ClientRelay?
Asynchronous mutex?

I've explored most all the design space, at least until more diverse communication mechanisms are available, and dropped much of the old nastiness.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.4.273",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c08e0be44759d0b5affc5888be4aa5e536873335"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "c08e0be44759d0b5affc5888be4aa5e536873335",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net/nfc/rawsock.c: fix a permission check bug\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.273 by commit c08e0be44759d0b5affc5888be4aa5e536873335. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000826


How do I know the example scene is working or not.

Thank you for this amazing work!
However I'm having trouble playing ExampleScene.
I figured out I need to press space to record, but I don't know what's happening and how do I know the output? The log is only says started and stopped like below.

its not detecting any microphone on windows, how did you get it to work?

Ah, sorry about that! I should have been more clear when documenting this.
Here's what should happen:
1: Press spacebar -> microphone starts recording.
2: Speak the phrase prompted.
3: If it's recognized it should say "Keyword recognized!" (I don't think it actually outputs anything in the log, I will need to change this...)
In the bottom right of your screen it should also say which microphone is in use. Is that a valid microphone?

My mic is working on other projects well. and this demo also detects my mic.

I found that d.Hyp() below is returning null
        if (d.Hyp() != null)         {             keyphraseDetected = true;             // Stop the decoder.             d.EndUtt();             // Start the decoder again.             d.StartUtt();         }

What's the size of your language model file? It should be around 9.43 MB. I've had a similar issue this morning where I wasn't able to decompress my language model because when I downloaded from Git it didn't download the whole file.  If you can't decompress the model (because the file is empty) you're not able to initialize the decoder, causing it to be null.
Also are you getting any errors in the console?

It is 9.43MB. Console is exactly same as above. There is no error at all.

Just did a test on a new machine and cloned from the repo and was able to get it working.
For fun, can you add a Debug.Log() inside of the if statement you posted? Just have it output something saying "Phrase detected". I think your project may actually be functioning, but you're not seeing it recognize anything. Currently it changes the text on the screen for roughly a second.
Try that and see if it outputs anything. Make sure you press space -> say "this is a test" -> then press space again to stop the recording.

Hey Sorry I was super busy to try this. I'll try debug it asap after I finish current works.
Yes, I live in seoul. haha hope you enjoyed my city.

No worries! I apologize for closing the issue. I'm reopening it. :)

FYI, I'm not dead yet! haha
I'm working at home due to this corona outbreaks, but I don't have my mic in my home...
Sorry for long delaying

Sharing my experience here:

Suggest to use git to clone the repo since it contains large file storage. It created a problem for me when I used zip to download and open the project.

Make sure if you have changed the phrase to be detected, they are in lowercase letter. As the original comments suggested, they are case-sensitive.

If d.Hyp() is returning null constantly, this might be because of pronunciation or tolerance. I figured this what I tried using words spark or water . Turns out they have different pronunciation in British / American accents. The default language model is en-us so you might want to check out the American pronunciation. If this didn't work out, try changing the tolerance value - @Funnyguy77 did a very amazing job in commenting and pin-pointing these value in the example script.

@RageBill Thank you for your tips!
I will keep those in my mind

@RageBill Great suggestions, and thank you!
@jin-archipin No worries, and please stay safe!

I tried fast, slowly or clearly many times, but d.Hyp() is always null

Nvm It works when I set the threshold to 1e-50.


Blog update

Removing boiler plate blog posts and replacing them with real ones

@eriknewland , I'm kindly requesting your review for merge to main line. Thanks in advance!