7 Days to Die erro when start server

Hi
first of all :
GAME SERVER use: sdtdserver
DISTRO : Debian 8
LOGS  AND gameserver details :  http://pastebin.com/H7J5RX69

When start server i have this error:
Kestouf@ns3554546:~/7daytodie$ ./sdtdserver start
[ .... ] Starting sdtd-server: session not found: sdtd-server
[ FAIL ] Starting sdtd-server: Unable to start
[ FAIL ] Starting sdtd-server: Unable to start : Tmux error:
Command
tmux new-session -d -s "sdtd-server" "./7DaysToDieServer.x86 -logfile /home/Kestouf/7daytodie/log/server/output_log__2016-07-14__14-10-22.txt -quit -batchmode -nographics -dedicated -configfile=/home/Kestouf/7daytodie/serverfiles/sdtd-server.xml"
Error
create session failed: ./7DaysToDieServer.x86 -logfile /home/Kestouf/7daytodie/log/server/output_log__2016-07-14__14-10-22.txt -quit -batchmode -nographics -dedicated -configfile=/home/Kestouf/7daytodie/serverfiles/sdtd-server.xml: Exec format error
Fix
No known fix currently. Please log an issue.
https://gameservermanagers.com/issues
Kestouf@ns3554546:~/7daytodie$
Have you got an idea?
Thx

Your system lacks i386 support, as indicated by this output when attempting to run the x86 binary:
 Exec format error
Did you add the i386 architecture support and dependencies as per the Debian instructions for sdtdserver?
This is the first step:
sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install tmux mailutils postfix ca-certificates curl file lib32gcc1 libstdc++6 libstdc++6:i386 telnet expect
Have you done the above steps, and were they successful?

I managed to solve the problem by stopping L4D2 servers (also server manager using games) There was a session with conflie Tmux.

Solution was probably here then : https://github.com/dgibbs64/linuxgsm/wiki/Multiple-Servers
Good it's solved.


Can not play the Flv

No error,no warning 。。
I use the flash demo

the poster's z-index is larger than the player, so you can't see the warning that ask u to allow the flash. if you just want to play the flash demo, you can change u chrome setting. if u want to see the warning, u can change the z-index of the poster.
.vjs-poster {   z-index: -1; }


Suggestion: warn on always-false typeguards

Search Terms
type guard always-false warning
Suggestion
When a typeguard is always false, the guarded variable is type never within the body.  While you can't actually look up any properties on never, you can pass it anywhere or assign it to anything and there's absolutely no warnings.  Calling a typeguard function with an argument that has no overlap with the guard should produce a warning.
Use Cases
My immediate motivation is https://github.com/microsoft/TypeScript/pull/24436#issuecomment-392997204, where if Number.isFinite could be written as a typeguard (this would also need a narrower number subtype, see e.g. #32188) then it could easily be allowed to be called with a number|string, but no additional gymnastics would be required to warn if calling with a guaranteed non-number.
In general there's not a good reason to call an always-false typeguard.  This is quite different from the always-true case where defensive coding comes into play.
Examples
Example:
declare const x: string;
if (isNumber(x)) { // Should warn: "condition is always false"
    usePrivate(x);
}

If usePrivate requires a private type that this scope doesn't have access to construct, then it would be nice if this code warned somewhere.  Instead, it currently just narrows x to never and allows doing whatever you want with it.
Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code

I don't have a good sense of how much this would break, but I expect any breakages would be exposing legitimate errors.

[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

declare const x: string;
declare function isString(x: unknown): x is string;

if (!isString(x)) {
    //`x` is now of type `never`
    //but I want this to compile
    //because defensive programming against JS code
    throw new Error(`Expected string; received ${typeof x}`);
}

Playground

@AnyhowStep He mentioned that, actually.

This is quite different from the always-true case where defensive coding comes into play.

isString() is always true (per the type system), you're just negating it afterwards.

I don't think it's justifiable that defensive checks are always written in always-true format. You could easily imagine writing:
function fn(x: number) {
  if (isNullOrUndefined(x)) Debug.fail("x must be provided");
}

It's not clear what distinguishes this from the case in the OP.

That's a good point, though I suspect it's a much less common case.  There's always the option to cast to unknown, though it's not particularly satisfying.  It's also less relevant for this to be a type guard, since it's not actually narrowing anything.
@RyanCavanaugh - my underlying motivation was a comment you made about wanting to warn on Number.isFinite(shouldNeverBeANumber), which is somewhat similar - I think your example here is more compelling because it's about null/undefined, which we naturally understand to generally be a possible exception to the type system.
Maybe a cleverer approach would be to warn if typeguard(x | undefined | null) would be always false.  It lacks a certain symmetry and in general cleverness is bad, but it seems to pass the gut test a little better...

I suppose one could declare the check as
declare function isNullOrUndefined(x: any): x is null | undefined;

But that doesn't seem useful; when do you ever need a value that's guaranteed to be nullish?  And if you're not using it as a type guard... well, then that's what distinguishes it from the OP.  The issue is about warning on always-false type predicates.
I can't think of a single time I've ever seen a type predicate which is expected to always be false in normal operation.  Generic defensive checks that return boolean, sure, but no always-false type predicates.


Move .cache/torch/hub to local for openvoice

CVS-149572

previous fix PR#2300 based on issue https://github.com/myshell-ai/OpenVoice/issues/57 and solution and https://github.com/myshell-ai/OpenVoice/blob/main/docs/QA.md#issues-with-installation
here TORCH_HOME is moved to local path, it should be absolute because the path is used to creation simulink inside the se_extractor.get_se

@sbalandi  can you please also setting cache dir tgenerally in validation script too like we do for hf hub https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/.ci/validate_notebooks.py#L203-L204
I think it can provide better cache controlling and be beneficial for other notebooks too (e.g. automatic cleaning disk space after notebook run)


Plaza test bed map for developers

Map exists in maps repo, we have nothing game specific there yet


[Hosts]Indicate when an entry input field is invalid

Summary of the Pull Request
Windows App SDK 1.5 is expected to bring data validation for input fields. In the meanwhile, we're doing something a bit more manual.

Show a warning message when the input fields are invalid to improve accessibility.

PR Checklist

[x] Closes: #21287
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Validation Steps Performed
Checked behavior with valid and invalid entries for both fields.

I've changed the messages to "Has to be... " as suggested. Thanks everyone for the reviews!


Fix HelmChart valuesFile chart path restriction

Fixes #245
As part of the feature implementation to support helm chart
dependencies, the functionality for allowing values files overwriting
from any location scoped to the same source was altered. This should
fix the problem by allowing users to load files from any arbitrary
location as long as it's in the context of the same source from where
the helm chart itself is loaded.

Thanks, didn't notice the typo! :+1:


How will Refuse to register

Question
I want the device to be registered in accordance with my rules, for example, the server should refuse to register the device if it does not contain a value

You implements your own LWM2M server based on Leshan library and you want to authorize client to register using your own rules, correct ?
You should be able to do that implementing your own Authorizer.
See default implementation : DefaultAuthorizer because you probably need to extend it.
And LeshanServerBuilder.setAuthorizer(Authorizer) to use your custom Authorizer.
See :
/**
     * <p>
     * Set your {@link Authorizer} implementation to define if a device if authorize to register to this server.
     * </p>
     * By default the {@link DefaultAuthorizer} implementation is used, it needs a security store to accept secured
     * connection.
     */
    public LeshanServerBuilder setAuthorizer(Authorizer authorizer) {
        this.authorizer = authorizer;
        return this;
    }

By exploring LeshanServerBuilder class, I guess this was not so hard to find :wink:

(let me know if this solves your problem and If we can close this issue)

(let me know if this solves your problem and If we can close this issue)

yes,It solved my problem 😊


Odd behaviour, only half the functions working...

Experiencing a strange behaviour where only some of the functions work for some of my light and everything works on the others. Same behaviour on Companion 2.4 and 3.0
Got 4 of the same led controllers and 2 of them all the functions work but the other two only some functions work.
I can power toggle all 4, set patterns and modes, but 2 of the controllers not able to change the colour with any mode not change the brightness but the other two work fine.

Maybe they are different models. I have found some of mine behave differently also. Maybe share firmware versions or models of the bulbs so we can look into it together

Yup defiantly looks like a firmware issue, The top and center ones are the ones I can fully control so that firmware is good and the left and rights ones can turn on and off and change patterns but not colour change or brightness so they must be using different commands which makes sense with their different firmware.
06.v1.11.7376-a      center
06.v1.11.7376-a      top
06.v3.31.7786-a      left
33.v10.48.7658-a    right

Any update?

I thought we determined it was a problem with your firmware

ah ok, so there no way to be able to control the lights then?


Rendering issue in Safari on every 10th step

Every 10th step has an extra space before the step text.
Safari (Version 18.0 - 196<IP_ADDRESS>.10, 19619) (space highlight mine):

This might be a browser bug as it looks OK in Chrome:

Thanks for the report. This is caused by the hidden text to make step numbers copyable, somehow.
Also, it's not exactly "every 10 steps", it's "steps which have a 0 in them". I am guessing the reason 0 is special is because we're using font-variant-numeric: slashed-zero;, but that's a wild bug.
I'll try to make a tiny repro to file against Webkit.

Filed https://bugs.webkit.org/show_bug.cgi?id=281863. Not sure what else we can do short of UA-sniffing to disable the hidden text.


temperature value with one decimal place after decimal point

Hello, is there a possibility that the temperature value is read out with one decimal place after the decimal point? Sorry for my bad english.
metric: object
temp: 3             -----> e.g. 3,1 ?
heatIndex: 3
dewpt: 2
windChill: 3
windSpeed: 3
windGust: 5
pressure: 994.14
precipRate: 0
precipTotal: 1.6
elev: 423

The Node-RED node just passes thru the values from the TWC api call. It doesn't modify the value or add decimal places.  Which node are you using in your flow?

hey i using this one "pws observations"

Hi - Glad that you find the TWC PWS Node-RED nodes helpful.
Here is the TWC API Documentation Link : https://ibm.co/v2PWSCC
The Node-RED PWS Observations node calls this API.
If you want to add a decimal to a whole number, use .toFixed(1)
var formatted_temp = msg.payload.observations[0]metric.temp.toFixed(1);

@milanissimo1989 - Did the above suggestion work?  I'd like to close this issue.

Where do I enter the line? In a function node? Unfortunately, I am only a beginner.

I'd also like to see this added, as it is the and API.
In the TWC API Documentation:

I've confirmed that by appending my URL to include "&numericPrecision=decimal", several values are returned in tenths instead of integers. The affected values are as follows:

humidity
temp
heatIndex
dewpt
windChill
windSpeed
windGust
elev

All other values remain unchanged.
Adding this as an Numeric Precision dropdown with options of Integer or Decimal to the API call should suffice. If Integer is selected, leave the API request as is. If Decimal is selected, append the request with "&numericPrecision=decimal".
Hope this helps!

Created pull requests for the changes to pws-current.js and pws-current.html (sorry for the separate requests).

Excellent - Thanks @jimison  - Closing this issue. Fixed by #10
I will bundle a node-red-contrib-twc-weather 0.5.0 and push to npmjs.


write distributions file format section in documentation

Creation of the "Distribution File Format" section in README.md

Awesome :heart: :pray:


iptables: always use restore format

This has been the default and only used value for >5 years. Just make it
the only option.
This introduces some breakages to tests, which are now legitimately
failing. I don't know why they didn't fail before. These are around the
new iptables idempotency logic. There are a few bugs here:

NFLOG quoting was resulting in double quotes. This is due to a
mismatch of iptables input vs iptables-save output (as indicated would
be a risk on the PR).
We have some NFLOGs that are not on Istio chains which breaks the
logic. We should have these! I removed them, but would loveto add them
back
-A PREROUTING -m conntrack --ctstate INVALID -j DROP rule is not on
Istio chain. We need to fix this.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

That may not be intentional, I will take a look tomorrow and I will update here with what can be done to bring those rules back

Regarding drop-invalid...
By enabling restore format, the drop-invalid rule, which is not in an ISTIO chain (that is a problem by itself), is being executed as the first "commit" of the iptables-restore command.
* mangle
-A PREROUTING -m conntrack --ctstate INVALID -j DROP
COMMIT
* nat
-N ISTIO_INBOUND
-N ISTIO_REDIRECT
-N ISTIO_IN_REDIRECT
-N ISTIO_OUTPUT
...
COMMIT

This is a problem because the partial-atomicity of iptables-restore will still allow the -A PREROUTING -m conntrack ... rule to go through on reruns even though the commit on the *nat table will fail due to duplicate ISTIO chains.
Therefore, in the test, when the third run with force-apply=true is performed (for which it expects a failure), we end up with the expected failure but also two drop-invalid rules. The final-cleanup step of the test will only remove one, which later leads to an assert failure.
For this issue to occur, our iptables-restore input must meet two conditions:

Changes to one table consist only of appending/inserting rules to default chains.
These changes are placed in the input before any other table changes that create new chains.

I warned of this scenario in https://github.com/istio/istio/pull/50328#discussion_r1731548677 and that we should have kept it in mind for future iptables rules we add, but I failed to see that the config with drop-invalid was already satisfying all these conditions.
The test did not fail when the restore-format was disabled because the creation of iptables chains were the first commands to be executed in the old format.
For fixing this, we could do one of these three things:

Move the drop-invalid rule inside an Istio chain
Change the order in which we commit changes to tables: make sure that the first commit block of our iptables-restore always has a creation of an ISTIO chain.
Revert this part of the PR, but we would end up with a less backward compatible behavior of idempotency

I feel option 1. is the best approach, and perhaps 2. could be an extra ??.
Note: this affects also pre-idempotency-PR releases. istio-init reruns will append rules at every failed execution.
I think I found the issue for NFLOG as well, I will write a comment about that as well.

Now, regarding the NFLOGs issue.
NFLOG quoting was resulting in double quotes. This is due to a
mismatch of iptables input vs iptables-save output (as indicated would
be a risk on the PR).

Yes, the rules that are applied are not necessarily the same as those you retrieve with iptables-save due to the inevitable round-trip to the kernel. However, I don't think this is where the issue is coming from.
The idempotency/reconciliation PR is resilient to this kernel's manipulation of the iptables input, as the iptables-save output is not parsed to the extent that it would lead to an issue.
The PR handling limits itself to counting the number of rules and checking the chains the rules belong to; all other arguments are ignored.
Also, I don't think the issue is related to the fact that we have NFLOG rules in non-ISTIO chains.
The iptables -C command that is failing after the restore format is generated from our original rule object, and it will undergo the same transformation by the kernel that the iptables -A command was subject to. Hence, having double-quotes, single-quotes, or no quotes in the iptables command does not matter, as they will all be treated the same.
This can be seen in this snippet:
$cat <<-EOF | iptables-restore
*nat
-N ISTIO_IN_REDIRECT
-A ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix "InboundCapture" --nflog-group 1337 --nflog-size 20
-A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
COMMIT
EOF

$iptables-save // Note that quotes are removed

# Generated by iptables-save v1.8.10 (nf_tables) on Wed Sep 11 13:30:46 2024
*nat
:ISTIO_IN_REDIRECT - [0:0]
-A ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix InboundCapture --nflog-group 1337 --nflog-size 20
-A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
COMMIT

// Verify that -C cmds exit with 0 regardless of the manipulation that the kernel performed to  --nflog-prefix

$sudo iptables -t nat -C ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix "InboundCapture" --nflog-group 1337 --nflog-size 20 // Exit 0
$sudo iptables -t nat -C ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix InboundCapture --nflog-group 1337 --nflog-size 20 // Exit 0
$sudo iptables -t nat -C ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix 'InboundCapture' --nflog-group 1337 --nflog-size 20 // Exit 0

The actual issue is caused by improper escaping in our rule-builder, which leads to two different rules depending on whether we use iptables-restore or go.exec:

In our iptables-restore input:
iptables-restore will create
-t nat -A ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix "InboundCapture" --nflog-group 1337 --nflog-size 20
If we apply/check/delete via go.exec the rule we run is instead
-C|A|D ISTIO_IN_REDIRECT -p tcp -j NFLOG --nflog-prefix "\"InboundCapture\"" --nflog-group 1337 --nflog-size 20

These are two different rules with different meaning, so it makes sense that the iptables -C command returns an error in the idempotency check.
The escaping is missing in our iptables-restore input because of the strings.Join operation on the rule arguments that is performed when converting from Rule to string.
The issue is not reproducible if the restore-format is disabled because then the iptables append/delete/check operations are all aligned with the same (incorrect) input.
I think you've already encountered this issue, as you partially changed the rule builder here.
https://github.com/istio/istio/blob/e5e861b7d42ad7cd603108fef924ea0ae8eae6d2/tools/istio-iptables/pkg/builder/iptables_builder_impl.go#L127
but you need to change here as well
https://github.com/istio/istio/blob/e5e861b7d42ad7cd603108fef924ea0ae8eae6d2/tools/istio-iptables/pkg/builder/iptables_builder_impl.go#L87
After this the tests should pass even when those NFLOGs rules are appended to the non-istio chains.

Thanks for the comments! Super super help. I addresses the nflog one, pending on the INVALID one

Move the drop-invalid rule inside an Istio chain

Seems reasonable, a bit annoying we need to create a new chain just to put 1 rule. Technically, we don't actually need to put the rule inside the new chain though :thinking: we just need to make a chain so it will fail later if it still exists...?

Change the order in which we commit changes to tables: make sure that the first commit block of our iptables-restore always has a creation of an ISTIO chain.

This sounded good in theory but was thinking how to do it, and it would mean we order whether we create NAT or MANGLE or ... first which seems slightly odd...?

Thanks for the comments! Super super help.

I'm glad the comments came in handy :)

Seems reasonable, a bit annoying we need to create a new chain just to put 1 rule. Technically, we don't actually need to put the rule inside the new chain though 🤔 we just need to make a chain so it will fail later if it still exists...?

Yes, in theory, we could create a chain in mangle that is never used and still keep the rule outside.
This will make iptables-restore fail if the chain already exists, and the partial atomicity will be enough to prevent duplicates of the drop-invalid rule.
On the other hand, having a chain without a rule will look weird. At that point, it may be worth just moving the rule there and making a jump, but this will introduce a small performance penalty due to the traffic going through an extra chain that did not exist before.
Honestly, I would prefer to move the rule inside the chain as that will make future CNI iptables reconciliation easier to perform.

This sounded good in theory but was thinking how to do it, and it would mean we order whether we create NAT or MANGLE or ... first which seems slightly odd...?

Currently, the ordering in which the iptables-restore input is filled is a simple sorting on the keys of a map table_name:rules.
https://github.com/istio/istio/blob/e5e861b7d42ad7cd603108fef924ea0ae8eae6d2/tools/istio-iptables/pkg/builder/iptables_builder_impl.go#L366
We could make the sorting a bit more complex and prioritize tables in which we are creating a new chain
e.g:
sortedTables := maps.Keys(tableRulesMap)
slices.SortFunc(sortedTables, func(i, j string) int {
hasNewChainRule := func(rules []string) bool {
	for _, rule := range rules {
		if strings.Contains(rule, "-N") {
			return true
		}
	}
	return false
}
iHasNewChain := hasNewChainRule(tableRulesMap[i])
jHasNewChain := hasNewChainRule(tableRulesMap[j])
switch {
// Prioritize tables where we create new chains
case iHasNewChain && !jHasNewChain:
	return -1
case !iHasNewChain && jHasNewChain:
	return 1
// If both have new chain rules or both don't, sort by table name
default:
	return cmp.Compare(i, j)
}
})

for _, table := range sortedTables {
   ...
}

Move the drop-invalid rule inside an Istio chain

Seems reasonable, a bit annoying we need to create a new chain just to put 1 rule. Technically, we don't actually need to put the rule inside the new chain though 🤔 we just need to make a chain so it will fail later if it still exists...?

I'm fine putting a single rule in an entirely bespoke chain - it's more readable, easier to reason about, and has nil perf impact.
As I think has been said before, any Istio rule outside of a named Istio chain is a bug. We should have 0 of them. Named chains are always the answer.
We should put that in a README somewhere.

We should put that in a README somewhere.

Well now it will fail in CI at least :slightly_smiling_face: assuming the feature is added to the test

Sorry for the delay here. Updated invalid drop to use its own Istio chain

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test gencheck

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

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test gencheck

unit-tests-arm64_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test unit-tests-arm64

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

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test gencheck

unit-tests-arm64_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test unit-tests-arm64

integ-basic-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test integ-basic-arm64

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

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
6b865322d313486d5db9f3bf3d4c4e4a5439fdd3
link
true
/test gencheck

integ-basic-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test integ-basic-arm64

unit-tests-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test unit-tests-arm64

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

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

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test integ-basic-arm64

unit-tests-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test unit-tests-arm64

lint_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test lint

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

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

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test integ-basic-arm64

unit-tests-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test unit-tests-arm64

lint_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test lint

unit-tests_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test unit-tests

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

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

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test integ-basic-arm64

unit-tests_istio
b0b98c4c5d14239cb46af3e3ce8adc1b6b9386dd
link
true
/test unit-tests

lint_istio
240fc1068ec9348c074771eb956d126ffb378ce3
link
true
/test lint

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


Onboarding Flow

Three Step Getting started Page.
Working verification call

We are not working on verification call.
OnBoarding part is done, just need to finalize it after rearranging or creating all the pages.


release latest version

so that we can use it in our clusters without waiting upstream release
@Shopify/edgescale

@fmejia97 why do we have two builds triggering for PRs?


Configures cook to use in-memory datomic for integration tests

Passing build: https://travis-ci.org/twosigma/Cook/builds/230141659

@shamsimam @pschorf Any feedback on this?


How to open the api for test?

Dear authors,
Thanks for the great work you have done!
I encountered a problem when I tested the pre-trained model, how can I launch the localhost, but nothing shows up, is there any possible reason and solution for it ?
Thanks very much for early reply !

gradio==3.16.2 is too old for my environment,
the latest version is not compatible with the latest gradio-client,
finally , I got the pip install gradio==3.39.0 gradio-client==0.17.0  to show the interface.


Fixing bug involving race condition with initializing in and out queues

Fixing bug involving race condition with initializing in and out queues and downloading the physical plan.  In and out queues are initialized after the physical plan was download by the instance.  However, physical plans are not going to be download all at the same time causing some components to start sending tuples earlier than others. By initializing the queues earlier allows tuples to be start processing earlier

@srkukarni and @kramasamy can you guys take a look?  Thanks!

@kramasamy thanks for the review! I think I have addressed your comments

Sorry but I don't understand the description:

physical plans are not going to be download all at the same time causing some components to start sending tuples earlier than others. By initializing the queues earlier allows tuples to be start processing earlier

If one instance hasn't got the physical plan, it does not know who it is and let alone to process incoming tuples. I don't see the point for an instance to accept data tuples before getting the physical plan.

@maosongfu Sorry my initial explanation of this bug might not be correct.  Let me first talk about what I have observed.  I was testing the windowing function that was recently merged into master.  I have a topology that has one instance of a spout and one instance of a bolt.  The spout emits a tuple every second.  However, for the first several tuples the bolt would receive them all at once and not in the time interval that the spout has sent them.  And this only happens at the beginning of a topology.
I think I have found the reason.  The doWait function for the NIOLooper:
https://github.com/twitter/heron/blob/master/heron/common/src/java/com/twitter/heron/common/basics/NIOLooper.java#L53
is blocking for around 4 seconds before it timeout causing readStreamMessageIfNeeded:
https://github.com/twitter/heron/blob/master/heron/instance/src/java/com/twitter/heron/network/StreamManagerClient.java#L104
not to be called for that duration thus tuples are not read during that time.  Not sure why the selector there is blocking until it times out.

@jerrypeng
Thanks for sharing the context. I think we need to investigate the root cause, rather than commit something tentatively, since we don't know whether it does fix the issues, or potentially it can introduce other bugs.
If you need to skip this for local development, you could have it on a seprate branch or patch.

@maosongfu Can you tell me who wakes up the gateway thread once the slave processes the assignment message? Currently the logic is as follows

We start reading from stmgr if either we have capacity to absorb messages or if helper is null(that is assignment is not done). This ensures that we read the assignment message
Once we read the assignment message we promptly stopReading from stmgr(which is fine)
But after assignment message is processed by the slave, I would have expected us to start reading stmgr immediately. Rather what happens is that nobody informs the gateway thread about this. After around 5 seconds the slave thread wakes up(not sure who is doing that) and then it realizes that it now has capacity to absorb and thus starts reading from stmgr.
My feeling is that this change wont be necessary if we figure out why slave thread is not communicating back to the gateway thread after processing the assignment message.

@jerrypeng @srkukarni
I went through the code and I found the issue. I filed a pull request to fix it: #2279. With that fix, on the one hand, it makes more sense; on the other hand, we don't need to specify magic default values outside the Communicator.


Fix the navbar spacing on mobile

What does this PR do?

On small devices, the nav links broke into two lines because they couldn't fit.

Screenshots
Previously

Updated
iPhone 5

iPhone 6

Thanks, @tuntisz. On to the next one. 😃

Thanks @briankabiro!


Purpose of postinstall step?

What is the purpose of the postinstall step in the plugin? I think it can make installation of plugins for developers working on them more confusing if it fails, so it could be useful to remove

See here, there's a bug in TSDX that needs to get fixed with patch-package in the postinstall. #16 would get rid of the postinstall.

Would be interested in seeing 16 land then :)

we no longer have a postinstall but we do have the prepare script. suggested for removal in #31 but this issue can close


[BUG] Harvester theme color incorrect

Describe the bug
Harvester theme color incorrect
To Reproduce
Steps to reproduce the behavior:

The local machine is in dark theme
Log in harvester

Result
The harvester dark theme is in blue color
Expected
The blue color in the dark theme is not expected.

Environment:

Harvester ISO version: master-head
Installation Mode: ISO/app-mode

validate on master-67244e23-head

Set Theme to Dark

Switch to other pages to check the theme

Verification passed


[BUG] EVM Account Not Switching to Correct Address

Description:
In Flow Wallet Android version 1.5.24, when switching accounts, the EVM account does not update to the correct address. It consistently displays the EVM account address from the first account in the account list, regardless of which account is selected.
Steps to Reproduce:
(1) Open Flow Wallet on an Android device.
(2) Navigate to the account switcher.
(3) Select a different account from the list.
(4) Observe the EVM account address displayed.
Expected Behavior:
The EVM account address should change to match the selected account's address.
Actual Behavior:
The EVM account address remains the same, showing only the address from the first account in the list.
The process video is attached below.
https://github.com/user-attachments/assets/91f9f8df-a346-421c-b528-08048140867d

This critical bug already find on Android released version r2.5.11.
The EVM account address change to match the selected account's address.


Error while training object detection model

Hi,
I am gonna to train a model for object detection with ssdlite_mobilenet_v2_coco (training images:30000,testing images:2000). But in almost 24000 itrations, I will be faced a problem.
What's the meaning of this error and how can i fix it?
System information

OS Platform and Distribution (Google Colab Ubuntu):

TensorFlow version (1.15)

INFO:tensorflow:Finished training! Saving model to disk.
I0201 18:58:21.724251<PHONE_NUMBER>56416 learning.py:785] Finished training! Saving model to disk.
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py:963: remove_checkpoint (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to delete files with this prefix.
W0201 18:58:22.325520<PHONE_NUMBER>56416 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py:963: remove_checkpoint (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to delete files with this prefix.
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/summary/writer/writer.py:386: UserWarning: Attempting to use a closed FileWriter. The operation will be a noop unless the FileWriter is explicitly reopened.
warnings.warn("Attempting to use a closed FileWriter. "
Traceback (most recent call last):
File "/content/gdrive/My Drive/Tensorflow/3_train_ssdlite.py", line 185, in
tf.app.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "/content/gdrive/My Drive/Tensorflow/3_train_ssdlite.py", line 181, in main
graph_hook_fn=graph_rewriter_fn)
File "/content/models/research/object_detection/legacy/trainer.py", line 417, in train
saver=saver)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/contrib/slim/python/slim/learning.py", line 790, in train
ignore_live_threads=ignore_live_threads)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/supervisor.py", line 839, in stop
ignore_live_threads=ignore_live_threads)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "/usr/local/lib/python3.6/dist-packages/six.py", line 693, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/queue_runner_impl.py", line 257, in _run
enqueue_callable()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1287, in _single_operation_run
self._call_tf_sessionrun(None, {}, [], target_list, None)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: /content/gdrive/My Drive/Tensorflow/training_data/train.tfrecord; Input/output error
[[{{node IteratorGetNext}}]]

@masoudnick,
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here.
You can also share your Google Colab Gist. Please go to 'File' -> 'Save a copy as a GitHub Gist'  and share the link of the new window with us. Thanks!

@amahendrakar,
ok,here you are.
https://gist.github.com/masoudnick/9df13f4b4cb91ea4003a1c80b3a15192

@masoudnick As the error implies, this is an issue with reading your own dataset's tfrecords. You should first check the integrity of your TFRecords (e.g. see if you can extract the image data from tfrecord -> image tensor -> reading image out in numpy format to verify).

@masoudnick Is it still an issue or did you resolve it?


Feature Request : Add check for ground truth label range in binary_crossentropy

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
v1.14.0-rc1-22-gaf24dc91b5 1.14.0

python -c 'import keras as k; print(k.__version__)'
Using TensorFlow backend.
2.1.6

y_true values are out of the valid range in this example:
    y_pred = np.array([0.4, 0.6])
    y_pred = np.expand_dims(y_pred, axis=0)
    y_true = np.array([-2.0, 2.0])
    y_true = np.expand_dims(y_true, axis=0)

    loss = keras.losses.binary_crossentropy(
        K.variable(y_true),
        K.variable(y_pred)
    )

    print("K.eval(loss):", K.eval(loss))

This issue can be closed. Please refer to the discussion in this PR

Possible issue for this PR. https://github.com/keras-team/keras/pull/15744#issuecomment-1003574394

Possible issue for this PR. https://github.com/keras-team/keras/pull/15744#issuecomment-1003574394

@mrgloom Can we  move this issue to closed status if it is resolved as per the above comments ?Please let us know.Thank you!


[Stress Detection] Documentation

Describe the Feature you want to end
i would like to add documentation for the stress detection project

Expected behavior
it helps great understanding of the project and can be used more efficiently.

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Kidnly, assign this to me

@MohitGupta121  Kindly, add level labels to PR's


change domain

Hi,
we can we use own domain instead XXX.onelink.me?

@YaroslavG At the moment this is not possible.


Default is set to false but descriptions says true

https://github.com/Azure/avdaccelerator/blob/09602c980a159754f16cb72d66d269c38b07fffc/workload/bicep/deploy-baseline.bicep#L141-L142

@wahidsaleemi thanks for checking, template file description updated.


GitHub Actions for CI

Closes #440
This replicates our Travis CI on-push verifications and adds a macos target.

Did the actions run? How do we see the results passed before merging?

Did the actions run? How do we see the results passed before merging?

I see the actions and results here, hopefully everyone else can too:
https://github.com/itsayellow/pipx/actions
In the end, it was only the tests-macos target that had issues--the last one was with in test_animate.py (test_line_lengths_emoji()), which needed more extra sleep time to ensure the animate thread would print everything it was supposed to for the assert statement.  I only added 0.1s (0.5 -> 0.6) to that extra sleep time, so it may need more to be always robustly passing.

I had an inspiration and managed to simplify on-push.yml a lot because I finally understood more of the ins and outs of strategy-matrix, so I could make only one tests job that is just parameterized properly with the various os flavors and python versions.

On question I had: I currently have ubuntu-latest but specific versions: windows-2019 and macos-10.15.  I wasn't sure what the best route was, but I'm guessing they should either all be -latest or all to some specific OS version.  Or possibly -latest for lint and docs but specific OS versions for the others.
Any thoughts?

Hmm, I just merged some upstream pipx commits and this error happened on macos.  It's not obvious to me how this could fail now and not before, or why it's failing in general:
=================================== FAILURES ===================================
____________ test_auto_update_shared_libs[1591476297.571466-False] _____________

capsys = <_pytest.capture.CaptureFixture object at 0x10c2bff50>
pipx_temp_env = None, mtime =<PHONE_NUMBER>.571466, needs_upgrade = False

    @pytest.mark.parametrize(
        "mtime,needs_upgrade",
        [
            (now - shared_libs.SHARED_LIBS_MAX_AGE_SEC - 600, True),
            (now - shared_libs.SHARED_LIBS_MAX_AGE_SEC + 600, False),
        ],
    )
    def test_auto_update_shared_libs(capsys, pipx_temp_env, mtime, needs_upgrade):
        shared_libs.shared_libs.create([], verbose=True)
        shared_libs.shared_libs.has_been_updated_this_run = False

        access_time = now  # this can be anything
        os.utime(shared_libs.shared_libs.pip_path, (access_time, mtime))

>       assert shared_libs.shared_libs.needs_upgrade is needs_upgrade
E       assert True is False
E        +  where True = <pipx.shared_libs._SharedLibs object at 0x10c13c850>.needs_upgrade
E        +    where <pipx.shared_libs._SharedLibs object at 0x10c13c850> = shared_libs.shared_libs

tests/test_shared_libs.py:24: AssertionError

Ah!  Actually I see how this failed.  now is defined at import, and the tests for macos on this particular commit took over 12 minutes, so that mocking mtime as now - shared_libs.SHARED_LIBS_MAX_AGE + 600 is (12 minutes later) actually correctly needing to be upgraded (2 minutes after SHARED_LIB_MAX_AGE)

This is really great. I just started learning and using GitHub actions in another project and I'm a fan.

On question I had: I currently have ubuntu-latest but specific versions: windows-2019 and macos-10.15. I wasn't sure what the best route was, but I'm guessing they should either all be -latest or all to some specific OS version. Or possibly -latest for lint and docs but specific OS versions for tests. Any thoughts?

When python had pre-releases that were soon be real actual releases, I would make them run but have their success be optional.
However, the OS's on github actions under "latest" are not pre-releases (https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on). In fact, for ubuntu it looks like it's the latest LTS release (18.04), rather than 20.04 which is also available. Thus I think we should prioritize things working on the latest release rather than arbitrary past OS's. So let's just use -latest for everything.

We'll also have to update the build badge to include results from the github actions rather than travis tests. https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository

I changed the name of the workflow to Test so that the badge is more logical.  Do you prefer build instead?  (That's what the Travis badge says.)

I changed the name of the workflow to Test so that the badge is more logical. Do you prefer build instead? (That's what the Travis badge says.)

No, I just copy/pasted from their docs. Test is fine with me.

I suppose the badge could use an alt tag if we fix the workflow in the future... :shrug:

As some data points:  I've been poking around python packages with github workflows, and both zulip and black run their tests
on: [push, pull_request]

https://github.com/zulip/zulip/blob/master/.github/workflows/zulip-ci.yml
https://github.com/psf/black/blob/master/.github/workflows/test.yml


updated the title and link to dynamic

Issue #80
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Test URLs:

Before: https://main--aldevron--hlxsites.hlx.page/
After: https://bug-hero-banner-title--aldevron--hlxsites.hlx.page/test/sample-page

https://bug-hero-banner-title--aldevron--hlxsites.hlx.page/test/sample-page

@davenichols-DHLS - That was a typo issue in the content. Republished the content after making the correction. Please re-rereview.


Update Storybook to v2.24.0

Let's try a newer version of Storybook so it'll be easier to debug the issue

NOTE: this didn't fix the issue. I'm not near a computer at the moment. I'll check it out later.


Sign libdefs during install command

This signs libdefs with a version (their "last updated" commit sha) so that we can detect if they've been locally modified or if there is a new version available.
We don't make use of the version or signature info just yet, but we'll likely want to in the near future:

Tell the user if any of their installed libdefs have been updated since they last installed
Detect local modifications and encourage users to contribute their libdef improvements upstream

(Note that this sits on top of https://github.com/flowtype/flow-typed/pull/82)

This looks really cool, I like it!


Bug in asp.net example

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I'm trying to use this library in an dot.net framework 4.8 project and I can't get it to compile.  I have made a solution with the basic example from this git repo, a framework 4.8 example and a dot net 6 example.  The dot net 6 example works perfectly.  Please tell me what I'm missing?
WebApiVersioning.zip
Expected Behavior
I'm expecting the code to compile and to work like the dot net 6 example in the attached solution.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response

Thank you so very much for the quick response.
Everything complies now, but I'm still missing something because in the framework 4.8 project, I'm getting the error "Multiple actions were found that match the request".  I making the request like this: curl -X GET 'http://localhost:61317/api/weatherforecast' -H 'Accept: application/json;version=1.0'
Here is my updated solution.
WebApiVersioning.zip

The issue now is that you copied the OWIN self-host startup, but the application is configured to use IIS. Whatever is in Startup.cs is not being executed. What is executing is Global.asax.cs, which in turn calls WebApiConfig.Register. Inspecting that appears to calls the standard Web API template setup without any API versioning configuration. As currently configured, this would naturally result in duplicate, ambiguous routes.
First change WebApiConfig.Register to:
public static void Register(HttpConfiguration config)
{
    config.AddApiVersioning(options =>
    {
        options.ReportApiVersions = true;
        options.AssumeDefaultVersionWhenUnspecified = true;
        options.DefaultApiVersion = new ApiVersion(1, 0); // this is already the default BTW
        options.ApiVersionReader = new MediaTypeApiVersionReader("version");
    });

    config.MapHttpAttributeRoutes();
}

Personally, I'm not a fan of convention-based routing. It find it harder to reason about. Direct routing (aka attribute-routing) is easier to follow and has better parity with ASP.NET Core. I'm not showing it here, but it's supported if you really want to use it. I recommend choosing one style or the other.
You now need to update the controller:
[ApiVersion(1.0)]
[ApiVersion(2.0)]
[RoutePrefix("api/weatherforecast")]
public class WeatherForecastController : ApiController
{
    [Route]
    [HttpGet, MapToApiVersion(1.0)]
    public IEnumerable<VmWeatherForecast> Get() => Ok(Enumerable.Empty<VmWeatherForecast>());

    [Route]
    [HttpGet, MapToApiVersion(2.0)]
    public IEnumerable<VmWeatherForecast> GetV2() => Ok(Enumerable.Empty<VmWeatherForecast>());
}

You should now see:

curl -X GET 'http://localhost:61317/api/weatherforecast' -H 'Accept: application/json;version=1.0'
curl -X GET 'http://localhost:61317/api/weatherforecast' -H 'Accept: application/json;version=2.0'

Work as expected.

Thank you again.  I think this solves all my problems and you have a great library.  By the way, I removed my startup.cs and the Microsoft.AspNet.WebApi.OwinSelfHost package.  I don't know if I will need to put that back in, but so far everything is working.
Thank you so very much.

If you're hosting on IIS with System.Web, that shouldn't be needed. If you want to use the OWIN-style startup (aka project Katana), there is a different package for hosting on IIS (instead of self-host). It shouldn't matter a whole lot which way you go.  Project Katana was the inspiration for ASP.NET Core 1.0 and the OWIN-style will have a similar setup. This is likely only interesting if you ever plan to port/convert the project ASP.NET Core.


[Package Request]:

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[ ] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: ESET spol. s r.o.
Publisher Url: https://www.eset.com/us/home/antivirus/
Package Name: EAV
Description: Fast and light, vital for gamers and everyday users that don’t want any interruptions. Just install and forget. Secures Windows and macOS devices.
Package Version: <IP_ADDRESS>
Installer URL: https://download.eset.com/com/eset/apps/home/eav/windows/latest/eav_nt64.exe
Current Package Identifier (for new versions):

#34631 should be closed now ?

@Hellements you can close this one
https://github.com/microsoft/winget-pkgs/tree/master/manifests/e/ESET


Group Deconvolution

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  On Windows 10 / WSL2, but targeting but Android
TensorFlow installed from (source or binary): (using PyTorch and converting to tflite from there)
TensorFlow version (or github SHA if from source):

Using TFLite 2.8.0, but there's not been significant changes to relevant code in latest (and I'd be happy to upgrade if there were...).
Provide the text output from tflite_convert
I'm using TinyNN to convert to direct from PyTorch. it says:

UserWarning: Group transposed conv is not supported if official tflite interpreter is used.
and
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc#L6213
has groups=1 hard-coded

Converting this network:
https://github.com/Picsart-AI-Research/MI-GAN/
Specifically, the function creating the Transpose Convolutions / Deconvolutions is at:
https://github.com/Picsart-AI-Research/MI-GAN/blob/main/lib/model_zoo/migan_inference.py#L79

Hi @BmanClark
Could you please provide the steps you have followed for TFLite conversion inorder to reproduce the issue?
Thanks.

Sorry, I've been busy with my workaround... The issue still exists generally, but https://github.com/Picsart-AI-Research/MI-GAN/ has kindly added a new commit to replace the group deconvolutions in the network and avoid the issue. So to reproduce you need the previous commit of MI-GAN: 29807312b6d881b51246d83e8b6fa9b9e4f97978
With that network / github project I converted with TinyNN.
Specifically, once the TinyNN & MI-GAN projects were installed on python following their respective standard instructions, I used the following to convert the network and hit the issue.
from tinynn.converter import TFLiteConverter
import torch
import sys
import argparse
import os
import numpy as np
from lib.model_zoo.migan_inference import Generator as MIGAN

model = MIGAN(resolution=512)
model.load_state_dict(torch.load('./models/migan_512_places2.pt'))
dummy_input = torch.randn(1, 4, res, res)

with torch.no_grad():
    model.cpu()
    model.eval()

    converter = TFLiteConverter(model, dummy_input, 'migan512.tflite')
    # converter.group_conv_rewrite = True # line to blow up network to thousands of nodes, but make conversion work by de-grouping
    converter.convert()

Hi, this is the author of TinyNN, which is a tool to convert PyTorch models to TFLite. I've skimmed the conversation above. Actually, it is rather a feature request, not a bug. As group convolution is already supported in TFLite, it seems reasonable to get grouped transpose_convolution supported too. Internally, we have a fork of TFLite that maps the group deconvolution to a single op and then maps that to the underlying XNNPack operator.

Hi @BmanClark @peterjc123
Thanks for the information.
I am just trying with a toy model to reproduce the issue and observed that TFLite is able to convert the transpose convolutions with groups without any error.
Please find this gist.
If you could provide a similar toy model, that would help us investigate the bug or feature request better.
Thanks.

@pjpratik Yes, it doesn't fail during conversion and evaluation, but if you inspect the generated TFLite model using Netron, you can see that it is translated to a full conv_transpose node rather than a grouped one. (The number of the input channels and the output channels of the weights are equal to 32) So there is no speedup and memory savings compared with full transposed convolutions during inference, making grouped convolutions meaningless.

To make it clear, we need the following enhancements:

Update the TFLite schema to enable grouped deconvolutions
Implement grouped deconvolution kernels so that we can have real inference-time benefits

Hi @peterjc123, would you be willing to make a contribution for this feature? That'll probably get it integrated the fastest.

@pkgoogle Will take a look and work on this if I have time.

@haozha111, can you please take a look? Thanks.

Hi, @BmanClark
Thanks for raising this issue. Are you aware of the migration to LiteRT? This transition is aimed at enhancing our project's capabilities and providing improved support and focus for our users. As we believe this issue is still relevant to LiteRT we are moving your issue there. Please follow progress here: https://github.com/google-ai-edge/LiteRT/issues/105
Let us know if you have any questions. Thanks.


For release review cycle: redesigned focus areas

The Value Working Group redesigned the focus areas:
https://github.com/chaoss/wg-value/tree/master/focus-areas/
All released metrics are organized in this new structure.
There is no new Value metric for this release.
This issue is for capturing feedback during the release review cycle.

This issue was created to capture the continuous release notes. Insight from comments will be used to create the regular release note.
Example comments could be:
name of new metric and date of release
descriptions of changes to existing metric
Changes to focus areas or restructuring of WG

Release notes for Value WG:

Restructured the focus areas
All previously released metrics are assigned one of the new focus areas
Minor updates to Social Currency Metric System (SCMS)

NOTE: Do not release the empty Social Value focus area

Totally biased but I love this change :shipit:

closing for release 2020-08


feat: Improvement to the model management endpoints

Previous specs
# TODO @alan

# Start model
PUT https://localhost:1337/v1/models/{model_id}/start
{
  "model_parameters": [jsonPayload] , # this should be generic due to the multi inference engine nature
}

# Stop model
PUT https://localhost:1337/v1/models/{model_id}/stop

# Load model (Nitro only)
POST https://localhost:1337/v1/models
{
  "id": [string]
  "model_config": [jsonPayload], # Inference engine will dictate what does it want to get
  "engine": [string]  # The inference engine that will be used ex: llamacpp will expect 1-3 file paths, tensorrt-llm will expect different etc
}

# Unload model (Nitro only)
Unload model will re-use the same structure as delete model because nitro won't deal with FS so a delete request now will just unload the model out of nitro index

Let's use "Import" instead


Set up a local Keycloak instance for local development

Currently, for local development, we rely on an EY-hosted Keycloak instance. To safeguard local development from potential outages, we can set up a locally-hosted Keycloak instance (as a backup to the EY-hosted instance).
Technical details:

In the docker-compose file, add the necessary configuration to set up a local Keycloak. Use the docker files from the forms-flow-idm directory.
During the build process, make sure the setup automatically includes the required roles, groups, and configurations.
As a starting point, Google can be set up as the identity provider.
Additionally, we can explore the possibility of setting up IDIR locally, though it's considered optional.

By following these steps, local development can continue smoothly and independently, even if the EY-hosted instance encounters any issues.

we have already made this switch, we can close this


Add Notes to assets

Equipment

Issue ##516

Icon on Key details page if notes exist

Close #516


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110596

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112934


|changed is getting deprecated

The | changed way of doing things is deprecated in Ansible 2.5, change it to "is changed" as it should be.

Thanks and hello :)
Travis fails of "devel-centos7" fails because of some SSL error which I think is from using a newer pip client 1 ("stable-centos7" does not upgrade pip client). I think we can disregard it.
This PR is related to issue #218


Reduce, transform_reduce of multiple intervals

It is possible to efficiently reduce or transform_reduce of multiple intervals in array? Distances between begin and end of iterators in interval may be different, intervals hasn't intersections.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40958205-reduce-transform_reduce-of-multiple-intervals?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).

I think that currently the best option is to perform a scan and pick values
that you want from the result. However, you'll have to benchmark if it's
faster than performing multiple reduce operations. Otherwise, you'll have
to modify reduce algorithm.
14 sty 2017 18:01 "Pavel Darashkevich"<EMAIL_ADDRESS>napisał(a):

It is possible to efficiently reduce or transform_reduce of multiple
intervals in array? Distances between begin and end of iterators in
interval may be different, intervals hasn't intersections.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boostorg/compute/issues/685, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACmCBEZZCjYCVhhgeEew5KCF0hYaZ0tlks5rSP9igaJpZM4LjrdN
.


Add sync token error handling and testing

Currently the invalid sync token error is never thrown, and so we need to check statuses, etc and verify sync is reset via tests.

Would be good to add tests for a sync failure in the middle of a page.

Fixed in #52


Sveltekit example

Version
8.1.2
Describe the bug
sveltekit example isnt working due the braking changes.
Reproduction
git clone https://github.com/ivanhofer/typesafe-i18n.git
cd examples/sveltekit
yarn install
yarn dev

Logs
in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
Error: request in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
    at Object.get request [as request] (file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1700:11)
    at Object.handle (/home/q/Documents/test/sveltekit/src/hooks.ts:5:48)
    at respond (file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1607:40)
    at file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1937:30
request in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
Error: request in handle has been replaced with event. See https://github.com/sveltejs/kit/pull/3384 for details
    at Object.get request [as request] (file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1700:11)
    at Object.handle (/home/q/Documents/test/sveltekit/src/hooks.ts:5:48)
    at respond (file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1607:40)
    at file:///home/q/Documents/test/sveltekit/node_modules/@sveltejs/kit/dist/chunks/index.js:1937:30
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Config
No response
Additional information
ubuntu 20.4, firefox

@ohbob thanks!
Here is a working SvelteKit example:
https://github.com/ivanhofer/typesafe-i18n-demo-sveltekit
I need to update the docs to link it to this example

Thank you very much!
Could you expand the example of few nested routes? I'm quite stuck on the case and do not understand how I would achieve structure like domain.com/en/random/route/one

Let me know if you need some help

Not really a bug, but want to understand how you handle importing static files? as the url changes, and there is no e.g. local font on the address domain/en/font.woff .

I assume you just put the files in the static folder and then access them in your template e.g.
<img src="/logo.png" />

where logo.png is in the root of the static folder.
This should work also with font files.

Well i'm having problem with getting local fonts loading. if you go to domain.com/en/example, it would not load a font that is being loaded like this. Because the addres from which it tries to load isn't / anymore its /en/ and at that location there is no font. any ideas ?
@font-face {
font-family: 'FilsonProRegular';
src: local('FilsonProRegular'), local('FilsonProRegular'), url(FilsonProRegular.woff) format('woff');
}


microcode-intel: 20161104 -> 20170511

Motivation for this change
https://lists.debian.org/debian-devel/2017/06/msg00308.html
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Tested with hardware.cpu.intel.updateMicrocode = true;, dmesg has
[    0.000000] microcode: microcode updated early to revision 0xba, date = 2017-04-09

It looks like we both read the same news! :smile:  I pushed the update to microcodeIntel at almost exactly the same time as you opened the PR: 252e9ec84a7d00f93fa1e1ec4f3f4e706d505f4f


propSatisfies Safety

I briefly looked but couldn't find much discussion on the safety of propSatisfies. I often wish that this method would simply return false when null or undefined are passed in and the prop doesn't exist on the context instead of throwing. One potential issue I see is when an object has a property that is actually undefined and someone uses isNil as their predicate.
REPL
const { log, clear } = console;
clear()

const foo = propSatisfies(equals('bar'), 'bar')

log(foo({ bar: 'bar' }))        // true
log(foo({ bar: 'nope' }))       // false
log(foo('some string'))         // false
log(foo({ notBar: 'not bar' })) // false
log(foo([1, 2, 3]))             // false
log(foo(null))                  // Throws: Cannot read property 'bar' of null
log(foo(undefined))             // Throws: Cannot read property 'bar' of undefined

Has there been much discussion around this (if so, sorry for the duplicate)? Is there any appetite to change the behavior? If so, I would be happy to make a PR.
Perhaps I just need to head over to sanctuary to get the safety I'm looking for, but Ramda is a much easier sell to my fellow developers (because of the lack of Monads) and much easier to bring in to existing projects.
Thanks in advance for your thoughts and thanks for such an awesome library!

There has been much discussion on related concerns.  See #2504, #2453, #2475, and especially #2433 and #848, and in fact, in many other issues.
While I was happy enough to use a default in propOr, that's because we could answer the question the function is designed to answer when a nullary value is received.  propOr(42, 'foo', undefined) asks what the foo property of undefined is, and if it doesn't exist to give me back 42.  We can do that.
But how would do the same for propSatisfies?  We don't know details of the predicate function.  What answer could we give that gives a reasonable value for both of these?:
propSatisfies(predicate, 'foo' null)
propSatisfies(complement(predicate), 'foo', null)

Since we know nothing about the internals of the predicate functions supplied to us, we have no way to guess at those results.  For instance, if predicate were isNil, how should those respond?
Sanctuary does have a strong advantage in type safety.  But it comes at the cost, as you say, of having to deal with Maybe responses to many otherwise partial functions, and often at the cost of performance.  You would also not remove the thrown exception; you would have many more, albeit with much nicer error messages.
It's not that I'm not sympathetic.  I'm very much against throwing exceptions unless absolutely necessary.  It's much harder to compose functions which throw.  But I don't see a good solution here.  Do you have one?

I'm sorry.  My thinking was fuzzy.  :blush:  I rarely use propSatisfies and I was thinking of it wrong.
While I would be happy to see a PR for this, do look at some of the controversies in those threads: I make no guarantees that it would be accepted.  We're a contentious lot!

Well played! 😜

With https://github.com/ramda/ramda/pull/2305 merged, shouldn't the same argument hold that R.pathSatisfies and R.propSatisfies behave the same for undefined and null? Happy to submit a PR if thats an easy decision now with all the debate from #2305


Support for updating the main A record for a zone

I'm trying to update the main record for a website. I couldn't find any information in the readme, so I attempted to set DOMAIN_DYNAMIC_ITEMS to @, . or even '', without success. Here's an example of the output returned from the first example:
$ docker run --rm -e GANDI_API_KEY="${GANDI_KEY}" -e DOMAIN_FQDN="example.com." -e DOMAIN_DYNAMIC_ITEMS='@' ghcr.io/bwolf/gandi-dns-update/gandi-dns-update:latest
[2022-03-10T10:25:49Z INFO  gandi_dns_update] Looking up my IP address
[2022-03-10T10:25:49Z INFO  gandi_dns_update] My IP address is MY_IP
[2022-03-10T10:25:49Z INFO  gandi_dns_update] Processing domain name example.com., record @
[2022-03-10T10:25:49Z DEBUG gandi_dns_update] Domain example.com. first NS name is ns-107-c.gandi.net.
[2022-03-10T10:25:49Z DEBUG gandi_dns_update] Domain example.com. NS IP SOME_IP
[2022-03-10T10:25:49Z INFO  gandi_dns_update] Checking domain example.com. dynamic item @.example.com.
Error: AppError { msg: "Resolve error: proto error: Label contains invalid characters: Err(Errors { invalid_mapping, disallowed_by_std3_ascii_rules })" }

Is this supported? If yes, how can I configure gandi-dns-update to do this?
Thanks in advance!

This is currently not suported. A PR is wecome to add the feature. The setting DOMAIN_DYNAMIC_ITEMS is intended to point to entries besides @, that is simple A entries.

Thank you for confirming.
I wish I knew enough rust to code this myself.


Add a note on windows encoding issue

I struggle a good 15 minutes trying to understand why Kalamine does not work on Windows. Of course this is due to encoding defaults of the cursed OS.
This may help some users I guess :)
Edit: this is an issue from the yaml library that can't open the data files (like dead_keys.yaml)

Thanks !


Move wasm api v3 into extensions, remove unused v2 (not upstreamed).

Signed-off-by: John Plevyak<EMAIL_ADDRESS>

Don't we need v2 for Istio, still?

Do we need v2 for the next version of istio ?  This is in master.

Talked to the team.  We can remove v2 for the next release, so I say we nuke v2 this for upstreaming.  Upstream had v2alpha, but Kuat already removed it, so v2 would never get used and we use typed_struct, so it is entirely within our control.


Clean dependencies

Removes unused dependencies.
Upgrades to the latest version of react-scripts.
Adds the script npm run build for compiling production builds.

@maitanavarro Try doing an npm clean-install first?
The mathjax dependency hasn't changed, so it's weird that you'd get an error there.

Hmm yeah, I used "npm ci" the first time before I did "npm start", and tried it again with "npm clean-install", and I still got the same error

What version of node and npm do you have? On my computer, it's:
$ node --version
v12.13.1
$ npm --version
7.7.6

Oh! Just checked and my computer has:
$ node --version
v14.15.4
$ npm --version
6.14.10

Ok, yeah. I can get that same error on my computer if I use node 14. It runs successfully if I delete package-lock.json and let npm install resolve dependencies from scratch.
I forget which ones, but I think one or more of the dependencies we're using isn't yet compatible with node 14, so I've been leaving things at node 12.
I recommend downgrading your local setup to node 12 for this project until we can upgrade to 14. I don't think the version of npm should make much of a difference, but that's worth upgrading to the latest.

Sounds good! It was able to work once I switched to node 12. I think the only thing that looks off is the layering of boxes on the lower left hand corner


AWSSDK.CORE dll within Unity packages has a conflict with the MSBuildForUnity

When importing both the AWSSDK Unity packages and the MixedRealityTookKit (MRTK) unity packages, there is an overlap in functions that are preventing Unity from building.
Expected Behavior

I expect the packages to not overlap functions
Current Behavior

Library\PackageCache\com.microsoft.msbuildforunity@0.9.1-20200131.14\Editor\ProjectGenerator\Scripts\Exporters\TextSolutionFileParser.cs(344,23): error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\com.microsoft.msbuildforunity@0.9.1-20200131.14\Editor\ProjectGenerator\Scripts\AssetScriptReferenceRetargeter.cs(150,31): error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\com.microsoft.msbuildforunity@0.9.1-20200131.14\Editor\ProjectGenerator\Scripts\AssetScriptReferenceRetargeter.cs(237,43): error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\com.microsoft.msbuildforunity@0.9.1-20200131.14\Editor\ProjectGenerator\Scripts\Templates\FileTemplate.cs(34,27): error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Possible Solution

Steps to Reproduce (for bugs)

Import any AWSSDK Unity package, and the MRTK foundation package.
Context

Your Environment

AWSSDK.Core version used: <IP_ADDRESS>
Service assembly and version used:
Operating System and version: Windows 10 1903
Visual Studio version: 2019
Targeted .NET platform: 4.x
Unity 2019.2.11f1
Targeting UWP within Unity

.NET Core Info

.NET Core version used for development:
.NET Core version installed in the environment where application runs:
Output of dotnet --info:
Contents of project.json/project.csproj:

MixedRealityTookKit

I get the same issue with ARfoundation and ARkit

I found the solution for these issues... They apparently have deprecated this api.. use the below instead and the documentation is horrible, heres an alternative they are asking us to use
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/

@nanop well that is interesting, I'll have to give that a try. The only major issue I guess is all the code samples I've found are the ones based off of the api you said is deprecated. Going to make this a little more tricky,

@jeff0fisher yeah for sure it sucks.. however the new api isnt that different I felt... feel free to ask me any questions related and Im happy help ;)

Well I guess to start, the unity package samples always called for a prefab to be initialized, that was withing the AWSSKD.CORE dll, but i don't see it now in .net standard 2.0 .core dlls. Not sure what was in that prefab, but I'm guessing I'll have replace it with something.

@jeff0fisher you dont need UnityInitialize, what the hell was it doing anyways.. like u said either attach it a prefab or main camera doesnt really matter.

@NGL321
We have the same problem about MixedRealityTookKit(MRTK).
We are developing a project with Vuforia Engine and MixedRealityTookKit(MRTK).
When importing both the AWSSDK Unity packages and the MRTK unity packages, there is an error message that are preventing Unity from console.
error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089
Develop environment
Visual Studio version: 2020.
Unity version: 2019.3.3f1.
Vuforia version: 9.3.3.
MRTK version: 2.4.
We think the 'InvalidDataException' problem because AWSSDK.CORE dll within Unity packages has a conflict with the MSBuildForUnity.
Is there any solution for these issues?
Thank you.

@NGL321
We have the same problem about MixedRealityTookKit(MRTK).
We are developing a project with Vuforia Engine and MixedRealityTookKit(MRTK).
When importing both the AWSSDK Unity packages and the MRTK unity packages, there is an error message that are preventing Unity from console.
error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089
Develop environment
Visual Studio version: 2020.
Unity version: 2019.3.3f1.
Vuforia version: 9.3.3.
MRTK version: 2.4.
We think the 'InvalidDataException' problem because AWSSDK.CORE dll within Unity packages has a conflict with the MSBuildForUnity.
Is there any solution for these issues?
Thank you.

They don’t support it, did u read my comment, check the blog, does this not work for you ?
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/

@NGL321
We have the same problem about MixedRealityTookKit(MRTK).
We are developing a project with Vuforia Engine and MixedRealityTookKit(MRTK).
When importing both the AWSSDK Unity packages and the MRTK unity packages, there is an error message that are preventing Unity from console.
error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089
Develop environment
Visual Studio version: 2020.
Unity version: 2019.3.3f1.
Vuforia version: 9.3.3.
MRTK version: 2.4.
We think the 'InvalidDataException' problem because AWSSDK.CORE dll within Unity packages has a conflict with the MSBuildForUnity.
Is there any solution for these issues?
Thank you.

They don’t support it, did u read my comment, check the blog, does this not work for you ?
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/

Thanks for your replay.
Yes, We have already tried that solution, but  it doesn't work on our develop environment with Unity 2019.3.3f1.
As we traced other issue, we found that might be related to the difference of Unity 2018 and 2019.
We got some hints from other discussion in the issue page and we are stilling trying other potential solutions for us.

@NGL321
We have the same problem about MixedRealityTookKit(MRTK).
We are developing a project with Vuforia Engine and MixedRealityTookKit(MRTK).
When importing both the AWSSDK Unity packages and the MRTK unity packages, there is an error message that are preventing Unity from console.
error CS0433: The type 'InvalidDataException' exists in both 'AWSSDK.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' and 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089
Develop environment
Visual Studio version: 2020.
Unity version: 2019.3.3f1.
Vuforia version: 9.3.3.
MRTK version: 2.4.
We think the 'InvalidDataException' problem because AWSSDK.CORE dll within Unity packages has a conflict with the MSBuildForUnity.
Is there any solution for these issues?
Thank you.

They don’t support it, did u read my comment, check the blog, does this not work for you ?
https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/

Thanks for your replay.
Yes, We have already tried that solution, but it doesn't work on our develop environment with Unity 2019.3.3f1.
As we traced other issue, we found that might be related to the difference of Unity 2018 and 2019.
We got some hints from other discussion in the issue page and we are stilling trying other potential solutions for us.

Hmm! That’s odd, we have unity 2019.3 and .4 it works on both. Good luck. Happy to help if you need it.

Hi @jeff0fisher,
Starting with version 3.5 of the AWS SDK for .NET, projects using Unity 2018.1 or later should target the .NET Standard 2.0 release of the SDK. You can find additional information in the developer guide: Unity support and Migrating your Unity application.
Please try using the .NET Standard 2.0 version of the AWS SDK for .NET (version 3.5).
Thanks,
Ashish

Hi @jeff0fisher,
Starting with version 3.5 of the AWS SDK for .NET, projects using Unity 2018.1 or later should target the .NET Standard 2.0 release of the SDK. You can find additional information in the developer guide: Unity support and Migrating your Unity application.
Please try using the .NET Standard 2.0 version of the AWS SDK for .NET (version 3.5).
Thanks,
Ashish

Hi @jeff0fisher,
If this is still an issue, please try using the .NET Standard 2.0 version of the AWS SDK for .NET (version 3.5).
Thanks,
Ashish

Hi @jeff0fisher,
If this is still an issue, please try using the .NET Standard 2.0 version of the AWS SDK for .NET (version 3.5).
Thanks,
Ashish


Fix bad merge in agent_test.go

These additions to agent_test.go passed originally, but after being
merged to master, they fail since the behavior has changed. Remove the
newly-added lines causing the failure.
cc @LK4D4 @stevvooe

LGTM

LGTM

LGTM


Random crashes on ssa_greedy_optimize

Sometimes, randomly, when I create a random tensor network (with rand_equation) and find a contraction path using the Greedy solver, it crashes.
Example
using OptimizedEinsum
output, inputs, size_dict = rand_equation(100, 3)
path = contractpath(Greedy, inputs, output, size_dict)

Stacktrace
path = optimize(Greedy, inputs, output, size_dict)
ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type Set{Symbol}
Closest candidates are:
  convert(::Type{T}, ::T) where T<:AbstractSet at set.jl:475
  convert(::Type{T}, ::AbstractSet) where T<:AbstractSet at set.jl:476
  convert(::Type, ::GeoInterface.AbstractGeometryTrait, ::Any) at ~/.julia/packages/GeoInterface/J298z/src/fallbacks.jl:112
  ...

ERROR: MethodError: Cannot `convert` an object of type Nothing to an object of type Int64
Closest candidates are:
  convert(::Type{T}, ::Ptr) where T<:Integer at pointer.jl:23
  convert(::Type{T1}, ::CEnum.Cenum{T2}) where {T1<:Integer, T2<:Integer} at ~/.julia/packages/CEnum/Bqafi/src/operators.jl:24
  convert(::Type{IT}, ::GeometryBasics.OffsetInteger) where IT<:Integer at ~/.julia/packages/GeometryBasics/KE3OI/src/offsetintegers.jl:40
  ...

As an example:
julia> using OptimizedEinsum
julia> output = Symbol[]
julia> inputs = [[:a, :b, :c], [:b, :a, :c], [:d, :e], [:d, :e]]
julia> size_dict = Dict(:a => 4, :b => 6, :c => 5, :d => 4, :e => 3)
julia> path = contractpath(Greedy, inputs, output, size_dict)
ContractionPath([(3, 4), (1, 2), (5, 6)], [[:a, :b, :c], [:b, :a, :c], [:d, :e], [:d, :e]], Symbol[], Dict(:a => 4, :b => 6, :d => 4, :e => 3, :c => 5))

We can visualize this TN:

So the issue with your last example @mofeing, I guess is not only because of the unconnected tensors in the TN.

Mmm I don't think this example is valid for the example I wrote in https://github.com/bsc-quantic/OptimizedEinsum.jl/issues/9#issuecomment-1366179420. The reason is that this TN is so simple that all the path is computed in the code example you fixed in #14 (the step 1 in ssa_greedy_optimize).
You should try something a lil more complicated. Like disconnected tensors in the TN but without duplicated tensors.

@jofrevalles Have you tried running the code in https://github.com/bsc-quantic/OptimizedEinsum.jl/issues/9#issuecomment-1366179420 with your fix?

Yes, now we get:
julia> using OptimizedEinsum
julia> output = Symbol[]
julia> inputs = Set{Symbol}[Set([:w, :x]), Set([:f, :À, :x]), Set([:I, :s, :O, :Å]), Set([:W, :g, :i]), Set([:T, :n, :y, :v]), Set([:N, :M, :j]), Set([:Ä, :È, :D, :Q, :h, :Â]), Set([:P, :G, :B]), Set([:o, :j, :u]), Set([:a, :R, :I, :y, :c]), Set([:Ç, :D, :Y]), Set([:Á, :B, :r]), Set([:m]), Set([:d, :G]), Set([:p, :A, :Ç, :W, :h, :V]), Set([:R, :X]), Set([:o, :S, :O]), Set([:Ä]), Set([:T, :F]), Set([:e, :g, :E]), Set([:À, :k]), Set([:K, :V, :q]), Set([:b]), Set([:Á, :L]), Set([:È, :n, :K, :t, :C]), Set([:Æ, :Ã, :A]), Set([:L, :S]), Set([:l, :e]), Set([:d, :s, :Â]), Set([:U]), Set([:w, :Æ]), Set([:N, :p, :J, :v, :X]), Set([:H, :Q, :c, :z]), Set([:b]), Set([:l, :U, :Ã, :J, :u, :t, :C]), Set([:a, :H, :k, :z, :q, :E]), Set([:M, :Y, :i, :Å]), Set([:f, :r]), Set([:m]), Set([:P, :F])]
julia> size_dict = Dict{Symbol,Int}(:Á => 6, :À => 5, :D => 5, :S => 3, :R => 4, :d => 6, :k => 8, :m => 9, :y => 4, :W => 8, :O => 6, :o => 2, :p => 6, :F => 8, :e => 2, :c => 3, :Ä => 9, :Ã => 9, :Æ => 3, :N => 2, :M => 9, :È => 3, :s => 9, :v => 2, :Q => 3, :Y => 4, :z => 9, :Å => 6, :I => 8, :G => 7, :L => 3, :C => 7, :j => 5, :X => 3, :x => 2, :A => 4, :g => 9, :u => 5, :r => 3, :T => 8, :a => 7, :U => 2, :J => 6, :i => 4, :b => 9, :n => 3, :B => 6, :h => 5, :V => 4, :l => 8, :w => 6, :K => 8, :Â => 5, :E => 2, :Ç => 2, :q => 9, :f => 5, :P => 8, :H => 8, :t => 7)
julia> path = contractpath(Greedy, inputs, output, size_dict)
ERROR: MethodError: Cannot `convert` an object of type Set{Symbol} to an object of type Vector{Symbol}
Closest candidates are:
  convert(::Type{Array{T, N}}, ::StaticArraysCore.SizedArray{S, T, N, N, Array{T, N}}) where {S, T, N} at ~/.julia/packages/StaticArrays/B0HhH/src/SizedArray.jl:88
  convert(::Type{Array{T, N}}, ::StaticArraysCore.SizedArray{S, T, N, M, TData} where {M, TData<:AbstractArray{T, M}}) where {T, S, N} at ~/.julia/packages/StaticArrays/B0HhH/src/SizedArray.jl:82
  convert(::Type{T}, ::LinearAlgebra.Factorization) where T<:AbstractArray at /opt/julia-1.8.2/share/julia/stdlib/v1.8/LinearAlgebra/src/factorization.jl:58
  ...

The code to reproduce the error:
using OptimizedEinsum

output = Symbol[]
inputs = Set{Symbol}[Set([:w, :x]), Set([:f, :À, :x]), Set([:I, :s, :O, :Å]), Set([:W, :g, :i]), Set([:T, :n, :y, :v]), Set([:N, :M, :j]), Set([:Ä, :È, :D, :Q, :h, :Â]), Set([:P, :G, :B]), Set([:o, :j, :u]), Set([:a, :R, :I, :y, :c]), Set([:Ç, :D, :Y]), Set([:Á, :B, :r]), Set([:m]), Set([:d, :G]), Set([:p, :A, :Ç, :W, :h, :V]), Set([:R, :X]), Set([:o, :S, :O]), Set([:Ä]), Set([:T, :F]), Set([:e, :g, :E]), Set([:À, :k]), Set([:K, :V, :q]), Set([:b]), Set([:Á, :L]), Set([:È, :n, :K, :t, :C]), Set([:Æ, :Ã, :A]), Set([:L, :S]), Set([:l, :e]), Set([:d, :s, :Â]), Set([:U]), Set([:w, :Æ]), Set([:N, :p, :J, :v, :X]), Set([:H, :Q, :c, :z]), Set([:b]), Set([:l, :U, :Ã, :J, :u, :t, :C]), Set([:a, :H, :k, :z, :q, :E]), Set([:M, :Y, :i, :Å]), Set([:f, :r]), Set([:m]), Set([:P, :F])]
size_dict = Dict{Symbol,Int}(:Á => 6, :À => 5, :D => 5, :S => 3, :R => 4, :d => 6, :k => 8, :m => 9, :y => 4, :W => 8, :O => 6, :o => 2, :p => 6, :F => 8, :e => 2, :c => 3, :Ä => 9, :Ã => 9, :Æ => 3, :N => 2, :M => 9, :È => 3, :s => 9, :v => 2, :Q => 3, :Y => 4, :z => 9, :Å => 6, :I => 8, :G => 7, :L => 3, :C => 7, :j => 5, :X => 3, :x => 2, :A => 4, :g => 9, :u => 5, :r => 3, :T => 8, :a => 7, :U => 2, :J => 6, :i => 4, :b => 9, :n => 3, :B => 6, :h => 5, :V => 4, :l => 8, :w => 6, :K => 8, :Â => 5, :E => 2, :Ç => 2, :q => 9, :f => 5, :P => 8, :H => 8, :t => 7)

path = contractpath(Greedy, inputs, output, size_dict)

The problem with this piece of code is just that inputs is a Vector{Set{Symbol}} when it should be a Vector{Vector{Symbol}}. This should not happen since the output of rand_equation() for the inputs is always a Vector{Vector{Symbol}}. So if we can get the desired result by converting inputs:
julia> using OptimizedEinsum
julia> output = Symbol[]
julia> inputs = Set{Symbol}[Set([:w, :x]), Set([:f, :À, :x]), Set([:I, :s, :O, :Å]), Set([:W, :g, :i]), Set([:T, :n, :y, :v]), Set([:N, :M, :j]), Set([:Ä, :È, :D, :Q, :h, :Â]), Set([:P, :G, :B]), Set([:o, :j, :u]), Set([:a, :R, :I, :y, :c]), Set([:Ç, :D, :Y]), Set([:Á, :B, :r]), Set([:m]), Set([:d, :G]), Set([:p, :A, :Ç, :W, :h, :V]), Set([:R, :X]), Set([:o, :S, :O]), Set([:Ä]), Set([:T, :F]), Set([:e, :g, :E]), Set([:À, :k]), Set([:K, :V, :q]), Set([:b]), Set([:Á, :L]), Set([:È, :n, :K, :t, :C]), Set([:Æ, :Ã, :A]), Set([:L, :S]), Set([:l, :e]), Set([:d, :s, :Â]), Set([:U]), Set([:w, :Æ]), Set([:N, :p, :J, :v, :X]), Set([:H, :Q, :c, :z]), Set([:b]), Set([:l, :U, :Ã, :J, :u, :t, :C]), Set([:a, :H, :k, :z, :q, :E]), Set([:M, :Y, :i, :Å]), Set([:f, :r]), Set([:m]), Set([:P, :F])]
julia> inputs = [collect(i) for i in inputs]
julia> size_dict = Dict{Symbol,Int}(:Á => 6, :À => 5, :D => 5, :S => 3, :R => 4, :d => 6, :k => 8, :m => 9, :y => 4, :W => 8, :O => 6, :o => 2, :p => 6, :F => 8, :e => 2, :c => 3, :Ä => 9, :Ã => 9, :Æ => 3, :N => 2, :M => 9, :È => 3, :s => 9, :v => 2, :Q => 3, :Y => 4, :z => 9, :Å => 6, :I => 8, :G => 7, :L => 3, :C => 7, :j => 5, :X => 3, :x => 2, :A => 4, :g => 9, :u => 5, :r => 3, :T => 8, :a => 7, :U => 2, :J => 6, :i => 4, :b => 9, :n => 3, :B => 6, :h => 5, :V => 4, :l => 8, :w => 6, :K => 8, :Â => 5, :E => 2, :Ç => 2, :q => 9, :f => 5, :P => 8, :H => 8, :t => 7)

julia> path = contractpath(Greedy, inputs, output, size_dict)
ContractionPath([(23, 34), (13, 39), (35, 28), (36, 33), (43, 30), (7, 18), (44, 21), (16, 10), (20, 4), (8, 14)  …  (66, 63), (70, 48), (68, 32), (64, 62), (71, 69), (74, 73), (75, 72), (67, 76), (41, 42), (77, 78)], [[:w, :x], [:f, :À, :x], [:I, :s, :O, :Å], [:W, :g, :i], [:T, :n, :y, :v], [:N, :M, :j], [:Ä, :È, :D, :Q, :h, :Â], [:P, :G, :B], [:o, :j, :u], [:a, :R, :I, :y, :c]  …  [:w, :Æ], [:N, :p, :J, :v, :X], [:H, :Q, :c, :z], [:b], [:l, :U, :Ã, :J, :u, :t, :C], [:a, :H, :k, :z, :q, :E], [:M, :Y, :i, :Å], [:f, :r], [:m], [:P, :F]], Symbol[], Dict(:Á => 6, :À => 5, :j => 5, :D => 5, :S => 3, :X => 3, :x => 2, :R => 4, :d => 6, :k => 8…))

I will close this issue since I think the error is fixed.


DLL 'Cntk.Core.CSBinding-2.3.1.dll'

I get this error
DllNotFoundException: Unable to load DLL 'Cntk.Core.CSBinding-2.3.1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Can you help?
Thanks,
Stefano
PS: Windows 10
Visual Studio Comunity 2017

Do you still get this error?  I just got a fresh copy from GitHub, and tried it out with Visual Studio 2017 (Community), and things work fine.

Thanks Anastasios but I already solved.
You did an excellent work ! Congratulation.
Keep it up.
Have a great day!
Stefano Campanella
------ Original Message ------
From: "Anastasios Stamoulis"<EMAIL_ADDRESS>To: "anastasios-stamoulis/deep-learning-with-csharp-and-cntk"
<EMAIL_ADDRESS>Cc: "superdrin"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: 12/9/2018 20:57:26
Subject: Re: [anastasios-stamoulis/deep-learning-with-csharp-and-cntk]
DLL 'Cntk.Core.CSBinding-2.3.1.dll' (#8)

Do you still get this error? I just got a fresh copy from GitHub, and
tried it out with Visual Studio 2017 (Community), and things work fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/anastasios-stamoulis/deep-learning-with-csharp-and-cntk/issues/8#issuecomment-445566330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdX9Ls_3Wg7Opj93m9_BHGTSVr68XFG4ks5u3WsmgaJpZM4Y7O8z.

Hello !
I use Visual Studio Community 2017.
With your fresh copy I still get these error:
-in Ch_05_Class_Activation_Heatmaps
-in Ch_05_Visualizing_Convnet_Filters
Severity	Code	Description	Project	File	Line	Suppression State
Error	C1189	#error: Currently CNTK only supports X64 platform and Visual
Studio 2015 Update 3. Please configure your project to use x64 platform
and build your project with Visual Studio
2015.	CPPUtil	d:\csharp\deep-learning-with-csharp-and-cntk-master\deeplearning\packages\cntk.gpu.2.3.1\build\non-supported\include\cntklibrary.h	8

in Ch_06_Sequence_Processing_With_Convnets
System.ApplicationException
HResult=0x80131600
Message=Inside File: Matrix.cpp  Line: 1829  Function:
Microsoft::MSR::CNTK::Matrix::AdamUpdate  -> Feature Not
Implemented.

[CALL STACK]
> Microsoft::MSR::CNTK::Matrix::  AdamUpdate
- CNTK::Internal::  ZeroesWithDynamicAxesLike (x2)
- CNTK::  UniversalLearner
- CNTK::TrainingParameterSchedule::  Transform
- CNTK::Trainer::  TotalNumberOfUnitsSeen
- CNTK::Trainer::  TrainMinibatch (x2)
- CSharp_CNTK_Trainer__TrainMinibatch__SWIG_2
- 00007FFDE0CDED35 (SymFromAddr() error: The specified module could
not be found.)
Source=Cntk.Core.Managed-2.3.1
StackTrace:
at CNTK.Trainer._TrainMinibatch(UnorderedMapVariableValuePtr
arguments, Boolean isSweepEndInArguments, DeviceDescriptor
computeDevice)
at DeepLearningWithCNTK.TrainingEngine.training_phase() in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Util.cs:line
1137
at DeepLearningWithCNTK.TrainingEngine.train(Double threshold) in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Util.cs:line
1070
at Ch_06_Sequence_Processing_With_Convnets.Program.run() in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Ch_06_Sequence_Processing_With_Convnets\Program.cs:line
48
at Ch_06_Sequence_Processing_With_Convnets.Program.Main(String[]
args) in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Ch_06_Sequence_Processing_With_Convnets\Program.cs:line
12
-in Ch_06_Using_Word_Embeddings
System.IO.DirectoryNotFoundException: 'Could not find a part of the path
'C:\Users\anastasios\Downloads\aclImdb\train\neg'.'
-in Ch_08_Deep_Dream
System.NotSupportedException: 'Please set PYTHON_HOME_ properly'
-in Ch_08_Text_Generation_With_LSTM
System.ApplicationException: 'Inside File: Matrix.cpp Line: 1829
Function: Microsoft::MSR::CNTK::Matrix::AdamUpdate -> Feature Not
Implemented.
System.ApplicationException
HResult=0x80131600
Message=Inside File: Matrix.cpp  Line: 1829  Function:
Microsoft::MSR::CNTK::Matrix::AdamUpdate  -> Feature Not
Implemented.
[CALL STACK]
> Microsoft::MSR::CNTK::Matrix::  AdamUpdate
- CNTK::Internal::  ZeroesWithDynamicAxesLike (x2)
- CNTK::  UniversalLearner
- CNTK::TrainingParameterSchedule::  Transform
- CNTK::Trainer::  TotalNumberOfUnitsSeen
- CNTK::Trainer::  TrainMinibatch (x2)
- CSharp_CNTK_Trainer__TrainMinibatch__SWIG_2
- 00007FFDE0CFCDB5 (SymFromAddr() error: The specified module could
not be found.)
Source=Cntk.Core.Managed-2.3.1
StackTrace:
at CNTK.Trainer._TrainMinibatch(UnorderedMapVariableValuePtr
arguments, Boolean isSweepEndInArguments, DeviceDescriptor
computeDevice)
at DeepLearningWithCNTK.TrainingEngine.training_phase() in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Util.cs:line
1137
at DeepLearningWithCNTK.TrainingEngine.train(Double threshold) in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Util.cs:line
1070
at Ch_08_Text_Generation_With_LSTM.Program.run() in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Ch_08_Text_Generation_With_LSTM\Program.cs:line
162
at Ch_08_Text_Generation_With_LSTM.Program.Main(String[] args) in
D:\CSharp\deep-learning-with-csharp-and-cntk-master\DeepLearning\Ch_08_Text_Generation_With_LSTM\Program.cs:line
12
Have a great day!
Stefano
------ Original Message ------
From: "Anastasios Stamoulis"<EMAIL_ADDRESS>To: "anastasios-stamoulis/deep-learning-with-csharp-and-cntk"
<EMAIL_ADDRESS>Cc: "superdrin"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Sent: 12/9/2018 20:57:26
Subject: Re: [anastasios-stamoulis/deep-learning-with-csharp-and-cntk]
DLL 'Cntk.Core.CSBinding-2.3.1.dll' (#8)

Do you still get this error? I just got a fresh copy from GitHub, and
tried it out with Visual Studio 2017 (Community), and things work fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/anastasios-stamoulis/deep-learning-with-csharp-and-cntk/issues/8#issuecomment-445566330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdX9Ls_3Wg7Opj93m9_BHGTSVr68XFG4ks5u3WsmgaJpZM4Y7O8z.


Data decoding base64 (need structure)

Hello, guys!
Please help me.
Where can I take data structure of base64 ecoded messages of programSubscribe messages type for decoding?
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "programSubscribe",
  "params": [
    "someAddress",
    {
      "encoding": "base64",
      "commitment": "processed"
    }
  ]
}

Receive something like this. Need to decode data[0]
{
  "jsonrpc": "2.0",
  "method": "programNotification",
  "params": {
    "result": {
      "context": {
        "slot": 12345
      },
      "value": {
        "pubkey": "XXXXX",
        "account": {
          "lamports": 12345,
          "data": [
            "JEUwEoDhfYeue++EI97IyWHo9TiUneNoZsZALtCc7aKcAbsyPJZyUOLRWUfcuU7Dura0bVse8AR6o8VaHWQQwhGrR5oMCk7UAHQ7pAsAAAA=",
            "base64"
          ],
          "owner": "XXX",
          "executable": false,
          "rentEpoch": 12345
        }
      }
    },
    "subscription": 12345
  }
}

What fields u64, publicKey should be?

First you need to decode the data field into buffer (assume you are in TS/JS) so...
const data = Buffer.from(data, "base64");
You then need to deserialize, in which case you need to know how the program serializes the account so you can reverse it.
Pubkey is a array of size 32 bytes (u8)

Please direct support questions to Discord, there's a #developer-support channel.