Dispatching workflows with LocalExecutor fails

Environment

Covalent version: 0.177.0rc0
Python version: 3.8.13
Operating system:  CentOS 7, MacOS Monterrey 12.2 (21D49)

What is happening?
If Dask was previously used, and we use covalent start --no-cluster, dispatching a workflow with LocalExecutor seems to fail.  Getting the result afterwards seems to throw the error:
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://localhost:48008/api/result/SOME_DISPATCH_ID?wait=True&status_only=False
How can we reproduce the issue?

Start covalent with LocalExecutor: covalent start --no-cluster
Dispatch the workflow below (or any workflow):

import covalent as ct

@ct.electron
def join_words(a, b):
    return ", ".join([a, b])

@ct.electron
def excitement(a):
    return f"{a}!"

@ct.lattice
def simple_workflow(a, b):
    phrase = join_words(a, b)
    return excitement(phrase)

dispatch_id = ct.dispatch(simple_workflow)("Hello", "World")
print(ct.get_result(dispatch_id, wait=True).result)

What should happen?
Output from workflow should be: Hello, World!
Any suggestions?
No response

from @cjao:
covalent tries to assign dask as the default executor and dask info isn't automatically cleared from the config
so covalent purge && covalent start --no-cluster seems to be the steps to resolve issue

Closed by https://github.com/AgnostiqHQ/covalent/pull/1020

Hi @AlejandroEsquivel , I think you linked the wrong PR. #1020 addresses #1019 , not this one (which is still unsolved AFAIK).

Ah gotcha, thanks @cjao

Please add your planning poker estimate with ZenHub @kessler-frost


Improved support for Dancer and Dancer2

#84 This pull requests does some improvements on the Dancer/Dancer2 support.

Added some missing keywords like ajax, patch, del
Added support for the hook syntax on Dancer
Added support for regexp and wildcard matches
Correctly manage multi request routes: any ["get", 'post'] => "/route/any" => sub {
Added the display of the type of request on the symbol name: /my/route => get /my/route to make it easier to differentiate between routes using the same name

Also, in your screenshot, it doesn't look like get/any/post/hook keywords were syntax highlighted. Does the additional syntax highlighting work for you? If you have other syntax highlighting extensions enabled (e.g. Better Perl Syntax) they can interfere with the Navigator's highlighting.

Updated the code with the suggested fixes.
I also updated the screenshot with the Better Perl Syntax disabled to show the correct highlights from the plugin. All Dancer keywords are being correctly highlighted.

Thanks for the commit and I appreciate your patience on this one. While I was merging your code, it made me realize I had a few long-standing issues in there. For example, pltags was double looping over all code in CleanForBalanced which was slower than needed.  By preprocessing the code and refactoring into a class, the tagger is now better suited for extensions like this one. For example, the Dancer2 code is now it's own function: https://github.com/bscan/PerlNavigator/blob/a270c5e5eab1f1c4091eee30163a1300dc6c2a11/server/src/perl/lib_bs22/pltags.pm#L376
I like the idea of supporting more frameworks and your Dancer2 example is great code for others to follow. Thanks again for the ticket and the pull request. I will do some more testing before releasing to the marketplace, but let me know if I broke anything during the merge. Thanks!


HBASE-25910 - Fix port assignment test

Disabled port auto assignment when port is in use.
Disabled hdfs cache as restart mini cluster will fail in one jvm if hdfs cache is enabled.
Use exception root case to determine address/port in use with BindException.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  8s
Docker mode activated.


SingleThreadEventExecutor ignores startThread failures

Expected behavior
SingleThreadEventExecutor should throw an exception when it can't start the thread second time.
Actual behavior
When doStartThread throws an exception, e.g. due to the actual executor being depleted of threads and throwing in its rejected execution handler, the STEE ends up in started state anyway. If we try to execute another task in this executor, it will be queued but the thread won't be started anymore and the task will linger forever.
Netty version
4.1.9
JVM version (e.g. java -version)
1.8

@rvansa looking now

@rvansa PTAL  #7492

Fixed by https://github.com/netty/netty/pull/7492


Rename repo to cfsh?

The rtools name is only meaningful to a few people.  The name "cfsh" rocks - rename the repo to cfsh before this thing goes wild?

I think that's a great idea.


Disable sign up and only allow admin users to create new accounts

Hey, would be great if we can disable sign-up and have an admin account only through which we can create new accounts.
This is kinda for my use case where I'm building a portal and I don't want to let the public sign-up instead, once all the documents are ready and verified, and only then do I create an account for my merchant to use my platform.

This is very much needed for our use case as well, because in our use case a user that is registered and not assigned any tenants doesn't have access to anything. Currently my workaround is to just deny access to the signup endpoint at our ingress reverse proxy.


Cexporter full rework

Changes:

Converts all structs to one unified file
Implements a script for IDA to import this new struct file

Things that needs to be done

Implement a script for Ghidra to import this new struct file

CExporter says it fails due to it not using the workflow that is in the pr but what is on main.

holy it actually took the updated script....


NullPointerException in DevicesObject/PollObject.toString()

If the list fields are not initialized with something else than null the toString()-method throws a NPE.

fixed it in the branch, too.


<EMAIL_ADDRESS>hash check failed

Console output:
λ scoop install gitahead
Installing 'gitahead' (2.5.8) [64bit]
GitAhead-win64-2.5.8.exe (24.7 MB) [================================================================] 100%
Checking hash of GitAhead-win64-2.5.8.exe ... ERROR Hash check failed!
App:         extras/gitahead
URL:         https://github.com/gitahead/gitahead/releases/download/v2.5.8/GitAhead-win64-2.5.8.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    5df3ff85ade909b53984433ff27343917ff59a7884fc4c46256a8cefe0815110
Actual:      1e34407cb68888e1650832622c5967f3d5a1ebfe3daeca5070860ad5800c8065

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=gitahead%402.5.8%3a+hash+check+failed

Fixed by https://github.com/lukesampson/scoop-extras/commit/1b904182be03083ca84224f76133938083259d0f


Update resource path for gtfs-realtime.proto in Java POM

In order to be able to build extensions using the copy of gtfs-realtime.proto in the built JAR, it needs to end up at com/google/transit/realtime (which is where extension .proto files would expect to find it). This PR updates the resource directory definition in the POM to add a targetPath so that this is accomplished.

Thanks @kurtraschke!

I'll get another release out shortly that also includes the new platform assignments field from https://github.com/google/transit/pull/219

So it looks like 0.0.6 and 0.0.7 are both published now and available on JCenter, but for some reason it's not syncing with Maven Central:
https://bintray.com/mobilitydata/mobilitydata-mvn-repo/gtfs-realtime-bindings
I'll look into this, but for now to use the artifact you can add JCenter as a dependency if it's not there already.

Any news here? 0.0.7 still seems to be not available on Maven Central.


Updated latest sha digest for all IAM operand images.

Updated latest sha digest for all IAM operand images.

auth-service: https://travis.ibm.com/IBMPrivateCloud/platform-auth-service/jobs/38466775#L292
identity-provider: https://travis.ibm.com/IBMPrivateCloud/platform-identity-provider/jobs/38466669#L290
identity-mgmt: https://travis.ibm.com/IBMPrivateCloud/platform-identity-provider/jobs/38466669#L290
policy-administration: https://travis.ibm.com/IBMPrivateCloud/pap/jobs/38466719#L362
policy-decision: https://travis.ibm.com/IBMPrivateCloud/pap/jobs/38466719#L362
secret-watcher: https://travis.ibm.com/IBMPrivateCloud/icp-secret-watcher/jobs/38467219#L267
oidcclient-watcher: https://travis.ibm.com/IBMPrivateCloud/icp-oidcclient-watcher/jobs/38467169#L265
policy-controller: https://travis.ibm.com/IBMPrivateCloud/iam-policy-controller/jobs/38466965#L271
icp-onboarding: https://travis.ibm.com/IBMPrivateCloud/icp-iam-onboarding/jobs/38467084#L293


chore: use @internal annotation

Hi,
This PR replaces the @deprecated annotation by @internal in combination with the stripInternal tsc option to remove internal members from generated d.ts file.
This will prevent TypeScript users from using internal implementation.
Related issue: #5171

It seems that stripInternal option causes many problems and was undocumented https://github.com/Microsoft/TypeScript-Handbook/pull/856 :confused:

If these are marked as internal, is there any warning given by TypeScript if they are used? If not and a lint rule is needed, I would suspect that such a rule - if it exists - would not be as widely used as the depreciation rule.

There is no warning directly given by TypeScript, the only protection I know is a visual feedback  like the @deprecated annotation does in IDEs like Webstorm.


Added image preview for HomeKey Card Finish in Misc configuration page on HomeKey Card Finish click

This pull request adds image preview for HomeKey Card Finish in Misc configuration page on HomeKey Card Finish click.
gif showing the UI:

If you accept this commit then we can remove the images from littlefs and add raw links of images in code, which will free up the space.
Let me know.

Hi! Appreciate the PR 😀
Got some thoughts on this:

The images are taking up too much space and i do not intend to embed external links into the webui.

All images are too high-res for this purpose and hence have a lot of redundant data, resizing them will help greatly, as an example, resizing hk-finish-0.webp to 256x162 is plenty enough and brings it down from 7.0 KiB to 710 B

Right now am working on reorganizing and refreshing the design of the webui, once done i'll rebase the PR and merge it in along with the resized the images

Great. Let me know if you need any help. Happy to help.


Switch to babili

Issue: Replace webpack's UglifyJS plugin with babili
What I did
These steps have been made the react app and the react-native app.

Add babel-preset-babili and babili-webpack-plugin to package.json
Add preset for production environment in .babelrc
Replace UglifyJS plugin in webpack.prod.js

I have added the preset as well as the plugin due to issues with babili-webpack-plugin and dynamic imports or blocks of dead code. Running each file though the preset prevents these whereas the plugin will optimize the complete bundle including node_modules.
How to test
Create a production build.
fixes #1005

Thanks for this PR!
Can you provide statistics on impact?
filesize, execution time, browser support?

I'll add some statistics over the weekend

I'm going to revisit this later.
@thuringia If you want to still add a impact analysis I would be super grateful !


textDocument/definition request spam

Not sure if this is a bug in vscode or vscode-languageserver-node or extension related. When pressing F12 to go to definition the editor will jump correctly to the definition but then spam textDocument/definition requests at the new cursor location. I have seen it happen prior to 1.18 too. See gif below.

VSCode Version: 1.18
OS Version: Debian 9

Steps to Reproduce:
Intermittent -- F12 on a method reference

The LSP only sends requests if it receives a trigger from the editor.
I tried to reproduce this with a sample LSP extension but was not able to do so. Please file the issue against the extension that provides the functionality.

@dbaeumer it's doing full round trips from the client to the server as can be seen in the trace below. The only user input is the initial F12 to go to the definition. The extension does have some middleware to forward on requests to other language servers but if I remove so that it's going through the standard vscode-languageserver-node request/response mechanism it still occurs. Do you have any ideas how an extension could be causing this behaviour?

The only explanation I could come up with is that someone else triggers this be sending the definition command to VS Code.
If you tailor an example that demos the behavior I can close I will have a look. I tried to reproduce this is my test bed and was not able to do so.
You could also set a breakpoint into the language client where it forwards the call to the server and see how it gets triggered. The code is around DefinitionFeature in the client.js file.


How can I find the scripts' root path in code?

I want to get the script file root path, how can I do?

duplicate of #354?

Seems like this is resolved in #354


License

Hi InCTRl team, @Diana1026 and @GuansongPang,
I read the paper with great interest and would like to investigate your model and possibly put it to use. However, there is no license for the code in this repository.
Do you intend to specify a license? And if so, when would you do it?
Thank you in advance for your work and best regards!

Hi, thanks for the reminder, we will add a license later.


Upcoming Tasks

[ ] Use new document manager and refactor models/views/controller
[ ] Create a notebook extension registry and a jupyter-js-widget extension

👍
The custom widget libraries are probably going to be bundled slightly differently. Hence we probably don't need to rely on the same jupyter commands
jupyter labextension [enable/install]...

@SylvainCorlay, extension is probably not the right word here.  These are basically JS classes that create a new instance of a thing given an instance of a notebook widget.

Implemented in jupyterlab.


feat: oay fuse frontend support

I would like to know if Opendal has plans to support the FUSE front end for Oay.
FUSE is a great compatibility layer that can convert file system operations from the operating system into user-space API calls. In other words, by leveraging the service capabilities of Opendal's ecosystem, I can use this FUSE layer to access a wide range of cloud drives and object storage through the file API of the operating system.
For example:
https://github.com/astrada/google-drive-ocamlfuse
https://github.com/s3fs-fuse/s3fs-fuse

The FUSE's power & performance could be very limited:

4K Read will very slow (especially on object storage services like s3)
Only sequential writing is supported. Random writing without a in-memory buffer is not possible.

Maybe we start with a read-only fuse first

The FUSE's power & performance could be very limited:
* 4K Read will very slow (especially on object storage services like s3)

* Only sequential writing is supported. Random writing without a in-memory buffer is not possible.

I believe these limitations do not affect our functionality. These limitations only result in some performance issues, which seem to not be a problem in certain scenarios where the backend is S3.

Maybe we start with a read-only fuse first?

Yeah， I can try it from fuse read-only support.

It seems that https://github.com/cberner/fuser is a good choice of fuse crates that are only active fuse implementable.

Work tracked at https://github.com/apache/incubator-opendal/issues/3782


Updating to the new versions OCPP1.6 schemas

OCA has released new versions of the OCPP1.6 schemas together
with erratas.
This is the latest version published by OCA on 2019-12-05.
The only modifications from above are:

Removal of id-fields (not handled by jsonschemas)
Adding Celsius to the enum in StopTransaction.json.
This was missed in the schema updates, but is according
to the errata.

Fixes #57 (adding Celsius with correct spelling) and more.
Signed-off-by: Anders Darander<EMAIL_ADDRESS>

@darander I fixed CircleCI's settings and now the test suite has ran. Unfortunately the build fails, can you fix it?


pythonPackages.crc32c: init at 2.0

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[x] other Linux distributions

[NA] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[NA] Tested execution of all binary files (usually in ./result/bin/)
[NA] Determined the impact on package closure size (by running nix path-info -S before and after)
[NA] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Everything resolved.

@GrahamcOfBorg build python27Packages.crc32c python37Packages.crc32c python38Packages.crc32c


Studentformfinder stw

Current text is wrong: it must mention academic year.
(This corrects a previous PR - I don't think I actually committed the change…
For dev trello card:
https://trello.com/c/fo4vok6c/105-student-finance-form-finder-update-partial-for-deadlines)

(just needs 12b5076)

Thank you. Closing as superseded by: https://github.com/alphagov/smart-answers/pull/2451


Do not pass DocDef with underlying ClassDef to Namers.standardEnterSym

standardEnterSym internally uses the following code:
tree.symbol match {
  case NoSymbol => try dispatch() catch typeErrorHandler(tree, this.context)
  case sym      => enterExistingSym(sym, tree)
}

where tree is a DocDef with an underlying ClassDef. Because symbol
on DocDef is forwarded to the underlying tree, we would pass a symbol
that doesn't match its original tree to enterExistingSym, which later
would result in an ClassCastException.
Fixes #1002367

I'm not sure if this is the right location to fix this bug. Should it be done in Namers.standardEnterSym directly?
Review by @huitseeker would be nice.

Thanks @sschaef for looking at this, but in the meantime this was fixed upstream, in PR 4205 and should be part of 2.11.5.


Print full autorest command

PTAL
@jhendrixMSFT @marstr @olydis

@mcardosos,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@marstr this is so we know all arguments used by npm test. One of the arguments is currently hidden and there is a big change on including it or not on the command. This is just for transparency.


could not find driver error

Getting this error on a fresh install please help!

You have provided zero information for anyone to help you with. Please at least provide the error/issue you are having (and logs too).

and also information about the platform you're using (os, nginx or apache, mysql or postgresql, etc)

Did you get this fixed? If so, could you put your solution here so people who have this error in future can see how you fixed it?

chmod the public/ folder


Patches for Rails 5

These are patches to support Rails5.

Remove unnecessary requirement
In Rails5 active_record/relation/query_methods must be loaded after active_record/relation, so that
require 'activerecord-mysql-index-hint' raises NameError.
https://travis-ci.org/mirakui/activerecord-mysql-index-hint/jobs/116399791

On the other hand, require 'active_record/relation/query_methods' seems to not be necessary because
require 'active_record sets autoload for AcitveRecord::Relation::QueryMethods.

Fake MySQL version
Rails5 support MySQL >= 5.0
https://github.com/rails/rails/commit/c7f8019bff16554095ff5c2c4e539962922b7a55

Thanks! released as v0.0.4


Don't show names for inbuilt Calliope/micro:bit sensors

After some discussion and feedback we decided to partially revert changes done to the Calliope configuration:

Inbuilt sensors/actors (except the buttons) should not have a name field.
The program blocks accessing these components also should not have the name dropdowns.
Future components which may overlap with the inbuilt components should require new configuration blocks, but not new program blocks.

This means the program blocks should be able to recognize the inbuilt components for the necessary dropdowns and show them accordingly (This is the currently only the case for the "RGB LED" block: inbuilt + Calli:bot).

To do:

[x] Remove name fields from inbuilt configuration components
[x] Remove name fields from program blocks
[x] Show "Port internal" message on program block for inbuilt components (or other solution?)
[ ] 3.0 to 3.1 transformer
[ ] Tests

Instead of removing the fields from the XML (which might lead to problems in the future with internal + external components) they are only hidden in blockly. This is accomplished with an additional XML element hide.
Inbuilt sensors save the corresponding configuration block name in the hide field.
It is then used to generate the SENSORPORT/ACTORPORT field when generating XML from the block.
To dos in original comment updated accordingly.


REVM cyclic dependency detected

HI everyone, I was recently attempting to integrate REVM into my project, but unfortunately we encountered some cyclic redundancy issues, I have attached my Cargo.toml & Cargo.lock files for reference

2024-07-10T17:56:15.966252Z ERROR flycheck: Flycheck failed to run the following command: CommandHandle { program: "/Users/prabhat24/.cargo/bin/cargo", arguments: ["check", "--workspace", "--message-format=json-diagnostic-rendered-ansi", "--manifest-path", "/Users/prabhat24/litheum/LitheumCore/Cargo.toml", "--all-targets"], current_dir: Some("/Users/prabhat24/litheum/LitheumCore") }, error=Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(unix_wait_status(25856))):
    Updating crates.io index
error: cyclic package dependency: package `getrandom v0.2.15` depends on itself. Cycle:
package `getrandom v0.2.15`
    ... which satisfies dependency `getrandom = "^0.2.7"` of package `ahash v0.8.11`
    ... which satisfies dependency `ahash = "^0.8.7"` of package `hashbrown v0.14.5`
    ... which satisfies dependency `hashbrown = "^0.14.1"` of package `indexmap v2.2.6`
    ... which satisfies dependency `indexmap = "^2.2.3"` of package `serde_json v1.0.120`
    ... which satisfies dependency `serde_json = "^1.0"` of package `wasm-bindgen v0.2.92`
    ... which satisfies dependency `wasm-bindgen = "^0.2.92"` of package `js-sys v0.3.69`
    ... which satisfies dependency `js-sys = "^0.3"` of package `getrandom v0.2.15`
    ... which satisfies dependency `getrandom = "^0.2.3"` of package `ahash v0.7.8`

Archive.zip

This does not look related to revm. Error does not show revm lib but getrandom

there was some complicated dependency issue which was causing it, but anyways thanks @rakita you are always very willing to help us! cheers


Python syntax file does not include "yield from" statement in Python 3.3+

There is now a yield from statement type in Python. In the current python.vim syntax file, yield is highlighted as a regular statement, but from is highlighted as part of an include statement, so the colors of these two adjacent words (which are part of one keyword) don't match.
Wish I knew something about vim syntax files to fix it myself... maybe one day. Thanks!

I recommend you to write the issue in https://github.com/vim/vim/issues since the file is a part of Vim.


retrigger build

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>issue: https://github.com/open-cluster-management/backlog/issues/14447

/lgtm


Make level optional in setColor

The level property of the COLOR_MAP used in setColor should be optional. Fallback to the current device level if it's not supplied in the map.

I originally made this as a change directly on your main branch along with a version bump to 0.3.2 in the comment header and packageManifest.json, but realized you were already working on some changes in your development branch, so I simplified to just the code change and pointed it at this branch.
Feel free to just manually incorporate it if you prefer. 😄


Custom IdentityUser

I liked the package, but I would like to use the IdentityUser with the ID with Int type, however the method that generates the JWT does not currently allow a generic implementation.
Gostei do pack mas queria usar o IdentityUser com o Id do tipo Int, porém o metodo que gera o JWT não permite uma implementação genérica atualmente.

English please :)
The package provides support. You will need to provide your own DbContext and Identity user with this customization.
This approach is implemented in our sample:
https://github.com/NetDevPack/NetDevPack.Identity/blob/master/src/Samples/AspNetCore.Jwt.Sample/Controllers/AuthCustomConfigController.cs

Ok, I'm going to see the example and implement it here. Thank you.

It doesn't work because JwtBuilder needs a type of IdentityUser and IdentityUser inherits of IdentityUser

#4


vault: 0.11.2 -> 0.11.5

Motivation for this change
Update bash completion method as described in
https://www.vaultproject.io/docs/commands/#autocompletion
Things done

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

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build nixosTests.vault

Thanks!


docs(readme): fix usage section header

@AndreiRailean Please sign the CLA

@michael-ciniawsky doesn't the above comment by @jsf-clabot show that it's already signed?
I've signed and there's nothing more I can do at the link. Looks like licence bot is stuck.


Error transforming jar (lithium)

Mod Name
Lithium
Mod Homepage
https://modrinth.com/mod/lithium
Minecraft version
1.20.1
Describe the bug
Error loading mod displays error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Failed to execute task me/ jellysquid/mods/lithium/mixin/ai/raid/RaidMixin.class
Steps to reproduce

install Connector and Forgified Fabric API
install lithium
error

Logs
Crash log: https://pastebin.com/dgEfUfY0
Additional context
No response

Use Embeddium and it's companion mods for now.  Sodium is about to go multiloader starting with 0.6 so Embeddium is only a holdover.

but... lithium is not Sodium... it's radium (https://modrinth.com/mod/radium)

No one said it is.  I recommended to use the forge ports until the multiloader conversions are done.

No one said it is. I recommended to use the forge ports until the multiloader conversions are done.

this person reported that Lithium is not compatible
You have recommended a Sodium port (Embeddium)
Lithium is not Sodium

Use Embeddium and it's companion mods for now. Sodium is about to go multiloader starting with 0.6 so Embeddium is only a holdover.


Fork jvm for maven-source-plugin

Maybe addresses #11225
I was not able to reproduce GCLocker issue using the CI docker. However, since the issue consistently affected maven-source-plugin running inside the parent Maven JVM it may be mitigated by starting it in a fresh JVM
Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build

build

This PR explicitly not closing #11225, especially since I cannot reproduce the issue to test it. Whether we decide to experiment with MAVEN_OPTS or this PR's method it will take monitoring the CI to check whether the experiment works.


The consent was automatically selected in the second attempt of sharing

Describe the bug
The consent was automatically selected in the second attempt of sharing
To Reproduce
prerequisite : Device A --> Requesting
Device B --> Sharing
Steps :

Open qrcode in Device A
Open scanner in Device B
Scan the qrcode from Device B
Give consent and share a VC --> verifier captures photo and sharing is successful
Repeat step 1,2,3 again

Current behavior
Consent is automatically checked-in before even resident selects it.
Expected behavior
Consent should only be checked in when resident selects it.
Screenshots
https://user-images.githubusercontent.com/79500509/206977444-d12ddd76-82f4-484a-8e84-0628c14c2da6.MP4
Smartphone (please complete the following information):

Device: iPhone 8 & iPhone 11
OS: 16.0.2 (20A380), 15.6.1
Inji app version: 0.4.1 (4) -> Testflight
MOSIP Version: <IP_ADDRESS>
MOSIP server: qa5.mosip.net

Additional context
Android bug https://github.com/mosip/inji/issues/324

Tested on:
iOS Build: Inji 0.4.1 (9)  - test flight
WORKS AS EXPECTED
@pmigueld @kyanthony @santhoshsunder
STEPS

Scan QR CODE on the requesting device to initiate sharing
On the Sharing device, click on the consent box and share ID (sharing should be successful)
Scan QR CODE on the requesting device again
Verify that on the SHARE ID page, the consent box is not pre-ticked.

Devices:
iPhone 11 - iOS 16.1.2
Screenshot
https://user-images.githubusercontent.com/102940764/211455711-ecb574ab-fa95-419c-ab45-862c27bf0098.mov

Verified in:
Device: iPhone 8 & iPhone 11
OS: 16.0.2 (20A380), 15.6.1
Inji app version: 0.4.1 (10) -> Testflight
MOSIP Version: <IP_ADDRESS>
MOSIP server: qa-1201-b2.mosip.net
Working as expected , The consent box is not pre-ticked in the consecutive sharing.


Skip reset upon flashing if not needed

via @yyyc514:

what should happen is if the serial is there it should try and talk AVR109, if that succeeds - flash
only do a reset if the port won't talk avr109
reset is the most common scenario but it shoudlnt' be hard to do the check

Aasking for the signature and getting "CATERINA" back or whatever the signature is would be a simple enough test.


Make wagtailsites work for non-superusers

Permission checks in wagtailsites are currently using an incorrect app label, 'site' - this should be 'wagtailcore' (because that's where the Site model is). In practice, this doesn't matter, because the Sites menu item is only displayed to superusers, and testing a non-existent permission is equivalent to 'is superuser'. That probably wasn't the intention, though...
This PR:

updates the Sites menu item to show for users with an explicit add/edit/delete site permission, as well as superusers
fixes permissions for non-superusers on all wagtailsites views
fixes an annoyance in the tests where we have to pass a bogus parameter to the 'delete' view

Looks good to me

Works nicely! Might be nice to add the sites permissions into the "edit group" page


Adds tests for #1339

Roberto, could you please rebase the PR onto most recent master?

Blocked on edgedb/edgedb-python#208

@fmoor Frederick, can you take a look at this PR and see if we should close it or if we should rebase it?

see if we should close it or if we should rebase it?

I didn't find any equivalent tests in master.

@1st1 all the clients handle this check before sending the wrong number of arguments to the server. Maybe we don't need tests here?


Update podspec will all sources

I actually did this yesterday when I pushed the 2.5.0 podspec to trunk, just forgot to update master. Thanks anyway @hartbit 👍


Increment version for storage releases

Increment package version after release of azure-storage-blob

Will do manually


Added find.use for modifying internal settings

Closes #18

Brilliant, thanks! - let me know when you release next to npm :-)


Restructure api directories to be under internal matching package name

First step towards #35

/lgtm
/approve

/lgtm
/approve


Better error if someone uses a model-incompatible prepare_dataset.py script call

We require preparing the dataset with a model-specific tokenizer. The workflow is typically
python scripts/prepare_alpaca.py --checkpoint_dir model1
python finetune/lora.py  --checkpoint_dir model1

Then, if someone wants to use a different model, they have to run
python scripts/prepare_alpaca.py --checkpoint_dir model2
python finetune/lora.py  --checkpoint_dir model2

but it is easy to forget to run python scripts/prepare_alpaca.py again. And this can then lead to failures with uninformative errors.
We need to think of a way to make it more obvious what's wrong when someone runs
python scripts/prepare_alpaca.py --checkpoint_dir model1
python finetune/lora.py  --checkpoint_dir model1
python finetune/lora.py  --checkpoint_dir model2

This is essentially solved now in the wip branch 🎉


WIP: Checks to ensure Cluster name unique and required

https://github.com/rancher/rancher/issues/13075

@alena1108 review pls.

LGTM. @prachidamle could you remove this file from the vendor commit; usually binaries should not be included: vendor/github.com/rancher/kontainer-engine/.DS_Store. I tried to update vendor to the types fdb95a1ac6c93f633224f165eae9d1ba86977a93, this file doesn't get generated. Once this file is gone, the PR can be merged.


Name Customization: Not possible to use logic (concat string, helper functions etc.)

Is your feature request related to a problem? Please describe.
I would like to streamline story namespaces using the Name Customization feature. However, it does not seem to be possible to use any logic exporting a story title.
Doing so a blank page is shown an I get this error in the browser console:

Uncaught SyntaxError: The requested module '/generated/generated-list.tsx' does not provide an export named 'storySource' (at source.tsx:6:1)

Working Example:
export default {
    title: 'Core / Button',
};

Broken Exmaples:
export default {
    title: 'Core' + ' / ' + 'Button',
};

or

export default {
    title: `${'Core'} / ${'Button'}`,
};

My usecase:
// utils.ts
const getStoryName = (namespace: 'Core' | 'Features', componentName: string) =>
    `${namespace} / ${componentName}`;

// button.story.ts
export default {
    title: getStoryName('Core', 'Button'),
};

Story names need to be static (simple strings). It's the intentional limitation of Ladle to support automatic code-splitting and some other features.  It seems there might be some regression in the error message that's makes it unclear - should look into it. Also, we should probably highlight this more in the docs.


refactor(kselect): cannot read properties of undefined (reading replace) [KHCP-4680]

Task in Jira: https://konghq.atlassian.net/browse/KHCP-4680
Summary

Vue 3
Did you create a corresponding PR to add this change to the beta branch? (required)

[ ] Yes, here is a link to the PR: [link to beta branch PR]
[ ] No, I did not create a PR for the beta branch and I have added the port to beta branch tag to this PR.
[ ] No, because [type your reasons]

If you have questions, tag @adamdehaven or @kaiarrowood.

PR Checklist

[ ] Does not introduce dependencies
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test packages/
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lukasz Swierlikowski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Under netbean. skeleton-generator not work properly.

I have a cakephp project and When I try to generate skeleton. It start and terminate without any error. Output window does not show any error.

I have Netbeans 8.0.2 and configured the following for the skeleton generator:
/home/myname/.composer/vendor/bin/phpunit-skelgen --bootstrap=vendor/autoload.php

phpunit-skelgen is installed globally by composer as you can see:
$ composer global show -i | grep phpunit
Changed current directory to /home/myname.composer
phpunit/php-text-template          1.2.1              Simple template engine.
phpunit/phpunit-skeleton-generator 2.0.1              Tool that can generate skeleton test classes from production code classes and vice versa

The --bootstrap command makes sure the skeleton can find all classes by Composers autoloader in you current open project.
Hope this helps.


Tagging new release (on General Registry)

Updated to use Project.toml files: https://github.com/NHDaly/ApplicationBuilder.jl/pull/47
Bumped to version v0.4.0.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/Test/43
After the above pull request is merged, it is recommended that you create
a tag on this repository for the registered package version:
git tag -a v0.4.0 -m "<description of version>" 866b34418eda1a2e4f3676e4b23ece997a717d18
git push v0.4.0

@JuliaRegistrator register()


Unused Declaration Detection

Unused Declaration Detection
Detection of unused program declarations with compiler warnings.
Program example example.mo:
import Array "mo:base/Array";
import Debug "mo:base/Debug";

actor {
    var variable1 = 0;
    var variable2 = "TEST";

    func testUnusedFunction(parameter1 : Bool, parameter2 : Int) {
        var variable2 = 2;
        var variable3 = 3;
        let variable4 = 4;
        if (variable1 == 0 and variable3 == 3) {
            let variable2 = parameter1;
            Debug.print(debug_show(variable2));
        };
    };
};

Compiler messages:
example.mo:1.8-1.13: warning [M0194], Unused declaration Array
example.mo:6.9-6.18: warning [M0194], Unused declaration variable2
example.mo:8.10-8.28: warning [M0194], Unused declaration testUnusedFunction
example.mo:8.48-8.58: warning [M0194], Unused declaration parameter2
example.mo:9.13-9.22: warning [M0194], Unused declaration variable2
example.mo:11.13-11.22: warning [M0194], Unused declaration variable4

Coverage
The analysis detects the following unused declarations:

Variables
Parameters, including shared context
Functions
Classes
Objects
Modules
Imports
Private fields in objects and classes

Special aspects:

System functions are considered implicitly used.
Non-accessed stable variables are considered unused, even if they could be accessed in a future upgraded program version.

Warnings
The warning of an unused declaration can be suppressed by prefixing the identifier by an underscore.
Example:
object Silence {
    public func log(_message: Text) { // Suppress the warning for the unused `_message` parameter.
    }
}

Future Work
The following analyses are not yet implemented but would be beneficial to support:

Unused type definitions, unused type parameters
Unused branch labels
Unused variant options
Unused public fields: Additional aspects to consider:

Accesses via paths outside the declaration scope.
Possible usage before declaration.
Polymorphism of structural typing.
A library module may expose more (directly or indirectly) public declarations than used.

Write-only mutable variables: Mutable variables that are never read but only written
Unnecessary mutability of read-only variables: Recommend let instead of var.

This is great! I still need to review carefully but a cursory skim suggests looks good to me.

Finally got a chance to play with this... Looks good but some issues remain.
The repl will complain on almost every interaction, because you typically define stuff before using it later. Perhaps we should just suppress the warnings there.
A recursive but unused functions is accepted sans warning. Ditto for mutually recursive functions. OCaml seems to be able to detect and warn about these, so if easy to fix, it would be nice to do the same. But perhaps its non-trivial, in which case we could live with it for now.
I wonder if we should go the extra step and warn about a reference to a silence identifier? OCaml does not, so perhaps a good enough reason not to. I.e. should
let _x = 1
let y = _x;

produce a different warning or not?

I had a quick look at how ocaml does more accurate unused binding declarations for recursive bindings and found this comment. Not sure I grokk it but perhaps it'll inspire you:
https://github.com/ocaml/ocaml/blob/trunk/typing/typecore.ml#L6075
_(* Algorithm to detect unused declarations in recursive bindings:
- During type checking of the definitions, we capture the 'value_used'
events on the bound identifiers and record them in a slot corresponding
to the current definition (!current_slot).
In effect, this creates a dependency graph between definitions.
 - After type checking the definition (!current_slot = None),
   when one of the bound identifier is effectively used, we trigger
   again all the events recorded in the corresponding slot.
   The effect is to traverse the transitive closure of the graph created
   in the first step.

 We also keep track of whether *all* variables in a given pattern
 are unused. If this is the case, for local declarations, the issued
 warning is 26, not 27.

*)_

I just tried building motoko-base/test and got some warnings we should probably fix:
unused.txt
But I guess this raises the question whether we should disable the production of warnings on code from third party libraries (perhaps just from every package).
Whaddya think?


uart write behavior

Hi,
I want to know if it's possible to know when the uart has transmitted the data out of the interface.
My experience is that uart write method buffers the data, but I need to know the exact moment that there are no more bytes to send so I can toggle a GPIO. One way is to make write method blocking, which I understand is not possible.
I was trying to see if the native API offer additional control over this so I can write my low level app in C++ but it seems there is no additional uart core support different than AT API.
Will appreciate your comments,

I don't believe there is any direct knowledge of the UART buffer, although as far as I know it's fairly expedient. What level of latency are you expecting?

Hello @Fleker
Thanks for your response,
I am trying to work with RS-485 using two wires, I have to disable the driver as soon as the last bit is transferred, this was not working when I call UART.write followed by the GPIO toggle instruction.
Would you suggest me a workaround?

Do you have to disable it at the exact time of the last bit? Can you get away with a 10ms timeout?
One workaround could be to add a UART line back to your device on the Rx pin so that you can see exactly when the data is sent out of the bus.

Well, the closer the better,. The problem is that 10ms might be too much for high baud rate. Actually a normal baud rate of 19200 means several bits in a 10ms, so at the end it will depend on how fast the other peer can react and send data. If I do not disable the driver before the other peer start sending the response, the channel will get corrupted and data loss.
I think the workaround can be really messy, because I have to somehow code an "UART idle detector", it might involve timers, etc ...

Can the receiving peripheral send an ACK byte back to your device when it receives the last part of the response?

That would be part of the communication  protocol.
The problem is rather at the physical layer,  for RS-485 when having only two wires, the channel is half duplex, is suppose there is only one device transmitting at a given time, for the modbus case that device is called Master. It's the physical medium which impose the need to disable the driver since both driver and receiver are sharing the same two wires.
You simple cannot receive correctly if the driver is enable, which is really simple to do on an MCU or when you can control the transmitting timing, i.e. to know the exact time there are no more bytes to transmit.
I think the AT should be able to provide some way to allow this, as this is the way RS-485 works in two wires mode.

Hi @Fleker ,
Would it be possible to have an upcoming release of AT that makes a UART.write blocking?
Or what I am trying to do might just be not possible with AT and ban be considered a dead road then.
Please let me know your thoughts,

You can file a feature request for the framework using the issue tracker.
Is it possible to use four wire RS-485?
I'm going to ask some folks and get their insight.


Viasala WXT536 - Waggle Plugin Cookbook

Closes #13

Showcases how to access Waggle Node 057 at ATMOS and access the WXT536 data

@jrobrien91 - approved and merging!


Use VMCache instead of VMICache to judge if the NAD is in use

The VMI status will be none if the VM is turned off from the GUI. The VMI information can't not be relied to make sure if particular NAD is attched to any VM or not. Use VMCache instead to prevent from deleting the NAD if the VM is turned off.
Problem:
Fail to delete an Off VM if its network was deleted. The VM network can be deleted if the attached VM is off. It will be a problem if user try to turn the VM back to on.
Solution:
Do not allow VM network removing if the VM still exists, even it is OFF.
Related Issue:
https://github.com/harvester/harvester/issues/6961
Test plan:

Create a VM network
Create a VM and attached to the created VM network
Turn the VM from Running to Off.
Remove the VM network. Should not be allowed.

@mingshuoqiu can you also add steps in Testplan for verifying deletion of vlan config as well with stopped vm.

Thanks @mingshuoqiu for taking care of the comments.
Overall LGTM, except few minor comments.Can you please validate the code changes for nad deletion, vlan config deletion with vms stopped scenarios and add the steps to testplan also.Thanks.

Need to re-implement the WhoUseNad since the  indexeres.VMByNetworkIndex has been removed from harvester v1.4. Will replace the WhoUseNad by different logic.


Refine config #137

Hi @chhsiao90,
finally, I have finished the refine config part, sorry for taking so long. The PR changed the following part.

add list:str, list:int instead of using list option type.
change string and boolean into str and bool.
properly support boolean type.
add new parameter, config_file_flags to define section and key of config file.
change the layout proxy config file.

Help me review this a bit, any suggestion would be helpful.
TODO:

unittest
setup.py

Coverage decreased (-0.3%) to 77.713% when pulling 0d4b3d5403ab67c1abe7e74cecf2d4e1e1758708 on refine-config-#137 into 17f5953fa8c6421f06c28133b2c5d73cc2385762 on master.

Coverage decreased (-0.3%) to 77.713% when pulling 11ed3e6594d0997e833ce063f91c2c4de211a742 on refine-config-#137 into 17f5953fa8c6421f06c28133b2c5d73cc2385762 on master.

Coverage decreased (-0.01%) to 77.996% when pulling 11ed3e6594d0997e833ce063f91c2c4de211a742 on refine-config-#137 into 17f5953fa8c6421f06c28133b2c5d73cc2385762 on master.

@chhsiao90 it's all set. Please help me review this if you got some time. If everything is okay, I'll summarize the commits and merge this PR. thanks.

Coverage decreased (-0.01%) to 77.996% when pulling 6ce4ecfa4f179a9a27b83c052358c735e4adc665 on refine-config-#137 into 17f5953fa8c6421f06c28133b2c5d73cc2385762 on master.

:< sorry about that. I'll push a new release today.

Coverage decreased (-0.01%) to 77.996% when pulling 8caeb1cdf175b572f1f44fffd6d5f8e88e803b92 on refine-config-#137 into 17f5953fa8c6421f06c28133b2c5d73cc2385762 on master.

Congratulation~~~~


Make procedural macros faster by optimizing quote

This takes extra compile time on first build of quote, but the cost is recouped by faster runtime of proc-macros, even for clean cargo check. (tested for server, but bridge has just as many proc-macro dependencies)

Server CI likely a flake, security failure addressed by #1249.


Shopping cart

The shopping cart is an implementation of an IShoppingCart abstraction.
Shopping cart model
Properties:

id
list of line items
decimal Subtotal
TaxAmount Taxes
decimal Total
int ItemCount

Methods:

Add(productId, quantity, attributeValues)
Remove(productId, attributeValues)
Clear()

TBD: how do we interface this with shipping? Nwazet stores country, zip code, and shipping option on the cart.
Note: some missing methods from Nwazet may be added back as needed. Some signatures simplified and some methods changed to properties. This is all subject to revision, of course.
Shopping cart line items

Quantity
Product
attributeValues
Price
OriginalPrice

Implementations
Implementations of the shopping cart abstraction will have pluggable persistence (client storage, database, session, etc.). Details TBD.
Rendering
The cart is rendered through a widget, which has a shopping cart part that is responsible for querying the shopping cart from the active implementation and generate a shape from it.
The checkout page will also interact with the shopping cart (in Nwazet, there's a checkout controller with its own views, we may or may not do things differently to allow for more flexibility; we may also introduce more workflow features).

i think you should save original tax for any item too, in Germany we have 2 different tax for orders.7% and 19%.

https://github.com/OrchardCMS/OrchardCore.Commerce/pull/39


Incorrect estimation of the gas limit, when wanting to execute an external function in a contract

Describe the bug
Apparently in useDapp, when wanting to execute an external function in a smart contract, it incorrectly estimates the gas limit, causing the transaction to be rejected due to insufficient gas.
To Reproduce
It can be easily reproduced with a contract similar to this one that is deployed on BSC Mainnet which is a pancake yield farm strategy.
https://bscscan.com/address/0x45014e81a703dadDe911a91256c7718809fe448D#writeContract
you can generate the action button in the "Earn" function and verify the gas that is proposed in the metamask wallet, then try to generate the same transaction in the "Earn" function on the bscscan website and verify the gas proposed in the metamask wallet, noting in a simple way that the gas proposed by a website that uses UseDapp will be showing a lower gas limit causing the transaction to be rejected
Software versions

useDapp version 1.13
Package manager  is NPM
Node version 16.11.1

Additional context

I was trying to set a gasLimit in a send fn, also doesn't work
fn.send(arg1, arg2, { gasLimit: 700000 }

I was trying to set a gasLimit in a send fn, also doesn't work fn.send(arg1, arg2, { gasLimit: 700000 }

This should be fixed by https://github.com/TrueFiEng/useDApp/pull/909

I was trying to set a gasLimit in a send fn, also doesn't work fn.send(arg1, arg2, { gasLimit: 700000 }

This should be fixed by #909

The problem continues despite the fact that this bug has been marked as solved, although you can actually use a "gasLimit" by adjusting it manually, the most advisable thing would be for ethers to do it automatically,
*NOTE, the problem started to appear after adding the limit gas buffer


Support clicking a confirmation link in welcome email to confirm email address

It would be nice to have support for clicking an email link in the welcome message to fully activate the account and verify the email address.  This seems like it is nearly there with the forgotten password / key logic.

https://github.com/jedireza/aqua/issues/172


Add gPodder.app v3.8.3

Added new cask for gPodder, which is byte-compiled
and bundled specifically for OS X.

Looks good. One small thing: could you use single quotes in strings where interpolation is not needed?

Thank you for the contribution. It will be merged in a different pull request due to the alteration pointed out by @ndr-qef. Your contribution is still included (and still credited to you), with the appropriate modifications, when applicable.

Thanks. Sorry for not fixing earlier. I was too busy this weekend.

Don’t worry about it. Thank you for the contribution, and have a nice weekend.


Warning: Failed prop type: Invalid prop scenes of type function supplied to Router, expected a single ReactElement.

Version
Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.16
react-native v0.46.4

app.js
function mapStateToProps(state) {
  return {
    appData: state.appData
  };
}

function mapDispatchToProps(dispatch) {
  return {
    getData: bindActionCreators(getData, dispatch)
  };
}

const myConnectedSideBarConponent = connect(mapStateToProps, mapDispatchToProps)(SideBar);
const myConnectedHomeScreenConponent = connect(mapStateToProps, mapDispatchToProps)(HomeScreen);
const myConnectedMainScreenConponent = connect(mapStateToProps, mapDispatchToProps)(MainScreen);

const scenes = Actions.create(
  <Scene key="drawer" drawer contentComponent={myConnectedSideBarConponent}>
    <Scene key="root" hideNavBar hideTabBar>
      <Scene key="mainScreen" component={myConnectedMainScreenConponent} title="" initial/>
      <Scene key="homeScreen" component={myConnectedHomeScreenConponent} title=""/>
    </Scene>
  </Scene>
);

const store = configureStore();

const ConnectedApp = connect(mapStateToProps, mapDispatchToProps)(Router);

export default class App extends Component {
        render = () => {
            return (
                <Provider store={store}>
                    <ConnectedApp  scenes={scenes} />
                </Provider>
            );
        }
    }

I get Warning after each restart of the application :
Warning: Failed prop type: Invalid prop scenes of type function supplied to Router, expected a single ReactElement.
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in Router (created by Connect(Router))
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in Connect(Router) (at app.js:69)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in Provider (at app.js:68)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in App(at renderApplication.js:35)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in RCTView (at View.js:133)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in View (at AppContainer.js:98)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in RCTView (at View.js:133)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in View (at AppContainer.js:97)
08-04 15:19:52.500  5613  5884 W ReactNativeJS:     in AppContainer (at renderApplication.js:34)
Thanks for help!

Remove Actions.create, just use () instead.
const scenes = (
  <Scene key="drawer" drawer contentComponent={myConnectedSideBarConponent}>
    <Scene key="root" hideNavBar hideTabBar>
      <Scene key="mainScreen" component={myConnectedMainScreenConponent} title="" initial/>
      <Scene key="homeScreen" component={myConnectedHomeScreenConponent} title=""/>
    </Scene>
  </Scene>
);

Then convert <ConnectedApp  scenes={scenes} /> into <ConnectedApp>{scenes}<ConnectedApp>

I did everything as you wrote. Warning disappeared. As a result, the application crashes. In the console I see that there is a bunch of requests to the API via Reducer. I encountered this problem earlier and solved it with the help of "Actions.create"

@avorochenko It seems to be a bug with PropTypes. Please use navigator={scenes} for now

@aksonov @pewh thanks for hope!


Added Peter Vondras to contributors.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


fix(security): address CVE-2022-25881

[skip ci]
Bumps cryptography from 41.0.3 to 41.0.4.

Changelog
Sourced from cryptography's changelog.

41.0.4 - 2023-09-19

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.3.
.. _v41-0-3:

Commits

fc11bce bump for 41.0.4 (#9629)
See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.

LGTM without approval

@aldousalvarez please resolve the conflicts.

Closing this - another PR already got in the same change


Ci/refine tunings

Bring multiple refinements, improvements to CI flows.
PR from forks
Following https://github.com/okp4/ui/pull/281 some checks were failing due to the secrets available when running actions, when running actions on PR referencing forked head ref we shall avoid referencing organization specific tokens.
Fix report-new-dependencies job:
Replace the usage of an OKP4 specific token in favor of the default one, which should suffice to comment a PR.
Fix lint-dockerfile job:
The luke142367/Docker-Lint-Action posting annotations on changes, it needs a token with repository access, which is impossible running from forks. As this linter seems to me less rigid than hadolint, I propose to simply remove it.
Publish
Publish next versions to npm public registry as well, take the opportunity to use matrix job to share the logic with the Github Packages publication.
Misc

Prevent the release workflow from running with failing tests.
Add some concurrency handling.

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


Added a help section page

Issue Number
fixes #73
Describe the changes you've made
I added a help section page and add to a main page in a footer section and in help section i create a form in which  peoples are write there query and ask for help and i  add a FAQ section also in help desk and it will be updated if we done some research what are the common queries. So thats my task please review it and give the feedback and thank you for assigned me that issue.
Additional context (OPTIONAL)

Checklist
-->

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] The title of my pull request is a short description of the requested changes.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

please review my PR sir

please review my PR sir

Always mention the issue number with PR #32.
I have revied your PR, wait till I review PR of other contributors. The best design will be accepetd.


Create a directory

Hello,
I took the initiative to work on issue #14.
I did all the check and wrote proper tests.
Though I struggle at passing multiple consecutive tests properly, it passes 75% of the time but sometimes fails.
It's ok If there is one single test in the test file.
I think it's mostly because of the createFileSystem that do not destroy quickly enough before the next test start.
For the time being, I ugly patched this behavior using timeouts to delay 2nd and 3rd tests.
Maybe you'll figure out better than me this weirdo.

Hmm. Similar issue showed up in #39 - I will be looking into that this weekend. It's possible that switching the project to Bun 1.x will allow to fix that issue as it supports more file systems operations than Bun 0.8.

@Xkonti Ok, I've renamed the endpoint as suggested


DTO not handling edited_message hooks

Hi, is there any DTO object that handle the edited_message data structure?

@mohhamedion fixed


removed not used timeline translations

Are these really all of them? Are there none in ShB?

maybe, just maybe, i got distracted with another script that made the mixup in the last PR where i forgot to continue on the removal of not used timelinereplacements.
Give me like 15min and than i will report the missing once

FYI
i need to investigate on following files: eureka_hydatos, suzaku-ex, tsukuyomi-ex, the_copied_factory, twinning and e1s
They currently cant be parsed due to an issue (suzaku will be a colon issue for :Tenzen and the rest most likly a self made issue (e.g. accidently removing a comma)

Ok except suzaku, everthing could be considired done.
For suzaku, the entry :Tenzen breaks the check_translation script. This could be avoided by using either \\:Tenzen or just Tenzen

This is why this is hard to review.  These are the errors you introduced:
0a1,2
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the storm's grip\.' (but have regexDe)
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\trial\shinryu-ex.js:407 ShinryuEx Heart: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the worm's heart\.' (but have regexDe)
15a18,19
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o10n.txt:15 text "Out"
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o10n.txt:18 text "Out"
195c199
< C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: incorrect timelineReplace for regex, got '^.{14} 03:[0-9a-f]{8}:added new combatant emprise de la temp\xeate\.', needed regexFr '^.{14} 03:[0-9a-f]{8}:added new combatant zone de temp\xeate\.'
---
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the storm's grip\.' (but have regexFr)
242a247
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\trial\shinryu-ex.js:407 ShinryuEx Heart: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the worm's heart\.' (but have regexFr)
962a968
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the storm's grip\.' (but have regexJa)
1157a1164
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\trial\shinryu-ex.js:407 ShinryuEx Heart: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the worm's heart\.' (but have regexJa)
1461c1468
< C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: incorrect timelineReplace for regex, got '^.{14} 03:[0-9a-f]{8}:added new combatant \u66b4\u98ce\u57df\.', needed regexCn '^.{14} 03:[0-9a-f]{8}:added new combatant \u66b4\u98ce\u9886\u57df\.'
---
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the storm's grip\.' (but have regexCn)
1466a1474
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\trial\shinryu-ex.js:407 ShinryuEx Heart: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the worm's heart\.' (but have regexCn)
1820a1829
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\raid\o6s.js:27 O6S Storms Grip: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the storm's grip\.' (but have regexKo)
1901a1911
> C:\Users\enne\cactbot\ui\raidboss\data\04-sb\trial\shinryu-ex.js:407 ShinryuEx Heart: missing timelineReplace for regex '^.{14} 03:[0-9a-f]{8}:added new combatant the worm's heart\.' (but have regexKo)

Could you also pls check what happens when you remove Storm's Grip from e6s and run python .\util\check_translation.py -t de -f o6n.js -gm all ?
I think this is an issue in the script (thats why it was removed, as my script is a modification of check_translation)

Could you also pls check what happens when you remove Storm's Grip from e6s and run python .\util\check_translation.py -t de -f o6s.js -gm all ?
I think this is an issue in the script (thats why it was removed, as my script is a modification of check_translation)

$ python util/check_translation.py -t de -f o6s.js -gm all
18 "--targetable--" #MISSINGTEXT
641 "Enrage" #MISSINGTEXT

Is it possible that your script isn't handling apostrophes correctly?


Issue with installing flash attention  import flash_attn_2_cuda as flash_attn_cuda

Gemma2 need torch>=2.4.0 as this mentioned
Because when I run it I get this error:
  File "/usr/local/lib/python3.10/dist-packages/transformers/cache_utils.py", line 1656, in __init__
    torch._dynamo.mark_static_address(new_layer_key_cache)
AttributeError: module 'torch._dynamo' has no attribute 'mark_static_address'

So this need torch>=2.4.0 but the current version is the following:
>>> import torch;torch.__version__
'2.0.1+cu117'
>>> import flash_attn;flash_attn.__version__
'2.5.6'

The problem is when I tried to install torch with this version '2.4.0+cu118' while I have
root@0d6c1aeee409:/space/LongLM# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

I got this error:
>>> import flash_attn;flash_attn.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.10/dist-packages/flash_attn/__init__.py", line 3, in <module>
    from flash_attn.flash_attn_interface import (
  File "/usr/local/lib/python3.10/dist-packages/flash_attn/flash_attn_interface.py", line 10, in <module>
    import flash_attn_2_cuda as flash_attn_cuda
ImportError: /usr/local/lib/python3.10/dist-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE

SO I uninstall and install flashattention like the following:
pip uninstall flash-attn
pip install  --no-build-isolation  flash-attn==2.5.6  -U --force-reinstall

However this will uninstall the current torch and install torch '2.5.1+cu124'
and still i have this issue again:
 import flash_attn_2_cuda as flash_attn_cuda
ImportError: /usr/local/lib/python3.10/dist-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE

So I can't install it!

You should

Install torch 2.4 (if that's the verison you want)
Install flash-attn (latest version 2.7.0.post2 should work)

You should

Install torch 2.4 (if that's the verison you want)
Install flash-attn (latest version 2.7.0.post2 should work)

how do i know which flash-attn version and  torch verison to install?  i have the same problem,it's really annoying
root@e4b47fc2098b:/workspace/OpenRLHF# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Jun__6_02:18:23_PDT_2024
Cuda compilation tools, release 12.5, V12.5.82
Build cuda_12.5.r12.5/compiler.34385749_0
root@e4b47fc2098b:/workspace/OpenRLHF# ^C
root@e4b47fc2098b:/workspace/OpenRLHF# pip show torch
Name: torch
Version: 2.5.1
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email<EMAIL_ADDRESS>License: BSD-3-Clause
Location: /usr/local/lib/python3.10/dist-packages
Requires: filelock, fsspec, jinja2, networkx, nvidia-cublas-cu12, nvidia-cuda-cupti-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-runtime-cu12, nvidia-cudnn-cu12, nvidia-cufft-cu12, nvidia-curand-cu12, nvidia-cusolver-cu12, nvidia-cusparse-cu12, nvidia-nccl-cu12, nvidia-nvjitlink-cu12, nvidia-nvtx-cu12, sympy, triton, typing-extensions
Required-by: accelerate, bitsandbytes, compressed-tensors, deepspeed, flash-attn, lightning-thunder, openrlhf, optimum, peft, torch-tensorrt, torchmetrics, torchvision, vllm, xformers
root@e4b47fc2098b:/workspace/OpenRLHF# pip show flash_attn
Name: flash-attn
Version: 2.7.0.post2
Summary: Flash Attention: Fast and Memory-Efficient Exact Attention
Home-page: https://github.com/Dao-AILab/flash-attention
Author: Tri Dao
Author-email<EMAIL_ADDRESS>License:
Location: /usr/local/lib/python3.10/dist-packages
Requires: einops, torch
Required-by: openrlhf

Version: 2.7.0.post2

flash_attn-2.7.1.post4+cu12torch2.5cxx11abiTRUE-cp310-cp310-linux_x86_64.whl
this one doesn't work either

I met the same problem.
Linux:   cuda==12.2
env:      torch1.13.1+cu11.7
python==3.10
flash_attn==2.5.9.post1+cu118torch1.13cp310
How can I resolve it?
import flash_attn_2_cuda as flash_attn_cuda
ImportError: undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationENSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEE


Add induced kwarg in is_subgraph_isomorphic

This commit adds a kwarg induced in is_subgraph_isomorphic to determine if we should check for a node-induced subgraph or not induced. Previously, only node-induced case was supported.
In not induced case, the changes are minimal: we shouldn't  check R_new pruning rule and check neighbors in R_suc and R_pred rules only in the second graph.

Pull Request Test Coverage Report for Build 965526262

41 of 42 (97.62%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 97.505%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/isomorphism.rs
33
34
97.06%

Files with Coverage Reduction
New Missed Lines
%

src/isomorphism.rs
1
97.68%

Totals

Change from base Build 960868250:
-0.005%

Covered Lines:
8167

Relevant Lines:
8376

💛  - Coveralls


fix: synchronize access to the underlying transaction for ambient transactions

Synchronizes access to the underlying Spanner transaction to prevent multiple transactions from being created when parallel commands are executed on the ambient transaction.
See error and discussion in https://github.com/GoogleCloudPlatform/dotnet-docs-samples/pull/1320 for background.

cc @skuruppu

I'd definitely be happier using Lazy<T> if we can... but it's not really clear to me how it's expected to work, in that if one thread has started acquiring a transaction, we have to block if another thread asks for the transaction. I think I'll need to look a little closer at where VolatileResourceManager is used...

Using Lazy would be an option, but as far as I understand, it is by design synchronous. That would mean that we would have to:

Change GetTransactionAsync to be a synchronous method.
Add some custom code to make an AsyncLazy implementation.
Add a custom library that supports some kind of AsyncLazy.
Or enlighten me on what other options there might be ;-)

You can have Lazy<Task<Transaction>> and then you would normally do await Lazy.Value. That would take care of not blocking on our Execute...Async methods. The methods that we are implementing from the ISinglePhaseNotification interface are still sync so we would have to block on those. I'm trying to confirm from MS docs that blocking there shouldn't be a problem since those methods shouldn't be called from multiple threads.

Added do not merge label just while we finish discussing internally.

I removed the Do not merge label as we have decided to go ahead with these changes including the DML check.

@amanda-tarafa @jskeet Do you have any last comments/questions before merging this?

Will have a look in a bit - I have a couple of other things on this morning. (If Amanda is happy, she's welcome to merge it - she's typically a better reviewer than I am anyway!)


Apnea Algorithm Corner Case: Flat ECG/Chest Impedance Yields Apnea Tag

A flat ECG waveform and a flat Resp signal creates an erroneous apnea. Amanda will add a check in the apnea algorithm to make sure that ecg and resp are still actively changing. Doug already did this for CWRU files, but it needs to be expanded to other file types.

Fixed in a series of commits. Diff before and after is here: https://github.com/amedwards/NICUHDF5Viewer/compare/fb0444e..e08fb17


Search users based on their discovery tags

There is a feature in WebApp that we are able to find topics based on their public tags and subscribe to them (This option is very useful in finding open to subscribing topics and is existed in Telegram for example). Is there a similar feature in Tindroid? I know there's already an issue similar to this (#3) but I couldn't understand how using "Start by Id" option is related to this.

Yes, this functionality is missing in Tindroid (present only in the webapp). It is in the plans to build next.

In progress at https://github.com/tinode/tindroid/tree/find


Fix failing tests in CI

CI is failing due to failing test. Looks like it is having trouble reading some test ROMs?
https://github.com/linoscope/CAMLBOY/actions/runs/3610801850/jobs/6084804440

Fixed in b6007acdef48aa3137582988a70de1b4e5c38793


option for NormalizeSeparators to discard particular sections

let's say I have Settings and Variables sections already aligned by other transformers, then running NormalizeSeparators transformer breaks that previous alignment.
It affects me especially when having pre-commit hook with seperate hooks per transformer, there is an infinite loop of refactors done by these transformers and there's no way to commit without '--no-verify' option.

Are you able to use NormalizeSeparators first then other transformers? Whatever NormalizeSeparator would break it would be then 'fixed' by other transformers. Normally when you run 'robotidy src' NormalzieSeparator always run first so there is no issue.
But I will add option, ie sections=testcases,keywords so the transformer will only parse those sections and leave rest.


Merge in main line to marketplace

Checklist

[ ] You added tests to cover the change
[ ] mvn clean install build and test completes
[ ] You changed or added to the documentation

Looks like a pom adjustment needs to be made

@johnoliver needs merging before other PR can go in.

Closing in favour of https://github.com/adoptium/marketplace-api.adoptium.net/pull/16


Does this version run on Anrdoid?

Question

Relevant Issues and Pull Requests

We don't test on Android and support would be limited. But it's written to be able to generally work on any Java runtime with the exception of some authentication features and Windows certificate store features for Always Encrypted. Give it a try and let us know how it goes.

Dear David
Thank you for your mail.
My android app compiles without any error with the JDBC jar file.
I've even set the sql network connection to use force encryption and
attached a self signed certificate,
but when connecting to the sql server db using connection string:
"jdbc:sqlserver://server:port;databaseName=xxx;ssl=request;encrypt=true;integratedSecurity=true;trustServerCertificate=true;sslProtocol=TLSv1.2"
I have the following error:
com.microsoft.sqlserver.jdbc.SQLServerException: "encrypt" property is set
to "true" and "trustServerCertificate" property is set to "true"
but the driver could not establish a secure connection to SQL Server by
using
Secure Sockets Layer (SSL) encryption: Error: Socket is closed.
ClientConnectionId:736a1781-3cbf-4c27-9c51-39b1ac07e41a

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:4277)*

at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1966)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3803)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:3391)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:3200)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1974)*

at
com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1263)*

at java.sql.DriverManager.getConnection(DriverManager.java:569)*

at java.sql.DriverManager.getConnection(DriverManager.java:219)*

Kindly advise.
Regards
Salim
On Mon, May 20, 2024 at 9:07 PM David Engel @.***>
wrote:

We don't test on Android and support would be limited. But it's written to
be able to generally work on any Java runtime with the exception of some
authentication features and Windows certificate store features for Always
Encrypted. Give it a try and let us know how it goes.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/mssql-jdbc/issues/2423#issuecomment-2120851797,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BISSDD5EKI3CM5F5TUQYO7DZDIUVLAVCNFSM6AAAAABH5XLSGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQHA2TCNZZG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

That's an unusual error. Perhaps due to trying to use integrated security on Android, but not sure. I'm pretty sure Integrated security won't work on Android anyway. Also, ssl isn't a valid option for the mssql-jdbc driver (it will be ignored). I'd try SQL authentication to keep things simple for now and ensure there isn't something else wrong. And let the client/server choose the encryption protocol for now:
jdbc:sqlserver://server:port;databaseName=xxx;encrypt=true;trustServerCertificate=true;username=<sql username>;password=<password>

Hi David
I've done exactly as per your suggestion and still have the same issue.
Connection string:
jdbc:sqlserver://server:port;databaseName=???;encrypt=true;trustServerCertificate=true;username=???;password=???
Error:
com.microsoft.sqlserver.jdbc.SQLServerException: "encrypt" property is set
to "true" and "trustServerCertificate" property is set to "true" but the
driver could not establish a secure connection to SQL Server by using
Secure Sockets Layer (SSL) encryption: Error: Socket is closed.
ClientConnectionId:42d60a5b-8832-449c-a339-6bd7392bfdba

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:4277)*

at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1966)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3803)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:3391)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:3200)*

at
com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1974)*

at
com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1263)*

at java.sql.DriverManager.getConnection(DriverManager.java:569)*

at java.sql.DriverManager.getConnection(DriverManager.java:219)*

Even without certificate or force-Encrytion disabled, the Microsoft JDBC
does not work.
However, the  JDBC JTDS provided by Sourceforge does work on MS SQL only
when ForceEncrytion is disabled.
But the latter is quite old and has not been updated since 2013.
That is why I wanted to switch to MS JDBC, while hoping to get a better
update.
Will Microsoft do needful for Android OS?
Regards
Salim
On Tue, May 21, 2024 at 4:17 AM David Engel @.***>
wrote:

That's an unusual error. Perhaps due to trying to use integrated security
on Android, but not sure. I'm pretty sure Integrated security won't work on
Android anyway. Also, ssl isn't a valid option for the mssql-jdbc driver
(it will be ignored). I'd try SQL authentication to keep things simple for
now and ensure there isn't something else wrong. And let the client/server
choose the encryption protocol for now:
jdbc:sqlserver://server:port;databaseName=xxx;encrypt=true;trustServerCertificate=true;username=;password=
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/mssql-jdbc/issues/2423#issuecomment-2121471338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BISSDD6BFKELGFTDI7YLWTTZDKHBXAVCNFSM6AAAAABH5XLSGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGQ3TCMZTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi @ARMSALIM,
We're not fully clear on the environment the driver is running in on Android OS, but its perfectly possible that the environment is missing key encryption libraries or features that the driver requires. jTDS succeeds in your above case because of the different approach taken to encryption with jTDS. With the jTDS driver, encryption is not always required, whereas with the JDBC driver, it is. Even if you were to set encrypt to false with the JDBC driver, it most likely will still fail as encryption is needed for establishing the connection. My recommendation is as follows, either:

Use the jTDS driver, keeping in mind the encryption restrictions, or
Find some way to setup the necessary encryption perquisites in Android OS. I'm not clear on what these are, as I am not familiar with how Android OS is set up.

There are no current plans to set up a Android version of the driver.
Please let us know if you have any further questions. If not we will move forward with closing this issue.


Issue Moving Message with Mouse Click from History

Hello,
Currently I have an issue moving a message when I use the history of recent folders and then use the mouse click to chose the folder. The message will get moved but not to the correct folder. It will get moved into the local deleted items folder.

Closing in favor of #20, which describe the same problem.


Where to purchase the camera hardware?

Hello, it is very hard to find any information of this product in market.

the same problem

To buy it asking by this email:
<EMAIL_ADDRESS>or Tel:
+86 21 6175 9835


Misc minor doc improvements

As motivated by https://github.com/openssl/openssl/pull/17726#discussion_r824341754 and https://github.com/openssl/openssl/pull/17825#issuecomment-1065103035.

Will this apply to 3.0? If so it should be applied there too. @paulidale do you agree?

This pull request is ready to merge

Will this apply to 3.0? If so it should be applied there too. @paulidale do you agree?

Yes, this also applies to 3.0, and I just tried: it merges cleanly there, too.

Merged to master and 3.0 - thanks @paulidale and @t8m for the swift reviews.


Update CI to run only against master

The pipeline is running twice for PRs. This fixes it.

Codecov Report

Merging #37 (f1d0ff7) into master (91c9783) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   86.20%   86.20%
=======================================
  Files           7        7
  Lines         145      145
=======================================
  Hits          125      125
  Misses         20       20

Continue to review full report at Codecov.

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


Rebuild for alsa and harfbuzz 8

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #36.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

linux_logs_.zip

skipping osx and windows since they aren't affected.


Contexts for TrialReach events

I need to add a couple of contexts to augment TrialReach's Snowplow events.

Closing per the support thread, thanks Swanand.


Add debug mode for RequestsWebClient

This will help to find bugs in library.

Better option will be interceptor of webClient – then user can do anything with request.

I have basic solution, but now I must improve this, make more generic, and cover with tests


Pass the list of registries as a keyword argument to the precompile_hook function

Fixes #129

bors merge

bors merge

bors merge


Minor updates to documentation

@tensorflow/micro
System information

Host OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
TensorFlow installed from (source or binary): N/A
Tensorflow version (commit SHA if source): 899fdb415dc970d5bca7d98a7dddf95968ef07c2
Target platform (e.g. Arm Mbed OS, Arduino Nano 33 etc.): N/A

Describe the problem
Some documentation is outdated and needs an update.
The memory mgmt markdown needs an update regarding offline planned tensor allocations.
Please provide the exact sequence of commands/steps when you ran into the problem
N/A

@freddan80,
Looks like PR #48184 has been merged successfully.
Is this still an issue? Please feel free to close the issue if resolved. Thanks!


added: new steps "I.seeEmailAttachment" and "I.seeNumberOfEmailAttachments"

This PR introduces two new steps to enable the test engineer to easily test for existence of email attachments.
I.seeNumberOfEmailAttachments(1)
I.seeEmailAttachment('example.pdf')

Closed this PR in favor of more clean PR : https://github.com/codeceptjs/mailslurp-helper/pull/22


TrueType node order is weird

Acceptance tests are failing for PathOrder.ufo because I haven't quite worked out the order that nodes should be stored in the glyf table. It works fine except where there is a curve at the start or the end.
If anyone else (@madig) would like to investigate this while I'm away for the next couple of weeks: the node list from the source files is loaded by babelfont-rs, then converted into kurbo curves in babelfont::Path, then the cubics are converted to quadratics in the top half of fonticulus::glyph::babelfont_contours_to_glyf_contours, and the second half rearranges from Kurbo curves into truetype glyf nodes. I'm not sure initial conversion to kurbo curves is correct - the initial move command looks weird - and I'm not sure the final rearrangement into glyf nodes is correct either.
But PathOrder.ufo should be a good and pretty thorough test case. Run PYTHONPATH=Lib pytest test/harness.py -k PathOrder to see what's going on.

The general idea to handle nodes it to look for the last oncurve node in the list and use that as the initial moveTo.

OK. I have now got Glyphs files working, but the Glyphs node order and UFO node order is different. Glyphs stores the oncurve node last, UFO stores it first. Your suggestion of finding the last oncurve and rotating is what the Norad code - designed to work with UFO files - does, and fonticulus stole that code. The weird, weird thing, is that this approach works fine on Glyphs paths, but does not work for UFO paths!


v3/user

Thank you for taking the time to help us improve our documentation! Please describe the problem and a suggested fix below and we'll get back to you as soon as we can. --DevRel
the error 'x-redlock-status': '[{"severity":"error","i18nKey":"wrong_email_format"}] is received
trying to create new user via rest API
the email is valid

@HackersEYE-CA - Will work with Engineering to check this and get back to you.


feat: Adding Commit RPC Trace instrumentation

Added end-to-end test for Datastore operationsput, add, update and delete.
Updated E2E Test to use the namespace correctly for efficient clean-up of test data

Fixes #1428  ☕

Abandoning this PR - will send another one.


Chrome: Label 'for' attribute mismatch with form field IDs in URadioGroup

Environment
@nuxt/ui-pro

Operating System: Darwin
Node Version:     v20.1.0
Nuxt Version:     3.13.0
CLI Version:      3.13.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      extends, modules, hooks, components, ui, colorMode, routeRules, devtools, typescript, future, eslint, compatibilityDate
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.18.?
Reproduction
no reproduction
Description
When using URadioGroup, Google Chrome reports: 'The label's for attribute doesn't match any element id.' This warning indicates that accessibility features and form autofill may not work as intended due to mismatched or missing for and id attributes in form labels and input elements.
The label's for attribute doesn't match any element id
<script setup lang="ts">
const options = [
  { label: 'Option 1', value: 'option-1' },
  { label: 'Option 2', value: 'option-2' }
]

const state = reactive({
  radioGroup: undefined
})
</script>

<template>
  <UForm>
    <UFormGroup
      name="radioGroup"
      label="Option"
    >
      <URadioGroup
        v-model="state.radioGroup"
        :options="options"
      />
    </UFormGroup>
  </UForm>
</template>

Additional context
No response
Logs
No response

Thanks! I submitted a PR to remove the for="..." attribute when a FormGroup is used with a RadioGroup since it can't be bound to an specific input in this case.


Custom Attributes causing findUsers query to error

I believe there is an issue when using the attributes options to try and define what attributes the function should return.  Maybe I just have some syntax off here or something but as far as I can tell the below script should work.
Using the below script to return results from findUsers (only with my ldap details entered) the result returns:

ERROR: {}
Authenticated!

If i remove the 'attributes' array from the config options it works perfectly and returns the users info.  I am trying to return lastLogonTimestamp for a script.
var ActiveDirectory = require('activedirectory');

var ad = new ActiveDirectory({
    url: dirUrl,
    baseDN: baseDN,
    username: username,
    password: password,
    attributes: {
        user: [ 'sAMAccountName' ],
        group: [ 'objectCategory' ]
    }
});

ad.authenticate(username, password, function (err, auth) {
    if (err) {
        console.log('ERROR: ' + JSON.stringify(err));
        return;
    }
    if (auth) {
        console.log('Authenticated!');
    }
    else {
        console.log('Authentication failed!');
    }
});

var query = 'cn=*Chris*';

ad.findUsers(query, true, function (err, users) {
    if (err) {
        console.log('ERROR: ' + JSON.stringify(err));
        return;
    }

    if ((!users) || (users.length == 0)) console.log('No users found.');
    else {
        console.log('findUsers: ' + JSON.stringify(users));
    }
});

Node.js is asynchronous. The ad.authenticate() method will start the execution and pass in a callback to get invoked "after" work has been completed. The main thread continues processing the next line without waiting for the previous call to come back.
I'm not sure why you have an authenticate() followed by a findUsers(). What are you trying to accomplish / do?

Yes, I realize that and I only had that there for testing initially to confirm it was authenticating and just forgot to remove it.  Even if I remove ad.authenticate I still receive the same result as in my original post.
If I change the code to this it does pull back all attributes but it does it for all users.  Is there a way to use a query inside of the opts parameter?
var ActiveDirectory = require('activedirectory');

var ad = new ActiveDirectory({
    url: dirUrl,
    baseDN: baseDN,
    username: username,
    password: password
});

var opts = {
    attributes: [ '*' ],
};

ad.findUsers(opts, true, function (err, users) {
    if (err) {
        console.log('ERROR: ' + JSON.stringify(err));
        return;
    }

    if ((!users) || (users.length == 0)) console.log('No users found.');
    else {
        console.log('findUsers: ' + JSON.stringify(users));
        console.log(users[0].lastLogonTimeStamp);
    }
});

There are some required attributes that MUST be included, especially when requesting that groups are returned. This should be handled internally but automatically appending those necessary attributes in if they are omitted. I'm going to guess those attributes aren't getting updated correctly.
Please enable logging and inspect the operation / results:
Enable Logging
To see more details about what is going on, you can also enable logging within your AD configuration object which can then be piped through the bunyan utility.
var config = {
  url: 'ldap://dc.domain.com',
  baseDN: 'dc=domain,dc=com',
  username<EMAIL_ADDRESS>  password: 'searchuser-password',
  logging: {
    name: 'ActiveDirectory',
    streams: [
      { level: 'error',
        stream: process.stdout }
    ]
  }
};
var ad = new ActiveDirectory(config);

And then to parse the log output, you'll pipe the output through bunyan:
node yourfile.js | bunyan

Thanks for the reply George.  I'll give that a shot and see what the results are.

Ok, setting the boolean value for 'returning group membership' to false resolved the error.  I understand this wasn't an issue with the module but you may want to update the documentation for findUsers.
I've copied the documentation to this post because it does not list or explain what this boolean value does under the arguments section for findUsers .  The only way I found this was by looking deeper in the modules and reading your above post.  It may be helpful for others if it were documented on the front page with the other examples.

findUsers(opts, callback)
Perform a generic search for users that match the specified filter. The default LDAP filter for users is specified as (&(|(objectClass=user)(objectClass=person))(!(objectClass=computer))(!(objectClass=group)))
Arguments
opts - Optional parameters to extend or override functionality. See optional parameters. If only a string is provided, then the string is assumed to be an LDAP filter that will be appended as the last parameter in the default LDAP filter.
callback - The callback to execute when completed. callback(err: {Object}, users: {Array[User]})
Example

var query = 'cn=*George*';

var ad = new ActiveDirectory(config);
ad.findUsers(query, true, function(err, users) {
  if (err) {
    console.log('ERROR: ' +JSON.stringify(err));
    return;
  }

  if ((! users) || (users.length == 0)) console.log('No users found.');
  else {
    console.log('findUsers: '+JSON.stringify(users));
  }
});

Thank you for your help and time George.

The "true" parameter is a left over from an older version of the API that was deprecated. Thanks for pointing out the documentation inconsistency.


Supplying Servicenow API key along with Set-ServiceNowAuth

Great work and I'm looking at using this in my environment for incident automation especially.  In order to interface with Servicenow in my environment an API key in the header info is required.
Would it be possible to provide a way to input this as an optional parameter/argument as part of the Set-ServiceNowAuth?

PR #83 has been submitted dealing with OAuth support.  Please check it out to provide feedback as we work on reviewing it for merging.


Markdown include is not expanded

https://cloud.yandex.com/en-ru/docs/ydb/concepts/databases

Thank you, the problem is solved.


Can we add Make function to package stub?

https://github.com/goravel/framework/blob/634b3a1e33432edda950502d3c54cf396239f9fd/foundation/console/package_make_command_stubs.go#L27-L51
func Make() contracts.DummyCamelName {
	instance, err := App.Make(Binding)

	if err != nil {
		return nil
	}

	return instance.(contracts.DummyCamelName )
}

I'm not sure if this is a good idea. Is there an easier way to get service from within the app?

Yes, you can do it in your package.


Cannot upload videos

Using multer-storage-clounidary i am unable to upload videos on cloudinary.

Any updates?


Azure Functions: Exception: (jupyter) NoSuchKernel: No such kernel named iqsharp

As the first step in my project, I'm trying to run the Q# HelloWorld sample to verify that I have basic Q# functionality in my Azure Function running in a docker container with linux on Azure. (While I'm not new to Q#, this is the first time I've used Azure Functions so the chance for user error is high.)
Running in Azure, when MyHttpTrigger is called an exception is thrown when jupyter cannot find the iqsharp kernel:
Exception: NoSuchKernel: No such kernel named iqsharp
...
 File "/home/site/wwwroot/MyHttpTrigger/__init__.py", line 3, in <module>
    import qsharp
 File "/usr/local/lib/python3.7/site-packages/qsharp/__init__.py", line 119, in <module>
    client = _start_client()
  File "/usr/local/lib/python3.7/site-packages/qsharp/clients/__init__.py", line 28, in _start_client
    client.start()
...

Expected behavior
It is expected that the qsharp initialization would succeed.  Perhaps I don't have an ENV var set correctly?
dockerfile
This is the dockerfile used to build the docker image.
FROM mcr.microsoft.com/quantum/iqsharp-base:latest

USER root
RUN dotnet iqsharp install

FROM mcr.microsoft.com/azure-functions/python:2.0-python3.7

COPY requirements.txt /
RUN pip install -r /requirements.txt

When RUN dotnet iqsharp install is executed above during docker build, this message is displayed:
[InstallKernelSpec] Installed kernelspec iqsharp in /usr/local/share/jupyter/kernels/iqsharp
I verified that the iqsharp kernel is indeed in /usr/local/share/jupyter/kernels/ I had to use USER root prior to the call because previously I was getting access denied when running dotnet iqsharp install.
Thanks for your help.

I think this may be a docker creation problem. I've updated the Dockerfile, but still have the same problem as described in the OP.
FROM mcr.microsoft.com/quantum/iqsharp-base:latest AS builder

USER root
RUN mkdir -p /usr/local/share/jupyter/kernels
RUN dotnet iqsharp install

FROM mcr.microsoft.com/azure-functions/python:2.0-python3.7

COPY requirements.txt /
RUN pip install -r /requirements.txt

COPY --from=builder /usr/local/share/jupyter /etc/jupyter/

ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
    AzureFunctionsJobHost__Logging__Console__IsEnabled=true
ENV AzureWebJobsStorage="redacted"

COPY . /home/site/wwwroot

This appears to be my error. I need to bring more of iqsharp-base into the final docker image, I think.