Update README.md

mfw it works on all distros before i found out it did

Goddammit you beat me to it. I just tested it on fedora

just tested on diofgovdkbducjjfuhkvuhh OS it works

Tested it on my grandpa's pacemaker it works

just tested on mars rover and it worked

Working on Uranus


Allow to search for a specific nutrient in the nutrition edit mode

What
Allow to search for a specific nutrient in the nutrition edit mode
Why

Save time when inputting complex products

Part of

#503

Mockup

I'm working on this one, I hope it's not taken already


Minor correction to GCP readme

Just a minor fix to the GCP build instructions.

Thanks for the contribution @JeffHall


Update using-netsh-to-manage-traces.md

, netsh trace start capture = yes ipv4.address == x.x.x.x ,   removed the == as this is the improper syntax

@jampete : Thanks for your contribution! The author(s) have been notified to review your proposed change.


chore: reinstate down_cast_any_ref

Which issue does this PR close?

Related to https://github.com/apache/datafusion/issues/13702
Rationale for this change

The public function down_cast_any_ref was removed in https://github.com/apache/datafusion/pull/13005, causing compilation errors in downstream projects.
It would be better to deprecate this function and remove it in a future release to give downstream projects time to make changes.
What changes are included in this PR?

Add the function back and mark it as deprecated.
Are these changes tested?

Are there any user-facing changes?

Thanks @andygrove  and @goldmedal


org.jasig.cas:cas-server-integration-pac4j-core:4.2.7 ClientCredential no toString method overriding

I have included the following in my report:

[4.2.7] CAS server version
[Jetty] Container/environment type/version (Tomcat, Jetty, Java, Linux/Windows, etc)

=============================================================
WHO: org.jasig.cas.authentication.principal.ClientCredential@6d3b2ced
WHAT: Supplied credentials: [org.jasig.cas.authentication.principal.ClientCredential@6d3b2ced]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Mon Dec 05 11:49:48 CST 2016
CLIENT IP ADDRESS: <IP_ADDRESS>
SERVER IP ADDRESS: <IP_ADDRESS>
=============================================================

Should be fixed.

Ported to 5 and master.


Some questions about version/vsix/...

Hi,
thanks for this plugin, just a few questions:

VS-Marketplace lists this as version 1.3.6 whereas github lists release 0.22.1. Is this a mistake?
any plans to push this extension also to https://open-vsx.org? (an alternative registry if you use vscodium instead of vscode like me)
if not at least a vsix would be nice added to every release (but haven't seen a github-workflow here, that creates releases)

Thanks

VS-Marketplace lists this as version 1.3.6 whereas github lists release 0.22.1. Is this a mistake?

They are versioned independently. The plugins all use the main csharpier dotnet tool to format, and support older versions of csharpier.

any plans to push this extension also to https://open-vsx.org/? (an alternative registry if you use vscodium instead of vscode like me)

I wasn't aware of open-vsx.org until now, but I don't see any reason not to publish there. I created #806 to keep track of it.

if not at least a vsix would be nice added to every release (but haven't seen a github-workflow here, that creates releases)

I keep meaning to automate it, but haven't made the time yet. I threw up the 1.3.6 release just now - https://github.com/belav/csharpier/releases/tag/vscode-1.3.6

Thanks for the information!
open-vsx came up, because microsoft marketplace and access to the marketplace is closed source: https://github.com/microsoft/vscode/wiki/Differences-between-the-repository-and-Visual-Studio-Code
It's often used in vscodium, gitpod, ... setups where microsoft marketplace is missing.
Thanks for the package I downloaded it from microsoft marketplace,there is some link schema, that allows to download vsix directly: https://marketplace.visualstudio.com/_apis/public/gallery/publishers/${publisher}/vsextensions/${extension}/${version}/vspackage
I'll close this , all answered so far!


fix: ignore cache when reading user pjson

Ignore the ProdOnlyCache when reading the user pjson because it could have been modified by a JIT install
Fixes issue with first execution of a JIT plugin failing with this error:
sf dev generate library
@salesforce/cli: Installing plugin<EMAIL_ADDRESS>installed v2.3.2
 ›   ModuleLoadError: [MODULE_NOT_FOUND] import() failed to load<EMAIL_ADDRESS>Cannot find module
 ›<EMAIL_ADDRESS>imported from /Users/peter.hale/.npm-global/lib/node_modules/<EMAIL_ADDRESS> ›   Code: MODULE_NOT_FOUND

Testing

Checkout branch, yarn build
cd to sf repo
yarn link @oclif/core
yarn oclif manifest
bin/run.js dev generate plugin

It should JIT install plugin-dev and successfully run the dev generate plugin command

QA notes:
✅  works as expected.
📓 I had to point the yarn/oclif from my CLI source repo to the "real" CLI I use from the installer


Add mail server configuration description information

More tips for mail server configuration.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@1db4ac6). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             dev    #2143   +/-   ##
======================================
  Coverage       ?   29.82%
  Complexity     ?     1632
======================================
  Files          ?      336
  Lines          ?    17835
  Branches       ?     2249
======================================
  Hits           ?     5320
  Misses         ?    11949
  Partials       ?      566

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 1db4ac6...3dd225d. Read the comment docs.

These notes are more suitable for install.sh

So remove note of alert.properties?

These notes are more suitable for install.sh

So remove note of alert.properties?

yes, install.sh more suitable

These notes are more suitable for install.sh

So remove note of alert.properties?

yes, install.sh more suitable

ok, I will do that

thanks for your first contribution，looking forward for your next contribution.
best regards


.Net: update duckdb and api usage

In this pr I update to latest duckDb libraries to take advantage of native list support and the cosine_similarity list function

@Giorgi can you have a look over this pr?

nit comments on the parameter strict strings.

Thank you, followed same approach in other places!


Shared transition doesn't work on navigation reset

Transition works perfectly when I use navigate push NavigationActions.navigate({routeName, params}), but it doesn't when I use navigation reset method:
const resetAction = StackActions.reset({
  index: 0,
  actions: [
    NavigationActions.navigate({routeName, params})
  ]
});
_navigator.dispatch(resetAction);

I use Transition shared='...'. Is it a bug?

I don't think reset is currently supported - you need to go back/forth one page at a time.


Thanks for the patch!
It will take me a few more days until I come around testing this on a Windows box.

Okay, I'm not much of a Win user, so I will simply merge the patch as-is because I don't want you to wait too long.
I will still look into it when I feel like setting up a Win VM. :-)
Thanks for the code!


Error when apply from specific plan file

Describe the bug
Failed to execute TG apply from a plan file that was previously created
To Reproduce
When creating a pipeline with the code below.
        - name: Plan
          uses: gruntwork-io/terragrunt-action@v2
          with:
            tf_version: ${{ env.tf_version }}
            tg_version: ${{ env.tg_version }}
            tg_dir: "${{ env.working_dir }}/${{ inputs.environment }}"
            tg_command: 'run-all plan -out tfplan-${{ inputs.environment }}'

        - name: Apply
          uses: gruntwork-io/terragrunt-action@v2
          with:
            tf_version: ${{ env.tf_version }}
            tg_version: ${{ env.tg_version }}
            tg_dir: "${{ env.working_dir }}/${{ inputs.environment }}"
            tg_command: 'run-all apply tfplan-${{ inputs.environment }}'

Expected behavior
We expect run-all apply to be able to run from a plan file that was previously created. Works locally.
Nice to have

[ ] Terminal output

Versions

Terragrunt Action version: v2
Terragrunt version: 0.46.3, Terraform version: 1.4.7

Fixed in https://github.com/gruntwork-io/terragrunt-action/releases/tag/v2.0.1


I'm also unable to sync since the release of version <IP_ADDRESS>. Upgrading to that version gives me the error below when running Qt. I'm on Windows 7 x64.

Bootstrapping worked. Thanks a lot, rocketsvm. I can see my beloved Raptors again!
Now let's hope this doesn't become a recurrent issue, since the blockchain is only going to get bigger. I had to bootstrap the whole thing 3 months ago because I (and a lot of other people) were stuck on block 453100:
https://www.reddit.com/r/raptoreum/comments/z916v7/what_to_do_if_wallet_stuck_on_453100

Hi, the new version downloaded, but there is an  error
./raptoreum-qt
raptoreum-qt: evo/deterministicmns.cpp:552: void CDeterministicMNList::UpdateMN(const CDeterministicMNCPtr&, const CDeterministicMNStateDiff&): Předpoklad „oldDmn != nullptr“ nesplněn.
Posix Signal: Neúspěšně ukončen (SIGABRT)
No debug information available for stacktrace. You should add debug information and then run:
raptoreum-qt -printcrashinfo=cjjgc4dun5zgk5lninzgc43ijfxgm3ybaagheylqorxxezlvnuwxc5bokbxxg2lyebjwsz3omfwduicomxb3u43qysn4liloysnsa5lln5xmjdlfnyqcqu2ji5aueusufehqmqekaaaaaaaascx2xnbxfeaabte4wc2dokiaadzk5k5ug4uqaadsksvlinzjaaajku5kwq3ssaaa6i62xnbxfeaabmizimaaaaaaaauckqyaaaaaaac7jrbqaaaaaaackvcdaaaaaaaalp3emaaaaaaabbciomaaaaaaadijk4yaaaaaaacrr5eaaaaaaaaaa===
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

run with strace
ead(5, "\1\0\0\0\0\0\0\0", 8)          = 8
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
ppoll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 2, {tv_sec=0, tv_nsec=0}, NULL, 8) = 1 ([{fd=5, revents=POLLIN}], left {tv_sec=0, tv_nsec=0})
read(5, "\1\0\0\0\0\0\0\0", 8)          = 8
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="+\0\1\0", iov_len=4}], 1) = 4
futex(0x559feac8bf88, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x559feac8bf88, FUTEX_WAKE_PRIVATE, 1) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base=";\3\5\0\v\0`\7\0\0\0\0\0\0\0\0\340\1\34\2\202\3\n\0\3\0`\7\v\0`\7"..., iov_len=76}], 1) = 76
ppoll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}], 2, {tv_sec=0, tv_nsec=446000000}, NULL, 8raptoreum-qt: evo/deterministicmns.cpp:552: void CDeterministicMNList::UpdateMN(const CDeterministicMNCPtr&, const CDeterministicMNStateDiff&): Předpoklad „oldDmn != nullptr“ nesplněn.
Posix Signal: Neúspěšně ukončen (SIGABRT)
No debug information available for stacktrace. You should add debug information and then run:
raptoreum-qt -printcrashinfo=cjjgc4dun5zgk5lninzgc43ijfxgm3ybaagheylqorxxezlvnuwxc5bokbxxg2lyebjwsz3omfwduicomxb3u43qysn4liloysnsa5lln5xmjdlfnyqcqu2ji5aueusufehqmqekaaaaaaaasapvhhmofeaabtamlcoy4kiaadzb4u45ryuqaadsyriz3drjaaajlq2rtwhcsaaa6kwvfhmofeaabmizimaaaaaaaauckqyaaaaaaac7jrbqaaaaaaackvcdaaaaaaaalp3emaaaaaaabbciomaaaaaaadijk4yaaaaaaacrr5eaaaaaaaaaa===
<unfinished ...>) = ?
+++ killed by SIGABRT (core dumped) +++
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

Hi, the new version downloaded, but there is an error

Same problem I had. You're gonna have to bootstrap your blockchain = download a compressed file with the current blockchain state and then replace your blockchain the one in the file.
1 - Go here https://bootstrap.raptoreum.com and download the file bootstrap.zip OR bootstrap.tar.xz OR bootstrap-index.tar.xz.
2 - Delete the powcache.dat file and the directories below from your Raptoreum wallet directory:

blocks
chainstate
evodb
llmq

3 - Extract the contents of the file you downloaded to your wallet directory.
4 - If you chose to download the bootstrap-index.tar.xz file - which already contains the indexes - you need to edit your raptoreum.conf file and add the lines below:
addressindex=1
futureindex=1
spentindex=1
timestampindex=1
txindex=1
5 - Run the Raptoreum Core Qt wallet and it should now start up and sync your blockchain.
===>   Make sure you have a backup of your wallet.dat file before doing anything.   <===

solved.
Thanks

It got way too late my time before I managed to set up the release. Have edited instructions on the release that should cover all of the above!


Misuse of the term parameters

Term parameters is used all across the specifications. One of examples is parameters field in parameters.
But actually it's about the arguments.
it is very confusing on first reading and leads to confusion.
Consider changing parameters to arguments or similar

+1
will work on it

https://github.com/serverlessworkflow/specification/pull/263


Lookup tables

Should the JSON support constant values that are looked up in a reference table? Or should it be up to the program creating the JSON files to do this?

This will be left up to the higher-level implementing program.


Add codeowners for frontend interest group

Previously:

Engineering huddle discussion
Slack thread

TBD: GitHub is flagging this as having a "syntax error" since the team needs to have write access to the repository, which may be an administrative logistical conundrum.

We might need to re-discuss the use of CODEOWNERS given the "write" permissions constraint. I don't really want to have to make access management (e.g. offboarding) part of the equation. I'll continue to use the handle manually in the meantime.


Draft: Fix compiler warnings

Fix the compiler warnings mainly arising from the library having been written for an older version of V

Sorry, this was accidentally made to the wrong remote...


Add support for JOIN - Multi-stage execution query engine

We have come up with a design doc to support complex multi-stage query execution.
Motivation
Today's Pinot query engine only supports a single scatter-gather model. This design runs very well if most of the heavy-lifting computation can be push down to segment servers, however it also have some limitations we would like to address. Namely,

Remove bottleneck in Pinot Broker when heavy reduce is needed.
Support SQL features such as window functions, distributed join, etc.
Support standardized full SQL semantics

Proposal
We propose to build a new multi-stage query engine to address these, specifically

a new SQL planner that can support full-SQL semantic planning.
a new execution engine that can support multi-stage, DAG-based execution.

Design Doc
Please see https://docs.google.com/document/d/10-vL_bUrI-Pi2oYudWyUlQl9Kf0cLrW-Z8hGczkCPik/edit# for more details.

This is so exciting!
Strong +1 to this proposal. It'll shape Pinot into the next-generation architecture and unlock many additional capabilities. For example, from the Uber side, this could help us extend the current lookup join and explore other join strategies such as broadcast join and colocated join.
It'll be great if you can push your prototype to a feature branch, so we can review and contribute over that.

The most awaited feature!

+1 on this

+1000！

Lets knock this down. +1
With all the +1's above, and no -1, I think it is safe to conclude that we can move ahead with detailed design+impl phase @walterddr.

Linking related old issue for reference - https://github.com/apache/pinot/issues/5664
This one should be used and the 5664 can remain open or be closed

@walterddr can you please open up access to the design doc?

First PR for query planner PR merged to feature branch https://github.com/apache/pinot/pull/8340/


ARROW-17686: [C++] Add custom ToPrint to AsofJoinBasicTest

Add a simple printer compatible with gtest printers, hopefully this will solve some issues with valgrind (3.13.0) on ubuntu 18.04 running the unit test arrow-compute-asof-join-node-test.
Jira ticket: https://issues.apache.org/jira/browse/ARROW-17686

Hmm, I assume this failure is unrelated? Though it probably should be looked at (open a JIRA for it?)
https://github.com/apache/arrow/actions/runs/3086110212/jobs/4990133151#step:12:289

[ RUN      ] ExecPlanExecution.StressSourceGroupedSumStop
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:783: Failure
Value of: _fut.Wait(::arrow::kDefaultAssertFinishesWaitSeconds)
  Actual: false
Expected: true
Google Test trace:
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:758: parallel
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/plan_test.cc:755: unslowed
D:/a/arrow/arrow/cpp/src/arrow/compute/exec/exec_plan.cc:55: Plan was destroyed before finishing

@github-actions crossbow submit valgrind


System Documentation End User (Others)

Description
Please include a summary of the change.
Why
Please include an explanation of why this change is necessary as well as relevant motivation and context. List any dependencies that are required for this change.
Issue
Link to Github issue.
Checklist
Please delete options that are not relevant.

[ ] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[ ] I have performed a self-review of my own code
[ ] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[ ] I have checked that new and existing tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas

@Phil91 kannst du mal bitte das File reviewen: https://github.com/eclipse-tractusx/portal-assets/pull/167/files#diff-cd1fc575235eaafa54d2ddfa2a58ffa795be1c2446d17cda4493c10c1548a979
Achtung ich hab nur kleine Änderungen gemacht - schau dir aber bitte mal das komplette File an.
@evegufy  kannst du die Erklärung für den Punkt "3" liefern => "Keycloak Base Image Update". Merci.
Deadline: spätestens zu Mitte November. Idealerweise warten wir nicht ganz so lang ;)

@jjeroch with the merge of https://github.com/eclipse-tractusx/portal-assets/pull/198 the file Identity & Access/10. FAQ.md will be moved to the portal-iam repo, I'll add the requested documentation then in the other repo.
@Phil91 will also rebase your feature branch here once https://github.com/eclipse-tractusx/portal-assets/pull/198 is merged to resolve the conflict.

@evegufy i think this pr wasn't closed on purpose, maybe because the target branch was deleted?
I would reopen the PR with target release/v1.7.0


Add Spark extension

Description
Brief description of what this PR is about
Add Spark extension

Codecov Report
Base: 72.08% // Head: 71.43% // Decreases project coverage by -0.65% :warning:

Coverage data is based on head (b3914ac) compared to base (bb5073f).
Patch coverage: 72.03% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2162      +/-   ##
============================================
- Coverage     72.08%   71.43%   -0.66%
- Complexity     5126     6334    +1208
============================================
  Files           473      626     +153
  Lines         21970    27972    +6002
  Branches       2351     3017     +666
============================================
+ Hits          15838    19981    +4143
- Misses         4925     6521    +1596
- Partials       1207     1470     +263

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...modality/cv/translator/wrapper/FileTranslator.java
44.44% <ø> (ø)

...y/cv/translator/wrapper/InputStreamTranslator.java
44.44% <ø> (ø)

... and 560 more

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

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


Fix error for void elements

While looking at #323, I also noticed that the error message was "wrong" (inaccurate), so I fixed it and added a test case for it. Previously, the "void elements cannot have end tags" only work if this happens in the root context.
This is the minimal diff to pass the test. Open to suggestions to make it more elegant.
Input:
<div>
  <input></input>
</div>

Before:
Closing tag `input` (on line 2) did not match last open tag `div` (on line 1).

After:
Invalid end tag `input` (on line 2) (void elements cannot have end tags).

LGTM

@mmun - r?

@mmun - Can you review when you have a minute?

Thanks!


Send account creation email

The system shall send a welcome email when a user creates an account.

Zack finished the Confirmation email.
Sends when users sign up with a verification code.


Tests Associate out of VS ?

Hello, can i do tests associate in some way out of VS 2017/2019 ? I mean in Azure DevOps, VSCode, etc.

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

ID: 7d8a7e40-73d6-795f-7b8c-77104ef606e8
Version Independent ID: 8f15995b-bd94-8d9f-1e8b-82f1f364d221
Content: Associate automated tests with test cases - Azure Test Plans
Content Source: docs/test/associate-automated-test-with-test-case.md
Product: devops
Technology: devops-test
GitHub Login: @steved0x
Microsoft Alias: sdanie

When is this going to be available for Visual Studio 2019?  Currently 2019 does not support TCM, which is a huge oversight.

@jimicze -- thank you for your question.  You may find answers here:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@varnk -- thank you for your feedback.  It looks like you've encountered an issue with the product itself, rather than an issue with the documentation. To make sure it gets in front of the right people, please submit your bug here.
@steved0x -- please look into this potential documentation issue.


Fix borg mobstates

About the PR

Adds crit and dead states to borgs. Why? Cuz it's fun, i suppose.
Also cleans up the icons because they were super washed out for no reason.
Additionally modified ChangeMobState to be authoritative and removes a bunch of unnecessary SetAllowRevives calls.
Why / Balance

borgs used to just explode which was lame.
Technical details

changes to MobStateSystem ChangeMobState
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Cyborgs are much more resilient and no longer crumble immediately upon death.

I'm a big fan of a borg crit state where they shutdown but dont gib to their components. I think it will make science's dismay (or inaction) at borg (re)assembling less of an issue.

exciting…


Bug/Regression [bgv]: Need to check if Evaluator's parameters match those of each operand

What version of Lattigo are you using?
dev_release_v4.2.0 (commit hash : d2f8555f40307b08217bc62bab617d46fa9b0173)
Does this issue persist with the latest release?
Yes
What were you trying to do?
Hello Lattigo team,
In this issue, I have intentionally created scenarios where the evaluator's parameters differ from those of each operand to test their behavior.
What were you expecting to happen?
I expected that the library would raise an appropriate exception when it detects a discrepancy in the parameters.
What actually happened?
The function returns incorrect random output (for example, [35372266 53616578]).
Reproducibility
// main.go
package main

import (
	"fmt"

	"github.com/tuneinsight/lattigo/v4/core/rlwe"
	"github.com/tuneinsight/lattigo/v4/schemes/bgv"
)

func main() {
	// parameters except for the evaluation
	params, err := bgv.NewParametersFromLiteral(bgv.ParametersLiteral{
		LogN:             14,
		LogQ:             []int{56, 55, 55, 54, 54, 54},
		LogP:             []int{55, 55},
		PlaintextModulus: 0x3ee0001,
	})
	if err != nil {
		panic(err)
	}
	encoder := bgv.NewEncoder(params)
	kgen := rlwe.NewKeyGenerator(params)
	Sk, Pk := kgen.GenKeyPairNew()
	encryptor := rlwe.NewEncryptor(params, Pk)
	decryptor := rlwe.NewDecryptor(params, Sk)

	// parameters for the evaluation
	params_eval, err := bgv.NewParametersFromLiteral(bgv.ParametersLiteral{
		LogN:             14,
		LogQ:             []int{56, 55, 55, 54, 54, 53},
		LogP:             []int{55, 55},
		PlaintextModulus: 0x3ee0001,
	})
	if err != nil {
		panic(err)
	}

	evaluator := bgv.NewEvaluator(params_eval, nil)

	D1 := make([]uint64, 2)
	for i := range D1 {
		D1[i] = 1
	}

	P1 := bgv.NewPlaintext(params, 5)
	if err := encoder.Encode(D1, P1); err != nil {
		panic(err)
	}

	C1, err := encryptor.EncryptNew(P1)
	if err != nil {
		panic(err)
	}

	result := make([]uint64, 2)

	// This function is what I want to test
	C, err := evaluator.AddNew(C1, C1)
	if err != nil {
		panic(err)
	}

	if err := encoder.Decode(decryptor.DecryptNew(C), result); err != nil {
		panic(err)
	}

	fmt.Print(result)
}

Hi @Maokami, this is an intended behavior. This topic has been discussed multiple times over the development cycles of the library and the conclusion was that, since Lattigo is intended to be a backed, this is not something that should be implemented at this level.  Rather we believe it should be implemented at the same level as the layer managing the keys and the parameters. Of course, this is something that might change in the future, but at the moment we have no plan to add such checks.

Hello @Pro7ech,
Thank you very much for your detailed response. I just have one more question to ensure that I fully understand.
I am interested in the input validity checks in HE libraries. When examining the evaluator.AddNew(ciphertext1, ciphertext2) function in Lattigo, I noticed that it ultimately calls the InitOutputBinaryOp function, which performs several checks related to the validity of inputs (such as NTT form, degree, etc.).
Unlike these checks, if I understand correctly, do you believe that the check I mentioned in this issue (evaluator.Q == ciphertext1 and 2.Q) is unnecessary because Lattigo is intended to be used not as a direct user-facing tool, but as a backend for compilers, making situations where the parameter Q changes unlikely?

These checks ensure that a ciphertext, within a cryptographic context and homomorphic operation is valid for the given homomorphic operation. For example, it might check that the ciphertext is in the NTT domain and that it is of degree 1. These are properties that can dynamically vary within the same cryptographic parameters and between homomorphic operations of a circuit.
Regarding your last question, I believe these checks are necessary at the level of the library. Cryptographic parameters are fixed for a given circuit, even if you might have multiple of them. So the check is only needed to be done once at the application level when receiving the ciphertext from a client/server before operating on it, to make sure it is valid within the cryptographic context of the application.

It makes sense. Thank you once again!


Bug with Create Server

Looks like they added backups to the API, can you please update the wrapper it will not let me create a server

What is exactly the problem?

Oh Ic, I thinked I fixed it, but wait I will look into it

Also it is fixed did you migrate to the new code of the new verision, cuz at the end of all parameters is also an backups parameter type there like 0 or 1 or idk.

@TheGoodIn

So you want another perm that says "0"

Also at the end of the params for the create server method you need also a param called backups with as an integer / string

So I just add another number and comma?

yes but only at the end

[
{
code: 'ValidationException',
status: '422',
detail: 'The File Name variable field is required.',
meta: { source_field: 'environment.STARTUP_FILE', rule: 'required' }
},
{
code: 'ValidationException',
status: '422',
detail: 'The Automatic Package Update/Installation variable field is required.',
meta: {
source_field: 'environment.AUTO_UPDATE_PACKAGE',
rule: 'required'
}
}

hmm

ok ik error, will fic tmr

I fixed it @TheGoodIn  It should not happen anymore, thanks for the report ;D

If problems shall occur open an issue, I will close this issue, bye


Temporary Keystroke Logger

A keystroke logger that records the last 10 keystrokes only. Appears next to the cursor.

Hello,
this sound like a potential security risk to me. I would not have something that can record my keys. Passwords are often typed by 'autotype' (keepass) nowadays.
May I ask which use case you have that you want record the last key strokes?

Say I was copying information from one source to the next, or I was unsure of what I was typing.
Aashray
From<EMAIL_ADDRESS>Sent: Saturday, August 1, 2020 4:45 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [microsoft/PowerToys] Temporary Keystroke Logger (#5444)
Hello,
this sound like a potential security risk to me. I would not have something that can record my keys. Passwords are often typed by 'autotype' (keepass) nowadays.
May I ask which use case you have that you want record the last key strokes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/5444#issuecomment-667601115, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMBYJZMV3RNJMFR2TMHI6Q3R6SSJDANCNFSM4PR37ZLQ.

What is the end to end scenario here? This seems to be extremely targeted with the "10 keystrokes" but no scenario of 'why'
For requests, answering the two questions we ask really does help everyone understand what is being asked
What is the expected behavior of the proposed feature?  What is the scenario this would be used?


Scaffold in current directory if name flag empty (#11)

Hey @dl-tg sorry was busy with my masters project. I am available now


Git + Docker error

Hi James,
Encountering a couple of errors from the docker prep steps:

When trying to clone from the git instructions, I receive the following message:
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I got around this by using the https link instead

I keep getting the following error at the docker build stage:
"docker image build" requires exactly 1 argument.
See 'docker image build --help'.
Usage:  docker image build [OPTIONS] PATH | URL | -
Build an image from a Dockerfile

Any idea why it’s not working?
Cheers,
-Pete

@pimoore

Thanks. I think if you have a public key registered with GitHub, it  should work using ssh. I'm glad you were able to work around using the ssh key.
I forgot a character in the command. The appropriate command is docker image build . -t tanzawa ( The . after build tells Docker to use the current directory).

Let me know if this works.
James

Tacking on first test notes here (maybe enable GitHub Discussions?)
Was able to follow the steps in readme (with above mentioned adjustment of Docker build/tag cmd).
I wouldn't assume Python to be on the host OS, though, so maybe could use alternative for the secret key gen?
Opening page could use some text.

I reread instructions and checked login - works fine.

@leonstafford
Awesome. Glad to hear you got it running. I've opened discussions (and started one, too) about improving the first run in Tanzawa.   #78
Any ideas for alternatives for the secret key gen? When I was researching how to do it, I ran into issues where it wouldn't run on macOS (BSD utils) or commands are Linux only (gnu utils) - Python seemed like a good compromise as it's standard on most platforms these days? Maybe this should move to a discussion...
Fixed the README in #79.

@jamesvandyne @leonstafford
I was able to get this running on a VPS, but after logging in I’m receiving the following error:

I use an iPad and have tried accessing the site in both Safari and Firefox Focus with no luck.  Any idea how to get around this?

@pimoore
Which page did you receive this error on? What did you do to get this error? I'm wondering if the last bullet point may be what caused the issue?
Also, if you're running it on a server, change your DEBUG in your .env file to False (and restart Tanzawa for it to take effect), you don't want to be leaking your secret keys and so forth any time there's an error.

This came up immediately following the login page after inputting my username and password, so I never got what the last bullet states about reloading the form page.  I’ll change the DEBUG option right now though.

Hrmm. Try reloading the login page and logging in again. It sounds like maybe something got cached?

I think I might be in over my head with this. 😂 I deleted and re-created the VPS and went through all the same steps, but now at the login page it has no styling applied and my username and password don’t get accepted at all.  Obviously I’ve done something different than the initial time, but I have no idea what that would be.

For what it's worth, I made a run locally and everything was perfect on first run. Linux and a Django customer. :)

Can the docker image be built with only the requirements.txt (not the dev one?)

getting issue with it with black 22.1.0 depends on typing-extensions>=<IP_ADDRESS>; python_version < "3.10"
The user requested (constraint) typing-extensions==<IP_ADDRESS>


Doubts about Infernal robotix model rework

Dear all, first of all sorry to bother you. I'd like to install via ckan the infernal robotics model rework. i know maybe nobody put it on ckan so i should include it if i like. When i go to the kerbal stuff page of the mod
https://kerbalstuff.com/mod/675/Infernal Robotics Model Rework - Core Pack
ckan appears in a globe near the mod, so... i thought maybe it is already done but I can't see it. it seems that ckan updates repositories correctly and I have the updated version 1.6.9.
I'd try to add it to ckan but i'm afraid not being enogh skillfull for that and my kwnoledge of this mods is not too deep.
Can anybody help me? Thank you guys

Hello @cid0rz
From what I can see Infernal robotix metadata is still work in progress but I think it will be available soon. You can track progress here KSP-CKAN/NetKAN#951. Wait until this will be merged :)

From what I gather the model rework depends on the IR rework and the latter has had a release yet (just pre-releases). Might be able to resolve the issue by handpackaging a pre-release directly into CKAN-meta though.

Thank you guys, i will try the manual solution for now ^^ you were fast and helpful! I'm sad marce is leaving like that... :( thx again!

Infernal robotics was updated to .20 so some progress but the aditional parts are not showing :( I see them in the recommended metadata but they are grey and no prompt to install :S

Wait what, updated to 0.20 in CKAN? How are you getting that? My version shows 0.19.3 as latest version and the NetKAN update that will allow the install of the Model Rework is not yet merged so that would be why you can't see it. I'm awaiting some review and ok'ing before I can merge them.

I tried installing from a .ckan with the text you posted, then a box in the column update for IR appeared
the text was:
{
"spec_version": "v1.4",
"identifier": "InfernalRobotics",
"license": "GPL-3.0",
"release_status": "stable",
"resources": {
"repository": "https://github.com/MagicSmokeIndustries/InfernalRobotics",
"homepage": "http://forum.kerbalspaceprogram.com/threads/114014"
},
"recommends"	: [ { "name" : "IR-Model-Rework-Core" },
{ "name" : "IR-Model-Rework-Expansion" },
{ "name" : "IR-Model-Rework-Utility" },
{ "name" : "TweakScale" } ],
"install"		: [ { "find" : "MagicSmokeIndustries",
"install_to" : "GameData" } ],
"ksp_version": "0.90",
"name": "Magic Smoke Industries Infernal Robotics",
"abstract": "Making stuff move",
"author": [ "erendrake", "pellinor0", "ZodiusInfuser", "sirkut", "Ziw" ],
"version": "0.20c",
"download": "https://github.com/MagicSmokeIndustries/InfernalRobotics/releases/download/v0.20C/IR.Rework.P3.zip"
}
I clicked and updated ^^

FYI that update is savebreaking. I changed the PR to be 0.19.4 instead after some discussion with one of the mod authors telling me the first officiall release will probably be 0.20 and your version of the file might be considered "higher" than that.
The reason you're not seeing the model rework stuff is that it hasn't been added to repositories yet.

I removed it and re-installed, no save file damage as far as I can see. i had only 1 ship with IR components and seems to work as before. Thx for everything i will wait for the official updates. :E I hope nothing will get broken for this. Thx for the support and the knowledge


Add 404 pages

Adds a special error mode if the path matches the required format but the package is wrong:

And a generic 404 page otherwise

I don't think all those links to search engines are necessary. I think the "no package exists" message is fine, and then maybe just a link to the JuliaLang.org homepage.

And for the generic 404 page, maybe a link to the JuliaLang.org homepage would be nice.

I just implemented what @MasonProtter suggested as two other people also liked that, I have no strong preference regarding the exact content of the 404 pages

I thought about it a bit more. I think I'm fine with keeping the search engine links for now. We can re-evaluate and remove later if we change our minds.

What does the user experience look like if they have JavaScript disabled or blocked?

This PR reminded me that probably https://github.com/JuliaRegistries/General/blob/75b1eaca50e544716180365df13bc8778315337f/.github/workflows/redirects_page.yml#L8 should include also .github/workflows/redirects_page.yml and .ci/generate_redirects.jl

Personally, I think the search engine links are very helpful, because not all julia packages are registered.
This gives an easy way for me to write Foo.jl in Discourse / Zulip and then when that gets auto-linkified, users can search for it if they desire.

So all that needs to done is change the Github -> GitHub and Gitlab -> GitLab?

I think it might also be nice to change "no package Example" to "no package Example.jl" in the user-facing message.
Because the user will likely want to do a web search for the package, and doing a web search for "Example.jl" will likely be more useful than doing a web search for "Example".

Are the jlls also called .jl? By the way, the search links already include the jl

Yeah, JLLs are named e.g. Foo_jll.jl. I think including the .jl in the visible error message would be good, in case a user just wants to copy-paste their search, or manually type it (if they prefer a search engine other than one of the ones that we link).

@ericphanson @giordano Any other thoughts here?

https://github.com/JuliaRegistries/General/pull/121137#issuecomment-2532993111


[BUG] Color fade duration not working

Describe the bug
Color fade not working
To Reproduce
Steps to reproduce the behavior:
skip to the next available song or fade into it (not color fade)
Screenshots
https://youtu.be/u2HKXx_bvAI
Desktop (please complete the following information):

OS: windows 10 home
Version 10.0.19043 build 19043

Logs
Add logs from console. To do that

Run spicetify enable-devtool in terminal
Spotify will be restarted
Hit Ctrl + Shift + I to open DevTools window
Navigate to tab Console
Copy console window content.

vendor~xpui.js:1 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
(anonymous) @ vendor~xpui.js:1
vendor~xpui.js:1 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
    at c (https://xpui.app.spotify.com/vendor~xpui.js:29:2487610)
    at t.o.addListener (https://xpui.app.spotify.com/vendor~xpui.js:29:2489892)
    at https://xpui.app.spotify.com/vendor~xpui.js:29:2136447
    at Pa (https://xpui.app.spotify.com/vendor~xpui.js:29:2729463)
    at ks (https://xpui.app.spotify.com/vendor~xpui.js:29:2753315)
    at t.unstable_runWithPriority (https://xpui.app.spotify.com/vendor~xpui.js:29:2926970)
    at hi (https://xpui.app.spotify.com/vendor~xpui.js:29:2698971)
    at As (https://xpui.app.spotify.com/vendor~xpui.js:29:2753094)
    at Os (https://xpui.app.spotify.com/vendor~xpui.js:29:2737865)
    at vs (https://xpui.app.spotify.com/vendor~xpui.js:29:2736787)
    at https://xpui.app.spotify.com/vendor~xpui.js:29:2699243
    at t.unstable_runWithPriority (https://xpui.app.spotify.com/vendor~xpui.js:29:2926970)
    at hi (https://xpui.app.spotify.com/vendor~xpui.js:29:2698971)
    at yi (https://xpui.app.spotify.com/vendor~xpui.js:29:2699188)
    at vi (https://xpui.app.spotify.com/vendor~xpui.js:29:2699123)
    at Ss (https://xpui.app.spotify.com/vendor~xpui.js:29:2737286)
    at rl (https://xpui.app.spotify.com/vendor~xpui.js:29:2763699)
    at render (https://xpui.app.spotify.com/vendor~xpui.js:29:2766810)
    at https://xpui.app.spotify.com/xpui.js:1:1031261
(anonymous) @ vendor~xpui.js:1
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/vendor~xpui.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/644.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/22.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui-desktop-modals.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED
DevTools failed to load source map: Could not load content for https://xpui.app.spotify.com/xpui-routes-playlist.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED

What have you set Dribbblish Settings > Animations & Transitions > Color Fade Duration to?

What have you set Dribbblish Settings > Animations & Transitions > Color Fade Duration to?

any, whatever time I set it to nothing happens it stays at an instant transition with no fade

I can't reproduce that issue.
Can you delete .spicetify and spicetify-cli folders
Then reinstall Spicetify Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" | Invoke-Expression

I can't reproduce that issue. Can you delete .spicetify and spicetify-cli folders Then reinstall Spicetify Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" | Invoke-Expression

i uninstalled Spotify and spictify re-installed them same issue occurs

this only started happening since i updated from 2.6 to 3.0.1

You said you uninstalled spicetify but did you deleted the two folders I mentioned?

You said you uninstalled spicetify but did you deleted the two folders I mentioned?

yep fully removed

Not reproduced by anyone else. Please make sure you have a clean setup and reopen with additional details if the problem persists.

I was getting the same thing, I guess my settings randomly changed make sure [animate controls and elements] is checked you can get here by typing [Adjust the appearance and performance of windows] in the start menu

I was getting the same thing, I guess my settings randomly changed make sure [animate controls and elements] is checked you can get here by typing [Adjust the appearance and performance of windows] in the start menu

Damn, thought I was going crazy lol cant thank you enough!!


chore: bdd-sbrp-import-1583313814 to 0.0.1

chore: Promote bdd-sbrp-import-1583313814 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


[FEATURE REQUEST] Validate requested object ID's in a pipeline

And what if one developer in my team doesn’t want to use it?
 Back to Excel sheets, or yelling, or whatever works better for you.
The problem of the rogue employee, creating a object ID outside AL Object ID Ninja, is that the person behind him/her wil use this object ID again and wil have the problem on the merge of the pull-request.
It would be great to validate in a CD/CD pipeline to be sure the that all the object ID's are requested though AL Object ID Ninja. If not throw a warning, so the developer is forced to resolve that issue in the pull-request.
..if possible a nice-2-have would be that if the object ID that is created still is available it will automatically assign in AL Object ID Ninja

Another scenario for which this would be useful: when someone types over the intellisense suggestion instead of using autocompletion. (Which is in fact of course another way of not using AL Object Ninja ID)

I agree that this would be cool. However, can you create a separate issue for this so it can be tracked separately? It's not exactly the same request as proposed by Arthurvdv.

And what if one developer in my team doesn’t want to use it?  Back to Excel sheets, or yelling, or whatever works better for you.
The problem of the rogue employee, creating a object ID outside AL Object ID Ninja, is that the person behind him/her wil use this object ID again and wil have the problem on the merge of the pull-request.
It would be great to validate in a CD/CD pipeline to be sure the that all the object ID's are requested though AL Object ID Ninja. If not throw a warning, so the developer is forced to resolve that issue in the pull-request.
..if possible a nice-2-have would be that if the object ID that is created still is available it will automatically assign in AL Object ID Ninja

Thanks for your proposal, and sorry for my long absence here.
Anyway, I can see this from your angle, but how exactly would you propose I implement this? There is no clean solution that is 100% reliable.
Imagine this scenario: Developer A creates an object, ignores Ninja's suggestion and types the ID manually. Developer B creates an object and accepts Ninja's suggestion. At this time, both devs A and B have the same object ID. Dev A creates a PR. Your pipeline at this time checks for validity and sees that this ID has been assigned by Ninja and accepts it. Dev B then creates their PR, and this one fails because of ID collision.
The only way in which this kind of check would work is if dev B didn't yet assign the object ID by Ninja at the time dev A's PR is being processed by the pipeline.
The only way how I can see this happening is by adding extra artifacts to the repo, so when a dev assigns an object ID, this information is stored as a new file in some Ninja folder, so that the pipeline can validate that.
If you have any suggestions on the technical aspects of the enhancement you propose, please share them.

I am adding the "wontfix" tag to this for now. If you provide a good idea on how to technically solve this problem, I'll gladly remove that tag.
I'll keep the issue open for a while to solicit comments from you or the others.

No comments arrived on this. I am happy to reopen this feature in the future if I get good suggestions about how to keep track of which object ID assignments are valid, and which are not, from within a pipeline.
Take a look at Ninja v2.11.0 and the features it includes to help with managing unassigned and manually assigned object IDs.

The main problem with the scenario I added above is that you might have object ids in use without them being reserved, which was not visible in any way when using an app pool. The new feature warning N0301 is great for tackling this; we can even promote this to an error and having pull requests fail on it. As you explained, not 100% reliable, but this happening should be rare and in most of those rare cases it is now detected before it becomes a problem. Thanks a lot again!🙏


Added flag to use kubelogin in non-admin user scenario and updated readme to reflect changes

In response to: https://github.com/Azure/aks-set-context/issues/25

Still need to update action.yml


"Mute" -> "Hide"

-Change "Mute" to "Hide" for clarity
-Don't show block on claim preview 3-dot menu (Left Global-block still there)

Images

Like these changes, think that should remove the recent confusion.


Buffer events to disk before sending, discard them on success.

I'm trying to handle the feedback here: https://github.com/getsentry/raven-java/issues/251#issuecomment-258597779
Basically, we should buffer events to disk (when disk buffering is enabled) before we send, so that uncaught exceptions can be saved before an application dies (Android is the prime example).
The PR does that, but I just remembered we wrap the connection in AsyncConnection at the very end of construction -- in other words even the act of buffering will be done async.
Need to think of/discuss some changes here, because I think buffering needs to be done sync, and then attempting to send/discarding-on-success can be done async.

We discussed fixing the ordering problem with a beautiful double wrap such as:
BufferedConnectionWriter(AsyncConnection*(BufferedConnectionDeleter(HttpConnection))))

M'kay, added an awesome writing wrapper so our connections are a nice 500 objects deep. 👻


Have you tested your latency on GPU?

Hello, have you evaluated your latency on gpu？ I only found the flops, which can not reflect the latency sometimes. Thank you for your time

I found the result on TAB1


Class Vizceral can't accept external layout

I want to customize a layout,but the class Vizceral does not receive the external layout

+1, customized layout needed


Disable runtime resolution (Paket 5)

https://www.nuget.org/packages/Fody/2.1.0 broke our test suite.

@matthid can you please fix it? I want to go to next rc ;-)


Is there a way to use sw without using precache?

(I'm using injectManifest)
In my app, I need to use sw to intercept and modify traffic, but I don't need precaching (in fact, precaching leads to various troubles in my case).
So, I removed precacheAndRoute(self.__WB_MANIFEST) from my sw source code, then I got this error when building:
error during build:
Error: Unable to find a place to inject the manifest.
This is likely because swSrc and swDest are configured to the same file.
Please ensure that your swSrc file contains the following: self.__WB_MANIFEST

at injectManifest (node_modules\workbox-build\build\inject-manifest.js:77:19)
at async generateInjectManifest (node_modules\vite-plugin-pwa\dist\index.js:244:23)
at async _generateSW (node_modules\vite-plugin-pwa\dist\index.js:634:7)
at async Object.closeBundle (node_modules\vite-plugin-pwa\dist\index.js:683:11)

Is there a way to use workbox routing strategies without using precache? Thanks!

You only need the injection point, just assign it to a const variable, dont use it and you are done.
About usage of workbox you shoukd ask on workbox repo, just check the links on the docs there are some examples on their docs website

https://web.dev/learn/pwa/serving/

Hi @userquin, thanks, I'm confused about the "just assign it to a const variable and dont use it" that you said. In which file do I do that, and who is it?
I assume I'll still use the same setup of the VitePWA plugin in vite config? And I assume I'll still use the same registerSW() from virtual:pwa-register?
I tried to put self.__WB_MANIFEST = [] or precacheAndRoute([]) in my sw source, but it didn't work, I guess it's not what you meant.

// sw.ts => your service worker
const wbManifest = self.__WB_MANIFEST
// use another strategies without using wbManifest
// you don't need to use precacheAndRoute

The registerSW must be imported/used on your main jsx/js/ts/tsx.
The error you get comes from workbox-build since there is no self.__WB_MANIFEST (the injection point): you remove the entire line and you should have it.
Maybe in a future we can just building the custom service worker without using workbox-build::injectRegister function.

Hi @userquin, thanks, not sure if I understood you correctly, but if I leave everything unchanged, and only make the one-line change you suggested, it won't compile:
// sw.ts
import { precacheAndRoute } from 'workbox-precaching';
import { registerRoute } from 'workbox-routing';

precacheAndRoute(self.__WB_MANIFEST); // does compile
registerRoute(myRoute);

into ↓
// sw.ts
import { registerRoute } from 'workbox-routing';

const wbManifest = self.__WB_MANIFEST; // does not compile
registerRoute(myRoute);

Searching "wbManifest" in this repo doesn't yield any match. Did you mean another spelling?

@ZYinMD check this repo, it is building a custom sw for serving dynamic pages: the sw is here https://github.com/userquin/test-pwa-ts-4.5.5/blob/main/src/sw.ts

Hi @userquin, thanks, I thought we were talking about how to use sw without using precache? But the sw.ts you linked does contain precacheAndRoute(self.__WB_MANIFEST).

@ZYinMD my sw is using the const wbManifest = self.__WB_MANIFEST;, if you call registerRoute(myRoute); without calling precacheAndRoute will throw an error on runtime not in build time, just read the comments on my custom sw.

@ZYinMD you should ask on workbox repo instead here

Thanks, after some reading, I've come to the conclusion that both generateSW and injectManifest are designed to handle precache. If I don't need precache, I should just use a bundler to compile my sw.ts, then register it manually with navigator.serviceWorker.register("sw.js"). I'll probably just use esbuild to do that as part of my build process, and remove vite-plugin-pwa.

Stumbled upon very this issue, fixed it by adjusting globPatterns — I've excluded js/html/css from it

@victordidenko https://vite-plugin-pwa.netlify.app/guide/static-assets.html#globpatterns

@ZYinMD my sw is using the const wbManifest = self.__WB_MANIFEST;, if you call registerRoute(myRoute); without calling precacheAndRoute will throw an error on runtime not in build time, just read the comments on my custom sw.
EDIT: I mean, if you're not using precacheAndRoute you cannot use registerRoute since it will check if matched on the global precache entry IIRC.

have some solution? If I don't need the precacheAndRoute (because I have to give a page as fast as possible on the first load), but need the registerRoute, now I must add js console.log(self.__WB_MANIFEST) to serviceWorker, otherwise I get an error Unable to find a place to inject the manifest. This is likely because swSrc and swDest are configured to the same file. Please ensure that your swSrc file contains the following: self.__WB_MANIFEST. Adding a constant doesn't work now. console.log works, but outputs a lot of information that the user shouldn't see.

@McLotos not yet, but there is a PR, check #390

@McLotos not yet, but there is a PR, check #390

thnx. looking forward

@McLotos not yet, but there is a PR, check #390

Awesome! Waiting for it very much, when is it going to be released?

I solve my problem by using this configuration
injectManifest: {
injectionPoint: undefined
}
O VitePWA plugin.
https://vite-pwa-org.netlify.app/guide/inject-manifest.html#service-worker-code


Backport: Change the default Prometheus cpu/memory limits and reservation

https://github.com/rancher/rancher/issues/19349
Change default CPU Limits to 1000
Change default CPU Reservation to 750
Change default Memory Limits to 1000
Change default Memory Reservation to 750

Can be tested with rancher/rancher:v2.2.2-rc2

@loganhz @sangeethah the new limits are too high now for a 2vCPU cluster. Is this what we want? Now we are in a situation again where this is less likely to work out of the box without a bigger cluster.
I often test with a 2vCPU cluster but now this is not good enough:

cc: @deniseschannon
I thought memory was more important than CPU reservation. I think ideally leave prometheus CPU reservation at old 500 value, but keep new 750 MiB memory reservation value.

@alena1108 @cjellick Wanted to confirm that the CPU/Memory Reservation we have is the ideal settings we want ?

Based on discussion with @sangeethah this CPU reservation amount (and memory reservation) are expected. Going forward I will always test with larger clusters or with an additional worker node so I have sufficient vCPU to test.

Version: v2.2.2-rc2
Confirmed the new default values:

Change default CPU Limits to 1000
Change default CPU Reservation to 750
Change default Memory Limits to 1000
Change default Memory Reservation to 750

And as pictured:

Validated HTTP (example below):
prometheus.resources.core.limits.cpu: "1111m"
prometheus.resources.core.limits.memory: "1212Mi"
prometheus.resources.core.requests.cpu: "770m"
prometheus.resources.core.requests.memory: "777Mi"

Confirmed that these changes take effect. The prometheus-cluster-monitoring-0 pod restarts (prometheus container) so the change takes effect:

I smoke tested this area. I tried setting rather low specs as well such as cpu reservation 50 cpu limit 75 and monitoring still worked as expected (in my case with my small cluster).
Note testing new node exporter settings/defaults/limits was already validated in another issue.


fix(copy): angular copy should throw exception when source and destin…

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
bug
What is the current behavior? (You can also link to an open issue here)
https://github.com/angular/angular.js/issues/15444
What is the new behavior (if this is a feature change)?
when angular copy source and destination are not the same type, it throw an exception
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

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

Other information:
…ation are not the same type
Closes #15444

This will require removing some test cases like
 it('should clear destination arrays correctly when source is non-array', function() {
  expect(copy(null, [1,2,3])).toEqual([]);
  expect(copy(undefined, [1,2,3])).toEqual([]);
  expect(copy({0: 1, 1: 2}, [1,2,3])).toEqual([1,2]);
  expect(copy(new Date(), [1,2,3])).toEqual([]);
  expect(copy(/a/, [1,2,3])).toEqual([]);
  expect(copy(true, [1,2,3])).toEqual([]);
});

it('should clear destination objects correctly when source is non-array', function() {
  expect(copy(null, {0:1,1:2,2:3})).toEqual({});
  expect(copy(undefined, {0:1,1:2,2:3})).toEqual({});
  expect(copy(new Date(), {0:1,1:2,2:3})).toEqual({});
  expect(copy(/a/, {0:1,1:2,2:3})).toEqual({});
  expect(copy(true, {0:1,1:2,2:3})).toEqual({});
});

since that these cases will never happened because the source and destination must be the same type.
Is there is a reason to keep these cases ? the are useless now

I am putting this in the Ice Box, as I don't think this change is appropriate (see https://github.com/angular/angular.js/issues/15444#issuecomment-263214601).
I could get cnvinced otherwise thougg (if there is a compelling usecase).


Cannot use different Cosmos DB containers

Versions
What package version of the SDK are you using. 4.8.0
What nodejs version are you using: 10.18.1
What browser version are you using
What os are you using: Windows
Describe the bug
Give a clear and concise description of what the bug is.
Cannot use different Cosmos DB containers because of global _doOnce in cosmosDbPartitionedStorage.ts.
To Reproduce
Steps to reproduce the behavior:
const storage = new CosmosDbPartitionedStorage({
				cosmosDbEndpoint: process.env.DB_SERVICE_ENDPOINT,
				authKey: process.env.DB_AUTH_KEY,
				databaseId: process.env.DATABASE_ID,
				containerId: process.env.CONTAINER,
			})
const otherStorage = new CosmosDbPartitionedStorage({
				cosmosDbEndpoint: process.env.DB_SERVICE_ENDPOINT,
				authKey: process.env.DB_AUTH_KEY,
				databaseId: process.env.DATABASE_ID,
				containerId: process.env.OTHER_CONTAINER,
			})
otherStorage.write(...)

Expected behavior
Data gets written to the other container.
Actual behavior
Data gets written to the first container.
[bug]
I might submit a PR to correct and test this.

@mdrichardson, can you chime in on this issue? Thanks!

Doh!, I didn't even consider the use of multiple storages.  Thank you for reporting this @juharris
@mdrichardson and I discussed offline.  He said he can make this a dictionary of doonce, keyed on databaseid + containerid

Yeah that's one way, or just keep _doOnce as a member variable and it should be fine.


Tutorial for "Introduction to classes", problem with this

I don't understand why in section Open a new account we use keyword this in constructor
public BankAccount(string name, decimal initialBalance)
{
     this.Owner = name;
     this.Balance = initialBalance;

     this.Number = accountNumberSeed.ToString();
     accountNumberSeed++;
}

but in the section Open a new account this vanish from constructor.
public BankAccount(string name, decimal initialBalance)
{
    Number = accountNumberSeed.ToString();
    accountNumberSeed++;

    Owner = name;
    MakeDeposit(initialBalance, DateTime.Now, "Initial balance");
}

I also want to ask, what is recommended style: using this keyword before names of properties and methods or not?

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

ID: 24c8353f-69e7-9068-9b18-df0198a1b122
Version Independent ID: 823031fe-c8a4-69cd-2b1a-9faacd282aab
Content: Classes and objects  - C# Fundamentals tutorial
Content Source: docs/csharp/fundamentals/tutorials/classes.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for raising these questions @KZiemian This helps us improve.
I'll answer the questions here, and then add the "up for grabs" label in addition to adding this to our backlog.
To answer your first question:
The this modifier is usually optional when you're accessing a member of the current class. The only time it is necessary is to disambiguate between a local variable and a member, as shown in the following:
public class Point
{
    private int x;
    private int y;

    public Point(int x, int y)
    {
        // The left side is the member field, the right side is the parameter.
        this.x = x;
        this.y = y;
    }
}

To answer the second question:  Most coding styles recommend not including the this modifier except where it is required (as above).

@BillWagner, can I change the first example to remove the this  modifier since it isn't necessary there?

Thank you for the answer. I want to point two minor issues that I have with this page and they probably don't deserve separated GitHub issues, I will post them here.
In Create deposits and withdrawals in try-and-catch statement try is shown in blue and catch in black, this is true both on my Windows and on my GNU/Linux systems. I feel that this is not best syntax highlighting and both this words should be in the same color.
Second issue is in the same part of article Create deposits and withdrawals. Before code snippet of the second try-and-catch statement we can read "Add the following code at the end of your Main method:". If some beginner would do that code
try
{
    account.MakeWithdrawal(750, DateTime.Now, "Attempt to overdraw");
}
catch (InvalidOperationException e)
{
    Console.WriteLine("Exception caught trying to overdraw");
    Console.WriteLine(e.ToString());
}

would never run and he/she may be confused. This is because that is you write everything according to the page code before would be
try
{
    invalidAccount = new BankAccount("invalid", -55);
}
catch (ArgumentOutOfRangeException e)
{
    Console.WriteLine("Exception caught creating account with negative balance");
    Console.WriteLine(e.ToString());
    return;
}

and since exception is catched whole function is terminated by return;. At least I believe it being the reason, since in all similar languages that I know is how the return works.

Thanks for the additional information @KZiemian
I'll update per those comments this month.


Improved MessageToMessageEncoder

Motivation:
MessageToMessageEncoder introduces an additional layer of queuing which duplicates the queueing at ChannelOutboundBuffer. Encoders which inherit from MessageToMessageEncoder could instead directly write to the channel instead of relying on MessageToMessageEncoder to do this for them.
Modifications:

Introduce a light weight promise aggregator which can wrap the original promise from the ChannelOutboundHandler.write(..) method with the result of multiple Channel.write(..) operations done during the encode.
Introduce a base class which does the type matching that MessageToMessageEncoder can inherit from to take advantage of the improved promise management.
Update codec-redis to demonstrate the use case for this new encoder
Update codec-http2 to use the new light weight promise aggregator.

Result:
Classes which currently inherit from MessageToMessageEncoder have an alternative class to inherit from which removes a layer of queueing.
MessageToMessageEncoder promise management is improved.
Fixes https://github.com/netty/netty/issues/5065

@trustin @normanmaurer - PTAL
@jongyeol - You may also be interested in the redis encoder portion.

@normanmaurer @trustin - Ping.

@Scottmitch I'm not sure I really like this a lot. It feels more "clumsy" in terms of API compared to the old MessageToMessageEncoder. Also did you check that this really gives any improvements ?

@normanmaurer - See benchmark results in https://github.com/netty/netty/pull/5214#issuecomment-217034020. The benefits are more pronounced as the size of the redis command grows (~45% improvement demonstrated in the benchmark).
The API allows the encoders to directly write to the channel ... IMO the prior approach to hide writing to the channel from the encoders just because of the promise creation could also be considered "clumsy".  The new API makes it so the parameters in ChannelOutboundHandler.write and TypeSensitiveMessageEncoder.encode serve roughly the same purpose, and does not require knowledge of what will be done with the List lower levels.

It's great that it improves the performance, but I'm unsure I like the proposed API change like @normanmaurer said.
Instead of ChannelPromiseAggregatorFactory, could we define a subset of List?
public interface EncoderOutput {
    void add(Object encoded);
}

private final class MessageToMessageEncoderOutput implements EncoderOutput {
    @Override
    public void add(Object encoded) {
        aggregatedPromise.increment();
        ctx.write(encoded, aggregatedPromise);
    }

    void done() { // Invoked by MessageToMessageEncoder
        // aggregated promise set to success only when the write() for the last add() succeeds.
        aggregatedPromise.done();
    }
}

I'm somewhat afraid that I might be missing something, so please forgive me if this doesn't make any sense. ;-)

Let us close this one for now and re-visit for next major version


Concurrent issues caused by a large number of Remote Writes

What type of bug is this?
Other
What subsystems are affected?
Storage Engine
Minimal reproduce step
I used prometheus-benchmark to test the performance of the greptimedb remote write, and when I adjusted to high concurrency, DDLs could hardly be executed successfully.
Prerequisite
helm, kubectl, k8s cluster
Run greptimedb
$ cat config.toml
[http]
addr = "<IP_ADDRESS>:4000"

$ cargo run --release -- standalone start -c config.toml

Run bench (targetsCount = 2)
$ git clone https://github.com/VictoriaMetrics/prometheus-benchmark/

With modified chart/values.yaml:
vmtag: "v1.82.1"
nodeSelector: {}
targetsCount: 2
scrapeInterval: 10s
queryInterval: 10s
scrapeConfigUpdatePercent: 1
scrapeConfigUpdateInterval: 10m
writeConcurrency: 0
writeReplicas: 1
writeReplicaMem: "4Gi"
writeReplicaCPU: 2
remoteStorages:
  gt:
    writeURL: "http://<IP_ADDRESS>:4000/v1/prometheus/write"

Run
$ make install

Errors reported by vmagent, said unknown columns:
$ kubectl -n vm-benchmark logs my-bench-prometheus-benchmark-vmagent-gt-replica-0-6rndsc vmagent
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"address\\\", \\\"broadcast\\\", \\\"operstate\\\", \\\"duplex\\\"]\"}"; re-sending the block in 16.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"mountpoint\\\", \\\"fstype\\\"]\"}"; re-sending the block in 8.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"domainname\\\", \\\"nodename\\\", \\\"release\\\", \\\"machine\\\", \\\"sysname\\\", \\\"version\\\"]\"}"; re-sending the block in 2.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"mountpoint\\\", \\\"fstype\\\"]\"}"; re-sending the block in 32.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"fstype\\\", \\\"mountpoint\\\"]\"}"; re-sending the block in 4.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"cause\\\"]\"}"; re-sending the block in 16.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"version\\\", \\\"release\\\", \\\"sysname\\\", \\\"nodename\\\", \\\"domainname\\\", \\\"machine\\\"]\"}"; re-sending the block in 60.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"mountpoint\\\", \\\"fstype\\\"]\"}"; re-sending the block in 60.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"fstype\\\", \\\"mountpoint\\\"]\"}"; re-sending the block in 60.000 seconds
500; response body="{\"error\":\"Invalid request to region<PHONE_NUMBER>104(1024, 0), reason: unknown columns: [\\\"mountpoint\\\", \\\"fstype\\\"]\"}"; re-sending the block in 8.000 seconds

Finish
$ make delete

Run bench (targetsCount = 1000)
With modified chart/values.yaml:
vmtag: "v1.82.1"
nodeSelector: {}
targetsCount: 1000
scrapeInterval: 10s
queryInterval: 10s
scrapeConfigUpdatePercent: 1
scrapeConfigUpdateInterval: 10m
writeConcurrency: 0
writeReplicas: 1
writeReplicaMem: "4Gi"
writeReplicaCPU: 2
remoteStorages:
  gt:
    writeURL: "http://<IP_ADDRESS>:4000/v1/prometheus/write"

Run
$ make install

greptimedb kept logging table does not exist:
...
Logical table `greptime.public.node_network_name_assign_type` does not exist, try creating table
Logical table `greptime.public.node_sockstat_UDP6_inuse` does not exist, try creating table
Logical table `greptime.public.node_boot_time_seconds` does not exist, try creating table
Logical table `greptime.public.node_memory_MemTotal_bytes` does not exist, try creating table
Logical table `greptime.public.node_sockstat_TCP_inuse` does not exist, try creating table
Logical table `greptime.public.node_network_transmit_queue_length` does not exist, try creating table
Logical table `greptime.public.node_memory_DirectMap2M_bytes` does not exist, try creating table
...

Finish
$ make delete

What did you expect to see?
During periods of high concurrency, data can be written normally with remote write, and tables can be created without issues.
What did you see instead?
greptimedb didn't work normally.
What operating system did you use?
Ubuntu 22.04 x64
What version of GreptimeDB did you use?
3201aea3602b68bbd6cbdbb6d05f620517d687bc
Relevant log output and stack trace
No response

cc @fengjiachun @MichaelScofield

See #3257

fixed by #3257


Fix script for Ghidra 10.3.1

Replace removed createPointer with applyData.
Replace removed Scalar.subtract with getValue -> getLong(0).
Using applyData also prevents exceptions when a pointer is already defined.

maybe you can fix the typo at the line 122 (it should be .lib.ent there, not .lib.stub, someone did a little ctrl+C, ctrl+V)?

Fixed now.


Not work in ida9.0 release.

here is torrent! please support!
<EMAIL_ADDRESS>

Download the Windows binary from here: Download Windows binary from here: https://github.com/allthingsida/qscripts/releases/tag/v<IP_ADDRESS>_90
Let me know.

I use mac x64 ida pro.

Good. Feel free to build it yourself. All the instructions are up there.


its possible to change particle mass, size and weight ?

Dear @mehrezboulares. You can assigna  particle mass, size and weight if you want by adding custom Variables (see https://nbviewer.jupyter.org/github/OceanParcels/parcels/blob/master/parcels/examples/parcels_tutorial.ipynb#Calculating-distance-travelled)
However, note that these sizes etc won't change the dynamics of the particles; i.e. their trajectories won't change unless you write kernels that do something to the particles based on their mass, size etc. That is for you as a user to do
Good luck!


dihalogen, fleyedness (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Hard to open console from status bar on iPhone X

Hi!
Thanks for supporting such a great project.
We are having issues with opening/dismissing log console on iPhone X device from the status bar because the button is too small and it's covered partly behind the screen curve.
Is there a way to make it more accessible on such devices (use safe area only, increase button size)?

I (or anyone who wants to contribute) have yet to rework this. It really is an open issue.

Please try just released 3.6.0.


Stop publishing to bintray.

Minimal PR so its easy to rollback if needed. Once we're ok with this we can delete all the bintray code in a follow up.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

https://github.com/linkedin/datahub-gma/issues/77


IndexError: tuple index out of range

tensor flow = 2.2
keras = 2.4.3
I am not able to solve this error.
Can you please tell me where should I refer?
Thanks!

@starboyvarun
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!


Tensorflow version

If you had to use Tensorflow 1/ core Api in classification.py , why did you installed Tensorflow 2 at first place and disable it at https://github.com/Vaaceph/iris-flower-classification/blob/a2c70396fcfaa87a42213354871e556edba931bc/classification.py#L4

Yes, you are right.
This model is built on Tensorflow 1. So, related pip packages have been downgraded.


Subset related functions implementation

Those functions for remove/update subsets in the XX_vispy_viewer.py are not complete, for this reason, removing & updating subsets might cause some errors on both 3D Volume Rendering widget and 3D Scatter Plot one.

Solved


Release packaged Python files for easy use and no installation of Python

Merged with #4 which automatically release new pyinstaller executables on a release


2210 send data to queue for dap m

What? and Why?
https://trello.com/c/ZTsePTqV/2210-send-data-to-queue-for-dap-m
For LMS surveys, a message is needed to be put onto another queue that another separate service will consume.
Checklist

[ ] CHANGELOG.md updated? (if required)

Don't merge until https://github.com/ONSdigital/sdx-store/pull/98 is merged as this is depends on it

@insacuri PR title. Can it make sense please?

@insacuri This isn't testable without changes to sdx-validate. I get errors extra keys not expected case_id, started_at, and lms is not a valid survey_id.
Also a dap payload from eQ failed as it had lots of "group_instance_id": null in the payload.

@ajmaddaford Theres a branch called 2456-sdx-validator-changes-to-handle-lms2 you can check out for sdx-valdiate and sdx-console that'll sort this out.

IMPORTANT: there's a PR in gitlab that also needs to be merged in at the same time as this.  It contains the config values for DAP_STORE_NAME

@pricem14pc Your change looks good!


Circular error

ImportError: cannot import name '...' from partially initialized module '...' (most likely due to a circular import)

Fixed


training loss is 'nan'

In training i am getting only nan loss. after 40 epoch also no update.
epoch 0, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 8, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 16, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 24, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 32, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 40, loss_tr=nan err_tr=1.000000 loss_te=nan err_te=1.000000 err_te_snt=1.000000
epoch 0, loss_tr=nan err_tr=0.998643 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 0, loss_tr=nan err_tr=0.998643 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 8, loss_tr=nan err_tr=0.998555 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 16, loss_tr=nan err_tr=0.998525 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 24, loss_tr=nan err_tr=0.998604 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 32, loss_tr=nan err_tr=0.998457 loss_te=nan err_te=0.998567 err_te_snt=0.998567
epoch 40, loss_tr=nan err_tr=0.998613 loss_te=nan err_te=0.998567 err_te_snt=0.998567

after debugging I found training batches getting generated as I printed their tensor. but when i am printing pout its nan
  for i in range(N_batches):

    [inp,lab]=create_batches_rnd(batch_size,data_folder,wav_lst_tr,snt_tr,wlen,lab_dict,0.2)
    pout=DNN2_net(DNN1_net(CNN_net(inp)))

    pred=torch.max(pout,dim=1)[1]
    loss = cost(pout, lab.long())
    err = torch.mean((pred!=lab.long()).float())
    print('***********',pout)

output:
        [-6.4934, -6.5646, -6.5842,  ..., -6.5785, -6.5211, -6.5626],
        [-6.5141, -6.5833, -6.5316,  ..., -6.6234, -6.4951, -6.5934],
        ...,
        [-6.5460, -6.5525, -6.5630,  ..., -6.5581, -6.5142, -6.5896],
        [-6.4957, -6.5235, -6.4879,  ..., -6.6145, -6.5316, -6.6193],
        [-6.5091, -6.5749, -6.5799,  ..., -6.5857, -6.5860, -6.6161]],
       device='cuda:0', grad_fn=<LogSoftmaxBackward>)
*********** tensor([[nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        ...,
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan]], device='cuda:0',
       grad_fn=<LogSoftmaxBackward>)
*********** tensor([[nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        ...,
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan],
        [nan, nan, nan,  ..., nan, nan, nan]], device='cuda:0',
       grad_fn=<LogSoftmaxBackward>)

for 1st file its showing the tensor but after its nan. very weird behaviour.
My dataset contain 10 audio files of 10sec length for each speaker.
please help!

When increased the chunking size from 200ms to 600ms training started correctly. Below 600ms its giving nan and above 700ms  range becoming zero in accessing random chunk as snt_len become less than wlen .
Can you tell why so @mravanelli

It looks like a gradient issue. Sometimes one can solve them just by adding gradient clipping.

I encountered the same problem, how did you solve it in the end?

I encountered this . See  https://github.com/mravanelli/SincNet/issues/102


run ratbagctl on master through run_ratbagctl

Update ratbagctl ratbagd binding by copying the file from piper (do we have license issues doing that?).
Add a new tool run_ratbagctl which allows developers to spawn ratbagd and use the ratbagd from master insterad of the system wide one.

re license issues: no, the piper ratbagd.py is still MIT licensed, see the header. Unless @Hjdskes says his recent changes are GPL only, but I hope not :)

fwiw, I pushed the quick fixes for the above to: https://github.com/whot/libratbag/tree/wip/run-ratbagctl
Please squash them and drop the ones you don't like, thanks.

Unless @Hjdskes says his recent changes are GPL only, but I hope not :)

MIT is fine. OTOH, you might want to remove the GObject properties and signals, to make it pure Python again. Should be a straightforward search and replace mostly.

OTOH, you might want to remove the GObject properties and signals, to make it pure Python again. Should be a straightforward search and replace mostly.

I would rather keep both file as close as possible. And honestly, we do not care if rabtagctl is Gobject or pure python (I think). I people start complaining, we can always strip these out, but for now, it'll be easier to have both piper and ratbagctl sharing the same code base (close enough at least).

OK, I squashed your changes into my branch and rebased on top of master.
I also removed a couple of extra empty strings from automatic replacements (RATBAG_... "").


Jesse: Watch tech.amikelive.com

Jesse requests the watch of the watch_keyword tech\.amikelive\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tech\.amikelive\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


fix/refactor: simplify db types and re-introduce getOrCreateUser()

This change:

Simplifies how database objects are get and set by including the id property in the respective object. This means we can return the object's value, including the id, ignoring the key.
Re-introduces getOrCreateUser(), which ensures a user object always exists. This is particularly valuable for OAuth users.

Fixes:

#133

@iuioiua
Not directly the issue of this change, but comments and items are also saved in 2 keys and I think those will be hard to manage in the future (especially when we allow users to update them).
I think we should store only item ids in item_ids_by_user_id, <user_id>, item_id key and get them like:

kv.list({ prefix: ["item_ids_by_user_id", userId] }) -> list of itemIds
kv.getMany([["items", itemId0], ["items", itemId1], ...]) -> list of Items

Yes, this is the challenge of working with relations within a key-value store. A few clever utilities should solve this. I'll see what I can come up with.


Fix broken DOI links in the acknowledgements table

🚀 Feature Request
Is your feature request related to a problem? Please describe.

links to the DOIs in the /acknowledgements page table table are broken, we should fix this.

Fix this by moving the trailing / in the href string in this line

https://github.com/astrophpeter/blast/blob/a2c7bbf5a5037972eceb790e78c4510e1334ab88/app/host/templates/host/acknowledgements.html#L43

Discovered one broken DOI link and corrected it in commit https://github.com/astrophpeter/blast/commit/87675e0bd523f7c8508e5abc3bd4bdf49b202a2b.


Add Flow support

Add Flow annotations to lib modules
Configure ESLint to use babel-eslint parser
Configure Browserify to use unflowify transform for building code
Configure jest to use jest-flow-transform to run tests
Add flow command to npm test script

 Add flow

Coverage remained the same at 100.0% when pulling fdad1621eecb9b2df0f1cc9d4f486291b88e2ad2 on feature/flow-support into 7a6edfab7d0e7324ea2d928b6ab4b4b481675467 on master.

Coverage remained the same at 100.0% when pulling 8d8d0c8f0899516e18569edd1b9be87cd3edc138 on feature/flow-support into 7a6edfab7d0e7324ea2d928b6ab4b4b481675467 on master.


Lint HTML

This PR adds HTML5 linting to the lint target in order to enforce the Google HTML standard via https://pypi.python.org/pypi/html-linter (which was recently made Python 3.5 compatible).
This PR also fixes the resulting errors/warnings from the linter.
Fixes #811.

This PR looks pretty good to me, the one thing I'd want before we merge it is to remove the optional tags being omitted rule and don't omit them in the code base. I know it's valid HTML5 to do that, but aesthetically balanced tags are easier to read in my opinion.

@dstufft I've addressed your feedback, thanks!

Cool, thanks!


#4 Dependency Injection.

Use Dependency Injection to allow the user to use any request back end they like by injecting a request function.
Fall back to using the requests library (with a local import so that we don't have to depend on requests).
Default request timeout is now 3 seconds.
Updated README.md
Added unit tests using DI.

Closes #4

Thanks Rudolf


Can't get input to blur after clicking on link within suggestions container

Hey :)
Great component - I absolutely love it!
I'm using react-autosuggest to suggest search results and I'm using renderSuggestionsContainer to add a link below the suggestions to "See all results" which re-renders the current page with full search results (the react-autosuggest input is on both the first page and on the "See all results" page too).
I'm trying to get the input to blur after clicking "See all results" but I've not had any luck.
I've tried creating a reference, hooking into the input and calling blur() but it doesn't appear to work.
I think what I'm trying to achieve is at odds with the justClickedOnSuggestionsContainer variable and so the input immediately refocuses after blur?
I'm working my way through the code now to see if I can understand what's going on but thought I'd post this up here so that if someone more in the know had any clues they might be able to point me in the right direction.
Thanks

Apologies if this isn't very clear - I haven't had time to work through this properly but just in case it's useful to help make sense of the issue I'm having or to help out someone else facing similar problems - here's a diff of a very hacky solution I've implemented: https://github.com/tomkelsey/react-autosuggest/compare/10f8dbe50dc5eb554975993d53186c6bb5bdddff...38125703c438ae2e84b2a50e2f79c3cfdd6cd0d0
In my own code I've added data-suggestion-ignore to the "See all results" link to trigger the flag in the code.

I'm having the same problem. I try to blur the input when I click a custom link in the suggestionsContainer. focusInputOnSuggestionClick only works for suggestions and not custom links. Is there a way to achieve this? I couldn't make sense of your diff @tomkelsey can you explain?

@tomkelsey / @oneinchman I'm having the same issue, did you guys get it work ?
I have a button that will trigger a modal form, but the problem is when the modal form open, the focus is still on the autosuggest input.

I solved it by storing the ref: ref={(autosuggest) => yourRef = autosuggest.input}
Then i made a function that disabled/enabled the input when clicking an item in the menu:
if(myRef){   myRef.disabled = true;   myRef.disabled = false; }
This made the input blur. Not pretty but it worked.


It doesn't work on react-native-windows

It would be good to know what is the missing API on Windows. Thanks!

From a cursory glance, there are some assumptions within the codebase such as only expecting iOS or Android:
  renderScrollView = pages => {
    if (Platform.OS === 'ios') {
      return (
        <ScrollView ref='scrollView'
          ... etc ...
        </ScrollView>
       )
    }
    return (
      <ViewPagerAndroid ref='scrollView'
          ... etc ...
      </ViewPagerAndroid>
    )
  }

It may be worth fixing those assumptions - then seeing what errors remain when running on Windows :+1:

You may need to add
npm react-timer-mixin --save


Provide the RU's used by an operation

I'm just starting to use this to replace a self-written interface to Cosmos.
The one thing my current interface gives me is the RU cost of an operation.
Could this be surfaced in some way through the repository interface(s)?
The Two options I can think of currently are introducing an ItemWrapper, rather than IItem--although you may want to keep this as it is useful, or extending IItem itself.
To my thinking the former is the better option, kind of like an HttpResponse.

Hi @SeanFarrow we do support this for some of the paging APIs. I think we could start logging this out if that is any help? We do in places but I think they are logged at Debug level.

@mumby0168
I suspected the information I wanted would be in the logs.
I'm using AppInsights, so use TelemetryClient to track this as a specific metric.
in terms of a solution to this, I can see two options:
Firstly, to change the signature of a method to provide the RU cost in the return value, which I don't think would make sense.
Or, have an out parameter on each method that provides the RU cost. Doing this would mean a user who isn't interested in this could discard that parameter.
I am right in that the second would make more sense? Or, do you have any other options?

Hi @SeanFarrow we would not want to modify the public API surface I do not think. So I don't think either the out parameter or the return type would work in this case. One option might be a set of new methods to all existing methods that allow you to collect the cost. But they would have to be new methods with new names. If we was to do that, I think I would prefer the return type option. out params can be a pain when using mocking libraries.

This seems like a cross-cutting concern - might it somehow be managed with an enclosing scope or wrapper class? Perhaps our core impl adds an pub/sub notification model using something like Mediatr for telemetry metrics of interest, including RUs, then those consumers that care can subscribe to those. That way it could be pay-to-play without adding complexity to the core API.

I was thinking exactly this, maybe have an IMetricsTracker interface that can be passed in (but defaults to null if you don’t), then consumers that want this can implement there own. Of course we might want to provide implementations ourselves.
From: dcuccia @.>
Sent: 18 May 2022 15:47
To: IEvangelist/azure-cosmos-dotnet-repository @.>
Cc: Sean Farrow @.>; Mention @.>
Subject: Re: [IEvangelist/azure-cosmos-dotnet-repository] Provide the RU's used by an operation (Issue #275)
This seems like a cross-cutting concern - might it somehow be managed with an enclosing scope or wrapper class? Perhaps our core impl adds an pub/sub notification model using something like Mediatr for telemetry metrics of interest, including RUs, then those consumers that care can subscribe to those. That way it could be pay-to-play without adding complexity to the core API.
—
Reply to this email directly, view it on GitHubhttps://github.com/IEvangelist/azure-cosmos-dotnet-repository/issues/275#issuecomment-1130112587, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALDK7XXVQGWSOSBU3T4PG3VKT7IDANCNFSM5V2MUPGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@SeanFarrow @mumby0168 if we published Mediatr-style events such as those demoed here:
https://youtu.be/NmmpXcMxCjY?t=665
...then the consuming code could follow a wrapper pattern like this:
https://www.youtube.com/watch?v=dLPKwEeqwgU&t=705s
(using Nick Chapsas videos as shortcuts...could publish some sample code when I have time this weekend)

Hi,
was this ever added? I see RUs in logs but I would like to access them programmatically.

@all-contributors please add @SeanFarrow for idea


Suggestion: Enchant Item Scrapping blacklist

There are some mods that when you make an item it comes pre-enchanted; some may be super easy to get and have good stuff only to have a low durability.
This can be a problem so why not include a method to tell what items cannot be extracted or even further what enchantments of an item cannot be extracted
here's the idea:
Let's say mod X adds in a new pickaxe that comes pre-enchanted with Efficiency III and Mending, and you enchant that to Efficiency IV and Silktouch. A config will have the value modX:pickaxeExample [minecraft:efficiency 3, minecraft:mending], anotherMod:exampleForSintaxPurouses. if you use a book of scrapping capable of removing every enchantment the book will only be able to return Efficiency III and Silktouch and if the item dint have the added enchantments it would show an output in the anvil
Example Config format
preEnchantItemsToBlacklistScraping: (list) mod:itemName [mod:enchantNameA level_A, mod:enchantNameB level_B]

this can allow developers to blacklist being able to remove specific enchantments from items that when made have enchantments with them. A primary example is some of the weapons in Twilight Forrest such as the fiery iron sword

Hmm, I like this idea, should be able to implement it in 0.6.4

I might as well suggest us to the apotheosis devs as well

This idea was made in mind with the mod Spectrum spawning this idea as it offers items that can be made "pre-enchanted"
The same could go with Twilight Forrest as well since there are a few as well that do this too


IE6 Compatibility?

Hi, is this compatible with IE6?

Hey Josh,
It should be compatible with any browser that supports JavaScript. Let me know if you have any trouble :)


Tilemap editor gui don't stay in place in Animation tab

Godot version:
3.1.1 stable
OS/device including version:
Windows 7
Issue description:
~~https://im2.ezgif.com/tmp/ezgif-2-2744b0f33c16.gif~~
https://i.imgur.com/lJ6tDaY.gif
Steps to reproduce:
Select Animation tab in Tilemap Editor

Self-compiled 3.1.1 doesn't have this problem

What is the size of the editor window, in pixels (or, if maximised, the size of your screen)?

@bojidar-bg I found this error, need to reduce the window, the full screen will not be a problem

Duplicate of #28135, fixed by #33829.


[BUG] ACS Chat SDK on android does not work with Microsoft teams account.

Describe the bug
I try to use chat SDK with Teams account  following this tutorial https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/chat/get-started?pivots=programming-language-android&tabs=windows
but it's giving me error 400
Exception or Stack Trace
Status code 400, "{"communicationError":{"code":"BadRequest","message":"One or more validation errors occurred.","details":[{"message":"A value for the 'createChatThreadRequestDto' parameter or property was not provided.","target":"createChatThreadRequestDto"},{"message":"Unexpected token StartObject when parsing enum. Path 'participants[0].communicationIdentifier.microsoftTeamsUser.cloud', line 1, position 76.","target":"participants[0].communicationIdentifier.microsoftTeamsUser.cloud"}]}}"
Code Snippet

protected void onStart() {
        super.onStart();
        try {
            AndroidThreeTen.init(this);

            // Initialize application parameters if one of the conditions in '### Initialize Application Parameters' are met.

            chatAsyncClient = new ChatClientBuilder()
                    .endpoint(endpoint)
                    .credential(new CommunicationTokenCredential(firstUserAccessToken))
                    .addPolicy(new UserAgentPolicy(APPLICATION_ID, SDK_NAME, sdkVersion))
                    .buildAsyncClient();

            // A list of ChatParticipant to start the thread with.
            List<ChatParticipant> participants = new ArrayList<>();
            // The display name for the thread participant.
            String displayName = "initial participant";
            participants.add(new ChatParticipant()
                    .setCommunicationIdentifier(new MicrosoftTeamsUserIdentifier("3e5xxxxx-xxxx-xxxx-xxxx-xxxxxxx0fc"))
                    .setDisplayName(displayName));

            // The topic for the thread.
            final String topic = "General";
            // Optional, set a repeat request ID.
            final String repeatabilityRequestID = "";
            // Options to pass to the create method.
            CreateChatThreadOptions createChatThreadOptions = new CreateChatThreadOptions()
                    .setTopic(topic)
                    .setParticipants(participants)
                    .setIdempotencyToken(repeatabilityRequestID);

            CreateChatThreadResult createChatThreadResult =
                    chatAsyncClient.createChatThread(createChatThreadOptions).get();
            ChatThreadProperties chatThreadProperties = createChatThreadResult.getChatThreadProperties();
            threadId = chatThreadProperties.getId();

            log("Successful threadid=" + threadId);

        } catch (Exception e){

            log("Quickstart failed: "+ e.getMessage());
        }
    }

Setup (please complete the following information):

OS: android12
Library/Libraries: com.azure.android:azure-communication-chat:2.0.1
Java version: 8

@vcolin7 could you please follow up

Hi @Cartier0745, thanks for raising this issue, I'll route it to the ACS Chat team right away. @jiminwen-msft, could you take a look when you get a chance? Thanks!

Hi, Also facing the same issue with the ACS SDK 2.0.3, any workaround available for teams users?

@jatin2004 I still cannot use ACS chat for Teams users on android. My workaround is to use microsoft graph chat notification API for real time chat. https://learn.microsoft.com/en-us/graph/teams-changenotifications-chat