AttributeError: 'Seq2SeqLMOutput' object has no attribute 'additional_lm_logits'

After I follow the installation and run examples/train_mbart_model.sh, I get the below error.
Loading from checkpoint
Traceback (most recent call last):
File "pretrain_nmt.py", line 630, in
run_demo()
File "pretrain_nmt.py", line 627, in run_demo
mp.spawn(model_create_load_run_save, nprocs=args.gpus, args=(args,files,train_files,))         #
File "/root/yanmtt/py36/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/root/yanmtt/py36/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes
while not context.join():
File "/root/yanmtt/py36/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/root/yanmtt/py36/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
File "/root/yanmtt/pretrain_nmt.py", line 359, in model_create_load_run_save
if mod_compute.additional_lm_logits is not None:
AttributeError: 'Seq2SeqLMOutput' object has no attribute 'additional_lm_logits'
What may be going wrong?  The version of transformers I have is 4.3.2.

Hi,
Have you installed this version of transformers using pip or by using the modified version of the repo I provided?
This error occurs when you use the pip installed version.
Solution (in case the pip version is used):
Step 1: pip uninstall transformers
Step 2: cd /transformers
Step 3: python setup.py install
Kindly let me know if it works for you.

I did not use the pip installed version. I followed the above, but I'm still running into the same error.

In fact, the first error I run into with examples/train_mbart_model.py is
Traceback (most recent call last):
File "pretrain_nmt.py", line 34, in
from transformers import AutoTokenizer, MBartTokenizer, MBart50Tokenizer, BartTokenizer
ImportError: cannot import name 'MBart50Tokenizer'

Hi,
I did a fresh install and I am able to successfully run all examples. So I am pretty sure there is a transformers version conflict.
I then tried to reproduce your error using the following steps:

Install the official transformers version using "pip install transformers==4.3.2"
Install my local transformers version using "cd yanmtt/transformers && python setup.py install"

When this is done, I get the same error as you do. This means that the previous version of transformers 4.3.2 which does not have my code changes takes priority. The only way to fix this is to remove all traces of transformers via MULTIPLE "pip uninstall transformers" and then install ONLY my version using "cd yanmtt/transformers && python setup.py install".
Note that if steps 1 and 2 are reversed then the pip version is not installed so there should not be an issue.
Additional details to check for multiple versions:
The way to check this is to look at "/root/yanmtt/py36/lib/python3.6/site-packages/" and see if there are multiple installations. If you have installed using my copy of transformers then you should see ONLY "/root/yanmtt/py36/lib/python3.6/site-packages/transformers-4.3.2-py3.6.egg". If there are other files/folders like: "/root/yanmtt/py36/lib/python3.6/site-packages/transformers-4.3.2.dist-info" or "/root/yanmtt/py36/lib/python3.6/site-packages/transformers" then that is most likely the source of your issue.
Explanation:
I have made changes to the transformers code and unless you use my changed code or if you have a version conflict then you wont be able to use "MBart50Tokenizer". The "Seq2SeqLMOutput" class has also been modified to have the attribute "additional_lm_logits" so if there is a version conflict then there will be an error.
Hope this helps.

Ah, this is now working, thank you!

Thank you for reporting. This should help others :)


Do I have to replace /lib/udev/rules.d/99-steam-perms.rules from Ubuntu's steam pkg?

Installing Steam from the Ubuntu 16.04 repositories places a file in /lib/udev/rules.d/ named 99-steam-perms.rules which has their default Steam Controller setup and contains this text:
# Steam Controller device node write access, per lp:1498655
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1102", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1002", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1142", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1042", MODE="0666"
# Steam Controller udev write access, per lp:1498658
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"

Seeing that the udev rules provided in the README are different (but have some similarities like the idVendor value), do I have to replace the text in the 99-steam-perms.rules file or remove it entirely to work with this driver? Or do I just leave it as is and this driver will work without further editing?

I'd say give it a try as is and see if it works. If it doesn't, you might need to add GROUP=games.

You might need to add MODE="0666" on your last rule if its not working.
My sample udev rules gives permissions only to game group ubuntu's one gives rights to everybody.


Migrate to Qiskit 1.0

I'm making this issue because this project is part of the Qiskit ecosystem.
As of June 2024, we're introducing a requirement that all projects are compatible with Qiskit 1.0. New users will be using Qiskit 1.0 and we want to make sure any projects we guide them to work straight away.
See our migration guide. and let me know if you need any support (such as answering questions about Qiskit or code review). With Qiskit's new stability policy, this should be the last change needed for a while.
In June, we will test out your project and remove it if it doesn't work with Qiskit 1.0. This includes cases in which we can't get the project working because the documentation is lacking. We do value your project so let me know if you need any help migrating or have any other concerns.

Decision was to stay with Qiskit 0.x on 32-bit bullseye OS, and install Qiskit 1.0.x on 64-bit Bookworm OS.
This is enabled by commit https://github.com/JanLahmann/RasQberry/commit/085ede9b28fe6a343180936de3a7a183d530a449


Make the SCIOND socket be connectable by anyone.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed, 1 unresolved discussion (waiting on @worxli)

python/lib/socket.py, line 233 at r1 (raw file):

        try:
            # Use 0666 for socket permissions
            old_mask = os.umask(0o111)

Move this before the try, it's not part of the critical section.

Comments from Reviewable

Review status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @kormat)

python/lib/socket.py, line 233 at r1 (raw file):
Previously, kormat (Stephen Shirley) wrote…
Move this before the try, it's not part of the critical section.

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


Fix ansible 2.2.1 handling of registered vars

ci check this

this fix doesn't work. please don't merge yet

Now ready. Waiting on LGTM from @ant31 @smana @bogdando

Hi @mattymo ,
do you what the reason is for this bash completion problem.
Thanks

Ansible 2.2.1, apparently.


x/exp/cmd/gorelease: cannot verify consistency of existing tag

What version of Go are you using (go version)?

$ go version
go version go1.16.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
I use gorelease locally, it's a great tool to automatically apply semver rules and suggest new version numbers.
What did you expect to see?
In addition to that, I would like to use it on CI (specifically: every time a new v* tag is pushed) in order to verify that this tag is consistent with the semantic versioning rules. This would allow us to catch cases where contributors forgot to run gorelease before tagging a new release, and quickly act to avoid breaking downstream users when we used the wrong version number.
What did you see instead?
There's no way to verify an existing version using gorelease. Running gorelease on the most recent tag (v0.x.y) will just return v0.x.y+1, running it using the -base=v0.x.y-1 results in the error message "Can only suggest a release version when compared against the most recent version of this major: v0.x.y".

CC @jayconrod @jadekler

This is an important use case for gomoddiff, when we do eventually do that (#46371).
gomoddiff will compare two versions, usually but not necessarily from the same module, and it will report whether those versions are consistent with semver (at least as far as it can tell from the public API).
We should make sure that when gomoddiff is given only one version, it automatically compares against the next lower version.


Analysis of Godot Engine's Source Code by PVS-Studio static code analyzer

Development team of proprietary PVS-Studio C/C++ static analyzer presents their report on the source code of Godot engine in the article, which contains the review of the most suspicious code fragments they discovered.
You can read article on the official site:
http://www.viva64.com/en/b/0321/

I have not found bugtracker on project's site and therefore wrote here.

This is the official bugtracker. :-)
Very interresting report. Some of the issues should probably be filed as separate issues.


Added reload to update_eligibility in team since SQL caching was caus…

…ing it to make all teams ineligible at start.  Updated wording on team page.

Coverage increased (+0.002%) to 97.621% when pulling e3cfb37427ca7c4961d6539a4bc41ad2f06c0b00 on James-Tobin:myFork/master into 2c5bcf9e007836b04703f89a835b4599a6275afe on mitre-cyber-academy:master.

LGTM


Allow keyboard shortcuts on native devices

Previously we weren't allowing keyboard shortcuts on native devices. However, many people use integrated keyboard cases or USB keyboards with their native devices, so this allows keyboard shortcuts on native devices.
Fixed Issues
$ https://github.com/Expensify/App/issues/6883
Tests/QA
Try to use <Command, K> on iPad to open the chat-switcher.
Tested On

[x] Mobile Web
[ ] iOS
[ ] Android

Opening up a new PR instead


high ping and disconnecting when bloxstrap is downloaded[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
when I have bloxstrap enabled my ping exceeds 1k. without bloxstrap I average like 50-100. i've tried different ping tests and in other games outside of roblox my ping is fine

not a bloxstrap issue

What do you have your framerate limit set to?

its set to defaults

What number specifically?

i put it at 0 to set it to defaults

Do you have any other options configured or enabled (mods, fastflags, etc)?

No response for a month


Allow setting UID and GID when running a docker container

Fix #3520 by allowing the UID and GID of the git user to be changed by passing the environment variables PUID and GUID in as part of the docker run command.
This is done using usermod and groupmod (included in the shadow package in the alpine testing repo).
Prior to this pull request, gogs files are written using uid/gid 1000:1000 as these are the id's of the docker git user. Which in most cases, may not map to a meaningful user on the host.
sudo docker create \
    --name=gogs \
    -p 22:22 \
    -p 3000:3000 \
    -e PUID=$(id $USER -u) -e PGID=$(id $USER -g) \
    -v /var/gogs:/data \
    -t gogs/gogs

Apologies for changing so much of the finalize.sh script. I had to in order for the container to build correctly (beforehand it would build, but /app/gogs/docker was empty) so that I could test it works.
I've also added a usermod command when creating the git user in a second commit. I believe simply doing passwd -u leaves the user in an insecure state. The usermod command means the user is unlocked but with password disabled.

I ended up writing a fresh Dockerfile. I've got the above working, alpine based, using s6 overlay, su-exec (instead of gosu as it's 4kb instead of 1.8mb). The image (compressed) is 16mb smaller than the gogs one (although may be missing a few bits).
But... best of all the container can run in --read-only` mode (don't think the current gogs one can) making it much more prod friendly.
https://github.com/robertbeal/docker-gogs/blob/master/Dockerfile

Thank you!


Update dashboard to blog like

Should the headers be vivid blue/blue?

The guidline says

This is not a flight of fancy [we] just don’t want all our dashboards to accidentally look the same because [we] happened to use blue in a template.

So I tried to use another color 😄


[Feature] : http import of CSV, TSV data

My Environment

ArangoDB Version:     3.6.3
Storage Engine:       RocksDB
Deployment Mode:      Single Server
Deployment Strategy:   Manual Start in Docker
Configuration:
Infrastructure:           AWS
Operating System:       Ubuntu 18.04
Total RAM in your machine:   4GB
Disks in use:      SDD
Used Package:       Docker official

Problem:
Allow loading of  CSV, TSV from http/https endpoint using a driver and AQL
similar to Neo4j
https://neo4j.com/docs/getting-started/current/cypher-intro/load-csv/
LOAD CSV WITH HEADERS FROM "https://domain/sample.csv" AS csvLine CREATE (p:Person {id: toInteger(csvLine.id), name: csvLine.name})

use the arangoimport tool

i did not find any parameter which takes http ep and parameter.

Hi,
this is specified via the --server.endpoint parameter: https://www.arangodb.com/docs/stable/programs-arangoimport-examples-json.html
ArangoImport actually talks to this API: https://www.arangodb.com/docs/stable/http/bulk-imports.html
Please note that it employs special tactic not to overload the I/O subsystem of the server - as explained here: https://www.arangodb.com/docs/stable/programs-arangoimport-details.html#automatic-pacing-with-busy-or-low-throughput-disk-subsystems

@dothebart thanks for your response I have read the first 2 links however --server.endpoint is to give th arangodb server ep .
What i was saying providing http endpoint of the file to be imported eg.
importing local file
arangoimport --file "data.csv" --type csv --collection "users" --server.endpoint tcp://my.arangodb.instance.com:8529
importing remote file
arangoimport --http "https://some-server/path/to/file/data.csv" --type csv --collection "users" --server.endpoint tcp://my.arangodb.instance.com:8529

Ah, sorry I misunderstood you!
That sounds like a good idea!

Related request: remote import/export using AWS S3 and GCS: #11937


Fix theme propagation for children of top level controls and windows

Fixes https://github.com/godotengine/godot/issues/36103 for master. The issue was in the logic that assigned theme owner. For some reason, probably in error, theme owner was never assigned if the direct parent was a control that was marked as top level. Not entirely sure, why this only affected editor plugins (at least in 3.x), but not running projects.
A further regression witnessed by @KoBeWi in the comments was because Window was missing this logic entirely.
I've also cleaned up related code a bit, since we don't need a node reference anymore. I'm not very happy with the theme owner / theme owner window logic that we have, and the duplication that we have. It's too convoluted for such a simple system. But I decided to focus on fixing the issue, and didn't do any refactoring.
A slightly modified repro for master:
bug-theme-dialogs-4.0.zip

Thanks!


Simple muscle demonstrations

If I look at kane.forcing (where the muscle forces are) I see:
kane.forcing
Out[10]: Matrix([[F_M_max_muscle*(a_big_dog*FiberForceLengthActiveDeGroote2016(sqrt(l_M_opt_muscle**2*sin(alpha_opt_muscle)**2 + (-l_T_slack_muscle + sqrt(q(t)**2))**2)/l_M_opt_muscle, 0.814, 1.06, 0.162, 0.0633, 0.433, 0.717, -0.0299, 0.2, 0.1, 1.0, 0.354, 0.0)*FiberForceVelocityDeGroote2016(-(-l_T_slack_muscle + sqrt(q(t)**2))*sqrt(q(t)**2)*u(t)/(v_M_max_muscle*sqrt(l_M_opt_muscle**2*sin(alpha_opt_muscle)**2 + (-l_T_slack_muscle + sqrt(q(t)**2))**2)*q(t)), -0.318, -8.149, -0.374, 0.886) - beta_muscle*(-l_T_slack_muscle + sqrt(q(t)**2))*sqrt(q(t)**2)*u(t)/(v_M_max_muscle*sqrt(l_M_opt_muscle**2*sin(alpha_opt_muscle)**2 + (-l_T_slack_muscle + sqrt(q(t)**2))**2)*q(t)) + FiberForceLengthPassiveDeGroote2016(sqrt(l_M_opt_muscle**2*sin(alpha_opt_muscle)**2 + (-l_T_slack_muscle + sqrt(q(t)**2))**2)/l_M_opt_muscle, 0.6, 4.0))*q(t)/sqrt(q(t)**2) - c*u(t)]])

I would have expected to see only symbolic formulations but there are floating point values displayed in the muscle element reprs. Why is that?

I would have expected to see only symbolic formulations but there are floating point values displayed in the muscle element reprs. Why is that?

The idea behind the MusculotendonDeGroote2016 class was for it to behave like the musculotendon model from that paper. It automatically uses the ...DeGroote2016 musculotendon curves with their default constants because that's the only thing that really makes sense (they depend so heavily on the values for the constants being carefully selected that in 99.9% of cases a user would never want to change the constant values). We could add a keyword argument use_default_curve_constants=True to MusculotendonDeGroote2016 that would make the class behave as now, but if False is passed will use symbols in place of the constants. We could also provide some mechanism for the user to supply their own musculotendon curves. Or we could rethink slightly how this is structured if you'd expect everything to behave in a completely symbolic fashion by default.

The way I understood it before was these were the two options:
curve1 = Curve.with_default_constants()
print(curve1)
F(0.2, 0.3, 0.4)

curve2 = Curve()
print(curve2)
F(c0, c1, c2)

But I guess I have misunderstood.

Also to give more context. For these simple muscle demos, I'd like to really be able to show the reader what these functions are, but show that they are symbolic functions, so they can see the form of the equations a bit.

https://github.com/brocksam/sympy-biomechanics/pull/23 explains and fixes why I think we were getting weird values in lambdify.

The model now evaluates correctly for the initial conditions of q = tendon slack length + optimal fiber length. But it blows up if simulated beyond a few tenths of a second. Here is to 0.04 seconds:

With no excitation and no activation, I would expect the speed, u, to not accelerate as fast but it seems that the muscle could be helping it accelerate.

Simulating to 0.08 is seems that the positive acceleration grows (instead of slows):

Here is with a muscle activation of 0.04:

Maybe a better plot:

It seems like the muscle pushes the mass in the direction of gravity.

Yes, looks like there is a mistake in biomechanics/musculotendon.py. Line 63 should be self._force = -self._F_T. I already spotted this in the branch I'm working on for SymPy but failed to back port it to this repo, sorry.

With your fix I get e=0.04:

Now it pulls the mass opposite of gravity!

The offending line in question: https://github.com/brocksam/sympy-biomechanics/blob/b681260c01b17fe4134272a3ff9e92010816fb81/biomechanics/musculotendon.py#L63

Here is a 1.0 second sim with e=0.04:

Is that expected behavior (once the muscle contracts it can't produce force and mass gets pulled back be gravity?)

FYI: I would expect this simple simulation to start failing if the muscle is too strong/activated too aggressively because if it's able accelerate the mass upwards fast enough then at some point the musculotendon will become slack, the mass will go into projectile mode, and the musculotendon dynamics equations will break down.

Is that expected behavior (once the muscle contracts it can't produce force and mass gets pulled back be gravity?)

Activation of 0.04 is quite low, so the musculotendon will be behaving like a spring. A good test would be to run a simulation where you increase excitation linearly from 0.0 at t=0.0 up to 1.0 at say t=2.0s.

Linear increase in excitation to 1.0 @ 2 seconds:

Just realised we have a 1kg mass but a muscle that can produce 500N of force. Can we either reduce F_M_max to 10N or increase the mass to 50kg? Then I think we'll get something more sensible.

Max force is 10N with linear increase in excitation:

A useful check for whether we're getting sensible simulation results here is to make sure q(t) > l_T_tilde.

Got it, l_T_tilde is 1.

The F_M_max = 10N example looks reasonable to me.
Sorry, I meant tendon slack length/l_T_slack not l_T_tilde

Didn't know what to do with the muscle after it got to 1.0.

The 10s results look suspect to me. Seems wrong that the mass velocity should increase after the muscle has stopped contracting and adding energy to the system.

1a5e2b4 gives:

This seems to work so merging.


Use Pod anti-affinity in clusterautoscaler test

How to categorize this PR?

/area testing
/kind bug
/priority normal
What this PR does / why we need it:
This PR modifies the clusterautoscaler test use Pod anti-affinity instead of Pod resources to reproduce unschedulable Pod (the event that is a trigger for the cluster-autoscaler).
As described in https://github.com/gardener/gardener/issues/2920#issuecomment-703915380, the Pod resources approach is not deterministic and we can easily end up with reserve-capacity Pod that does not fit the Node because of insufficient resources (for example Node joined first and most of the system components are scheduled on it).
Which issue(s) this PR fixes:
Fixes #2920
Release note:

NONE

So I'm asking myself, if using this approach with the reserve-capacity deployment was not ideal in the first place after all. A more stable approach might be to remove requests from the deployment and use required inter-pod anti-affinity. WDYT?

This is really nice and elegant suggestion to improve the test!  So for the clusterautoscaler the contract is to have unschedulable Pod(s) (no matter whether it is because of insufficient resources or Pod affinity or something else).
I adapted the test to use Pod anti-affinity.

/invite @hardikdr @prashanth26

@timebertt , any feedback on this one after adapting to use Pod affinity?


Add Subnet Id and NSG ID to machine spec

What this PR does / why we need it:
Add Subnet ID and NSG ID to machine spec
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

e2e
------------------------------

Ran 7 of 27 Specs in 3682.923 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 20 Skipped

unit test
?   	github.com/oracle/cluster-api-provider-oci	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta1	41.891s	coverage: 24.1% of statements
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta2	0.049s	coverage: 15.7% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/config	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/metrics	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/ociutil	0.004s	coverage: 19.6% of statements
ok  	github.com/oracle/cluster-api-provider-oci/cloud/scope	240.815s	coverage: 75.7% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/base/mock_base	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement/mock_computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/containerengine/mock_containerengine	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/loadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/loadbalancer/mock_lb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/util	0.080s	coverage: 76.1% of statements
ok  	github.com/oracle/cluster-api-provider-oci/controllers	26.034s	coverage: 67.5% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1	27.892s	coverage: 18.6% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta2	0.028s	coverage: 9.5% of statements
ok  	github.com/oracle/cluster-api-provider-oci/exp/controllers	1.171s	coverage: 56.7% of statements
?   	github.com/oracle/cluster-api-provider-oci/feature	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/version	[no test files]
go tool cover -func=coverage.out -o coverage.txt
go tool cover -html=coverage.out -o coverage.html


Error when try dotnet restore multi project solution

HI guys!
I have problem with dotnet restore command
My project has the following structure:
MyApp
-__gitsubmodule/Lib-bus/project.json (target NetStandart1.6)
Programe.cs
project.json ( target NetCoreApp1.0 )

When I run dotnet restore I have:
log  : Restoring packages for /MyApp/__gitsubmodule/Lib-bus/project.json...
log  : Restoring packages for /MyApp/project.json...
log  : Lock file has not changed. Skipping lock file write. Path: MyApp/__gitsubmodule/Lib-bus/project.lock.json
log  : MyApp/__gitsubmodule/Lib-bus/project.json
log  : Restore completed in 715ms.
error: Unable to resolve 'Lib-bus (>= 1.0.0)' for '.NETCoreApp,Version=v1.0'.
log  : Lock file has not changed. Skipping lock file write. Path: /MyApp/project.lock.json
log  : /MyApp/project.json
log  : Restore failed in 974ms.

Errors in MyApp/project.json
    Unable to resolve 'Lib-bus(>= 1.0.0)' for '.NETCoreApp,Version=v1.0'.

I think the dotnet can't properly find Lib-bus. I found solution change structure and add global.json but it's is not convenient. Maybe you now the way to set path to Lib-bus. Thanks.

This is by design in the current incarnation of dotnet tooling. You need to have global.json in order for the restore operation to find your P2P references.


39% brightness H6159

Hi, I have two H6159 led strips and I can’t set them to full brightness.
i’m running the latest version on the plug-in on docker on synology hardware.
Thanks!

Hi @dallombra
Please turn on plugin debug mode and use the Govee app to change the brightness of your device. Does the value in the logs for the brightness change? correctly? You'll see entries like this where you can check:
received update [{"online":true,"powerState":"off","brightness":44,"color":{"r":195,"b":60,"g":123}}].

Also, if you use the Home app to change brightness, is the value updated correctly?
Thanks

Hi @dallombra
Please turn on plugin debug mode and use the Govee app to change the brightness of your device. Does the value in the logs for the brightness change? correctly? You'll see entries like this where you can check:
received update [{"online":true,"powerState":"off","brightness":44,"color":{"r":195,"b":60,"g":123}}].

Also, if you use the Home app to change brightness, is the value updated correctly?
Thanks

I have the H6159 and see this as well. I did as you suggested and I am seeing that 100% in the Govee app reports as 39% from the plugin output.
[1/23/2021, 20:45:38] [Govee] [Val] received update [{"online":true,"powerState":"on","brightness":100,"color":{"r":181,"b":74,"g":122}}].
[1/23/2021, 20:45:38] [Govee] [Val] current state [on].
[1/23/2021, 20:45:38] [Govee] [Val] current brightness [39%].

When I try to bump it up in homekit I see the following output:
[1/23/2021, 20:47:14] [Govee] [Val] sending update {"name":"brightness","value":188}.
[1/23/2021, 20:47:14] [Govee] [Val] could not be updated and its status will revert soon - Request failed with status code 400.

I have the H6159 and see this as well. I did as you suggested and I am seeing that 100% in the Govee app reports as 39% from the plugin output.
[1/23/2021, 20:45:38] [Govee] [Val] received update [{"online":true,"powerState":"on","brightness":100,"color":{"r":181,"b":74,"g":122}}].
[1/23/2021, 20:45:38] [Govee] [Val] current state [on].
[1/23/2021, 20:45:38] [Govee] [Val] current brightness [39%].

When I try to bump it up in homekit I see the following output:
[1/23/2021, 20:47:14] [Govee] [Val] sending update {"name":"brightness","value":188}.
[1/23/2021, 20:47:14] [Govee] [Val] could not be updated and its status will revert soon - Request failed with status code 400.

Thanks @CyberRad
The reason why I asked for this extra info is because the H6159 is the model that I own and so find it peculiar that you experience this behaviour when I don't.
From the Home app if you long-click on the accessory and scroll down to view the information (Manufacturer, Serial Number, ...) what exactly does it say for Model?

Thanks @CyberRad
The reason why I asked for this extra info is because the H6159 is the model that I own and so find it peculiar that you experience this behaviour when I don't.
From the Home app if you long-click on the accessory and scroll down to view the information (Manufacturer, Serial Number, ...) what exactly does it say for Model?

H6195

H6195

Ah! You have the H6195 not the H6159

Ah! You have the H6195 not the H6159

I'll get a fix out shortly

I'll get a fix out shortly

You are right. I wonder if that is the original posters issue as well. Thanks!

You are right. I wonder if that is the original posters issue as well. Thanks!

Brightness fix for the H6195 is in v2.8.3 :)
Don't know whether to close this issue as the original post was about the H6159

Brightness fix for the H6195 is in v2.8.3 :)
Don't know whether to close this issue as the original post was about the H6159

I can confirm that this has fixed the issue with the H6195. Thanks

I can confirm that this has fixed the issue with the H6195. Thanks


Fix torch reshape

ops.reshape(tensor, -1) wasn't working on torch backend. It's a fairly common numpy-ism.

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

Comparison is base (ea3f7e8) 74.69% compared to head (5a8eb6f) 57.92%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18641       +/-   ##
===========================================
- Coverage   74.69%   57.92%   -16.77%
===========================================
  Files         334      334
  Lines       32591    32593        +2
  Branches     6374     6375        +1
===========================================
- Hits        24344    18880     -5464
- Misses       6744    12282     +5538
+ Partials     1503     1431       -72

Flag
Coverage Δ

keras
57.92% <0.00%> (-16.69%)
:arrow_down:

keras-numpy
57.92% <0.00%> (-0.01%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

keras/backend/torch/numpy.py
20.53% <0.00%> (-75.24%)
:arrow_down:

... and 163 files with indirect coverage changes

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


Create offline-registry-manipulation.yml

https://github.com/fireeye/capa-rules/issues/211
resolve #211

#211 suggests that we create a rule to match on executables that use the offline registry routines, rather than implement them. the rule you've proposed here seems to match on offreg.dll, instead.
can you please change this rule to match on functions that call routines provided by offreg.dll?

The rule sample was the only malicious file I found with these routines. And the creation of the rule was based on the "finds" in that file.
I will dedicate myself to find a suitable sample and soon update this rule.

@johnk3r here's one: https://www.virustotal.com/gui/file/9a292192453b1746b23e26560d04bde422b44e48c1186e93ffb518fc8210225e/details
https://cisco.box.com/s/woy5cce2szd42gpf2yt67x5vhosgvlog (password: infected)

Add nursery rule.

Hey @johnk3r, is this ready for another review? Looks like there's only minor formatting issues (line endings).

Hey @johnk3r, is this ready for another review? Looks like there's only minor formatting issues (line endings).

Sorry man, I forgot to fix this.

tested locally and only got the following warning
$ python2 ../scripts/lint.py . -t offline --thorough

    (nursery) delete registry key via offline registry library
      WARN: missing examples: Add meta.examples so that the rule can be tested and verified

Thank you!


th175 - non-japanese characters support

We need to look at non-japanese characters for story mode. It might just be a matter of changing the font to Touhou Biolinum.

Fonts can be changed very easily by simply providing a replacement for any of the font files in the game's archive files. The main dialoge font is data/font/KH-Dot-Dougenzaka-16.ttf

Done in thpatch/thcrap-tsa@f6cba91101580d29153904081aa799287aaaed58

Perhaps the key is to support the Codepage modification of the text, as long as the font file contains the characters required for language localization, it can be used normally.


JVM crash with SIGSEGV error:ObjectSynchronizer::inflate

Platform and architecture: Linux 64

Java version: 1.8.0_92

Have you tested it with other vendors' java: No

Error messsage and/or description of what is not working as expected:

We have a java application running on Linux and it suddenly crashed with the following error in pid file:
V  [libjvm.so+0xa2b484]  ObjectSynchronizer::inflate(Thread*, oopDesc*)+0x384
Has this been fixed in any later versions of AdoptOpen Jdk ?

Probably not: https://bugs.openjdk.java.net/browse/JDK-8184250?jql=text ~ ObjectSynchronizer%3A%3Ainflate ORDER BY created DESC.


feat: Fir 31841 dont append account id for system engine url in node sdk

Add support for a new system engine url format, which can contain account_id as a query_parameter as well as a part of a URL (or neither).
This assumes accounting for query parameters, that come with a system engine url, and using them later

Integration tests are passing: https://github.com/firebolt-db/firebolt-node-sdk/actions/runs/8509102730


Brutal deprecation

Describe the bug
Problem
The previous version or react-query is deprecated on npm: https://www.npmjs.com/package/react-query. The package doesn't even have a readme.

The documentation for react-query v3 isn't available when going to https://tanstack.com/query

Since it's deprecated, I believe react-query v3 will no longer receive any updates.
This "deprecation" is super brutal for existing react-query users, who simply can't continue maintaining their existing apps.
I understand that moving to tanstack query is the way to go, but if that package disappears the same way react-query disappeared, I'm not sure I want to upgrade.
What Would Be Better

Keep the readme on react-query v3 on npm
Add a version selector to the react-query home page & documentation
Continue maintaining react-query v3 for some time (at least 6 months)

Context
We've built react-admin on top of react-query
Your minimal, reproducible example
https://tanstack.com/query/v4
Steps to reproduce
Go to https://tanstack.com/query/v4
Expected behavior
See how other libraries do:

MUI

react-admin

react-router

How often does this bug happen?
No response
Screenshots or Videos
No response
Platform
all platforms
react-query version
v3
TypeScript version
No response
Additional context
No response

Agree

let me clarify what happened:

we released v4 as @TanStack/react-query v4. That is also what you see when you go to the TanStack docs.
react-query on npm was always meant to stay on 3.x, however, something went wrong with the release and we inadvertently also released a version 4.0.0 of react-query.
we tried to unpublish that release, but it lead to even more troubles. So we just marked it as deprecated.

Note that the message explicitly states that you should use @TanStack/react-query for version 4. You can still install version 3 normally, it's not deprecated and also not "not supported".
If you go to the old docs link, which is https://react-query.tanstack.com/, you will be redirected to the new docs, but you'll see a banner with a link that takes you to the new location of the v3 docs, which is https://react-query-v3.tanstack.com/.

As for the documentation improvements - I agree that they can be improved, but for that, please open an issue in the tanstack.com repo (https://github.com/TanStack/tanstack.com) because that's where the docs are created.

Thanks for the clarification! And for the reassurance.
So the heart of the problem is that the npmjs.org message is misleading. Can't you remove the 4.0 release instead of deprecating it? The npm folks should be able to help.
Otherwise, please add an explicit readme in the release explaining that react-query is NOT deprecated.

Can't you remove the 4.0 release instead of deprecating it? The npm folks should be able to help.

@tannerlinsley is in contact with them as far as I know.

Any updates? The npm package pages still mentions nothing...

NPM support is still unresponsive. 🤷♂

the latest tag now points again to 3.39.2.
https://twitter.com/TkDodo/status/1558147386442121217
It's all back to normal if you go to: https://www.npmjs.com/package/react-query


rmi, rm: add test

Signed-off-by: Zhou Hao<EMAIL_ADDRESS>

@rhatdan @TomSweeneyRedHat
Although bats makes it easy to write tests, I prefer writing unit-tests in Go because we can have code coverage and it motivates you to write unit-tests which give confidence to change things in the future.
I know we have unit-tests but looking at the code base it looks like we have more bats tests than unit-tests, doesn't it?

I've seen ways to get coverage for external testing tools for go, it would be awesome to get coverage for bats tests.

@q384566678 thanks for the PR.  I've one very small suggestion request for a name in one of your tests.  If you could do that and push again, I think the Travis CI test issue will clear itself up as it looks to be a hiccup/flake.
As far as the type of test go, @nalind started the test suite using bats and it grew over time to what it is now.  Since then other folks have added *.go tests here and there.  Longer term I'd like to convert the tests to ginkgo based bdd tests.  They're written in go and should allow for coverage.  That and getting initial code coverage going with CodeCov has been a "background" project of mine that I keep making very slow progress on.  #516 is my current attempt for Buildah.  My main issue there is getting Buildah to run inside of the Travis CI Ubuntu so the ginkgo tests can run.  Podman does most of their testing using gingko having converted most of if not all of their bats, but they use a different test environment spinning up a container to do it within so they've not run into the Ubuntu fun there.
So in short, we're trying to keep stuff in bats for now for continuity and once we get ginkgo setup, then we can start converting from bats and not have to search all over for the files.


Exceptions inside a transaction are not shown

If we raise an exception inside a transaction, the reported error is DBConnection.ConnectionError. There is no information about which line raised or what went wrong.
This makes it really difficult to debug the actual exception itself - is there some way of bubbling up the actual error that occurred, along with it's stacktrace.

What Ecto version?

We have an issue templates we ask developers to fill in when reporting a new issue, if you can do that, it would be very helpful.

Environment

Elixir version (elixir -v):

Erlang/OTP 21 [erts-10.0.7] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Elixir 1.7.3 (compiled with Erlang/OTP 21)

Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.):

Postgres 9.6

Ecto version (mix deps):

* ecto 2.2.11 (Hex package) (mix)
  locked at 2.2.11 (ecto) 4bb8f117

Database adapter and version (mix deps):

* postgrex 0.13.5 (Hex package) (mix)
  locked at 0.13.5 (postgrex) 3d931aba

Operating system:

Mac OS X Mojave
Steps to reproduce
# Example query from our codebase
import Ecto.Query

Repo.transaction(fn ->
  query =
    from(b in Buyer,
      order_by: [asc: :id]
    )

  query
  |> Repo.stream()
  |> Stream.each(fn buyer ->
    Repo.update!(Ecto.Changeset.change(buyer, %{close_io_lead_id: nil})) # Fails with not-null constraint
  end)
  |> Stream.run()
end)

Current behavior
Running prints this:
[debug] QUERY OK db=0.8ms
begin []
[debug] QUERY OK source="buyers" db=7.1ms
SELECT b0."id", b0."close_io_lead_id", b0."name", b0."address", b0."lead_status", b0."notes", b0."inserted_at", b0."updated_at" FROM "buyers" AS b0 ORDER BY b0."id" []
[debug] QUERY OK source="buyers" db=7.5ms decode=2.5ms
SELECT b0."id", b0."close_io_lead_id", b0."name", b0."address", b0."lead_status", b0."notes", b0."inserted_at", b0."updated_at" FROM "buyers" AS b0 ORDER BY b0."id" []
[debug] QUERY ERROR db=17.1ms
UPDATE "buyers" SET "close_io_lead_id" = $1, "updated_at" = $2 WHERE "id" = $3 [nil, {{2018, 10, 23}, {11, 19, 15, 568676}}, 1]
[debug] QUERY OK db=3.5ms
rollback []
** (DBConnection.ConnectionError) transaction rolling back
    (db_connection) lib/db_connection.ex:1531: DBConnection.fetch_info/1
    (db_connection) lib/db_connection.ex:746: DBConnection.run/3
    (db_connection) lib/db_connection.ex:1509: DBConnection.deallocate/4
    (elixir) lib/stream.ex:1370: Stream.do_resource/5
    (elixir) lib/stream.ex:1553: Enumerable.Stream.do_each/4
    (elixir) lib/stream.ex:911: Stream.do_list_transform/7
    (elixir) lib/stream.ex:1553: Enumerable.Stream.do_each/4
    (elixir) lib/stream.ex:637: Stream.run/1

Expected behavior
I expected the constraint error to be displayed.

Oh, I see, it is an issue with streams rather. Did you try Ecto 3.0? We have improved this part of the code considerably, so it may be doing the correct thing now.

Thanks for the reply José. Actually this is even a problem with the following code:
Repo.transaction(fn ->
  query =
    from(b in Buyer,
      order_by: [asc: :id]
    )

  query
  |> Repo.all()
  |> Enum.each(fn buyer ->
    Repo.update!(Ecto.Changeset.change(buyer, %{close_io_lead_id: nil})) # Fails with not-null constraint
  end)
end)

So I don't think it has to do with streams.
We are not quite ready to upgrade to Ecto 3.0, will update this ticket when we do though!

Oh, sweet! I will investigate, thanks!

This is fixed in master in Ecto 3.0. Here is a commit that adds a test to make sure we won't have regressions: https://github.com/elixir-ecto/ecto_sql/commit/165178c64c9e59cc61176ecfe9a7a6e82e4af63d
Thanks!


[cameraX] Add integration test for availableCameras

Adds integration test for the availableCameras() method in the plugin. Part of https://github.com/flutter/flutter/issues/119379.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

You can see the test run here: https://cirrus-ci.com/task/6371682802204672?logs=firebase_test_lab#L0

LGTM! Glad to see a test run succeeding :)


Assorted tweaks

Nope, not possible without spending an unjustified amount of time. I personally don't find any value on this, but it was mostly an experiment anyway.

LGTM


Unify text styling (font size across different page)

Unify text styling (font size across different page)

Different pages have different text style with the totals in manage and stats been probably too big

Implemented in

#14


[Relay][Frontend][TFlite] Add parses support for unary elemwise ops

Add generic method to convert unary math functions
Add support for: abs, exp, ceil, floor, log, sin, cos, sqrt, rsqrt, neg
Add relevant tests

@kevinthesun @FrozenGene can you please review this patch

ping @FrozenGene please also take a look

Thanks @FrozenGene @anijain2305 @inadob


Param assignment should support embedded structs

For example, a service interface like this...
// PUT /services/:Parent.ID
Update(context.Context, *Child) (*Child, error)

...with a struct defined to embed a "parent" like this...
type Parent struct {
  ID uint
}

type Child struct {
  Parent
  Name string
}

Looks like a case I just missed when creating the rpc.jsonBinder. I'll need to do some more triage to determine the actual fix. Under the hood, I'm just relying on the standard library's JSON encoding/decoding to handle this stuff. In your example, the binder takes the param data and builds the equivalent JSON structure:
# /services/12345 gives the following param map value
"Parent.ID"=12345

# Frodo converts it to the following JSON
{ "Parent": { "ID": 12345 } }

With that JSON in hand, Frodo feeds that a standard JSON decoder and lets it do its thing. I need to see if I'm building the wrong JSON or what. Frodo uses some reflection to determine if the right-hand-side should be an object/string/bool/etc, so I'm probably flubbing that check on embedded fields.

Ok, but know that the JSON marshaler does not include the "Parent" key when it serializes an embedded struct: https://play.golang.org/p/dNCU_MW5Rkz

Yeah, once I did some poking I noticed the same thing. In your example the proper path should be
// PUT /services/:ID

The JSON decoder will understand that it needs to update "Parent.ID" on the &out value. As Frodo follows the semantics of the standard library, that's what I'm going to aim for.
That being said, :ID didn't work either. I found the issue and have a fix ready to merge in. One unit of work the binder does is look at your binding value - let's pretend User.Profile.Name=Rob. It has to recursively traverse the fields/types of your request struct  in order to determine the proper data type of "Name". Since we're converting the parameter value to JSON, I need to know if Bob should be quoted or unquoted in the final JSON. Name is a string so it will be quoted, but if we were looking at User.Profile.Age=40 then I'd see that the Age field is a uint. The JSON value should be unquoted in that case:
{ "User": { "Profile": { "Name": "Rob" } } }
{ "User": { "Profile": { "Age": 40 } } }

In your example, we were only looking for ID in the request struct; not any of the embedded fields. I added some checks in the field iteration that recursively checks embedded fields as well. As a result, :ID will work as expected for your parameter, but :Parent.ID will still not work - but that's how the standard library works.

:+1: that sounds good. FWIW, I did expect that it'd work with just .ID at first, so I think you're fix is better than expecting folks to use Parent.ID for embedded structs.


Rebase of 'Create optional components using split'

I took the patch from #46, rebased it on master, and amended to follow the recent state callback change.  Docs have also been generated.

Looks great, thanks!
@emk Is there anything else to do here? It looks done to me, but I wanted to check before merging.

Bump... I'll merge this and close the other PR tomorrow if there are no objections.

Thank you both!


Unit test

make test stronger. …
such as :

test overwrite customer type definition
test overwrite schema definition.
test output(callback)
test oneOf(Array|String)

I am not sure if you want the oneOf() supports string, however it works.

Nice work with the unit tests.
The only thing is that I had added new feratures (Access to Previous Items) in a new version that now are conflicting with the master.
I will resolve the conflicts and push the changes


Find tablets in tablets table by ID

Lets add input, that allows to filter tablets in table/folder/database by id.
At the first filter try to find entities in given list. If no entities are found, filter tries to find tablet by given id, requesting tabletifo with appropriate filters.
Should we check if given id contains only numbers (or any other way to check given tablet's id validity)?

we decided to drop this part "If no entities are found, filter tries to find tablet by given id, requesting tabletifo with appropriate filters."


chore: fix patch block CI

Testing extensively on a fork running against different configurations and different drastic changes
to the codebase to cause major test coverage issues.
Able to track down the configuration for patch in docs which is identical to project: https://docs.codecov.com/docs/commit-status#patch-status
This shows the patch failing with a lot of code additions, no test coverage improvements, and misconfigured CodCov

This shows the patch failing with a lot of code additions, no test coverage improvements, and with fixed configuration for CodCov

Oh yay that's great! Let's land this and try


kinesis zmk keymap: "default_layer" (82) does not match physical layout specification (76)

im using the default kinesis firmware. The custom keymap that i created can be seen here:
https://github.com/rtomaszewski/Adv360-Pro-ZMK
When i try to parse it using the web page im getting this error:
https://caksoylar-keymap-drawer-streamlitapp-2a0rau.streamlit.app/?example_yaml=showcase.yaml
validationError: 1 validation error for KeymapData root Number of keys on layer "default_layer" (82) does not match physical layout specification (76) (type=assertion_error)
Traceback:
File "/app/keymap-drawer/streamlit/app.py", line 327, in main
svg = draw(st.session_state.keymap_yaml, parse_config(st.session_state.kd_config).draw_config)
File "/app/keymap-drawer/streamlit/app.py", line 47, in draw
drawer = KeymapDrawer(
File "/app/keymap-drawer/keymap_drawer/draw.py", line 31, in init
self.keymap = KeymapData(config=config, **kwargs)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init

Hi, thank you for reporting. I noticed that the transform KA360 uses gained extra key positions since the last time I checked and created the entry for automatic lookup: https://github.com/caksoylar/keymap-drawer/blob/main/resources/zmk_keyboard_layouts.yaml#L77
It now looks closest to the 80 key layout however it still has two extra bindings in the middle and I am not sure what they correspond to.
I guess I will experiment with their editor and see how it visualizes the two bindings. I guess we could use their own info.json spec and incorporate it as a custom physical layout.

Their situation seems a bit messy, where they added key positions for switches that don't exist, such as extra bindings for 2u thumb keys and some others. However they hide those in the GUI editor by making them zero height keys, so I basically copied that approach and added a custom layout json (qmk_keyboard: adv360). Please give it a shot and let me know.

i can see now new error assuming that your online app is using the fixed code. Ive noticed as well that on the left side the layout  name has changed:
layout: {qmk_keyboard: adv360}
Error
ValidationError: 1 validation error for KeymapData __root__ Number of keys on layer "default_layer" (82) does not match physical layout specification (84) (type=assertion_error) Traceback: File "/app/keymap-drawer/streamlit/app.py", line 327, in main     svg = draw(st.session_state.keymap_yaml, parse_config(st.session_state.kd_config).draw_config) File "/app/keymap-drawer/streamlit/app.py", line 47, in draw     drawer = KeymapDrawer( File "/app/keymap-drawer/keymap_drawer/draw.py", line 31, in __init__     self.keymap = KeymapData(config=config, **kwargs) File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__

I think this is because I added the layout corresponding to the latest upstream config, but your fork is behind a bit: https://github.com/rtomaszewski/Adv360-Pro-ZMK/compare/V2.0...KinesisCorporation:Adv360-Pro-ZMK:V2.0
Specifically, it doesn't have this commit adding two extra key positions: https://github.com/rtomaszewski/Adv360-Pro-ZMK/commit/bdfd6475b480a6ae095ecc10181d68ef54a4736a


ImportError: undefined symbol: PyUnicode_AsUTF8String when use ./experiments/scripts/lov_color_2d_train.sh 0

When I used ./experiments/scripts/lov_color_2d_train.sh 0, it told me this error:
Traceback (most recent call last):
File "./tools/train_net.py", line 303, in
import libsynthesizer
ImportError: /usr/local/lib/libboost_python27.so.1.67.0: undefined symbol: PyUnicode_AsUTF8String
Have anyone met this error? If so, how did you solve this?
Thanks!

Feel free to have a look at my master thesis, especially the appendix section A.1.1.
It explains the causes of this error and how to fix it. I think the appendix might be valuable in general for trying to get to run posecnn. You can find my thesis Textureless, Symmetric, Multiple Instances 6D Pose Estimation in Cluttered Scenes Using RGB-D Data here.

@Kaju-Bubanja Thanks a lot! I will try to figure out with your help! Thanks again! 👍 、


Web3Modal Working In Editor But Not In Build

Describe the bug
After getting everything working in the Unity editor - I went to create a Windows build and the web3modal doesn't work and throws a null reference exception.
To Reproduce
Perform a build on 2022.3.x Unity and I get this error stack:
NullReferenceException: Object reference not set to an instance of an object
WalletConnect.Web3Modal.ModalControllerUtk.InitializeAsyncCore () (at <2eda3a9d91a94a968db7379d9b1fa616>:0)
WalletConnect.Web3Modal.ModalController.InitializeAsync () (at <2eda3a9d91a94a968db7379d9b1fa616>:0)
WalletConnect.Web3Modal.Web3ModalCore.InitializeAsyncCore () (at <2eda3a9d91a94a968db7379d9b1fa616>:0)
WalletConnect.Web3Modal.Web3Modal.InitializeAsync (WalletConnect.Web3Modal.Web3ModalConfig config) (at <2eda3a9d91a94a968db7379d9b1fa616>:0)
PinkMoon.World.Blockchain.WalletConnectWalletProviderService.Setup () (at <84ec0767e2d34d7ab1a98a64d6f811f4>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at :0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at :0)
UnityEngine.UnitySynchronizationContext.Exec () (at :0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at :0)
Expected behavior
The wallet connect modal should show up.
Screenshots
N/A
Environment

OS: Windows 11
Unity version: 2022.3.37f1
Web3Modal Package Version:  0.4.2

Is this happening in Unity Editor or on a player like Android, iOS, Windows?
This only seems to happen on the builds not on the editor.
Wallets used for testing
N/A can't even get modal to show up
Additional context
N/A

I did some more debugging its happening here:
ModalControllerUtk.cs (Line 34)
Web3Modal = UIDocument.rootVisualElement.Children().First();
And I think this might be related since its showing up in the logs earlier:
ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
Could not resolve type with token 0100002f from typeref (expected class 'System.Security.Policy.EvidenceBase' in assembly 'System.Security.AccessControl, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
System.Reflection.Assembly.GetTypes () (at :0)
UnityEngine.UIElements.VisualElementFactoryRegistry.RegisterUserFactories () (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualElementFactoryRegistry.cs:180)
UnityEngine.UIElements.VisualElementFactoryRegistry.get_factories () (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualElementFactoryRegistry.cs:34)
UnityEngine.UIElements.VisualElementFactoryRegistry.TryGetValue (System.String fullTypeName, System.Collections.Generic.List1[UnityEngine.UIElements.IUxmlFactory]& factoryList) (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualElementFactoryRegistry.cs:72) UnityEngine.UIElements.VisualTreeAsset.Create (UnityEngine.UIElements.VisualElementAsset asset, UnityEngine.UIElements.CreationContext ctx) (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualTreeAsset.cs:777) UnityEngine.UIElements.VisualTreeAsset.CloneSetupRecursively (UnityEngine.UIElements.VisualElementAsset root, System.Collections.Generic.Dictionary2[TKey,TValue] idToChildren, UnityEngine.UIElements.CreationContext context) (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualTreeAsset.cs:566)
UnityEngine.UIElements.VisualTreeAsset.CloneTree (UnityEngine.UIElements.VisualElement target, System.Collections.Generic.Dictionary2[TKey,TValue] slotInsertionPoints, System.Collections.Generic.List1[T] attributeOverrides) (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualTreeAsset.cs:538)
UnityEngine.UIElements.VisualTreeAsset.Instantiate () (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UXML/VisualTreeAsset.cs:399)
UnityEngine.UIElements.UIDocument.RecreateUI () (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/GameObjects/UIDocument.cs:423)
UnityEngine.UIElements.UIDocument.OnEnable () (at C:/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/GameObjects/UIDocument.cs:319)

Turns out it was just a bad dependencies that one of my devs imported to the project 2 years ago but we never used any of the UI stuff so it never became visible.


feat-backend-283-create-design-for-emails

What type of PR is this? (check all applicable)

[X] Refactor
[X] Feature
[ ] Bug Fix
[ ] Optimization

Description
Created cool email layout and applied this for all emails.

Related Issue #283
Closes #283

Hey @FelipePSoares !
Created a draft pull request for now !

@FelipePSoares No worries !


Background not dark on panels.

Nice job! The problems with the dialogue panels are still there.

I am using following RStudio,

UGH these menus are such a pane. I'm happy to help though.
A few things:

What OS are you using? Windows? Linux?

When did you install this RStudio version? I'm still on 1.2.15, so I haven't had a chance to test out anything past my current version.

Its version 1.2.127.  The second image will give some details. The os is MacOS Mojave.

The image says 1.3.127, right? Unless I'm seeing it wrong?

Yes, I'm sorry for misspelling.

No worries!
I don't have much time to work on this, so I've limited the scope of this project to RStudio-Preview and the version of RStudio that's on the master branch. I'm not able to keep up with the daily builds, so I'm not sure I can be of much help to you.
However, I can recommend you download RStudio-Preview and try the edits. It should work!
RStudio-Preview link: https://www.rstudio.com/products/rstudio/download/preview/
Let me know if this helps and if you have any other questions. I'm going to close this since I don't support the daily builds.

Thank you, I just added three CSS rules in the custom_css, it has fixed those problems.


adding descriptive status code names utils

Hi, I've added descriptive names for status codes in the "utils" folder. This allows for convenient referencing of status codes from a single location, promoting a more DRY (Don't Repeat Yourself) codebase and sparing developers the hassle of memorizing status codes. This enhancement also contributes to improved code readability.

@joshfriend @dougblack @kevinburke @svenstaro


StateMutations tree memory leak

I investigated this issue with the test/benchmark implemented in 0419fcf2928b060ade90e0eebdb0d5cdf23bd3cb.
As it turns out, no memory is really leaked. The StateMutations tree within utxoledger.Manager is long-lived and we keep adding and removing elements to it. If the ledger state grows to a few million outputs, the tree also grows with it as each output is represented by a leaf. However, the underlying https://github.com/pokt-network/smt tree keeps all nodes in memory even when committing the tree and persisting it to disk (commit function).
I guess this is done to optimize performance. However, with a tree of 1mio elements (outputIDs in our case), the data in memory is around 260 MB.
Experiments
Because of this observation I started to run experiments with and without re-initializing the tree (there's some magic happening with extension nodes representing entire subtrees). The full logs can be found here:

tree-in-memory.log
tree-re-init.log

Most interesting is the last case: append 10k outputs to a tree of size 3mio.
with re-init
it takes 1.36 seconds and the memory consumed is ok. the count of each object is basically how many nodes/leaves in the tree needed to be touched (rest stays untouched on disk)
>>> Running with 10000 outputs, reInit: true
>>> Total outputs: 3010000
>>> Took:  1.358539209s

>>> Memory: ALL                                                                                181047  15.924 MB
smt.innerNode                                                                                87030   7.968 MB
smt.lazyNode                                                                                69838   4.591 MB
smt.leafNode                                                                                17193   2.320 MB
smt.extensionNode                                                                                6960   1.044 MB

without re-init
it takes 8.4 seconds and obviously consumes memory for all 3mio + 10k outputs.
>>> Running with 10000 outputs, reInit: false
>>> Total outputs: 3010000
>>> Took:  8.407177708s

>>> Memory: ALL                                                                                6758958  779.345 MB
smt.leafNode                                                                                3010000  403.293 MB
smt.innerNode                                                                                3009999  275.574 MB
smt.extensionNode                                                                                738933  100.476 MB

Result
A little bit unexpected but it looks like if the nodes are in cache the thing is actually doing more work. That leads me to believe that for our use case (a big tree with ~10-50k appends/deletes at once, namely when we commit) it is better to re-init the tree for both memory and runtime. This would then actually lead to a quick spike in memory consumption when we commit and after we committed we should probably already re-init the tree so that the memory can be freed.
Conclusion
As we can't have the entire tree in memory at all times, so we have either two options: modifying the behavior (or adding another one of commit) to flush the cache or re-initializing the tree. The latter seems much more simple and (surprisingly) yields better results in runtime and as expected memory consumption.


FEATURE/ added VPN document

What?

playbook for vpn added

Why?

to create a document on how to create a VPN pritunl server

@exequielrafaela since I failed on running the binbash Ansible playbook, I used one I created here. As per we chatted, this has to be updated to use the official ansible playbooks. @martingaleano succeed at running them.


Linked Open Data portal down ?

Hi,
The Linked Open Data portal at http://data.nytimes.com referenced in the Semantic API documentation appears to be down.
The documentation contains examples like http://data.nytimes.com/47452218948077706853, which is not responding, but even the base URL that should supposedly give access to the vocabulary also seems to be down.
Is this by design or will this data return at some point ?
Thanks !

NYT's Linked Data portal was shutdown.
The Semantic API provides much of the information that the Linked Data portal did.
http://api.nytimes.com/svc/semantic/v2/concept/search.json?query=Obama&api-key=XXXX
http://api.nytimes.com/svc/semantic/v2/concept/name/nytd_per/Obama, Barack&api-key=XXXX
The Semantic API is currently being overhauled, and unfortunately the documentation is out-of-date.  We are working on fixing that.
http://developer.nytimes.com/semantic_api.json#/README


Update feed.xml

Fixes #161

@jekyllbot: merge +minor.

THanks @XhmikosR!

I wonder if we would be better off relaxing our MINIFY_REGEX?

That seems the proper solution. I just wanted a quick fix since the current
release was broken for me on Firefox.
On Feb 17, 2017 4:24 PM, "Pat Hawks"<EMAIL_ADDRESS>wrote:

I wonder if we would be better off relaxing our MINIFY_REGEX
https://github.com/jekyll/jekyll-feed/blob/v0.9.0/lib/jekyll-feed/generator.rb#L19
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jekyll/jekyll-feed/pull/162#issuecomment-280663013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVVtcOlOXXSY4bxyzBgVe2F5E3qfsVVks5rda2xgaJpZM4MD8iB
.


Update Silverlight Cask 5.1.40728 to 5.1.41105

New version of Silverlight.dmg file also changed the .pkg from Silverlight.pkg to silverlight.pkg (lowercase initial).

Thank you for the contribution. It was merged directly as 822361d1464e21768d99b862dbfad8edd9bcd398 to keep commit history cleaner. Your contribution is still credited to you.


Hera from Bioconda crashes on me

I'm using v1.0.1 from Bioconda and the GRCh38 downloaded index with hs38.fa.
I'm putting the RNA-seq from here into Hera: https://www.encodeproject.org/experiments/ENCSR001UXR/
Am I doing anything wrong? Does this work for you?
Edit: The ticket was a crash because of missing file names on the command line. However, Hera crashes on me regardlessly of what I do.

hi holtgrewe,
Can you give us more detail about your command? We have run hera on your sample ENCLB020LQS and it work well for both transcriptome:
./build/hera quant -i index38 -t 32 ENCFF386MOY.fastq.gz ENCFF541KUW.fastq.gz
Hera is a program developed by BioTuring for RNA-Seq analysis.
Please contact<EMAIL_ADDRESS>if you need further support
Process paired-end reads in:
	 1. ENCFF386MOY.fastq.gz
	 2. ENCFF541KUW.fastq.gz
Number of aligned pairsr: 19107286/26087337
Mean read length	: 101.000000
Mean fragment length	: 154.022693
Finish EM with 54 rounds

and transcriptome + genome:
./build/hera quant -i index38 -t 32 -f index38/GRCh38.fa ENCFF386MOY.fastq.gz ENCFF541KUW.fastq.gz
Hera is a program developed by BioTuring for RNA-Seq analysis.
Please contact<EMAIL_ADDRESS>if you need further support
Process paired-end reads in:
	 1. ENCFF386MOY.fastq.gz
	 2. ENCFF541KUW.fastq.gz
Number of aligned pairsr: 22306580/26087337
Mean read length	: 101.000000
Mean fragment length	: 155.960055
Finish EM with 53 rounds

or could you pull latest code from hera repository and check if it can work?
Thank you,
BioTuring Algorithm Team

Hi, the problem was because I did not reserve enough memory on our SGE cluster system.

Holtgrewe, how much memory do you have on the machine?

The machine has 160GB but I put a too low limit on vmem (the job is then limited by ulimit -v). With increased limit it works now.


None-Action part

Your research is really impressive. I notice that there is label '-1'  for the action classification. I wonder if  these labels with value '-1' means the none-action part?

Those labels mainly indicate any actions that cannot be well classified, including stationary, non-standard movements, relaxed movements, etc.

thanks a lot


:fire: Remove nexus plugin

This removes the nexus plugin and example, since nexus was deprecated by prisma.
Link to announcement: https://github.com/prisma-labs/graphql-framework-experiment/issues/1432

Thank you very much for the PR 🙏


Aws specific changes

++ Role / User has to have ecs:ListClusters and ecs:ListServices permissions

README.md
++ added some comments around new configuration options
++ added Property based Java configuration code example
++ added usage of AwsEcsDiscoveryStrategyIT integration test as well as result example.

AwsEcsProperties
++ added cluster_name_regexp and service_name_regexp configuration properties
++ added get methods for cluster/services_name_regexp
+++ Behavior : If cluster or service name is available it will be used as full match,
+++            otherwise if null / empty-post-trim the set regexp is used. Defaults to ".*" if not available.

AwsEcsDiscoveryStrategy
++ Changed Processing :
++ 1) get a list of clusters matching the passed cluster name if available
++    defaulting to passed cluster_name_regexp pattern if available, otherwise all clusters aws profile has access to
++ 2) For every cluster get a list of services matching the passed service name if available
++    defaulting to passed service_name_regexp if available, otherwise all services aws profile has access to
++ 2.1) Remove/filter out ownTask
++ 2.2) collect all tasks found, determine addresses of tasks (no change of implementation here)
++ 2.3) add addresses to list of addresses.(Downstream Code not changed)

AwsEcsDiscoveryStrategyIT
++ Some sort of  Integration Testing using available AWS parameters
++ (access key, secret key, region, cluster , cluster regexp, service, service regexp)

pom.xml
++ added UTF-8 source encoding property
++ added slf4j-simple depedency for testing purposes

Thank you for this, I massaged the code a bit so that listCluster and listService is only performed if servicename and clustername are empty.


Error: The object parameter must be exactly 40 characters and contain only [0-9a-f].

When I run this, I consistently get this error:
Error: The object parameter must be exactly 40 characters and contain only [0-9a-f].
But I've no idea what it's referring to?

Hi @fredbradley,
Would you be so kind giving more information about the context of this error? How are you using / invoking this action? Do you have extended log?
I suppose this error message could be related to git SHA commit given to be tagged (fccbb053de9a128f3229b5fcebad4015f1a7b669 >> fccbb053de9a128f3229b5fcebad4015f1a7b669) or with github_token param due [0-9a-f] limitation.

thanks for being speedy...
I'm guessing I need a little more explanation about how the script works, what it expects, etc...
Here's the error output:

I'm currently testing different actions in order to create a suitable sequence for my production app.

I wasn't passing commit_sha at all - All I did was copy the code on your readme.
name: Bump version
on:
  push:
    branches:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Bump version and push tag
        id: tag_version
        uses: miguelfito/github-bump-and-tag-action@v1
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

      - name: Create a GitHub release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ steps.tag_version.outputs.new_tag }}
          release_name: Release ${{ steps.tag_version.outputs.new_tag }}
          body: ${{ steps.tag_version.outputs.changelog }}

Take a look on this example, where I first run this action in dry_run mode to get next tag version (id: tag_version), then update & commit this new version on package.json and finally run again this action over this last bumping version commit to generate and tag the GitHub Release:
# A GitHub Action to automatically bump and tag master, with the latest SemVer formatted version.
name: Generate new release & version

on:
    - workflow_dispatch

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout main branch to calculate changelog
              uses: actions/checkout@v2
              with:
                  fetch-depth: 0

            - name: Calculate version
              id: tag_version
              uses: miguelfito/github-bump-and-tag-action@v1
              with:
                  github_token: ${{ secrets.GITHUB_TOKEN }}
                  default_bump: patch
                  create_annotated_tag: true
                  tag_prefix: v
                  dry_run: true

            - name: Set npm package version
              uses<EMAIL_ADDRESS>              with:
                version: ${{ steps.tag_version.outputs.new_version }}

            - name: Commit & push version bumping on package*.json
              uses: stefanzweifel/git-auto-commit-action@v4
              with:
                  branch: master
                  file_pattern: package*.json
                  commit_message: 'chore(release): Automated version bumping to ${{ steps.tag_version.outputs.new_tag }}'
                  commit_user_name: GitHub Actions
                  commit_user_email<EMAIL_ADDRESS>
            - name: Get updated commit SHA
              run: |
                echo "##[set-output name=commit_id;]$(git rev-parse HEAD)"
              id: updated_sha

            - name: Bump version and push tag
              uses: miguelfito/github-bump-and-tag-action@v1
              with:
                  github_token: ${{ secrets.GITHUB_TOKEN }}
                  commit_sha: ${{ steps.updated_sha.outputs.commit_id }}
                  default_bump: patch
                  create_annotated_tag: true
                  tag_prefix: v

            - name: Create a GitHub release
              uses: actions/create-release@v1
              env:
                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
                  GITHUB_SHA: ${{ steps.updated_sha.outputs.commit_id }}
              with:
                  commitish: ${{ steps.updated_sha.outputs.commit_id }}
                  tag_name: ${{ steps.tag_version.outputs.new_tag }}
                  release_name: Release ${{ steps.tag_version.outputs.new_tag }}
                  body: ${{ steps.tag_version.outputs.changelog }}

Thanks - that seems to work.
Now I've just got to try and compile a few actions together to get my desired output...
Thanks for your help.

Thanks - that seems to work.
Now I've just got to try and compile a few actions together to get my desired output...
Thanks for your help.

You're welcome, @fredbradley!


Options for safely handling slow clients

Currently, slow clients can tie up server resources, as the server code is blocked on reading request data or writing response data. For server-to-server workloads, this is not usually a big concern. But when services are exposed to external, untrusted clients, it can pose an abuse vector. Malicious clients could exploit this to cause a DoS; non-malicious, slow clients (like mobile clients with very poor signal) could lead to operational issues, like excessive resource utilization.
The http.Server provides numerous options that Connect servers should use to help with abuse prevention -- in particular the ReadTimeout, ReadHeaderTimeout, and WriteTimeout fields.
However, these are often inappropriate for RPC traffic, which could be a mix of fast and slow endpoints. In particular, there are classes of streaming endpoints that intend to be long-lived, often with long delays in between messages (subscription/notification endpoints). Since the above configuration is server-wide, one must then choose one of:

Low timeouts. Long-lived stream clients are forced to constantly re-connect.
Long timeouts. Stream clients are properly accommodated, but now a slow client can abuse unary endpoints that intended to be fast.
Medium timeouts. This means a "middle of the road" timeout that provides a compromise that will work okay with both fast and long-lived endpoints. But it's still not ideal for either as it's going to be higher than ideal for fast endpoints and lower than ideal for long-lived ones.

An ideal solution is one where the timeout can be configured per endpoint. That way, long-lived streaming endpoints can be configured with a very long (or even no) timeout. Other endpoints can have a reasonably low timeout, which will allow a slow client to be detected and the request to fail faster.
Implementing this, however, requires the use of new-as-of-Go-1.20 http.ResponseController, which allows setting read and write deadlines on a per-request basis. Ideally, the Connect runtime would surface some configuration for per-endpoint timeouts and then apply them on a per-request basis using a ResponseController.

To address this issue, we will likely need to add support for per-method timeouts that are specified via an option (which can apply different values to different methods via conditional options).
This new option can only work with http.ResponseController, which was introduced in Go 1.20. However, the connect-go runtime currently supports Go 1.19. So we would add this new functionality behind a build tag that is enabled with Go 1.20+ or do this after we have dropped support for 1.19.
Due to a recently-fixed panic bug (related to use of http.ResponseController.SetReadDeadline with HTTP/2 requests that have no body, like a GET) that won’t be fixed until Go 1.22+, we should be cautious about actually calling the SetReadDeadline method. It should only get called when the option has been used, so there’s no risk of triggering the above bug before Go 1.22 for users that don’t use the new option. Or we may set the build tag mentioned above so we only expose this functionality in Go 1.22+ (since it may not be safe to expose in Go 1.20 or Go 1.21). If we did allow the use of this feature with Go 1.20 or 1.21, we'd need to clearly document how to safely use it (by using golang.org/x/net/http2 v0.16.0+ in the server, instead of the bundled implementation in net/http -- which I think is as simple as using http2.ConfigureServer).
There are two possible uses for timeouts:

A total time limit for reading all of the request data and/or writing all of the response data.
A time limit that applies per read or write operation. For RPC, “operation” means reading or writing a message. So we might want a deadline that applies to reading or writing a message on the stream, and then the deadline resets. So the next attempt to read or write gets a new deadline. This allows messages on the stream to act like keep-alives, allowing an unbounded amount of time for the RPC as long as it is not idle (i.e. some data is being transferred on it).

For the former case, having separate read and write timeouts is not as useful since a single timeout is effectively establishing a bound on the entire RPC duration. But for the latter case, separate read and write timeouts is likely very useful: for a long-lived stream where logic is client-initiated, the write timeout (to send a message) might be much shorter than the read timeout (which must include the idle wait time between requests).
Initially, we think a new option that can satisfy the first case above is adequate. And we'd leave the door open for future options to accommodate the second case.
These options (or analogous ones) might be interesting as client-side options, too. So it might be nice to be able to declaratively define timeouts that are automatically applied to an outbound RPC. And for the second case above, it would effectively allow per-receive and per-send timeouts, which would also be nice to have in a streaming client.


Cannot install rm2fb on <IP_ADDRESS>6

This is what I have from following the instructions here:
!20230414143852
version str <IP_ADDRESS>6
update addr-
updateType str QRect
create addr 0x55b504
shutdown addr-
wait addr 0x55a39c
getInstance addr 0x54eeac
notify addr-

I am unable to find the offsets for update, shutdown, and notify.

See #18 for more information on the current state.


Can't enable keepAlive on ssl (wss) server

Server
$MyServer = new MyServer();

$app = new Ratchet\Http\HttpServer(
    new Ratchet\WebSocket\WsServer(
        $MyServer
    )
);

$loop = React\EventLoop\Factory::create();

$secure_websockets = new React\Socket\Server('<IP_ADDRESS>:6190', $loop);
$secure_websockets = new React\Socket\SecureServer($secure_websockets, $loop, [
    'local_cert' => '/path/to/cert.pem',
    'local_pk' => '/path/to/privkey.pem',
    'verify_peer' => false
]);

$secure_websockets_server = new Ratchet\Server\IoServer($app, $secure_websockets, $loop);

$app->enableKeepAlive($app->loop, 30);

$secure_websockets_server->run();

The server runs fine without $app->enableKeepAlive($app->loop, 30);.
With it, I get
PHP Fatal error:  Uncaught Error: Call to undefined method Ratchet\Http\HttpServer::enableKeepAlive() in /path/to/server-ssl.php:27
Thanks in advance for any pointers.

In regards to the above question, I have noticed a problem with sessions reconnecting in an odd way.
In my onOpen, I save the resourceId to the database, onClose updates to 0. I also echo Connected (resourceId) and Disconnected (resourceId) to nohup.out.
I let a javascript ws client connect to the server and left it over night. The client sends an automated message every 5 minutes. This morning, the client had a resourceID much higher (55xxx) than yesterday (44xx). The resourceId in the database was 0 and no new connections were echoed to nohup.out. This means that the client reconnected many times, but did not trigger onOpen. Is there a way to mitigate this? What could be causing it? I'm pretty sure the browser may not keep connections alive due to the user not having the window active, and the messages are not a consistent 5 minutes when left alone, but in that case, why is the resourceId being updated without onOpen and onClose?

Is there any way of debugging/logging handshake attempts? Because I have once again noticed that there are large gaps between the resourceId  numbers, but since I log all onOpen and onClose to the database, I know that a large number of connection attempts never get to the onOpen phase.
I think that the client(s) are at fault here, but I'm trying to debug how often and why they keep trying to handshake, but never actually open the connection itself.

I was able to get enableKeepAlive working, although when the client echos all incoming messages, I don't see a ping/pong (should I?).


Added documentation for select entries, map-to-list, and trucate processors.

Description
Added documentation for

select-entries processor
truncate processor
map-to-list processor
Updated documentation for
file sink
s3 sink
kafka buffer

Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
Checklist

[X ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Can confirm the map-to-list will work once this is merged in.

@natebower: This is ready for your review.


GitLab remoto: HTTP Básico: acesso negado e erro fatal na autenticação

GitLab remoto: HTTP Básico: acesso negado e erro fatal na autenticação
Existing folder

cd existing_folder
git init
git remote add origin https://gitlab.com/sobopla/Geronimod.git
git add .
git commit -m "Initial commit"
git push -u origin master

I am prompted to enter my GitLab username and password. After password is entered I get: remote:
HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/myname/myproject'

git config --system --unset credential.helper

then enter new password for Git remote server.

It depends where you put your credentials. If the previous command does not work try also using global flag

git config --global--unset credential.helper

I got the same error and I solved this by :

Apply command from cmd

git config --system --unset credential.helper

And when I execute the above command, I got another error
error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied

And then I removed gitconfig file from C:\Program Files\Git\mingw64/etc/ location

After that use git command like git pull or git push, it asked me for username and password. applying valid username and password and git command working.

For me, the following worked:
Do not use your GitLab password, but create an access token and use it instead of your password:

In GitLab, go to Settings > Access Tokens
Create a new token (check api)
git clone ...
When you are asked for your password, copy and paste the access token instead of your GitLab password

https://stackoverflow.com/questions/47860772/gitlab-remote-http-basic-access-denied-and-fatal-authentication


Configure travis,  add patches and fix missing qt resources

I don't know why I keep getting this information of stuff I'm not
interested in. Can you quit emailing me this crap?
On Thu, Mar 14, 2019 at 12:49 PM James Woods<EMAIL_ADDRESS>wrote:

On Thu, Mar 14, 2019 at 12:41 PM Chris<EMAIL_ADDRESS>wrote:

Merged #52 into 0.15.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix thedodd/trunk#62

This fixes a resulting invalid path delimiter of asset files on Windows platforms by splitting the link first by a normal slash and then repeatedly joining over the path components.
This causes the join method to use the native path delimiter instead of a hardcoded one.

Not at all, can add that to the markdown file in like 10 minutes.

Sweet, will merge after that.

So, I updated the changelog. Should be good now.

Thanks @L0g4n!


CPU Temp not displayed

My CPU Temperatur is not displayed.
Output of Linux-Dash:
Temprature | /usr/bin/sensors SA °C
Output of sensors:
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +28.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +28.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:       +26.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:       +26.0°C  (high = +105.0°C, crit = +105.0°C)
Output sensors -v:
sensors version 3.4.0 with libsensors version 3.4.0

Is this on a raspberry pi?

No. It's an intel chip.

Model name
Intel(R) Celeron(R) CPU J1900 @ 1.99GHz

Yes, but it's an Intel(R) Celeron(R) CPU J1900 @ 1.99GHz with Ubuntu 17.10 4.13.0-37-generic

To get the main temperature data, just change raspbian by ubuntu in the cpu_temp() function in the file app/server/linux_json_api.sh.
If you don't have an ubuntu based distrib, check the value of ID in file /etc/os-release and set it in place of raspbian in the script.
For temperature data by cores, see this pull request https://github.com/afaqurk/linux-dash/pull/465 (not tested yet)


Conv2D output not compatible with ZeroPadding3D input

I need to zero pad outputs of multiple CNN layers in order to concatenate them together as input to another layer.
A simple way to demonstrate this is:
x = Input(shape=(256, 256, 3))
x = Conv2D(32, (2,2), (2,2))(x)     # 1st CNN layer
x = ZeroPadding3D(padding=(2, 2, 2))(x)

This fails on the output of the CNN layer, irrespective of what values I provide for padding.
The error I get is:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 951, in __call__
    return self._functional_construction_call(inputs, args, kwargs,
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 1090, in _functional_construction_call
    outputs = self._keras_tensor_symbolic_call(
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 822, in _keras_tensor_symbolic_call
    return self._infer_output_signature(inputs, args, kwargs, input_masks)
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 862, in _infer_output_signature
    self._maybe_build(inputs)
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 2684, in _maybe_build
    input_spec.assert_input_compatibility(
  File "C:\Users\Mark\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\input_spec.py", line 219, in assert_input_compatibility
    raise ValueError('Input ' + str(input_index) + ' of layer ' +
ValueError: Input 0 of layer zero_padding3d_4 is incompatible with the layer: expected ndim=5, found ndim=4. Full shape received: (None, 128, 128, 32)

I have looked at the example of ZeroPadding2D and this appears to work OK in the Pix2Pix example, but only works on the first 2 dimensions. I need to pad 3 dimensions.
The documentation for ZeroPadding3D also does not show how this layer can be used in a network.
Output of python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)":
v2.4.0-49-g85c8b2a817f 2.4.1
Python version = 3.8.5
OS = Windows 10 (Latest developer release)
NVIDIA-SMI 465.51
Driver Version: 465.51
CUDA Version: 11.3
GPU = RTX3070 (8GB)
Tensorflow installed from binary (pip)
The expected behaviour is that I can use ZeroPadding3D as a layer within my CNN to pad the output of a convolutional layer in all 3 dimensions.

Was able to reproduce the issue with TF v2.3, TF v2.4 and TF-nightly. Please find the gist of it here. Thanks!

ZeroPadding3D expects a 5D tensor whereas your input Conv2D gives 4D tensor.
Switching to ZeroPadding2D  for Conv2D works;
x = Input(shape=(256, 256, 3))
x = Conv2D(32, (2,2), (2,2))(x)     # 1st CNN layer
x = ZeroPadding2D(padding=(2,2))(x)