[jTDS] data column returns as  [ClobImpl]

Hello, Devs.
I'm experiencing problems with selecting text columns (varchar, ntext, xml) on last build. Data returns as [ClobImpl]
Test query: select top 1 column  from table
Returns: [ClobImpl]
Casting column as it's type helps.
Test query: select top 1 cast(column as varchar)  from table
Returns: Column Data
Dbeaver -   <IP_ADDRESS>811181655 (19 November 2018)
Package - 64bit RPM
jtds -  Tried 1.3.1 and 1.2.6

Duplicate of #4656

This issue has resurfaced in Version <IP_ADDRESS>008170457 Mac (DMG download).  The first batch of results look normal (JSON). The next batch of results (scroll down) turns everything into ClobImpl. Shall I open a new issue?


Vineyard data source and sink.

What do these changes do?
Mars use vineyard as datasource and data sink. The source code has already been cleaned up.
Related issue number
Resolves #1001

This PR is ready for review. Details that the reviewer needs attention from reviewers are:

this PR is compatible with the plasma-based design, as you can see in CI, all tests works.
an option vineyard.socket is added
this PR do some hacks in operation schedulering and fusion, includes:

in the fusion part, operands that have an expect_worker attribute  won't be fused
in the assignment part, vineyard ops that has expect_worker attribute will be scheduled with respecting its expect_worker, even when the op has inputs.

the codacy complaints about the pickle related things but seems noqa doesn't work.

CI is green 😆

CI is green again!

Thanks for merging!


Some minor JS cleanup (with Prettier)

prettier --single-quote  --trailing-comma --write assets/js/app/editor/Components/**/*

one step at a time! :-)


elinks: 0.14.0 -> 0.14.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/rkd77/felinks/releases.
meta.description for elinks is: "Full-featured text-mode web browser (package based on the fork felinks)"
meta.homepage for elinks is: "https://github.com/rkd77/felinks"
meta.changelog for elinks is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/fnc0dp09lwkf73hnv8m1a4jkq2llcmrf-elinks-0.14.1/bin/elinks passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.14.1 with grep in /nix/store/fnc0dp09lwkf73hnv8m1a4jkq2llcmrf-elinks-0.14.1

found 0.14.1 in filename of file in /nix/store/fnc0dp09lwkf73hnv8m1a4jkq2llcmrf-elinks-0.14.1

directory tree listing: https://gist.github.com/2f042e6fa551d9153ddcf49764dc346c

du listing: https://gist.github.com/b84ab51a0703ff8f472162daac626c89

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
elinks

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

elinks

Maintainer pings
cc @iblech @gebner for testing.

Result of nixpkgs-review pr 125029 at 3a4f245d run on x86_64-linux 1

1 package built successfully:

elinks

2 suggestions:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/applications/networking/browsers/elinks/default.nix:57:5:
   |
57 |     license = licenses.gpl2;
   |     ^

warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/applications/networking/browsers/elinks/default.nix:1:33:
  |
1 | { lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, xlibsWrapper, bzip2, zlib
  |                                 ^


Ledger integration

WIP at the moment, submitted to validate the approach.
This adds the following:

Includes cardano-chain in the cabal.project file

Extends Ledger.Abstract with an addition LedgerConfig type, used to
provide static configuration to the ledger update calls.

Adds a new class LedgerConfigView, which must be implemented to allow
extraction of the ledger configuration from the node config for a given
protocol.

Updates the mock ledger to handle these changes.

Includes a new Byron ledger, which calls through to updateBody to update the
chain state.

Closed in favour of #531


Bug fix: check names of ALL files

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Check file names of all files in the target path.
What is the current behavior? (You can also link to an open issue here)
Currently names of empty files and just non-text files are not analyzed.
What is the new behavior (if this is a feature change)?
Analyze names of all files in the target path, but still skip analyzing content of empty files and non-text files.
Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
The linter may detect more violations as all file names are analyzed. If, for some reason, names of some files should not be analyzed, they should be added to the ignore list.
Other information:

Released in https://github.com/get-woke/woke/releases/tag/v0.8.1


Configurably reject multiple simultaneous batches

This makes agent sharing configurable. By default, all new assignments
will be rejected if we still have at least one assignment with at least
one task that is not done or failed.
This also slightly changes the semantics of the /assign endpoint:
The agent will now return 202 ACCEPTED if it is sent an assignment that
is identical to one we already have, but won't internally register and
start a new jobtype for it. There is now no longer a way for a client
to tell the difference between that and a fresh assignment, effectively
making the endpoint idempotent.
This is necessary because 409 CONFLICT is now a hard error that means
the assignment will NOT be executed and that the master will have to
react to. (Usually by finding a new node for the rejected task ids.)

Coverage decreased (-0.31%) to 74.85% when pulling 6d0b48d3dba2a8e931cd7cdca2290fb96b925531 on guidow:configurable_agent_sharing into 2b77af842d48103aaa080ee2e99d2bd1c4cf4e35 on pyfarm:master.

Design looks good, seems like a reasonable change to me.  Had a few code comment though but nothing major.  If you can fix this I don't see any reason this can't merge.

Coverage decreased (-0.31%) to 74.85% when pulling 4e24acf913646c271c9ab2f5500767ee80ad5fb6 on guidow:configurable_agent_sharing into 2b77af842d48103aaa080ee2e99d2bd1c4cf4e35 on pyfarm:master.


Windows - use unordered_map

It complains otherwise.
I've done it here:
https://github.com/mkn/google.sparsehash/blob/master/src/windows/config.h

This script does the include copy/setup for windows if you need it:
https://github.com/mkn/google.sparsehash/blob/master/mkn.bat

Can you be more specific? For a particular version of Visual Studio? Are some _MSC_VER conditionals required? I don't have access to a Windows machine unfortunately, but a tested pull request would be gratefully received :-)

Sure, sorry, it's an error without the define since VS15
error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this
warning.
Unordered map compiles under 12/13, but I can't attest for anything older

Sounds like possibly a #if _MSC_VER>=1900 clause is required, or possibly #if _MSC_VER == 1700?
Either way, a pull request will be accepted :-)

Fixed in 804c039c10af1c7a130422735ef7cbf4a7bf2663


Support Secondary Certificates in IdP Sp connections

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Ping Federate supports the ability for a primary and secondary keypair to be added to a connection. Currently the provider is only supporting management of the primary keypair.
We would like to raise the a feature request for the secondary keypair to be added as a configuration item.

New or Affected Resource(s)

pingfederate_sp_idp_connection

Potential Terraform Configuration

signing_settings {
      algorithm                    = "SHA256withRSA"
      include_cert_in_signature    = true
      include_raw_key_in_signature = false

      signing_key_pair_ref {
        id = pingfederate_keypair_signing.outbound_saml_sign_primary.id
      }
      secondary_signing_key_pair_ref {
        id = pingfederate_keypair_signing.outbound_saml_sign_secondary.id
      }
    }

References

"signingSettings": {
			"signingKeyPairRef": {
				"id": "wdyeihc67mrs6wnzcswi8msri",
				"location": "https://pf_host/pf-admin-api/v1/keyPairs/signing/wdyeihc67mrs6wnzcswi8msri"
			},
			"alternativeSigningKeyPairRefs": [{
				"id": "bwhyjglxcr771hpudmku83ivj",
				"location": "https://pf_host/pf-admin-api/v1/keyPairs/signing/bwhyjglxcr771hpudmku83ivj"
			}],
			"algorithm": "SHA256withRSA",
			"includeCertInSignature": true,
			"includeRawKeyInSignature": false
		}

#0000

This has been released in v0.2.0


Can't use your library

Hi! I'm trying to use your library to convert some BigDecimals to fraction strings, but Android is failing to resolve your implementation, can you help me?

nevermind I was adding the repository on the wrong Gradle xD


Make the nonce a uint64

Current dependencies on/for this PR:

#67  👈
main

This stack of pull requests is managed by Graphite.


refactor(module:i18n,pagination,transfer,upload,modal): fix i18n unable sync

[ ] Date\Time\Calendar nzI18n\Table\Select\Popconfirm
[x] Pagination、Transfer、Upload、Modal
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Hi @cipchk any time to fix the pr?

@vthinkxie
i will need re-submit, closed this.


change default password

Is your feature request related to a problem?
I can't change the default password for paloalto/panhandler
how can I change the default password for the default panhandler?
Describe the solution you'd like
Describe alternatives you've considered

Additional context

found the environment variable in the dockerfile.

Re-opening until we add a note in the docs for this


add indicator to the DeckStatusSummary for worldcup legality

Made this pull from the database (so it isn't hard-coded to just Worldcup) in #93


VCF headers missing 3 things

bcftools  filter -i 'FILTER="PASS"' output.vcf

[E::bcf_hdr_parse_line] Could not parse the header line: "##CommandLine=<MapCaller -i /genome -ad 3 -ploidy 1 -t 16 -vcf raw.vcf -f R1.fq.gz -f2 R2.fq.gz>"

[W::vcf_parse] INFO 'END' is not defined in the header, assuming Type=String

[W::vcf_parse] Contig 'Chromosome' is not defined in the header.

I think you need to remove the < ..... > from the ##CommandLine

Need to add ##INFO=<ID=END definition

Need to add contig headers - can you get them from the -i bwtindex file?

##contig=<ID=contig00001,length=124664>
##contig=<ID=contig0383,length=6243596>

Thank you! I've fixed those errors. (v<IP_ADDRESS>)

Looks good!


rocAL pybind bug fix

Installation was changing for all components. Isloated installation for pybind in this PR

Wrong Branch used to create PR


Appears to block game thread / cause sync issues between game and render thread on 5.4.3

Both when I use this plugin, as well as implement the technique directly from blog post: https://nicholas477.github.io/blog/2023/reading-rt/
I get FrameSyncTime that appears to be a flush of the gpu, the same as when you call RenderTarget->ReadPixels()

let me test this out

Additional research indicates that it probably isn't a full flush. But appears to be hitting the game/render thread sync mechanism intended to prevent the game and render thread from getting too far out of sync.

Where's it hitting that in the plugin code?

I'm not sure if the RHI matter but I tested it out in 5.4.3 on dx12 and I don't see it flushing at all


Seems like the Option is already unavailable, kindly update this page

Hello! I tried following these steps but I can no longer see the' My Issue is Not Listed Above' option under the  'Unable to access my subscription or resource' Problem type. I think it was moved somewhere. Nevertheless, this page should be updated.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2c3ad66f-14bd-bd67-40d2-9b6f29cd633c
Version Independent ID: 922adbe4-fefb-e895-d7dd-42279d24ff66
Content: Region or SKU series unavailable - Azure
Content Source: articles/azure-portal/supportability/sku-series-unavailable.md
Service: azure-supportability
GitHub Login: @stevendotwang
Microsoft Alias: xingwan

Hello @b0malabs - really appreciate the feedback and for bringing this to our notice. We will review with the content owner to see how best to improve and update the document based on your feedback.
@stevendotwang - FYI

Update: @stevendotwang working internally and would update the page with appropriate content. ETA - 8/15. #please-close

Update: This is the support document that is current and maintained by our support team. Whoever have issues, please follow it. We will work on our end to update our process to point customers to this support doc instead.


D2IQ-67954 Add mypy to dc/os integration tests

High-level description
Add mypy to dc/os integration tests.
Corresponding DC/OS tickets (required)

D2IQ-67954 Add mypy to dc/os integration tests.

Related tickets (optional)

D2IQ-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot request-review  @DominikDary

@mesosphere-mergebot request-review  @jongiddy

@jeschkies and @jongiddy all changes applied all checks passed could you please re review?

@mesosphere-mergebot changelog-not-required test code only

Thanks for the update. I still see a lot of Any type annotations or # type ignore. I am not sure if it's worthwhile following all types, though.

There are still a lot of Any data types, but task was about Add mypy to dc/os integration tests. We can create another task about replace all Any data types for this directory in a future if You do not mind.


Fixed issue 442

I added field clusters as follows to the url: "id|field|field|field|etc,id|field|field|field"
IF the id exists in collectionConfig.getMetadataFieldCategories(), then that object gets added. If not exists (thus the cluster is a custom added one): a cluster with the label as the id gets added.
Together with #441 this one makes the url potentially very long if lots of fields are added.

dropping this PR & branch, since I now implemented this entirely differently (the single search now either reads queries from the localStorage or the URL param queryId)


refactor: refactor to disk space error while backing up

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches
[x] Refactor

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?

Codecov Report
Attention: 920 lines in your changes are missing coverage. Please review.

Comparison is base (3604a24) 39.71% compared to head (edfade4) 36.83%.
Report is 226 commits behind head on main.

Files
Patch %
Lines

...phere-operator/pkg/controllers/chaos_controller.go
0.00%
276 Missing :warning:

...perator/pkg/controllers/storage_node_controller.go
26.58%
96 Missing and 20 partials :warning:

...operator/pkg/controllers/auto_scaler_controller.go
0.00%
89 Missing :warning:

pitr/agent/internal/pkg/opengauss.go
6.52%
86 Missing :warning:

pitr/cli/internal/cmd/delete.go
67.45%
43 Missing and 12 partials :warning:

pitr/cli/pkg/prettyoutput/progress.go
8.51%
43 Missing :warning:

pitr/cli/internal/pkg/local-storage.go
11.11%
37 Missing and 3 partials :warning:

...ator/cmd/shardingsphere-operator/manager/option.go
6.06%
31 Missing :warning:

pitr/cli/internal/cmd/backup.go
74.78%
28 Missing and 2 partials :warning:

pitr/cli/internal/cmd/common.go
77.77%
16 Missing and 8 partials :warning:

... and 12 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #474      +/-   ##
==========================================
- Coverage   39.71%   36.83%   -2.89%
==========================================
  Files          51       60       +9
  Lines        6083     6942     +859
==========================================
+ Hits         2416     2557     +141
- Misses       3448     4139     +691
- Partials      219      246      +27

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


Feature request: add an option to generate CSV output for logging internet performance from a cron job

I would like to see an option to generate CSV output which could be appended to a text file from cron.

You'll find two commits in https://github.com/lemmy04/speedtest-cli that implement this.
I'm new to python so please look them over and "make them right" if there's any bad shit in it.

This has already been added in the modularize-2 branch that will become the the next major release.

..any ETA on that release?


Make Python testing predictable again

This reorganizes the Python code, scraps the current testing
infrastructure, and implements a simple test discovery and run script
based on the standard Python unittest library so we can trust that our
tests are running.
It still needs some clean-up (and a way to capture stdout/stderr that works with the C extension); for now this is just to see how Jenkins feels about the report.xml.
fixes #3902 (and adds coverage for Cython, which for whatever reason I could never get to work with py.test)
EDIT: I'll also need to update the docker images, methinks...

And for some reason Jenkins appears to be running an older version of the run_python.sh script than the one in this PR. Hmm.

Clearly I need to do the output capturing so we don't always get timed-out on Jenkins from the sheer amount of output that happens when GRPC_TRACE=api is set... Also maybe add a grace period to jobset.py's JobSpec such that processes are sent a SIGINT first then a SIGTERM a little after (giving scripts a chance to print out what's still in flight).

Latest commit is just me looking for Jenkins finishing the run without timing out; it runs all the cases in forked processes with duplicated FDs to force the output somewhere else. It doesn't keep track of failures at the moment; again, just looking for Jenkins not timing out.

(Reassign back to me when you would like this reviewed.)

Still need to edit (refactor?) this function in run_interop_tests.py to respect the internal composition of command line flags per language...

cc @jtattermusch for changes in run_interop_tests.py.

This PR is going to be a sad panda after #4228 goes through and the release-0_12 branch is merged back into master.

Due to the merging of #4269 onto release-0_12, this PR is utterly poisonous (due to commit 0518f83) until it can be rebased against an release-0_12-upmerged master.

Closing in favor of working against release-0_12.


More details about the security model and use cases?

Hi 👋 ! Thanks for the plugin! I am not 100% sure when it should be used though.
Secrets like apiKeys are typically super hard (if not impossible) to secure in an app that is shipped to thousands of people. Someone could disassemble the apk and get the apiKeys from the bytecode.
Not having the secrets in source control is nice but ultimately, devs will need an apiKey to work, which means the secrets will be stored on their machine. And the CI would need it as well, which means most of the places where the repository will be cloned will most likely contain the secret.
The use cases I can think of are:

open source projects where users will need to create other resources/apiKeys if they clone.
not trusting Github (or any other host) with secrets (but that seems overkill given the secrets will be in the wild anyways).

Are there other use cases?
In all cases, I think a disclaimer about the apiKeys being easily extractable from the final app would be nice.

Hi @martinbonnin, thanks for the feedback and questions. The underlying idea behind the plugin is that your keys should be kept a secret as much as possible and not be easily visible in your source code which is perhaps the easiest way to find keys. As you pointed out, while this plugin does keep keys out of version control, keys are still recoverable by decompiling an APK. I will add as a disclaimer to the README about this.
As far as use cases go, I think you've captured it. This plugin came to be out of necessity while developing Android samples for the Maps SDK and Places SDK wherein developers downloading the sample app need to insert their own API key (which falls under the 1st use case you mentioned).

Thanks for the explanations 🙏

Hi @martinbonnin, thanks for the feedback and questions. The underlying idea behind the plugin is that your keys should be kept a secret as much as possible and not be easily visible in your source code, which is perhaps the easiest way to find keys. As you pointed out, while this plugin does keep keys out of version control, keys are still recoverable by decompiling an APK. So, securing your key using other measures is still necessary. For example, with a Google Maps Platform API key you can add application restrictions so the key can only be used within the context of your app. I will add as a disclaimer to the README about this.
As far as use cases go, I think you've captured it. This plugin came to be out of necessity while developing Android samples for the Maps SDK and Places SDK wherein developers downloading the sample app need to insert their own API key (which falls under the 1st use case you mentioned). In my opinion, even for private Git repos, API keys should still be hidden from Git history, but that's perhaps more of a philosophical opinion. For the sake of drawing an analogy, if your API key is the key to your front door, even though most locks can be picked, you still won't leave your keys out in the open.

How can decompiling the APK help you discover the API keys if the properties file is not compiled into the APK via gitignore? Are you implying the values can be extracted from the variables that call them by recoding a cloned version? Is it really so simple to get the API key values from code using this library?

if the properties file is not compiled into the APK via gitignore

Compilation has nothing to do with gitignore. Gitignore is about not pushing your file to GitHub (or any other host). Your file will still be compiled into the APK or app bundle you upload to the Google play.


Problem with Get-TssFolderPermissionStub tests

Describe the bug
Running tests end with Invalid URI exception
To Reproduce
Steps to reproduce the behavior:

PowerShell script:

 Invoke-Pester -Path .\tests\folder-permissions\

Error/issue observed:

Starting discovery in 1 files.
System.UriFormatException: Invalid URI: The hostname could not be parsed.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.CheckProtocol(Uri uri)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.PrepareUri(Uri uri)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetRequest(Uri uri)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
at Invoke-RestApi<Process>, C:\Projects\GitHub\thycotic.secretserver\src\functions\Invoke-RestApi.ps1: line 131
at <ScriptBlock>, C:\Projects\GitHub\thycotic.secretserver\tests\folder-permissions\Get-TssFolderPermissionsStub.Tests.ps1: line 34

Cause
It seems, that problem is in:
https://github.com/thycotic-ps/thycotic.secretserver/blob/23b93afacf47312c8c3d2f20104a617f790f4bc7/tests/folder-permissions/Get-TssFolderPermissionsStub.Tests.ps1#L30
Replacing $ssv3 with $ss resolves the problem
Name                           Value
----                           -----
PSVersion                      7.1.2
PSEdition                      Core
GitCommitId                    7.1.2
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Host information:
[ ] Powershell.exe
[x] pwsh.exe
[ ] PowerShell ISE
[ ] VS Code (Insiders/Stable)
Additional context
Add any other context about the problem here.

This is resolved and will be pushed up to the repository by this afternoon.

Fixed in  7eeb8d8
https://github.com/thycotic-ps/thycotic.secretserver/blob/7eeb8d87783833502c1e47650f66e611df71aae1/tests/folder-permissions/Get-TssFolderPermissionsStub.Tests.ps1#L36


EnvoyProxy Bootstrap configuration can't merge a list

I would like to change the value of envoy.restart_features.use_eds_cache_for_ads to false using this EnvoyProxy CR:
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
  name: custom-proxy-config
  namespace: envoy-gateway-system
spec:
  bootstrap:
    type: Merge
    value: |
      layered_runtime:
        layers:
        - name: global_config
          staticLayer:
            envoy.restart_features.use_eds_cache_for_ads: false

Got two global_config keys in the bootstrap configuration.
layeredRuntime:
  layers:
  - name: global_config
    staticLayer:
      envoy.restart_features.use_eds_cache_for_ads: true
      re2.max_program_size.error_level:<PHONE_NUMBER>
      re2.max_program_size.warn_level: 1000
  - name: global_config
    staticLayer:
      envoy.restart_features.use_eds_cache_for_ads: false

Instead, the expected result should be :
layeredRuntime:
  layers:
  - name: global_config
     staticLayer:
      envoy.restart_features.use_eds_cache_for_ads: false
      re2.max_program_size.error_level:<PHONE_NUMBER>
      re2.max_program_size.warn_level: 1000

this's an known issue with proto merge.

@zirain Is it possible to implement something similar to “strategicMerge” for proto mrge?

@zirain Is it possible to implement something similar to “strategicMerge” for proto merge?

I never take a deep look at it, in the pase, we suggestion to use Replace.

Would adding support for JSONPatch be a viable option here?
The API would change to be:
// ProxyBootstrap defines Envoy Bootstrap configuration.
type ProxyBootstrap struct {
	// Type is the type of the bootstrap configuration, it should be either Replace, Merge, or JSONPatch.
	// If unspecified, it defaults to Replace.
	// +optional
	// +kubebuilder:default=Replace
	Type *BootstrapType `json:"type"`

	// Value is a YAML string of the bootstrap for the Merge and Replace types
	Value string `json:"value,omitempty"`

        // JSONPatches contains the patches that should be used if the type is JSONPatch
        JSONPatches []JSONPatch `json:"jsonPatches,omitempty"`
}

type JSONPatch struct {
    Op    JSONPatchOperationType                   `json:"op"`
    Path  string                                   `json:"path"`
    From  string                                   `json:"from,omitempty"`
    Value string                                   `json:"value,omitempty"`
}

+1 to the idea of using JSONPatch here @liorokman !
can we reuse the Type field too (user needs to set it to JSONPatch)?

can we reuse the Type field too (user needs to set it to JSONPatch)?

Yes, the Type field would become a discriminator, to choose between the Value or JSONPatches fields.


Make @cached_property generic over the return type

fixes #2113

Checklist:

[ ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ ] Add or update relevant docs, in the docs folder and in code.
[ ] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[ ] Add .. versionchanged:: entries in any relevant code docs.
[ ] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

The first two items should not be relevant for this PR, I am unsure about the middle two items.

Please rebase this onto the "2.0.x" branch, since it's a typing change it seems fine for a point release.

Closing, will reopen a new PR against the 2.0.x branch.


Implement low-level Qspi

@twitchyliquid64 this should be enough to get started.

There are some safety issues in this as it stands, the functions should probably check that the commands sent to it can be performed in the given modes.

I tried to build it as is, and I get a red flashing led so indeed were not reading what were writing.
I have a salea here, and it seems theres a qspi analyzer someone wrote
https://github.com/YADRO-KNS/saleae_qspi/tree/extra_commands
Ill let you know what I see, but feel free to give any pointers or ideas what you were going to do next
Further i see this no_std fat12 library in crates, not sure if that was around last time you looked
https://github.com/rafalh/rust-fatfs

One interesting fact, the chip does response with correct ids.. but during debug only not during release.
Im working on pygamer, samd51 if it matters, GD25Q64C
    let mut read_buf = [0u8; 3];
    // #define GD25Q64C                                                               \
    // .manufacturer_id = 0xc8,.memory_type = 0x40, .capacity = 0x17,                                     \
    // $1 = [23, 64, 200]
    let dev_buf = [0x17, 0x40, 0xc8];
    qspi.read_command(Command::ReadId, &mut read_buf).unwrap();
    if read_buf != dev_buf {
        loop {
            red_led.set_high().unwrap();
            delay.delay_ms(100u8);
            red_led.set_low().unwrap();
            delay.delay_ms(100u8);
        }
    }

debug doesnt make the existing read/ write work though so no gain there

Yeah it will need some heavy debugging I think.

Just wanted to say I am, occasionally, working on this. This upstream work is mostly working, I needed to add while waits on some status bits mainly. Though I have to say I  really dislike the command enum pattern.
I have actually mostly gotten data back over the wire in quad mode, but its had like the first bit corrupted so still some weirdness.
My branch is here.
https://github.com/jacobrosenthal/atsamd/commits/qspi

I'm not particularly attached to the way it's written if you want to change it.


Add the support to pass parameters needed by the estimator during fitting

Hi,
First of all, thanks for this great library! While trying to use it, I noticed that the fit methods of both GASearchCV and GAFeatureSelectionCV don't accept fit_params that may be needed by the estimator. I have updated the methods to accept this parameters so that users can pass parameters need for fitting the estimator.

Hi @Habush, thanks I think this can be useful
I'd just ask if you can add a couple of tests on the sklearn_genetic/test folder (in the two files in there), this is to make sure it doesn't break anything from the past and that the Github actions with automatic tests don't fail because of low tests coverage

Just as a side note, this will be removed as it's not neccesary to use the fit_params parameter, you can pass directly this to a pipeline object in case you're using it, or if you need a specify and fixed set of parameters for the estimator, this can be done when initializing the estimator


TensorFlow 2.0 API change

TensorFlow 2.0 have significantly changed their API. tensorflow.compat.v1 must be used to make legacy code work.
However this module only appears in latest versions of TensorFlow. And we want to keep NNI compatible with "stable" platforms.
Let's discuss a solution.
An example approach (does not work if user wants to use tf 2.0 features):
try:
    import tensorflow as tf
    import tensorflow.compat.v1 as tf
    tf.disable_v2_behavior()
except (ModuleNotFoundError, AttributeError):
    pass

@liuzhe-lz can we close this issue now?

This is only partially done.
For example our docker image is still using TF 1.10.

won't fix, is not needed.


Add visualization to show loan distribution

Additionally, it should be possible to see how much more user can borrow.

Added view:


Receiving get methods undefined error on maven import

Describe the bug
Receiving error messages for few get methods(getDriver, getTargetBrowserName) undefined in DriverFactory helper class in with the latest master branch & latest tagged branch cloned on Jan 08, 2023.  I also do not see these methods present in the code.
To Reproduce
Steps to reproduce the behavior:

Download the code
Import as maven project in Eclipse 2020-06
Env: OpenJDK 14, maven 3.6.3
See error

Expected behavior
Error should not be there if working code
Screenshots
See the pictures.
Desktop (please complete the following information):

OS: Windows 11

Additional context
Just importing as maven project is showing this er

Hello @netmatez
Please note that you're importing the core Engine project. You should only do this if you're objective is to contribute to SHAFT itself.
If you're trying to use the engine then we highly recommend following the steps in our readme.md
Regarding these errors, these are expected to happen on the dev branches for the coming month while we implement a certain major change, and we're handling these issues and still managing to execute all of our tests successfully from Github actions to test against all three major OSs and browser engines.


Using IHtmlEncoder to encode content

Fixes: https://github.com/aspnet/Diagnostics/issues/89
@GrabYourPitchforks @Tratcher

/CC @muratg

:shipit:, with one comment. Consider using the IServiceProvider.GetHtmlEncoder() extension method instead of calling GetRequiredService. It will give you a default encoder instance if one hasn't already been registered in the service provider. One benefit of this is that it doesn't punish developers who forget to call AddDiagnostics.

One other comment: the namespace Microsoft.AspNet.WebUtilities.Encoders has been renamed to Microsoft.Framework.WebEncoders. You'll need to update before you merge.

I'm not so sure about this change. Adding the encoder shouldn't be required by these packages. The razor pages are used as an implementation detail and the app code shoudn't have to provide an encoder for the error page to work.
We should use the static version in the razor pages in these packages.

The general idea is that if you have an instance of an IServiceProvider, you can call the GetHtmlEncoder() extension method, and it is guaranteed to return non-null. (It returns HtmlEncoder.Default if nothing is available in the service provider.) If you don't have access to an IServiceProvider instance, just use the HtmlEncoder.Default static singleton. The API should be easy to consume both in the DI case and in the non-DI case; there's no need for contortions.

:watch:

@GrabYourPitchforks updated PR.

:shipit:


Add **/*.wasm?module as a default module rule

What this PR solves / how to test:
Associated docs issues/PR:

https://github.com/cloudflare/cloudflare-docs/pull/7750

Author has included the following, where applicable:

[ ] Tests
[x] Changeset

Reviewer has performed the following, where applicable:

[ ] Checked for inclusion of relevant tests
[ ] Checked for inclusion of a relevant changeset
[ ] Checked for creation of associated docs updates
[ ] Manually pulled down the changes and spot-tested

Fixes # [insert issue number].

As discussed offline, we feel comfortable that adding this feature will not unduly constrain Wrangler in the future:

it only adds an import that currently would cause a deployment to crash
the semantic of this import is unlikely to change in the future
if it does the user will be able to override it, initially, via a custom rule in the Worker config - and by this time, hopefully, Pages projects will also support being configured in the same way
if the general meaning of this import changes in a way that we would want to change the default, we could do this using the standard deprecation and major version bump breaking change process that Wrangler already uses.

I can see we have tests/fixtures for *.wasm, should we also add some for *.wasm?module?
(maybe not, just asking 🙂)


[Compute] AZ, Vmss rolling upgrade, Vmss patch and Vm instance view APIs

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Hi @hyonholee - There are model validation failures https://travis-ci.org/Azure/azure-rest-api-specs/jobs/278746508#L625. Can you please fix that? Either the examples are wrong or the spec is incorrect.

@anuchandy - Please review.

@hyonholee - Looks like there is an incorrect json in one of the examples edited by you. https://travis-ci.org/Azure/azure-rest-api-specs/jobs/279629634#L680

No modification for AutorestCI/azure-sdk-for-node

 https://github.com/Azure/azure-sdk-for-ruby/pull/999

 https://github.com/Azure/azure-sdk-for-python/pull/1476


SystemError:  returned a result with an exception set

nuitka --version
1.7.9
Commercial: None
Python: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Flavor: Debian Python
Executable: /usr/bin/python3
OS: Linux
Arch: x86_64
Distribution: Ubuntu (based on Debian) 22.04.3
Version C compiler: /usr/bin/gcc (gcc).

How did you install Nuitka and Python
pip
Trying to compile RVC but I get this error on runtime and I was wondering if anyone knew how to fix this :)
TypeError: bases must be types

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/example.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/rvc/modules/vc/modules.py", line 21, in <module rvc.modules.vc.modules>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/rvc/modules/vc/utils.py", line 3, in <module rvc.modules.vc.utils>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/fairseq/__init__.py", line 21, in <module fairseq>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/fairseq/logging/progress_bar.py", line 407, in <module fairseq.logging.progress_bar>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/torch/utils/tensorboard/__init__.py", line 12, in <module torch.utils.tensorboard>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/torch/utils/tensorboard/writer.py", line 12, in <module torch.utils.tensorboard.writer>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/tensorboard/compat/proto/event_pb2.py", line 6, in <module tensorboard.compat.proto.event_pb2>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/google/protobuf/descriptor.py", line 40, in <module google.protobuf.descriptor>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/media/reaktor/GithubRepos/Retrieval-based-Voice-Conversion/example.dist/google/protobuf/internal/api_implementation.py", line 104, in <module google.protobuf.internal.api_implementation>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
SystemError: <built-in function __import__> returned a result with an exception set

I'm not sure where or how to write an example that would output this error so I hope this is enough.
Provide in your issue the Nuitka options used
nuitka --standalone main.py

can you show us the code you tried to compile?

Just found the line that causes issues just try and import this.
from fairseq import checkpoint_utils

can you update to the latest nuitka version and try again?

@KevinRodriguez777 I think this is a direct delete, at least closing for lack of feedback and marking it as invalid


fix used space in df

After we change the frsize to 4K, the bsize is still 64K, and we use bsize to calculate the blocks, but df use frsize to calculate the used space in Linux.
This PR change both to 4K.

Codecov Report

Merging #1071 (104d345) into main (49a6de5) will decrease coverage by 0.04%.
The diff coverage is 22.22%.

@@             Coverage Diff              @@
##               main    #1071      +/-   ##
============================================
- Coverage     50.76%   50.72%   -0.05%
  Complexity      149      149
============================================
  Files           147      147
  Lines         23264    23261       -3
  Branches        422      422
============================================
- Hits          11811    11798      -13
- Misses        10046    10054       +8
- Partials       1407     1409       +2

Impacted Files
Coverage Δ

pkg/fuse/fuse.go
30.22% <0.00%> (-0.20%)
:arrow_down:

pkg/meta/base.go
86.00% <ø> (-0.04%)
:arrow_down:

pkg/vfs/vfs_unix.go
98.87% <100.00%> (-0.03%)
:arrow_down:

pkg/vfs/reader.go
76.45% <0.00%> (-3.11%)
:arrow_down:

pkg/meta/tkv.go
76.25% <0.00%> (+0.53%)
:arrow_up:

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 5e5e543...104d345. Read the comment docs.


Hey guys! Where is<EMAIL_ADDRESS>change logs?

I think release notes from the last version or two are missing, but it's there's only about 13 commits between the last documented one and now, so it's pretty easy to just skim the changes yourself if you're curious!
https://github.com/react-dnd/react-dnd/compare/v14.0.3...main


Updates to swift 4

Updates .swift-version, .travis.yml, and package.swift to swift 4.0

Codecov Report

Merging #48 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   50.51%   50.51%
=======================================
  Files           1        1
  Lines          97       97
=======================================
  Hits           49       49
  Misses         48       48

Flag
Coverage Δ

#CloudFoundryDeploymentTracker
50.51% <ø> (ø)
:arrow_up:

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 59d047b...08c82a2. Read the comment docs.


Won't Import From UNC Path

Steps to Reproduce
Import-Module '\\someuncpath\Modules\dbatools\dbatools.psm1'

Expected Behavior
Module works as advertised.
Actual Behavior
Module fails to import with "The given path's format is not supported." errors.
@FriedrichWeinmann and I ran across this issue with PSFramework as well. When using Resolve-Path it's necessary to look at the ProviderPath property. I was able to resolve this locally by making that change in the dbatools.psm1 and bin\library.ps1 files.
https://github.com/PowershellFrameworkCollective/psframework/issues/227

Why in the world you want to run modules from a network share? Are you actually adding that UNC path to your default modules path for users?

The UNC path is registered in $env:PSModulePath on our servers so we can "deploy" a new version to all of our servers. It's not ideal, but it works (worked).

@wsmelton do you have recommendations on managing PowerShell modules across your server estate?

I would use PowerShell DSC where I am allowed.
You can see example configuration for deploying dbatools module specifically at the bottom end of this MSSQLTips article.


Remove unused crate-type manifest key

While building, I got the following warning:
warning: unused manifest key: package.crate-type

This is because crate-type is not valid for the [package] section. However, it can be used for [lib], [bin] etc.
Since a is already defined in [[bin]] as a binary, specifying the crate-type is unnecessary. So we can simply remove crate-type from Cargo.toml.

Makes sense, thanks a lot!


terragrunt init failed

Describe the bug
Using git bash in  Windows machine and try to do terragrunt init
Expected behavior
It should not fail but get the following,
provider "aws": failed to create .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: open .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: The system cannot find the path specified..
PLUGIN cahce dir defined as:
TF_PLUGIN_CACHE_DIR=c:/Users/louie.kwan/.terraform.d/plugin-cache
Actual behavior
2020/04/14 22:16:57 [DEBUG] installing aws 2.57.0 to .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe from local cache c:\Users\louie.kwan.terraform.d\plugin-cache\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe
Error installing provider "aws": failed to create .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: open .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: The system cannot find the path specified..
Terraform analyses the configuration and state and automatically downloads
plugins for the providers used. However, when attempting to download this
plugin an unexpected error occurred.
This may be caused if for some reason Terraform is unable to reach the
plugin repository. The repository may be unreachable if access is blocked
by a firewall.
If automatic installation is not possible or desirable in your environment,
you may alternatively manually install plugins by downloading a suitable
distribution package and placing the plugin's executable file in the
following directory:
terraform.d/plugins/windows_amd64
Error: failed to create .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: open .terraform\plugins\windows_amd64\terraform-provider-aws_v2.57.0_x4.exe: The system cannot find the path specified.
Additional context
Any help is much appreciated.

This error does not seem to be related to modules.tf project. Please ask Terraform usage related questions in https://discuss.hashicorp.com/ . I am not a Windows expert and can't help with this, sorry.
Closing this issue.


Installed MxNet on Win7 computer, but when I use import mxnet I get an error

Here is the traceback:
Traceback (most recent call last):
File "C:/Users/Andrew/PycharmProjects/NeuralNetwork/example.py", line 1, in
import mxnet as mx
File "C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet__init__.py", line 7, in
from .base import MXNetError
File "C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet\base.py", line 43, in
LIB = load_lib()
File "C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet\base.py", line 35, in load_lib
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "C:\Users\Andrew\Anaconda3\lib\ctypes__init.py", line 429, in LoadLibrary
return self.dlltype(name)
File "C:\Users\Andrew\Anaconda3\lib\ctypes__init.py", line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
libmxnet.dll and libmxnet.lib are in /mxnet/python/mxnet. I was also reading some problems others were having and added it to /pycharmprojects/neuralnetworks as well but had the same result.
Another person had said to edit configurations (Run->Edit Configuration... in PyCharm) of the project and add the location of the dll to the working directory, so I tried that but with no results.
Any help would be appreciated. Thanks!

Make sure your dll file and your Python have the same bit-width. If you are
using the binary distribution, then you are using 64-bit dll, you should
use a 64-bit Python, too.
On Tue, Mar 29, 2016 at 2:37 AM, andychao227<EMAIL_ADDRESS>wrote:

Here is the traceback:
Traceback (most recent call last):
File "C:/Users/Andrew/PycharmProjects/NeuralNetwork/example.py", line 1,
in
import mxnet as mx
File
"C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet__init__.py",
line 7, in
from .base import MXNetError
File
"C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet\base.py",
line 43, in
LIB = load_lib() File
"C:\Users\Andrew\Anaconda3\lib\site-packages\mxnet-0.5.0-py3.4.egg\mxnet\base.py",
line 35, in _load_lib lib = ctypes.cdll.LoadLibrary(lib_path[0]) File
"C:\Users\Andrew\Anaconda3\lib\ctypes__init.py", line 429, in LoadLibrary
return self.
dlltype(name) File "C:\Users\Andrew\Anaconda3\lib\ctypes__init_.py",
line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
libmxnet.dll and libmxnet.lib are in /mxnet/python/mxnet. I was also
reading some problems others were having and added it to
/pycharmprojects/neuralnetworks as well but had the same result.
Another person had said to edit configurations (Run->Edit Configuration...
in PyCharm) of the project and add the location of the dll to the working
directory, so I tried that but with no results.
Any help would be appreciated. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/1740

--
HONG Chuntao
System Research Group
Microsoft Research Asia

Thanks! I'm using Anaconda 3.x and it is the 64 bit version.

Hi, wondering if anyone has any solutions to this issue. Thanks

I have the same problem too...

I change my python version 32bit to 64bit and solved this problem

I am building my own version of mxnet as x64 Release and building libmxnet.dll to the \python\mxnet directory. But the same error occurs when I use the binaries: 20160419_win10_x64_cpu_only or 20160419_win10_x64_gpu.  I run the cmd file and then install python.
I am using Anaconda 3.5 x64.
Some code:
print("Issue:", lib_path[0])

..\python\mxnet\libmxnet.dll
The error:
lib = ctypes.cdll.LoadLibrary(lib_path[0])
File "C:\Anaconda3\lib\ctypes_init_.py", line 425, in LoadLibrary
return self.dlltype(name)
File "C:\Anaconda3\lib\ctypes_init.py", line 347, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

You are probably missing some dlls in your PATH environment.
I solved the problem I had by using
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\dumpbin.exe
to check which dependent dll is missing.

Thanks I will look
Respectfully,
Andrew Weir
Please pardon the brevity, this message was sent from my iPhone.

On May 12, 2016, at 1:53 PM, Freddy Chua<EMAIL_ADDRESS>wrote:
You are probably missing some dlls in your PATH environment.
I solved the problem I had by using
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\dumpbin.exe
to check which dependent dll is missing.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Ok guys the problem is that libmxnet.dll  dependent cudnn64_5.dll, i.e. you need to download not the last 6 version of the cudnn.

I am able to resolve it by putting these dlls into the system PATH
libgcc_s_seh-1.dll
libgfortran-3.dll
libquadmath-0.dll
OpenBlas depends on it but it is not obvious.
Need to check the dependencies using dumpbin.exe
Kim

In case someone else finds this issue to use dumpbin:

Open the Visual Studio developer command prompt
run:

cd Miniconda3\Lib\site-packages\mxnet
dumpbin /dependents libmxnet.dll

I got the error because I didn't have the right version of cuda instal and because I hadn't installed cudnn yet.

pip install numpy==1.15.0
Works


SPARK-18086: Add support for Hive session vars.

What changes were proposed in this pull request?
This adds support for Hive variables:

Makes values set via spark-sql --hivevar name=value accessible
Adds getHiveVar and setHiveVar to the HiveClient interface
Adds a SessionVariables trait for sessions like Hive that support variables (including Hive vars)
Adds SessionVariables support to variable substitution
Adds SessionVariables support to the SET command

How was this patch tested?

Adds a test to all supported Hive versions for accessing Hive variables
Adds HiveVariableSubstitutionSuite

Test build #68004 has started for PR 15738 at commit 8c1b7b4.

How are the session vars different from our configs? Can't we just use that?

The purpose of this is to ensure the same behavior as Hive so users can move to SparkSQL without rewriting queries. That's why I'm trying to keep behavior as close as possible to the behavior of Hive (and Spark 1.6.1).
Session vars are kept in a different namespace, so collisions should not overwrite configs and session vars take precedence in Hive. Because we still use a Hive SessionState and pass some commands to Hive, I thought it was also important to store the hive variables in the session state like Hive would. That way any command that are passed to Hive that have variable references work as well.

Test build #68004 has finished for PR 15738 at commit 8c1b7b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SparkSqlParser(
trait SessionVariables
class VariableSubstitution(conf: SQLConf, sessionVariables: Option[SessionVariables] = None)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68004/
Test PASSed.

Test build #68301 has started for PR 15738 at commit 45a4cee.

Test build #68303 has started for PR 15738 at commit 78a95fa.

Test build #68301 has finished for PR 15738 at commit 45a4cee.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68301/
Test FAILed.

Test build #68303 has finished for PR 15738 at commit 78a95fa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68303/
Test PASSed.

Merged build finished. Test PASSed.

Thanks - merging in master/branch-2.1!

Thanks for reviewing @rxin!


Tag 1.2 release

Please, tag v1.2 release to use this version with bower.
Thanks and good job!

Yes please, the custom filter functionality is not available in the old 1.1.2 version. Thanks!!

I have now released and tagged version 1.3.0.

Thanks!

Thanks! Can finally remove the only npm requirement for the front-end xD


Add 'uf2' subcommand to wipe flash memory

Examples:

https://learn.adafruit.com/adafruit-feather-rp2040-with-usb-type-a-host/factory-reset-2
https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/circuitpython

I don't know how specific to the rp2040 the UF2 is. I suspect it uses a Pico SDK function like flash_range_program

Fixed in:
2b0dc1e5460f0d3015fe6099fe2b88fbd44dcfbb
a74e1072bf57c032fe7c7af3222f3d0d157c93ff


How to get pytorch_model_uncased for chinese?

I wanted to train Chinese-based datasets, but I found that I lacked the corresponding "pytorch_model_uncased_L-24_H-1024_A-16" file. How can I get it?

@zyc1310517843 you should use multilingual bert.
Btw, had you succeed  in training with other language?

Hi @zyc1310517843 @IgorMunizS
Can you tell me please how to train with another Language Model instead of BERT ? (Like mBERT or RoBERTa) ?
Thank you so much


Better README with links to notebooks and more examples

The current README is wayy too basic for any practical usage.
More examples and notebook links would be great.

Indeed. We need to improve it. If you want to help, you can send us a pull
request.
Sent from my mobile phone.
On Jan 30, 2016 10:47 AM, "Sameer Deshmukh"<EMAIL_ADDRESS>wrote:

The current README is wayy too basic for any practical usage
More examples and notebook links would be great
—
Reply to this email directly or view it on GitHub
https://github.com/symengine/symengine.rb/issues/12.


Reeller is not a constructor (using CDN)

Hello,
I try to make Reeller to work using CDN, have gsap loaded etc....
Whatever I try, I always have the same error : "Reeller is not a constructor"
Best regards,
Alex

const reller = new Reeller.Reeller();

Hello,
Thank you for the answer, will try that, so the doc need to be updated :

Doc fixed in a2f47b6


requires testing: fasta as snippy ref

Hi, seems that using a fasta reference did not work- requires a small test
running with gbk and seems ok so far

This was not a problem anymore, if i remember correctly?

Yes, close this one
On Thu, 8 Oct 2020, 11:08 Håkon Kaspersen<EMAIL_ADDRESS>wrote:

This was not a problem anymore, if i remember correctly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hkaspersen/PhyloFlow/issues/3#issuecomment-705437667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3TRDMEXNH43JHKERACEIDSJV6STANCNFSM4R4LD2RA
.


[Tracking]: Integrate BEIR for Evaluation

Feature Description
https://github.com/beir-cellar/beir shows that, at the time of publication, BM25+sparse embedding methods outperforms other methods including dense ANN-based retrieval. Since there are complex pipelines built with llama_index, such as multi query, or query rewriting, I believe that integrating this evaluation framework can help users be more objective about the retrieval augmented pipeline they build.
Tasks:

[x] Basic integration: https://github.com/jerryjliu/llama_index/pull/6825
[ ] https://github.com/jerryjliu/llama_index/issues/6877
[ ] https://github.com/jerryjliu/llama_index/issues/6878

Resources
Eval Methodology

Cost/Efficiency/Accuracy Tradeoff

Hello, could we reopen this issue? It tracks other issues

Apologies, automatic closing of linked PRs/Issues 😅


System.ArgumentException when triing SpaServices.Extensions

Im getting the following exception if a client connects using your new amazing extensions:
app.UseSpa((o) =>
            {
                if (env.IsDevelopment()) {
                    o.UseProxyToSpaDevelopmentServer("http://localhost:4200");
                }
            });

also hmr is quite slow but that may be related to the error:
System.ArgumentException: Der 'User-Agent'-Header muss mit der entsprechenden Eigenschaft oder Methode geändert werden.

I'm hitting this as well. Any updates on a fix?

I figured out why this doesn't occur more often - it appears to only be a problem when targetting .NET Framework (as opposed to .NET Core). @SteveSandersonMS, to repro, take any "hello world" ASP.NET Core SPA app and update the csproj to have <TargetFramework>net462</TargetFramework> instead of <TargetFramework>netcoreapp2.0</TargetFramework> (you'll also need to depend on Microsoft.AspNetCore and Microsoft.AspNetCore.Mvc instead of Microsoft.AspNetCore.All) and you should see this exception. If it's helpful, I can push my sample to GitHub somewhere.
It's not clear to me yet why this only happens on NetFX and not on NetCore (probably some System.Net difference), but in the short-term, I have a simple work-around in case it helps you, @JanEggers.
In your Startup.cs file, in the Configure method, add custom middleware like this inside of the if (env.IsDevelopment) block (so that it only applies when running in development environments:
// Work around https://github.com/aspnet/JavaScriptServices/issues/1469
app.Use((httpContext, next) =>
{
    if (httpContext.Request.Path.HasValue &&
        httpContext.Request.Path.Value.Contains("sockjs-node") &&
        httpContext.Request.Path.Value.Contains("websocket"))
    {
        if (httpContext.Request.Headers.ContainsKey("User-Agent"))
        {
            httpContext.Request.Headers.Remove("User-Agent");
        }
    }
    return next();
});

The failure occurs because SpaProxy is attempting to copy a User-Agent header from an incoming request to its corresponding outgoing one but WebHeaderCollection doesn't allow User-Agent headers to be set in that way. This middleware, just removes the User-Agent header from incoming requests that include both 'sockjs-node' and 'websocket' in their request path.

@mjrousos  thx for the workaround, fortunatly im able to mock my backend so i just use ng serve without aspnet for now. I dont think you also need to provide a repro as i already did one.

Thanks for all the info here. It's now fixed in the repo. The fix will be included in the 2.0.0 RC2 package, hopefully today.

Great, thanks!


Add Authoring Mode Features

config.js references  "AuthoringMode" this is leftover from the original application design. We would like to leverage this config.js item to do the following
Authoring Mode: false
-Application is in VIEW only mode
-Application will display all public books
-Sign in\Sign out button will exist on the app
-signing in will display private books and public books (but will not display authoring mode, add book, remove book or home buttons.)
Authoring Mode: true
-Application will function as it is currently designed.
Please update the Authoring mode to function as described above
Please add comments that reflect this change.

Tested in Develop 2.0


Token Expired.

I "accedently" revoked all my tokens for my account when trying too troublesshoot an ather issue.
This resultetd ofcourse the revokation of this integrations current aut token as well :-)
Problem is that there are no new "Repair" so i cant easaly reauthenticate the integration...
Any idea?
also tried with latest version 4.3.2
Pasting text from HA log..
Best regards...
Logger: homeassistant.components.sensor
Source: custom_components/o365/sensor.py:645
Integration: Sensor (documentation, issues)
First occurred: 08:08:49 (1 occurrences)
Last logged: 08:08:49
Error while setting up o365 platform for sensor
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/O365/connection.py", line 753, in _internal_request
response = request_obj.request(method, url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 483, in request
url, headers, data = self._client.add_token(
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 217, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/o365/sensor.py", line 108, in async_setup_platform
entities = await coordinator.async_setup_entries()
File "/config/custom_components/o365/sensor.py", line 143, in async_setup_entries
todo_entities = await self._async_todo_sensors()
File "/config/custom_components/o365/sensor.py", line 248, in _async_todo_sensors
await sensor_services.async_scan_for_task_lists(None)
File "/config/custom_components/o365/sensor.py", line 645, in async_scan_for_task_lists
todolists = await self._hass.async_add_executor_job(todos.list_folders)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/O365/tasks_graph.py", line 701, in list_folders
response = self.con.get(url, params=params or None)
File "/usr/local/lib/python3.10/site-packages/O365/connection.py", line 865, in get
return self.oauth_request(url, 'get', params=params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/O365/connection.py", line 854, in oauth_request
return self._internal_request(self.session, url, method, **kwargs)
File "/usr/local/lib/python3.10/site-packages/O365/connection.py", line 770, in _internal_request
if self.refresh_token() is False:
File "/usr/local/lib/python3.10/site-packages/O365/connection.py", line 671, in refresh_token
self.session.refresh_token(
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 452, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 427, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 448, in validate_token_parameters
raise_from_error(params.get('error'), params)
File "/usr/local/lib/python3.10/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 399, in raise_from_error
raise cls(**kwargs)
oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant) AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2022-10-16T07:52:02.8390570Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2023-06-01T16:03:41.0000000Z'.
Trace ID: 85122e2b-4be7-4aed-a8b2-044b2107fd00
Correlation ID: 7bd048dc-7ecf-411f-8ea5-c453fa965efe
Timestamp: 2023-06-07 06:08:49Z

Make sure there is time left on your client secret in the azure portal, if not then create a new secret and update your config with the id and secret. Delete your token, then reboot a HA. You should then get the repair prompt.

Can you paint me to where i delete my token?

Thanks... :-)
Im on to creating a frontend card repository (slowly progressing...)


WindowsError after successfull login

Expected Behavior
Bot runs normaly
Actual Behavior
It drops a windows error
Steps to Reproduce
Other Information
Traceback (most recent call last):   File "pokecli.py", line 496, in <module>     main()   File "pokecli.py", line 130, in main     report_summary(bot)   File "pokecli.py", line 139, in report_summary     metrics.capture_stats()   File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\metrics.py", line 76, in capture_stats     response_dict = request.call()   File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\api_wrapper.py", line 106, in call     result = self._call()   File "C:\Users\Dini\Downloads\PokemonGo-Botdev\pokemongo_bot\api_wrapper.py", line 63, in _call     return PGoApiRequest.call(self)   File "c:\users\dini\downloads\pokemongo-botdev\src\pgoapi\pgoapi\pgoapi.py", line 210, in call     request.activate_signature(lib_path)   File "c:\users\dini\downloads\pokemongo-botdev\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_signature     self._signature_lib = ctypes.cdll.LoadLibrary(lib_path)   File "C:\Python27\lib\ctypes\__init__.py", line 440, in LoadLibrary     return self._dlltype(name)   File "C:\Python27\lib\ctypes\__init__.py", line 362, in __init__     self._handle = _dlopen(self._name, mode) WindowsError:
OS: Win10
Git Commit: 44a6602ceecf202e5ab0bf05a960b8efcb595551
Python Version: Python 2.7.12

same here

I get this one after successful login:

Look at the fix found on https://github.com/PokemonGoF/PokemonGo-Bot/issues/2670

@bnlucas didnt work for me :(

u need the dll file too. Copy it in the root. Unfortunately i cant upload it here because file type is not supported. Get it from slack:
https://pokemongo-bot.herokuapp.com/

@bigrat69 i put it in the main folder and it still reply the same error, should i do something different ?

Just now pulled again and it started working. All I did is the following

you might want to look into pokemongo_bot/init.py and change self.api.activate_signature("encrypt.so") to self.api.activate_signature("./encrypt.dll")

got the dll from slack.
Thanks everybody for your time and help!

not working for me


Settings property page should not show up for .NET Core projects

The APIs do not existing in .NET Core - we should drive this off a capability.

Dupe of #572


Feature Request: ability to suppress certain warnings

This issue was originally filed by<EMAIL_ADDRESS>
It would be quite useful if all warnings in the spec were to be uniquely numbered.

This would make it easier for looking up observed warnings in the spec for detailed explanation.

These identifiers could be used in metadata, command line arguments, build scripts, etc... to suppress warnings.

This allows the analyzer and other tools to be fully spec-compliant, while providing an 'out' to developers who want warning-free code and may not have any means to work around them (or the cost of working around them is too costly).
thanks,

If we had this, we could eliminate regex filtering of analyzer output that only works in our command-line tool (and thus, unify tooling behavior across IDEs and command-line).

+1 for this. In particular warnings about unused methods are annoying when used in conjunction with mirrors which causes the analyser to report methods as unused even if later called using reflection.

FYI, how it works in IntellJ IDEA for Java.
Assume we have a warning about potential NullPointerException:

There are some quick fixes available:

If we do not want to change code but only want to get rid of warning highlighting in the IDE there are 2 ways to suppress the warning: annotation and comment. IDE suggests both in a quick fix submenu:

So we can suppress the warning for statement with annotation:

.. or with comment:

In some context where annotation is not allowed by Java syntax, suppression with comment is the only possible way.
Note that it is possible to suppress warning at different level: for statement, for the whole method or for the whole class. Suppression for the whole method or class is possible with annotation only, not with a comment.

Analyzer-based solution well underway here: https://github.com/dart-lang/sdk/issues/25685.
Since I think this is VERY unlikely to be addressed at the language level, I propose closing out this bug in favor of that one.

Agreed.


Introduce a size limit to the Perfetto database.

If the trace data exceeds this limit, we garbage-collect the oldest trace entries.
The algorithm amortizes the cost of deleting table entries by allowing the table to grow up to Limit, and then shrinking it down to Limit/2. This means that most insertions don't resize the table.
Even with the above amortized algorithm, the total trace size needs to be computed on every insertion, in order to prevent table size overflow (e.g., if we computed size periodically or on every Nth insertion). To speed this size computation, we add a new table that stores the current size of trace data.
Performance overhead is negligible:
cpu: Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz
BenchmarkStore/nolimit_small-72         	      55	  20167607 ns/op
BenchmarkStore/limit_small-72           	      50	  24247172 ns/op
BenchmarkStore/nolimit_medium-72        	     108	  11244635 ns/op
BenchmarkStore/limit_medium-72          	      91	  12146354 ns/op
BenchmarkStore/nolimit_big-72           	     100	  11737456 ns/op
BenchmarkStore/limit_big-72             	      87	  11944857 ns/op

NOTE:
We tried the trigger-based mechanism (thanks mwhittaker@ !) but the complex SQL logic expressed in the trigger was way too expensive to perform on every insertion.

Before getting into the guts of the changes, I want to ask if it would be better to make the limit time based. E.g., only keep traces for the last N days.
Pro: I suspect it might be more useful for users; they can set a single default (e.g., 30 days) without worrying about what rate of traffic the service gets and how big each trace is.
Con: disk may fill up.
I weigh the pro more since in the vast majority of cases the users will be happy with our default time limit, and it will be very unlikely they will run into disk space full issue. Even the case that prompted this PR did not result in a disk-full error, just a somewhat larger than expected file.

Also, consider what the system default should be: with time-based limits, I would expect something like a month or a year. I don't quite know how to set the default for a size based limit without knowing about the service stats, which we don't when setting a system-wide default.

Another Pro for the time-based control is that it will be simpler to implement. Keeping track of size efficiently has been a  bit of a pain.
However, I am quite strongly in favor of size-based limit because for the local case, my guess is that's what folks would care about the most. Even you have brought up this issue offline by saying "the database file has grown too big". I believe it filled up quickly because of your testing/benchmarking, and not because it had records in there older than 1 month.
I feel like unless we limit the size (i.e., the number of trace records in there), any other limit is meaningless.

Also, consider what the system default should be: with time-based limits, I would expect something like a month or a year. I don't quite know how to set the default for a size based limit without knowing about the service stats, which we don't when setting a system-wide default.

Yeah, defaults are tricky. I think that 30 day limit is reasonable as a default. With size it's trickier.
How about we set some large size limit (say, 1GB), and use it in conjunction with a time-based limit?

I think we will add sampling on the tracing side, perhaps a time based one like once a second on average (so that infrequently used services also get some traces). Given that, I am not so worried about the size getting out of hand (the rate of accumulation will be bounded to trace-size bytes per second).
I was prompted to ask about time-based since it would be simpler (I noticed the need to keep size stats in your PR).
Could we go with just time-based for now for simplicity? (More important to get sampling of traces done first)

I'm going to try the simplest, trigger-based, time limit solution and we can decide from there.

I'm going to try the simplest, trigger-based, time limit solution and we can decide from there.

This sounds good to me! I think if the trigger-based approach isn't slow, then it's the simplest, and we should go with that.
If it is too slow,  I think we could simplify the size-based approach by using built-in size metadata (https://stackoverflow.com/a/58251635) or by garbage collecting only periodically to avoid having to maintain size stats. At that point, the size-based and time-based approach seem similarly complex to me? And I do slightly prefer garbage collecting based on size rather than time.
If the time-based approach does end up simpler though, I definitely support doing the simplest thing for now!

We could simplify the size computation if we want by using the size of the DB file? But perhaps it does not shrink predictably after a bulk deletion and we would repeatedly attempt to shrink it?

There is also a possibility of using the dbstat table. It wasn't working
for me from Go code, but it does work from sqlite3 command-line.
https://www.sqlite.org/dbstat.html
I can try to get it to work.
On Fri, Jun 30, 2023 at 1:58 PM Sanjay Ghemawat @.***>
wrote:

We could simplify the size computation if we want by using the size of the
DB file? But perhaps it does not shrink predictably after a bulk deletion
and we would repeatedly attempt to shrink it?
—
Reply to this email directly, view it on GitHub
https://github.com/ServiceWeaver/weaver/pull/437#issuecomment-1615190146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJSQ6UBTQWN6JBN7NOKQY3XN44XVANCNFSM6AAAAAAZ2DYGSE
.
You are receiving this because you were assigned.Message ID:
@.***>

Here is the time-based PR using triggers. It's very simple. I'll try to
simplify the space-based solution and we can make a decision.
https://github.com/ServiceWeaver/weaver/pull/439
On Fri, Jun 30, 2023 at 2:09 PM Srdjan Petrovic @.***>
wrote:

There is also a possibility of using the dbstat table. It wasn't working
for me from Go code, but it does work from sqlite3 command-line.
https://www.sqlite.org/dbstat.html
I can try to get it to work.
On Fri, Jun 30, 2023 at 1:58 PM Sanjay Ghemawat @.***>
wrote:

We could simplify the size computation if we want by using the size of
the DB file? But perhaps it does not shrink predictably after a bulk
deletion and we would repeatedly attempt to shrink it?
—
Reply to this email directly, view it on GitHub
https://github.com/ServiceWeaver/weaver/pull/437#issuecomment-1615190146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJSQ6UBTQWN6JBN7NOKQY3XN44XVANCNFSM6AAAAAAZ2DYGSE
.
You are receiving this because you were assigned.Message ID:
@.***>

Given the simplicity of the trigger-based solution, I'd say let's go with
that.
I'll make it into a more of a "real" change.
On Fri, Jun 30, 2023 at 2:11 PM Srdjan Petrovic @.***>
wrote:

Here is the time-based PR using triggers. It's very simple. I'll try to
simplify the space-based solution and we can make a decision.
https://github.com/ServiceWeaver/weaver/pull/439
On Fri, Jun 30, 2023 at 2:09 PM Srdjan Petrovic @.***>
wrote:

There is also a possibility of using the dbstat table. It wasn't
working for me from Go code, but it does work from sqlite3 command-line.
https://www.sqlite.org/dbstat.html
I can try to get it to work.
On Fri, Jun 30, 2023 at 1:58 PM Sanjay Ghemawat @.***>
wrote:

We could simplify the size computation if we want by using the size of
the DB file? But perhaps it does not shrink predictably after a bulk
deletion and we would repeatedly attempt to shrink it?
—
Reply to this email directly, view it on GitHub
https://github.com/ServiceWeaver/weaver/pull/437#issuecomment-1615190146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJSQ6UBTQWN6JBN7NOKQY3XN44XVANCNFSM6AAAAAAZ2DYGSE
.
You are receiving this because you were assigned.Message ID:
@.***>

Abandoning this change.
Per offline discussion, if we ever need to implement a size-related limiting, we can do it by using a more aggressive time-based limit.


(WIP) Misc: use babel-jscs for the esnext option

Fixes #1353 @markelog
Don't know if we just want to replace the esprima-harmony-jscs?
Also since babel-jscs has babel-core as a dependency, adding babel-jscs would make jscs bigger. It's not a problem for people using babel already - just unneeded for everyone else?

I think the tests are failing because of the local/global npm issue? Not sure why.
All the tests with esprima: 'babel-jscs', like
it('should use a custom esprima provided at CLI', function() {
            return assertNoCliErrors(cli({
                args: ['test/data/cli/esnext.js'],
                esprima: 'babel-jscs', // was fine with 'esprima-harmony-jscs'
                config: 'test/data/cli/cli.json'
            }));
        });

I think the tests are failing because of the local/global npm issue?

Nope, legitimate failure, "couldn't resolve jscs"

make jscs bigger

By how much?

Yeah I think I need to modify the whole monkeypatch module thing (replace estraverse.VisitorKeys) to work correctly. jscsLoc = Module._resolveFilename("jscs", module.parent.parent);
@markelog Not sure - if I look at babel-jscs/node_modules/babel-core it's 18.8 mb?

It seems you solved all open issues in babel-jscs repo, can we land this?

Yeah - I can't figure out why it can't find jscs or babel-jscs to make the tests fail path though - some path issue

Okay, i finish this up

I wasn't able to fix the tests (even though it works) - and it looks like it's still failing (on master) @markelog?

Also do we want to keep the option as esnext or use a different name?

What's the benefit of changing the name?
On Jul 11, 2015 3:09 PM, "Henry Zhu"<EMAIL_ADDRESS>wrote:

Also do we want to keep the option as esnext or use a different name?
—
Reply to this email directly or view it on GitHub
https://github.com/jscs-dev/node-jscs/pull/1446#issuecomment-120652926.

Was just thinking about how esnext isn't really a thing anymore but it's not a big deal or anything

Was just thinking about how esnext isn't really a thing anymore

Well, Esprima still doesn't support all es6 features and es7 features and jsx could be considered as "esnext", doesn't you think?

esnext was a term used to describe es6 back in the "harmony" days. It is no longer a useful description of any language feature. If anything, we should either switch to a version flag (considering new version every year), or have a stage flag which allows the user to opt into features at different stages of acceptance (this is what babel does).

The entire flag, the added code and tests for esnext all seem unnecessary.
We use esprima and if it lags behind what others need out of a parser, then
they should just specify a parser to use with custom options for that
parser. If we want to avoid them having to do that then we should adopt the
bleeding edge parser instead of esprima.
During the push to stabilize babel-jscs, I always wondered why we don't
just use that as the primary parser instead of Esprima.
2 options in my mind (both involve dropping esnext):

Adopt babel-jscs as the primary parser
Use esprima and encourage the use of babel-jscs as an alternative

Thoughts?
On Jul 12, 2015 8:13 AM, "Mike Sherov"<EMAIL_ADDRESS>wrote:

esnext was a term used to describe es6 back in the "harmony" days. It is
no longer a useful description of any language feature. If anything, we
should either switch to a version flag (considering new version every
year), or have a stage flag which allows the user to opt into features at
different stages of acceptance (this is what babel does).
—
Reply to this email directly or view it on GitHub
https://github.com/jscs-dev/node-jscs/pull/1446#issuecomment-120715828.

Ok I'd go with 2 then for now. Right now babel-jscs is slow because of some of the transforms needed (not that the babel parsing itself is slow but the added stuff makes it slower)

@hzoo How much slower are we talking?

It's just slow enough people will ask about it (with babel-eslint which is basically the same). It's only for people who want to lint on keystroke/save very often. It's not that big of a problem or else we would of gotten a lot of issues for it already. https://github.com/mdevils/cst/pull/8#issuecomment-116091494


[IMPROVEMENT] mentioning search supports location search

What would you like to share?
Since the Search bar allows us to search users based on their location we should update the placeholder to mention it for the sake of user information so that search using locations
Additional information

Can I take this Issue?
Will it be fine if we say:
Search user by name, tags or places; eg: open source, reactjs

How about it - Search by name, tags; eg: open source, reactjs or places: eg; london, new york

Yes, seems good. Can it be assigned to me?

@devraj4522 I have assigned this to you


Add view scripts

Add view scripts
Remove assumption that query will return results that should be stored (this should now be done manually)

Not required at the moment


Build Partners page.

[ ] Update main heading and lede (@nauerz-ibm)
[ ] Create illustration for header (@yumeforever)
[ ] Code it all up (@jlengstorf)

From @nauerz-ibm:

Our partners are companies or individuals interested in serverless computing in general and OpenWhisk in particular. Some of them use OpenWhisk to develop and impressive serverless & event-driven solutions, others enable their own services to let them become part of the ever-growing OpenWhisk ecosystem to increase their service's traffic & usage, and others simply work with us to help us to drive & accelerate the development of this bleeding edge technology.
If you are interested in partnering with us, too do not hesitate to get in touch and discuss...

I think we need to align this with not only the Service Integrators page/persona, but we may want to point them to a mailing list, or specific OpenWhisk vendor pages. We should look at Apache precedents for this sort of thing.

Agree to @krook
Despite that I forwarded the logos of Apache and others via mail to make sure they get included, too.
After GA we should add some textual description for each partner - instead of having logos only - to describe what exactly they are doing with OpenWhisk/jointly with us. But imho not that urgent.

@nauerz-ibm — edits here:

Meet Our Partners
Our partners are working to develop new serverless and event-driven solutions, create packages to add new services to the ever-growing Apache OpenWhisk ecosystem, and advance the development of this game-changing technology.
If you're interested in partnering with us, get in touch or join the mailing list.

Is there a process for becoming a partner? Asking them to contact us is pretty open-ended, which will probably lead to inaction in a lot of cases. If we can figure out a simple way — say a form or something — that allows interested companies to check a couple boxes to show interest rather than composing a free-form email, we'll probably see better conversion here.

If everyone agrees:

@yumeforever We have to make the Adobe logo fit here — see #14 — which is vertical. It's going to be 5 total logos here. Would you be willing to put this together with the final logos so we can see it?
My gut says we need to drop the blue background from the logos, and maybe center them (3 in the first row, 2 in the second), but I'll trust your eye.


Updating documentation steps regarding the VS Code templates

The VS Code QDK extension no longer depends on the command line extensions to create new projects, however it still provides a command to install them for those developers who prefer to build from the command line.
This change updates the documentation accordingly.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/quickstarts/install-command-line.md
84
68
1
link
:white_check_mark:

articles/quickstarts/update.md
85
65
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit faec17a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/quickstarts/install-command-line.md
:white_check_mark:Succeeded
View

articles/quickstarts/update.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/quickstarts/install-command-line.md
84
68
1
link
:white_check_mark:

articles/quickstarts/update.md
85
68
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit d153f54:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/quickstarts/install-command-line.md
:white_check_mark:Succeeded
View

articles/quickstarts/update.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


RequestTimer and RequestLogger occasionally logged in the wrong threads

Was  analyzing log history for one of our production apps. The app is medium volume and is using bootique-jetty-instrumented. Logs for a "normal" request progression look like this:
bootique-http-73 5EKf9f0-80000002 i.b.j.i.r.RequestTimer: started
bootique-http-73 5EKf9f0-80000002 ... other request-specific logs here ...
bootique-http-73 5EKf9f0-80000002 i.b.j.i.r.RequestTimer: finished in 12 ms
bootique-http-73 5EKf9f0-80000002 i.b.j.s.RequestLogger: <IP_ADDRESS> - - [08/Oct/2018:10:45:01 +0000] "GET / HTTP/1.1" 200 167 ...

But I am also seeing two cases that don't follow the pattern above.

(Very common. Up to 15% of all requests) Missing RequestLogger line. Also all these requests seem to have nothing between start and finish log lines (no DB queries and such). So those may be some static resources (?)

bootique-http-41 5EKf9f0-80000001 i.b.j.i.r.RequestTimer: started
bootique-http-41 5EKf9f0-80000001 i.b.j.i.r.RequestTimer: finished in 4 ms

(Rare. Only saw it twice and on a single server) Transaction ID leaks beyond a "normal" transaction and covers two more requests on the same thread. In those extra requests RequestLogger line is logged without matching  RequestTimer lines. I guess unexpected absence of those leads to the TX ID not being reset. Not sure if this is relevant, but log rotation occurred between request 2 and 3 in all two occasions when I saw this issue happen.

bootique-http-16772 8-mXKoE-800023ca i.b.j.i.r.RequestTimer: started
bootique-http-16772 8-mXKoE-800023ca ... other request-specific logs here ...
bootique-http-16772 8-mXKoE-800023ca i.b.j.i.r.RequestTimer: finished in 8 ms
bootique-http-16772 8-mXKoE-800023ca i.b.j.s.RequestLogger: <IP_ADDRESS> - - [06/Oct/2018:03:49:03 +0000] "GET /x HTTP/1.1" 200
bootique-http-16772 8-mXKoE-800023ca i.b.j.s.RequestLogger: <IP_ADDRESS> - - [06/Oct/2018:03:59:16 +0000] "GET /y HTTP/1.1" 200
bootique-http-16772 8-mXKoE-800023ca i.b.j.s.RequestLogger: <IP_ADDRESS> - - [06/Oct/2018:04:00:41 +0000] "GET /y HTTP/1.1" 200

Number 1 is particularly troubling because it is such a big percentage of requests.

Not seeing this anymore on some of my BQ 1.1 apps with the latest Jetty. Perhaps that was a Jetty issue?

Closing. Haven't seen this in a while. Perhaps fixed by #104


How to add self defined provider to command  and provider window?

Is your feature request related to a problem? Please describe.
For example, I wrote this config in my .vimrc
    let g:clap_provider_config = {
                \ 'source': ['~/.vim.conf/init.vim', '~/.vimrc', '~/.zshrc', '~/.bashrc', '~/.tmux.conf'],
                \ 'sink': 'e',
                \ }

Describe the solution you'd like
This config works, furthermore,  I want to

:Clap conf, then followed by tap <Tab>, :Clap config should appear
:Clap providers, then config menu should be added to the windows

NOTES,  do not write to  autoload

That's unsupported at present.

So it has to be added to autoload/provider ?

See how Clap providers is implemented https://github.com/liuchengxu/vim-clap/blob/master/autoload/clap/provider/providers.vim. You have to also parse all the global variables for your case.

Ok , I got it

See how g:clap_provider_* is added in debugging info https://github.com/liuchengxu/vim-clap/blob/master/autoload/clap/debugging.vim#L71-L78 if you are interested.


Error in trainModel(): all the ROC metric values are missing

Hello @joseah ,
Thank you for developing scPred! We have tested the latest version (v1.9.0) and encountered the following issue when training the model:
●  Training models for each cell type...
Something is wrong; all the ROC metric values are missing:
      ROC           Sens          Spec
 Min.   : NA   Min.   : NA   Min.   : NA
 1st Qu.: NA   1st Qu.: NA   1st Qu.: NA
 Median : NA   Median : NA   Median : NA
 Mean   :NaN   Mean   :NaN   Mean   :NaN
 3rd Qu.: NA   3rd Qu.: NA   3rd Qu.: NA
 Max.   : NA   Max.   : NA   Max.   : NA
 NA's   :9     NA's   :9     NA's   :9

Error: Stopping
In addition: Warning message:
In nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo,  :
  There were missing values in resampled performance measures.
Execution halted

svmRadialWeights was used as a model. Could you recommend anything to overcome this?
Many thanks,
Andrey

Hi @a-solovyev12,
It seems that there's a cell type with fewer cells than the number of resamples. By default, 5 cross-validations are performed so it's likely that some cross-validations are left without any cells to include for parameter tuning. If that's the case, I'd reevaluate the incorporation of that cell type to be classified given the low number of cells. Otherwise, you could reduce the number cross-validations using the number parameter in the trainModel() function.
Does this happen with other models (besides svmRadialEights)?
Cheers,
Jose

Hi Jose,
Thanks for a quick reply.
Indeed, taking only cell types with a higher number of cells solves the problem. What minimum number of cells would you suggest for robust performance in the CV step (assuming we keep it 5-fold)?
Best,
Andrey