Cannot unlock T7400 Smart Safe (requires PIN)

Describe the bug
Cannot unlock T7400 Smart Safe. When clicking 'Unlock', nothing happens.
To Reproduce
Steps to reproduce the behavior:

Go to Smart Safe device
Click on 'Unlock'

Expected behavior
Device unlocks.
Add-on Error Log
2022-11-13 23:10:55.306  ERROR Message error
NotSupportedError  This functionality is not implemented or supported by T7400T03222904FA
HA Core Error Log
eufy_security - Exception - process_messages: 'result' - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/websocket.py", line 57, in process_messages await self.on_message(msg) File "/config/custom_components/eufy_security/websocket.py", line 68, in on_message await self.message_callback(message) File "/config/custom_components/eufy_security/coordinator.py", line 297, in on_message message_result = payload[message_type] KeyError: 'result' - message: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":false,"messageId":"lock_device","errorCode":"device_not_supported"}', extra='')
Additional context
Add-on version: 1.1.0
Integration version 2.8.1
bropat's client has added support for it recently.

https://github.com/fuatakgun/eufy_security/issues/595

please retest with latest version of add-on and alpha release v5.x.x

Lock entity seems to be removed entirely from the device unfortunately.

Please look at Debug device attributes if you see anything about lock.
Moreover, you can share it here after clearing serial no stuff, it would be helpful for me.

Furthermore, you can share the device with me and i can take a look at it locally.

Thanks @fuatakgun. I'm unable to share the device since Eufy doesn't allow it - but I can link it to a burner account and share the account details with you if absolutely needed.
See below for the attributes
Properties
name: Home Safe
model: T7400
serialNumber: T7400############
hardwareVersion: <IP_ADDRESS>
softwareVersion: <IP_ADDRESS>
type: 140
stationSerialNumber: T7400###########
battery: 100
wifiRssi: -55
wifiSignalLevel: 4
locked: true
wrongTryProtection: true
wrongTryAttempts: 5
wrongTryLockdownTime: 60
scramblePasscode: false
leftOpenAlarm: true
leftOpenAlarmDuration: 120
dualUnlock: false
powerSave: false
interiorBrightness: 60
interiorBrightnessDuration: 10
tamperAlarm: 2
remoteUnlock: true
remoteUnlockMasterPIN: true
alarmVolume: 2
promptVolume: 1
notificationUnlockByKey: true
notificationUnlockByPIN: true
notificationUnlockByFingerprint: true
notificationUnlockByApp: true
notificationDualUnlock: true
notificationDualLock: true
notificationWrongTryProtect: true
notificationJammed: true
Commands
unlock, verify_p_i_n
Voices

Any error logs?
Burner account would be great

thanks for sharing, fixed the integration regarding to missing lock entity, but eufy-security-ws is still not supporting locking and unlocking.
Please continue working with him to add this feature.
Error from eufy-security-ws 1.3 version
NotSupportedError  This functionality is not implemented or supported by T7400############
error stack:
• station.ts:4063 lockDevice
    node_modules/eufy-security-client/src/http/station.ts:4063:19

• eufysecurity.ts:1056 setDeviceProperty
    node_modules/eufy-security-client/src/eufysecurity.ts:1056:31

• task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5

• message_handler.ts:209 handle
    src/lib/device/message_handler.ts:209:17

• server.ts:125 receiveMessage
    src/lib/server.ts:125:21

I think, I understand it now, first I need to send device.verify_pin and later device.unlock
I am still working on this

Let's keep this open, I will wait for @bropat's response.

I believe i found the culprit, can i continue testing tomorrow (in EU time)? Let me know if you would be interested so i can unlock it. Please double check if the burner account is still up and running.

Ping @didgeriwho

@fuatakgun Yes - you're clear to go ahead and test it. Burner account is still up and running. If you unlock it - I won't be able to lock the safe until regular EST hours.

I believe i have unlocked your safe :)

please get v5.3.2

@fuatakgun Yes I saw that the device was unlocked this morning. But when I paired it with my regular account and updated to 5.3.3 I get the following error when trying to unlock
`Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/eufy_security/eufy_security_api/api_client.py:345
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:05:05 AM (1 occurrences)
Last logged: 10:05:05 AM
[140124047130480] {'type': 'result', 'success': False, 'messageId': 'device.set_property.6a8db8bda0e64dfaa28e76f3295970bf', 'errorCode': 'device_not_supported'}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1745, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1782, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result()  # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 943, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/config/custom_components/eufy_security/lock.py", line 59, in async_unlock
await self.product.set_property(self.metadata, False)
File "/config/custom_components/eufy_security/eufy_security_api/product.py", line 61, in set_property
await self.api.set_property(self.product_type, self.serial_no, metadata.name, value)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 253, in set_property
await self._send_message_get_response(OutgoingMessage(command_type, command=command, serial_no=serial_no, name=name, value=value))
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 345, in _send_message_get_response
return await future
custom_components.eufy_security.eufy_security_api.exceptions.FailedCommandException: {'type': 'result', 'success': False, 'messageId': 'device.set_property.6a8db8bda0e64dfaa28e76f3295970bf', 'errorCode': 'device_not_supported'}
`

Adding Supervisor Add-On log
2022-12-31 15:05:05.868  ERROR Message error
NotSupportedError  This functionality is not implemented or supported by T7400###########
error stack:
• station.ts:4063 lockDevice
node_modules/eufy-security-client/src/http/station.ts:4063:19
• eufysecurity.ts:1056 setDeviceProperty
node_modules/eufy-security-client/src/eufysecurity.ts:1056:31
• task_queues:96 processTicksAndRejections
node:internal/process/task_queues:96:5
• message_handler.ts:209 handle
src/lib/device/message_handler.ts:209:17
• server.ts:125 receiveMessage
src/lib/server.ts:125:21

You cannot use lock function
When you want to unlock, you have to call lock.unlock service with code argument and supply your master pin over it.
So, lock entity on UI is just a state but wouldn't be helpful for you to lock/unlock the safe.

You cannot use lock function
When you want to unlock, you have to call lock.unlock service with code argument and supply your master pin over it.
So, lock entity on UI is just a state but wouldn't be helpful for you to lock/unlock the safe.

 Finally got it after a couple of tries (kept getting random timeouts). Thank you so much for all the assistance!


Validation metric nan but regular metric normal

I am implementing a Deep Convolutional Neural Network for multiclass classification.
My loss is the categorical_crossentropyand my metrics are the Keras accuracy as well as an in-house implementation of the Cohen-Kappa coefficient ckm.
model.compile(loss='categorical_crossentropy',
              optimizer="adadelta",
              metrics=[ckm, "accuracy"])
early_stopping = EarlyStopping(monitor='val_acc', patience=2, mode="max")

Quite similarly to #1364, when training my model, training loss and metrics are pretty normal.
When evaluating them on the validation set (by setting validation_split=0.1, shuffle=True), loss and accuracy are finite but Cohen-Kappa coefficient goes to nan.
Using gpu device 0: GeForce GTX TITAN X (CNMeM is disabled, cuDNN 5005)
Using Theano backend.
Train on 8789 samples, validate on 977 samples
Epoch 1/10
8789/8789 [==============================] - 12s - loss: 1.4828 - ckm: 0.0591 - acc: 0.3949 - val_loss: 1.2536 - val_ckm: 1.6025e-08 - val_acc: 0.3204
Epoch 2/10
8789/8789 [==============================] - 12s - loss: 1.3158 - ckm: 0.1047 - acc: 0.4208 - val_loss: 1.1424 - val_ckm: nan - val_acc: 0.5026
Epoch 3/10
8789/8789 [==============================] - 12s - loss: 1.1722 - ckm: 0.1894 - acc: 0.4717 - val_loss: 1.1458 - val_ckm: nan - val_acc: 0.5251
...

When evaluating my model on a distinct test set using model.evaluate, everything works fine :
('Evaluation on validation set:', [1.0822346006198775, 0.2739806798530029, 0.52856054829443488])

Setting shuffle=False turns the Cohen-Kappa metric into nan both for train and validation sets.

The data is directly loaded from a HDF5 file (i.e. as a dictionary of numpy objects).

Any thoughts ? I simply cannot find where the problem comes from.

The problem is seemingly inherent to my own implementation of the Cohen-Kappa coefficient.
For any other users running into this sort of problem, as a last resort you can run your code using THEANO_FLAGS=mode=NanGuardMode to spot the node(s) that caused the error.


adding in pre install steps to olm config template

Issue #, if available:
N/A
Description of changes:
I just realized that all newly created projects were missing the pre-install steps for OpenShift, so adding that to this template.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test


Data bundles

In an effort to remove TODOs from the readme's I'm moving them to issues.

do we want to use the data bundles concept? Often times we want to be able to model related files (like a workflow output) together in some way.  The data bundle concept supports this.

Data bundles are currently provided a rudimentary implementation. Needs review against HCA.

Consider whether indices (e.g. .bam.bai) are implemented as bundles or if a DOS object should have an index pointer. Since indices are so common, the latter may (1) save hierarchical traversals through data bundles if one wants to find the associated index and (2) avoid guessing which element in a bundle is the index (e.g. by filename).

Thanks @mfiume ! You're right, having the ability to logically organize DataObjects without modifying underlying stores is useful.
In addition, Data Bundles are necessary as a first level of interaction with the DSS. https://github.com/DataBiosphere/dos-dss-lambda
Closing as Data Bundles are single level listings of DataObjects presented by the current API.


SSL handshake issue with external website called by \pi

Looks like the ssl connection to the external website providing the pi numbers is not happy:
"Could not read pi from https://uploadbeta.com/api/pi/?n=104: sslv3 alert handshake failure at proof.sil:17:1: in \pitable: 0x559697c9db20"

@devosb Thanks for the fix in b339a3c, I can confirm that it works. Now we just need a release, an update of sile-packages to point to that relase and then packagemanager with the vagrant profile and CI use can be updated.

@n7s Have you guys started using the official PPA for SILE yet or are you still using an internal one?

We are now using your own packaging work in the official sile PPA, thanks btw. (With "sile-packages" I mean the catalog for the sile packagemanager.).

and if I am not clear enough: we now install fontproof via sile -e 'installPackage("fontproof").

FWIW, I did not get the SSL handshake error when running locally (Ubuntu focal, I don't remember if it worked on Ubuntu bionic or not). So there may not have been an issue with FontProof. Anyway, the new code does not require Internet access at all, so the whole issue goes away.


Use import () way

What this PR does / why we need it:
Use import () way
Special notes for your reviewer:
If applicable:

[] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@bacongobbler

@xichengliudui If you pull in the changes from #5306 and rebase, can then review this pr.

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!


Add action to automatically run gcp on main push/merge

gcp: google closure compiler

better to process locally due to dev process and release workflow


Error while running snowplow-storage-loader

Step 4: setting up alternative data stores » Setup PostgreSQL.
In my localhost I had successfully installed PostgreSQL and successfully created & configured
"atomic"."events" table and configured resolver.json.
I tried to run in \4-storage\storage-loader\deploy directory with unzipping two files
ie., snowplow-storage-loader & snowplow-emr-etl-runner from snowplow_emr_r88_angkor_wat.zip
with config.yml configured?. Even though I am not having Amazon Awz Account.
When I tried to run the below command:
./snowplow-storage-loader --config config/config.yml --resolver config/resolver.json --targets config/targets/ --skip analyze
I'am getting the following error:
LoadError: no such file to load -- jruby_pageant
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/agen                                                                                t/java_pageant.rb:1
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/agen                                                                                t.rb:1
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/agen                                                                                t.rb:20
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/key_                                                                                manager.rb:1
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/key_                                                                                manager.rb:4
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:133
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/sess                                                                                ion.rb:1
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh/authentication/sess                                                                                ion.rb:4
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:55
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh.rb:1
require at org/jruby/RubyKernel.java:959
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_                                                                                ext/kernel_require.rb:133
 at uri:classloader:/gems/net-ssh-2.9.4/lib/net/ssh.rb:11
require at org/jruby/RubyKernel.java:959
(root) at uri:classloader:/gems/fog-1.25.0/lib/fog/joyent/compute.rb:1
 at uri:classloader:/gems/fog-1.25.0/lib/fog/joyent/compute.rb:3
require at org/jruby/RubyKernel.java:959
(root) at uri:classloader:/gems/fog-1.25.0/lib/fog/joyent.rb:1
 at uri:classloader:/gems/fog-1.25.0/lib/fog/joyent.rb:1
load at org/jruby/RubyKernel.java:977
 at uri:classloader:/gems/fog-1.25.0/lib/fog.rb:1
require at org/jruby/RubyKernel.java:959
(root) at uri:classloader:/gems/fog-1.25.0/lib/fog.rb:39
 at uri:classloader:/storage-loader/lib/snowplow-storage-loader/contrac                                                                                ts.rb:1
ERROR: org.jruby.embed.EvalFailedException: (LoadError) no such file to load --                                                                                jruby_pageant
How should I need to configure config.yml file with postgreSQL installed.
Even after installing Ruby and updating Gem file & adding ruby_pageant still the issue has not been solved.

Does any one knows how should I have to run in GitBash command shell.

Hi @nishanth6,
Please put support requests to our forums. Github is for issues and bugs only.

Hello @chuwy ,
I have already posted it in

Unexpected error while running the Storage Loader

How to run Storage Loader in PostgreSQL database

But no replied for the LoadError: no such file to load -- jruby_pageant.
I need a solution for running storage loader even without configuring .yml & .json files.


Integrate constant-flow functions for HMAC checking in ssl_decrypt_buf()

Integrate the functions developed in #3470 and #3471 into ssl_decrypt_buf().
Note: this task has a dependency on #3469, as we don't want to modify ssl_decrypt_buf() without negative tests.
Note: if #3469 is completed before #3470 and #3471, then integration can be done at the same time as developing the functions, and this task will be empty.

#3469 was completed first, so this task is empty.


Add strong emphasis on WCF concepts

Add emphasis on WCF concepts to easier seperate between concept and detail
Before:

After:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: exoen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Cross-module type cast

We use some upper bits in pointer to store data and pass it around as struct containing u64, we can mask the pointer with 0x0000FFFFFFFFFFFF and cast it to the appropriate type in watch window but it doesn't work with raddebugger if the type is not in the current module (where we hit the breakpoint)

Can bump this? It is the only issue that gets in the way for me and had to use VS for work most of the time.
As described above, can't cast to a type unless the instruction pointer is in the module that knows the type.

This is now done on dev and will be in 0.9.12.


Support ember-qunit@5

Fixes #524
Continues #529 by adding an ember-try scenario, and fixing a typo.

waiting for what would Travis say

waiting for what would Travis say

passed https://travis-ci.org/github/san650/ember-cli-page-object/builds/755875573

passed https://travis-ci.org/github/san650/ember-cli-page-object/builds/755875573


Commands handling?

That would be very interesting. There are various cases, like if you message a bot in a group and send him "/command@bot".

The goal of this library is just to provide support for interfacing with Telegram, not handle typical bot related functions for you.
At some point I may create a second library for handling commands and the like, but that is outside the scope of this project.

I've started a new project for this, https://github.com/Syfaro/finch

@Syfaro I have a project that might do what you want, please take a look at: https://github.com/go-chat-bot/bot
I don't use telegram, so I just implemented basic support for it using this project.
But maybe it will save you some time using my project instead of using your own, as it already have some plugins: https://github.com/go-chat-bot/plugins

Huh, that's really neat :)


refactor(monorepo): relocate deckgl to Superset

SUMMARY

This PR move Deckgl to plugins directory

move legacy-preset-chart-deckgl to plugins directory
move storybook to packages/superset-ui-demo/stories/plugins
add tsconfig.json into package
refactor storybook of Deckgl
refactor src/factory.jsx to typescript
remove legacy-preset-chart-deckgl from jest.config.js(in order to mapping this plugin for test)
change controlPanel to typescript
fix lint/type/test
add Apache License

TESTING INSTRUCTIONS

pass all steps of CI
manually test in local environment

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

LGTM

/testenv up


Incorrect control-flow sensitive dataflow (in Go)

The following Go code produces an incorrect data-flow:
package main

import (
	"os"
)

func main() {
	x := "G"
	y := "T"
	z := "P"

	var f string
	if len(os.Args) == 2 {
		f = x + y + z
	} else {
		f = x + z + y
	}

	_ = f
}

I would expect that the last f reference (which is assigned to _) would have DFG edges to both assignments of f in both if-branches. However, instead it only has one incoming DFG edge from its variable declaration. In fact the variable declaration seems to flow into all fs. So it looks like, that is the assignments to f are not recognised as assignments.
flowchart TD
621831292["f
(Reference)
eval.go(19:6-19:7)"]-->|"DFG (full)"|306791467["_
(Reference)
eval.go(19:2-19:3)"]
-837371315["f
(VariableDeclaration)
eval.go(12:6-12:14)"]-->|"DFG (full)"|621831292["f
(Reference)
eval.go(19:6-19:7)"]
-837371315["f
(VariableDeclaration)
eval.go(12:6-12:14)"]-->|"DFG (full)"|531232056["f
(Reference)
eval.go(14:3-14:4)"]
-837371315["f
(VariableDeclaration)
eval.go(12:6-12:14)"]-->|"DFG (full)"|533081020["f
(Reference)
eval.go(16:3-16:4)"]
1818636953["+
(BinaryOperator)
eval.go(14:7-14:16)"]-->|"DFG (full)"|531232056["f
(Reference)
eval.go(14:3-14:4)"]
-1070487859["+
(BinaryOperator)
eval.go(16:7-16:16)"]-->|"DFG (full)"|533081020["f
(Reference)
eval.go(16:3-16:4)"]
1318760117["+
(BinaryOperator)
eval.go(14:7-14:12)"]-->|"DFG (full)"|1818636953["+
(BinaryOperator)
eval.go(14:7-14:16)"]
1447722380["z
(Reference)
eval.go(14:15-14:16)"]-->|"DFG (full)"|1818636953["+
(BinaryOperator)
eval.go(14:7-14:16)"]
-1006619534["+
(BinaryOperator)
eval.go(16:7-16:12)"]-->|"DFG (full)"|-1070487859["+
(BinaryOperator)
eval.go(16:7-16:16)"]
1420942193["y
(Reference)
eval.go(16:15-16:16)"]-->|"DFG (full)"|-1070487859["+
(BinaryOperator)
eval.go(16:7-16:16)"]
1161192542["x
(Reference)
eval.go(14:7-14:8)"]-->|"DFG (full)"|1318760117["+
(BinaryOperator)
eval.go(14:7-14:12)"]
1304457461["y
(Reference)
eval.go(14:11-14:12)"]-->|"DFG (full)"|1318760117["+
(BinaryOperator)
eval.go(14:7-14:12)"]
-822665194["z
(VariableDeclaration)
eval.go(10:2-10:3)"]-->|"DFG (full)"|1447722380["z
(Reference)
eval.go(14:15-14:16)"]
1163041506["x
(Reference)
eval.go(16:7-16:8)"]-->|"DFG (full)"|-1006619534["+
(BinaryOperator)
eval.go(16:7-16:12)"]
1334935576["z
(Reference)
eval.go(16:11-16:12)"]-->|"DFG (full)"|-1006619534["+
(BinaryOperator)
eval.go(16:7-16:12)"]
-823618537["y
(VariableDeclaration)
eval.go(9:2-9:3)"]-->|"DFG (full)"|1420942193["y
(Reference)
eval.go(16:15-16:16)"]
-824571880["x
(VariableDeclaration)
eval.go(8:2-8:3)"]-->|"DFG (full)"|1161192542["x
(Reference)
eval.go(14:7-14:8)"]
-823618537["y
(VariableDeclaration)
eval.go(9:2-9:3)"]-->|"DFG (full)"|1304457461["y
(Reference)
eval.go(14:11-14:12)"]
-822665194["z
(VariableDeclaration)
eval.go(10:2-10:3)"]-->|"DFG (full)"|1071458206["z
(Reference)
eval.go(10:2-10:3)"]
-822665194["z
(VariableDeclaration)
eval.go(10:2-10:3)"]-->|"DFG (full)"|1334935576["z
(Reference)
eval.go(16:11-16:12)"]
-824571880["x
(VariableDeclaration)
eval.go(8:2-8:3)"]-->|"DFG (full)"|1163041506["x
(Reference)
eval.go(16:7-16:8)"]
-823618537["y
(VariableDeclaration)
eval.go(9:2-9:3)"]-->|"DFG (full)"|1041904573["y
(Reference)
eval.go(9:2-9:3)"]
-824571880["x
(VariableDeclaration)
eval.go(8:2-8:3)"]-->|"DFG (full)"|1012350940["x
(Reference)
eval.go(8:2-8:3)"]
347353612["
(Literal)
eval.go(10:7-10:10)"]-->|"DFG (full)"|1071458206["z
(Reference)
eval.go(10:2-10:3)"]
318694674["
(Literal)
eval.go(9:7-9:10)"]-->|"DFG (full)"|1041904573["y
(Reference)
eval.go(9:2-9:3)"]

The likely cause is that the two assignment f refs are actually tagged with an access of READWRITE instead of WRITE, which is incorrect. Not sure if this is somehow a bug introduced by #1421

Update: Seems to be a Go problem, because the operator code was not set correctly

With #1464 this finally seems to work. And we can use the multi-value evaluator to evaluate this into GPT and GTP. Interestingly enough, GPT-4 seems to actually have issues in resolving this. Most of the times this result into:

The set of values that can be in f depends on the length of os.Args, which is the slice of command-line arguments passed to the program.   - If os.Args has exactly 2 elements (the program name and one argument), then f will be x + y + z, which is "GTY". - If os.Args has any other number of elements, f will be x + z + y, which is "GPT".  So, f can have one of the following two values:  - "GTY" - "GPT"


Please make an official HA integration

Hi !
I'm running your custom component for months now. It's great and stable.
Could you please make it an official HA integration?
Please Please Please Please Please Please Please Please :-)

First I have to remove all the websocket communication from the binding into a extra python module. Otherwise the home-assistant team will not accept it. This is a huge amout of work and I have not so much time at the moment. Sorry but I think with the hacs installation it is not so bad at the moment. Or why do you want a official integration? It is a lot more work for me to get it in the offical repo.

They are very strict with this lib/integration split. It's rather constraining (and annoying).
I would prefer an official one to have more people using it :-)
I developed for Viessmann central heating. I developed the python lib and someone magically appeared and developed the HA integration. I've been very lucky.
The good point is that since it's used by an official component, people submit multiple PR for improvements each month.

By, the way, they are several deprecations since the last release (and I know, I should fix it, no highlight it).

I fixed it in the dev branch. I will make a new version soon.

I don't know if it makes a huge difference in the amount of work, but it seems possible to develop a "HA integration" without being in HA core.
For instance, https://github.com/StyraHem/ShellyForHASS must be installed via HACS. It's not part of HA core. But still it's a damn good HA integration

I do not understand what you mean with "HA integration"? Is it not already a HA integration. It can be installed via Hacs as the Shelly. Do you mean with integration
a automatic install? Of course this is easy. This should be possible.
Of course the documentation is not really good but to be honest for me it is not really the important part as I can go in the source code an look up how it works. And I know a lot of special Loxone Features are missing. But I will maybe integrate some of the features but my main focus is that it works as long as I have a Loxone. And I hope my Loxone works the next view years. We have absolute no support and the documentation of the api is really really bad. So this is enough work for me.
Why I not integrate all of the features? First I can not really test it because I have only some sensor and a view shutters. I have no lights or other hardware. And a other point that for some loxone entities there are no equivalent entity in HA. So there you must program a custom frontend entity. And I really do not want to do that.
And as I already mentioned for me it would only make sense to make a official HA integration for the core HA installation. I already started with a ha client. And when it is finished the complete communication is based of aiohttp as it is in HA. So it is a big change.
What you all can do for me is to improve the documentation. That would awesome.
Maybe some examples with a loxone config picture and a Ha config from your configuration.

Hi,
I spent more than one hour to find a proper "official" source to explain what I mean, but without any luck :( The best I could say to describe my previous message is :

PyLoxone is installed with hacs and MUST be configured in configuration.yml. Once connected to Loxone Miniserver, it creates entities and scenes in HA and that's it.
ShellyForHass is installed with hacs and can be configured in the GUI. It appears explicitly in the "Configuration/Integration" menu with a Shelly icon. All added/discovered Shelly items are visible in the "Configuration/Devices" menu, they can be added to Scripts, Scenes, Automations, Rooms. I can attach some screenshots if you'd like to see.

But I have no clue how difficult it is to move from one model to the other...

@Juxz I started the transformation to a custom_component which is configurable thru the UI. I think that is what you meant. You can try it from the dev branch.

Will try asap!

@JoDehli just tried the dev branch and this is brilliant!
This is why I meant in my previous messages.
During this test, entities were not generated but the problem might be on my side, will check again later.

I know this problem. It is on the first start. Please try to restart HA then all supported entites should show up. I already think about a solution.


Internal Server Error attempting iPlayer download

While attempting to download a current program from BBC iPlayer, youtube-dl produces an HTTP Error 500: Internal Server Error.  This is with the latest release version of yt-dl.  Verbose log follows first.
The error is only (but always) reproduced when using --proxy.  Without the proxy I get a (normal) geolocation error; non-verbose log follows second.
This proxy is brought up by my VPN client, from BolehVPN, that provides VPN over this proxy while leaving the rest of my system network stack alone.  It has been working correctly for a good part of a year, though I have not been using it recently due to changes at the BBC's CDNs, and this is my first attempt to use youtube-dl.  Based on Get iPlayer Automator's behavior today I believe it is functioning correctly.  I would normally test and confirm its current functionality by getting the info about an existing program, but the BBC has removed or broken this (and other) functionality today (see https://github.com/get-iplayer/get_iplayer/issues/239); however, that gip bug report would suggest that youtube-dl is expected to still be working.
I don't think it matters, but this is on Mac OS X 10.11.3, running youtube-dl downloaded (today) using the standard curl and chmod recommendations.  If I can provide any other useful information, please ask.
Error behavior with proxy:
$ youtube-dl --verbose --proxy <IP_ADDRESS>:808 http://www.bbc.co.uk/iplayer/episode/p03gqw7j/the-british-academy-film-awards-2016-bafta-films-in-the-frame
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--proxy', u'<IP_ADDRESS>:808', u'http://www.bbc.co.uk/iplayer/episode/p03gqw7j/the-british-academy-film-awards-2016-bafta-films-in-the-frame']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.13
[debug] Python version 2.7.10 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.1.4, ffprobe 2.1.4, rtmpdump 2.4
[debug] Proxy map: {u'http': u'<IP_ADDRESS>:808', u'https': u'<IP_ADDRESS>:808'}
[bbc.co.uk] p03gqw7j: Downloading video page
ERROR: Unable to download webpage: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 354, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1905, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Expected behavior without proxy:
$ youtube-dl http://www.bbc.co.uk/iplayer/episode/p03gqw7j/the-british-academy-film-awards-2016-bafta-films-in-the-frame
[bbc.co.uk] p03gqw7j: Downloading video page
[bbc.co.uk] p03gqwgm: Downloading media selection XML
[bbc.co.uk] p03gqwgm: Downloading media selection XML
ERROR: bbc.co.uk returned error: geolocation

I was able to confirm that youtube-dl works just fine for this same program when used with whole-machine VPN from this same provider.  But it doesn't make use of --proxy, so that's consistent with everything being fine as long as the proxy option is not used.
It appears that the Beeb has restored the program information sources, and I think I have evidence that my proxy-VPN is working as intended.  Though I'm not able to use it with Firefox currently.  I'm trying to get more information on that front.  If I've filed a bug for a personal VPN/proxy problem, I apologize.  Though perhaps a better error message is in order instead of a crash and backtrace, regardless.

Most likely your proxy does not function properly. Some random UK proxy:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.bbc.co.uk/iplayer/episode/p03gqw7j/the-british-academy-film-awards-2016-bafta-films-in-the-frame', u'--proxy', u'<IP_ADDRESS>:3128', u'-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.02.13
[debug] Git HEAD: f66a3c7
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: avconv 9.18, avprobe 9.18, ffmpeg N-77883-gd7c75a5, ffprobe N-77883-gd7c75a5, rtmpdump 2.4
[debug] Proxy map: {u'http': u'<IP_ADDRESS>:3128', u'https': u'<IP_ADDRESS>:3128'}
[bbc.co.uk] p03gqw7j: Downloading video page
[bbc.co.uk] p03gqwgm: Downloading media selection XML
[bbc.co.uk] p03gqwgm: Downloading m3u8 information
[bbc.co.uk] p03gqwgm: Downloading m3u8 information
[bbc.co.uk] p03gqwgm: Downloading m3u8 information
[bbc.co.uk] p03gqwgm: Downloading m3u8 information
[bbc.co.uk] p03gqwgm: Downloading m3u8 information
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'http://ic.b974d52e.065a49.vod-hls-uk-live.bbcfmt.vo.llnwi.net/usp/auth/vod/piff_abr_full_hd/91b4ea-p03gqwgm/vf_p03gqwgm_2721dd25-ea2d-4e5f-adfe-47cd8c531449.ism.hlsv2.ism/vf_p03gqwgm_2721dd25-ea2d-4e5f-adfe-47cd8c531449.ism.hlsv2-audio=128000-video=5070000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 204
[download] Destination: The British Academy Film Awards, 2016 - BAFTA - Films in the Frame-p03gqwgm.mp4
[download]   0.1% of ~699.39MiB at 466.18KiB/s ETA 12:09
ERROR: Interrupted by user

youtube-dl has been flaky with iplayer the last couple of days. get_iplayer wasn't working yesterday, but it is today. youtube-dl started having issues about 24 hrs ago and hasn't worked since.
a command line request such as:
youtube-dl -f iptv_streaming_1500_akamai_hls_open-1496 "http://www.bbc.co.uk/iplayer/episode/b008zmjz/natural-world-20072008-7-badgers-secrets-of-the-sett" -o C:\out.mp4
returns the following error
[bbc.co.uk] b008zmjz: Downloading video page [bbc.co.uk] b0721m29: Downloading media selection XML [bbc.co.uk] b0721m29: Downloading m3u8 information [bbc.co.uk] b0721m29: Downloading m3u8 information [bbc.co.uk] b0721m29: Downloading m3u8 information [bbc.co.uk] b0721m29: Downloading m3u8 information [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 293 [download] Destination: C:\out.mp4 ERROR: unable to download video

I'm still investigating the proxy-VPN issue, and suspect it is indeed broken.
GOPsux:  Just FYI, even while get_iplayer was non-functional I used youtube-dl to download a program successfully.  (The URL given in this bug report.)  I can't try your command line right now because I'm on the machine that can't be put on whole-machine VPN, and my proxy-VPN appears to be broken at the moment.  Did you try it without the specific -f format?

I've tried both the command line version as well as the GUI version. They both fail. You're also correct that get_iplayer wasn't working last weekend, while youtube-dl was. I wasn't able to obtain the 1080p version either even when it was working.
However Sunday youtube-dl stopped working with the bbc iplayer towards the end of the day and hasn't returned mon or tues.

@GOPsux youtube-dl works perfectly with your command line:
> youtube-dl -f iptv_streaming_1500_akamai_hls_open-1496 "http://www.bbc.co.uk/iplayer/episode/b008zmjz/natural-world-20072008-7-badgers-secrets-of-the-sett" --proxy <IP_ADDRESS>:3128 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'iptv_streaming_1500_akamai_hls_open-1496', u'http://www.bbc.co.uk/iplayer/episode/b008zmjz/natural-world-20072008-7-badgers-secrets-of-the-sett', u'--proxy', u'<IP_ADDRESS>:3128', u'-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: avconv 9.18, avprobe 9.18, ffmpeg N-77883-gd7c75a5, ffprobe N-77883-gd7c75a5, rtmpdump 2.4
[debug] Proxy map: {u'http': u'<IP_ADDRESS>:3128', u'https': u'<IP_ADDRESS>:3128'}
[bbc.co.uk] b008zmjz: Downloading video page
[bbc.co.uk] b0721m29: Downloading media selection XML
[bbc.co.uk] b0721m29: Downloading m3u8 information
[bbc.co.uk] b0721m29: Downloading m3u8 information
[bbc.co.uk] b0721m29: Downloading m3u8 information
[bbc.co.uk] b0721m29: Downloading m3u8 information
[debug] Invoking downloader on u'http://cp401489-vh.akamaihd.net/i/iplayerstream/secure_auth/,800kbps/modav/bUnknown-16ddf254-22cc-460d-a956-c3c55eaa3e12_b0721m
29_1455210645821,1500kbps/modav/bUnknown-16ddf254-22cc-460d-a956-c3c55eaa3e12_b0721m29_1455210642657,.mp4.csmil/index_1_av.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 293
[download] Destination: Natural World, 2007-2008 - 7. Badgers - Secrets of the Sett-b0721m29.mp4
[download]   0.2% of ~545.60MiB at 131.58KiB/s ETA 23:42
ERROR: Interrupted by user

@larryy  I'm closing this issue since the problem is obviously in your proxy.
@GOPsux read this and open a new issue with all required info.

Just to confirm...  After the BolehVPN proxy issues were resolved youtube-dl worked correctly with --proxy.  Unfortunately, this proxy approach does not fully mask my IP address, so I still get a geolocation error (similar to the non-proxied behavior), which is not what I was hoping or expected.  But that's not a problem with youtube-dl.  Sorry for the noise, and thanks for checking against a different proxy.


Added the ability to limit the maximum number of uppercase letters.

Hi!
I'm using this library to test password validation in my application.
In addition, I hope that a function that limits the maximum number of strings for each character type will be added to write a more sophisticated validation test case.
First, we added the maxuchars property to limit the maximum number of uppercase letters, and added a test case.

Thanks for the PR. Will look into it.


Fix Postgres version

Currently, we always use the latest Postgres docker image, which might break previous setups as soon as a new (major) version comes out.
Need to take a look to determine which version to support.

Version 12.x it is


Removed an incomplete phrase (#1)

Thnaks for sharing this repo, I am using to learn Pytorch. I found this typo that looks like a phrase you leave incomplete.

Thanks for this! I know the writing needs a lot of editing. Currently planning to re-write the whole thing over the Christmas period.


Update scene-understanding-SDK.md

Updated documentation given external feedback

Docs Build status updates of commit 737e721:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/scene-understanding-SDK.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Webpack React Module parsers fail in webpack-5

I have my webpack config as follow:
module:{
       rules: [
           {
               test: /\.js$/,
               exclude: /node_modules/,
               include: APP_DIR,
               use: ['babel-loader']
           },
           {
               test: /\.(scss|css)$/,
               use: ["style-loader","css-loader","sass-loader"]
           }
       ]
   },

Surprisingly nothing changed in my code. And things seem to fail suddenly with the following error. It's just a simple react button click in a component bound to render function.
ERROR in ./src/index.js 16:15
Module parse failed: Unexpected token (16:15)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|     }
|     render(){
>         return(<div>
|             <button onClick={()=>this.clicked()}>Click Me</button>
|             </div>

@SatishChandraPalakoti Remove  exclude: /node_modules/,, because node_modules can contain react components


Add jupytext plugin support (allowing to use notebooks as a plain tex…

…t documents)
See more info https://github.com/mwouts/jupytext
After merging we are going to test https://github.com/iris-hep/analysis-grand-challenge/pull/92

Failures are unrelated (it will be fixed in different pr)


Missed detail in bash script for REST API call

Please clarify on this REST API bash shell, the host contains prefix like "https://" and suffix "/" can be confusing if use copy-paste the endpoint directly (the endpoint format is "https://xxx.openai.azure.com/"). Please update the document. Our customers having the confusion on this.

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

ID: 4833a089-660d-364f-82a4-1fc26522b6ec
Version Independent ID: 2c415b16-f888-a44b-64d7-a9d1732dacb6
Content: Quickstart - Using the ChatGPT API - Azure OpenAI Service
Content Source: articles/cognitive-services/openai/chatgpt-quickstart.md
Service: cognitive-services
Sub-service: openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@RamanathanChinnappan-MSFT
I've delegated this to content author @mrbullwinkle, who will review it and offer their insightful opinions.

@mrbullwinkle
Could you please review add comments on this, update as appropriate.


"Show status icons and clock" crashes taskbar

As soon as I select and save the option to "show status icons and clock" in recent apps, Taskbar crashes with a standard "application keeps crashing" system notification.
It cannot be restored no matter what until I unselect the option again.
Using Taskbar in horizontal mode. Rooted Note 9 on Pie.
Another Android 10 only feature (like desktop icons)?
Or any very exotic permission missing? I am quite sure I granted everything there is to grant, from accessibility to the ability to make system changes.

I have added a fix for this in the upcoming 5.0.1 release.

I can confirm, the update completely resolved the issue for me. Showing the clock and status icons (which look amazing btw and give Taskbar even more of a PC-style feeling) no longer crashes the app.


Chat commands

Codecov Report

Merging #35 (866742a) into master (20e2505) will decrease coverage by 0.02%.
The diff coverage is 1.27%.

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
- Coverage   18.15%   18.12%   -0.03%
==========================================
  Files          57       57
  Lines       10102    10122      +20
  Branches       67       67
==========================================
+ Hits         1834     1835       +1
- Misses       8201     8220      +19
  Partials       67       67

Impacted Files
Coverage Δ

src/clj/skylobby/fx/battle.clj
1.57% <0.00%> (-0.01%)
:arrow_down:

src/clj/skylobby/fx/players_table.clj
1.67% <0.00%> (-0.03%)
:arrow_down:

src/clj/spring_lobby.clj
13.70% <5.55%> (-0.05%)
:arrow_down:

src/clj/spring_lobby/main.clj
11.90% <22.22%> (+0.79%)
:arrow_up:

Continue to review full report at Codecov.

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


Initialize as a constructor

Was thinking it might make sense to make this module be a constructor. I'd imagine there could be a thing where we can for example include a list of voices, that are checked for availability, and the first one in the list is picked. Just like with fonts. But it'd require the API to change, and include a constructor. Thoughts?
var voices = [ 'kyla', 'james', 'junior' ]
app.use(require('choo-tts')({ voice: voices })

I don't think a constructor is the best fit because we are adding events and properties, not creating new objects. But wrapping in a function that returns a choo store makes a lot of sense to me. Something like
function tts (opts) {
  return function (state, emitter) {
  }
}

This pattern is common in other choo stores, so it sounds logical to me. I'm curious tho, what options would you add?


Caution against Transposition Scheme in brownfield networks

Describe the issue
RFC 9252 errata text (Ref: https://github.com/ietf-wg-idr/draft-ietf-idr-bgp-ct/issues/5)
RFC 9252 Section 4 states:
To achieve efficient packing, this document allows either 1) the
encoding of the SRv6 Service SID as a whole in the SRv6 Services TLVs
or 2) the encoding of only the common part of the SRv6 SID (e.g.,
Locator) in the SRv6 Services TLVs and the encoding of the variable
(e.g., Function or Argument parts) in the existing label fields
specific to that service encoding.  This later form of encoding is
referred to as the Transposition Scheme, where the SRv6 SID Structure
Sub-Sub-TLV describes the sizes of the parts of the SRv6 SID and also
indicates the offset of the variable part along with its length in
the SRv6 SID value.  The use of the Transposition Scheme is
RECOMMENDED for the specific service encodings that allow it, as
described further in Sections 5 and 6.
Section 5.1 further states:
5.1.  IPv4 VPN over SRv6 Core
The MP_REACH_NLRI over SRv6 core is encoded according to IPv4 VPN
unicast over IPv6 core defined in [RFC8950].
The label field of IPv4-VPN NLRI is encoded as specified in [RFC8277]
with the 20-bit Label Value set to the whole or a portion of the
Function part of the SRv6 SID when the Transposition Scheme of
encoding (Section 4) is used; otherwise, it is set to Implicit NULL.
When using the Transposition Scheme, the Transposition Length MUST be
less than or equal to 20 and less than or equal to the FL.
==
Problem:
These procedures may cause incorrect routing in the following scenario:
                     RR1--+
                            \  +-------R2  [MPLS + SRv6]
                             \ |
                     R1--------P-------R3  [MPLS only]
               [MPLS + SRv6]   |
                               +-------R4  [SRv6 only]

                 <---- Bidirectional Traffic ---->

        Figure: BGP L3VPN Interop between MPLS and SRv6 nodes

        This example shows a provider network with a mix of devices with
        different forwarding capabilities.  R1 and R2 support forwarding both
        MPLS and SRv6 packets. R3 supports forwarding MPLS packets only.  R4
        supports forwarding SRv6 packets only. All these nodes have BGP
        session with Route Reflector RR1 which reflects routes between these
        nodes with nexthop unchanged. BGP L3VPN (SAFI 128) family is negotiated
        on these sessions.

        If SRv6 nodes R2, R1, R4 use Transposition Scheme described in RFC 9252, it will
        cause misrouting at R3 because of misinterpretation of the MPLS label field.
        Because of Transposition scheme, RFC 8277 encoded MPLS label field is not
        containing a valid MPLS label.

        RFC 9252 should caution against use of Transposition Scheme in brownfield
        deployments where all nodes may not support SRv6.

Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

This is not an issue with the datatracker software. Discussion should be sent to the appropriate email list - in this case<EMAIL_ADDRESS>


STG76 Preview Changelog

/azp run python - storage - tests

/azp run python - storage

/azp run python - storage

do we know why python - storage pipeline failed?

do we know why python - storage pipeline failed?

Yea it appears its failing because it cannot find the unreleased blob version - it doesn't seem to fetch from master like we thought it would (when it doesn't find the version) :/

/azp run python - storage

/azp run python - storage


Unable to import private key

Hello. I have a swing wallet, that shows 0,00 balance with no transactions, even though there are Komodo coins on there (the correct amount and all transactions show up, when I put in the address here: https://kmd.explorer.supernet.org/address/ )
Now I tried to import the private Key from this address to Agama, it says the key was imported successfully, but still the address and balance are not shown in my wallets in the Agama app.
I use Windows 7 and followed the guide on Supernet to install both Swing and Agama.
This is really annoying. Are Agama and Swing the only two wallets for Komodo right now?

Is your Swing wallet synced to 100%?
You don't need to import your key twice as both wallets use the same wallet.dat file where all keys are stored.

I think it was not synced. It always stopped at around 90 - 95%. I will try to uninstall and then re install.

Check what's the highest block number do you have against block height of your transaction on block explorer.


Standardize pixie_cluster_id attribute name.

The New Relic retention scripts used inconsistent naming for the pixie_cluster_id attribute field. This diff converts all scripts to use the px.cluster.id name.

I think we should go the other direction
we already ship a px.cluster.address

Just change the name to px.cluster.id and we're good


Design new Home page

Should include some information about our product and look nice

The previous design included such information, it can be a good starting point so please consider checking it out (whoever will be assigned here).


Specify where tool is located for ZIP installers

For nuget-packaged tool installers, tools are often in a "tools" subdirectory of the .nupkg - a ZIP file using the OPC standard. It would be great if developer could specify the subdirectory that should be added to the PATH environment variable, assuming that is within the future scope of this project, as Chocolatey and Scoop already support.

This looks like it may be a duplicate of #140

Duplicate of #140


Tswe exp

I have added an explicit solver for the thermal shallow water equations, as well as a default test configuration with a constant buoyancy (of value g) for which the thermal shallow water equations default to the regular shallow water equations. Under these conditions the solver replicates the results of the Galewsky test case, with the buoyancy staying constant

I then modified the initial condition so that the initial perturbation is all in the depth field, so that the initial buoyancy deviates from the constant state. The resulting buoyancy perturbation is advected with the flow field, generating high frequency oscillations

Codecov Report

Merging #23 (5d47df1) into master (ad29e55) will decrease coverage by 10.77%.
The diff coverage is 19.17%.

@@             Coverage Diff             @@
##           master      #23       +/-   ##
===========================================
- Coverage   75.38%   64.60%   -10.78%
===========================================
  Files          14       15        +1
  Lines         715      825      +110
===========================================
- Hits          539      533        -6
- Misses        176      292      +116

Impacted Files
Coverage Δ

src/Helpers.jl
88.00% <0.00%> (-3.67%)
:arrow_down:

src/ThermalShallowWaterExplicit.jl
0.00% <0.00%> (ø)

src/DiagnosticTools.jl
52.17% <46.66%> (-6.16%)
:arrow_down:

src/ShallowWaterExplicit.jl
97.29% <100.00%> (+0.07%)
:arrow_up:

src/ShallowWaterIMEX.jl
97.84% <100.00%> (-0.18%)
:arrow_down:

src/ShallowWaterRosenbrock.jl
91.81% <100.00%> (ø)

Continue to review full report at Codecov.

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


Cannot create catalog

Hi there,
After installing jschon, trying a few given examples and running the command create_catalog('2020-12') I get the following error
get_catalog
raise CatalogError(f'Catalog name "{name}" not found.')
jschon.exceptions.CatalogError: Catalog name "catalog" not found.
Thank you in advance.
Regards,
Marcel Hofman

Hi, apologies for the slow response.
I can't reproduce this issue. Can you please provide a minimal working example that produces this exception?

Closing - cannot reproduce.


Modified MapWithDefault to not store the default value

Please see https://github.com/careercup/CtCI-6th-Edition-Groovy/blob/d116d65469bdf17d1e215e89f3e76ac3a97660a9/src/main/groovy/Ch04_TreesAndGraphs/_04_12_PathsWithSum.groovy#L21 for valid usecases

If I put entries in the map, even if I set them to the default value, I would expect to be able to iterate over them using methods such as keySet()/entrySet().  However that would no longer work with this change in place.

Hello @jwagenleitner :)
I agree, that's what I would expect in case of a normal map also.
But I would also expect containsKey to return false, if I haven't inserted anything, but that's not the current behavior.
def x = [:].withDefault {0}
println x.containsKey(1) // false
println x[1]                      // 0
println x.containsKey(1) // true

Therefore I think this new behavior is consistent with the class.
If you don't agree, I have a few alternative ideas, like:

removeIfDefault(Object) // removes current key, if value is equal to default
consolidate() // removes all default values
constructor parameter boolean storeDefaultValues = false

In your example println x[1] does insert an entry in the map.  If you used keySet()/entrySet() you'd be able to iterate.  I think it's expected that by calling get you are ensuring that entry will be added if it does not exist already.
Of the alternatives, I think the constructor parameter might work the best so then you could construct the map like this:
[:].withDefault(false) { 7 }
I'd recommend opening a JIRA for this feature, hopefully that would generate some more discussion.

ok, sure, will do.
I know the getAt inserts it, that's why I gave it as an example - I find it confusing that a get will insert.

I would agree that if there is a new option to not store the default value, then get should be changed to just return the value and not add to the delegate.

... but that would be confusing also, because e.g.
def x = [:].withDefault { [] }
x[1] << 0
println x // [1:[0]]

wouldn't work anymore

You're right, good point.  So even with the proposed change it not correct to say that the default wont be stored since it will for get just not put.

Yeah, that's why I pointed it out.
Where should I open an issue for this?

@paplorinc You can open issue for groovy at https://issues.apache.org/jira/browse/GROOVY

Opened an issue for this PR: https://issues.apache.org/jira/browse/GROOVY-7802

Closing this as there is now a revised PR over on the Apache Groovy site:
https://github.com/apache/groovy/pull/1692


[Suggestion] Prepared statement

Hi,
I have suggestion about prepared statement: IMO, prepared statement object (PDOStatement) should be stored (in a "cache") and reused while the PDO instance is still the same.
Looking at method DbProDiver::getDBStatement, an SQL request is always prepared
https://github.com/byjg/anydataset-db/blob/3fffd5612f3991cf8eefc5f17e0062c2180d989d/src/DbPdoDriver.php#L110-L123
A really simple implementation might be like this.
$stmt = $this->cache->has($sql) ? $this->cache->get($sql) : $this->instance->prepare($sql);

Cache would be:

a "simple memory cache" (an associative array with SQL statement - as string - for key?);
destroyed everytime pdo instance change

What do you think about it?
Regards

Hi @byjg,
Have you some time to finish it?
I can fork and help you finish what is missing if you want.
Regards,

I am so sorry, I missed your last message. Well, I believe is not necessary reset the cache as the property is protected and we have an empty value every new instance.
https://github.com/byjg/anydataset-db/commit/17f6f361a1f60d55d9461d7a585af4cf961f580c#diff-7d5efd01d07af1852c9928d2e080d6d7R23
Did I forgot something?

I am so sorry, I missed your last message.

No problems :)

Well, I believe is not necessary reset the cache as the property is protected and we have an empty value every new instance.
17f6f36#diff-7d5efd01d07af1852c9928d2e080d6d7R23
Did I forgot something?

I got your point. I just think it would be safer to set at the beginning of createPdoInstance :
$this->stmtCache = []

And in the destructor, I would nullify the cache first, then the pdo instance... but I don't think it really matters xD

Hi @byjg,
Any news?
Thanks

I implemented all of your suggestions. I'll open a PR and I believe we can discuss in the code, if something is missing.


Deep Sleep mode

I've been dow ENS16x datasheet and this is not clear to me how to use deep sleep mode.
My objective is to build a battery powered air quality device and one example would be great.

In the Datasheet, Chapter 15 describes the state diagram (Figure 14), The short description there describe the DEEP SLEEP mode as a "low power standby" state. This mode is intended to shut down the sensor to minimize power consumption. So, all sensor resources are turned off and there is no gas sensing functionality.
The ENS161 offers two “OPERATING Modes” for low power applications:

LOW POWER (register OPMODE = 0x03)
ULTRA LOW POWER (register OPMODE = 0x04)

In both modes an algorithm runs in the background and takes care on a proper air quality index calculation. The two modes differ from each other in terms of sampling frequency, which results in differences in power consumption. The LOW POWER mode has a higher sampling rate (1 sample/minute). This higher sampling frequency allows the sensor to respond to short term events. and achieve a greater accuracy, than the ULTRA LOW POWER mode. In the ULTRA LOW POWER mode the sampling rate is 1 sample/5 minutes. This results in a much lower power consumption, but it may affect the sensor response to some short term gas events.

Thank you so much for your answer.
Avtually, the state diagram was quite clear to me.
But I was wondering about the behaviour of the chip once it has been set back to a Low Power or Ultra Low power mode. Should I wait for 2 minutes for the chip to warm up before any measure ? Or may be it’s not necessary ?
I’m trying to reach very low power consumption. My other device (temp, humidity,…) are able to have an average 100uA or below intensity on batteries.
Coming back to my first question, I may try yo post one example on this repository ?

Once you set a ENS161 to a STANDARD, LOW POWER or ULTRA LOW POWER mode, then don't change the operation mode, this will ensure that the algorithm continued to calculate the AQI values.
A jump form an "OPERATING mode" back to IDLE or DEEP SLEEP stops the algorithm and reset it's parameters. So, if you enter an "OPERATING mode" again the algorithm is going to start from beginning. This will affect you accuracy.
In LOW POWER mode the first reading will appear after the 1 minute. To be sure that new data is available check the STATUS register (address 0x20). This first two least significant bits are set if new data obtained.


Make v2 hardfork height a build flag

Small preparation for eventually running our integration test suite twice until we hit the hard fork. Once for the v1 chain and once for the v2 chain.

I think splitting out the test logic and passing in the desired network is a better solution. Would also allow you to test with different configurations without defining more build tags. Like an integration test with a longer time between the require and allow height to test the interim.
func DoTest(t *testing.T, network *consensus.network, genesis types.Block) {
  // test logic
}

func TestClusterV1(t *testing.T) {
   v1n, v1genesis := testV1Network()
   DoTest(t, v1n, v1genesis)

  v2n, v2genesis := testV2Network()
  DoTest(t, v2n, v2genesis)
}

I think splitting out the test logic and passing in the desired network is a better solution. Would also allow you to test with different configurations without defining more build tags. Like an integration test with a longer time between the require and allow height to test the interim.
func DoTest(t *testing.T, network *consensus.network, genesis types.Block) {
  // test logic
}

func TestCluster(t *testing.T) {
   t.Run("v1", func(t *testing.T) {
      v1n, v1genesis := testV1Network()
      DoTest(t, v1n, v1genesis)
  })

  t.Run("v2", func(t *testing.T) {
      v2n, v2genesis := testV2Network()
      DoTest(t, v2n, v2genesis)
  })
}

@n8maninger I thought about doing both. Essentially use the tag to configure the default and then have tests which specify the network explicitly. Then we don't need to update 50+ integration tests with a verbose wrapper since we probably want to run all tests we have right now for both networks until mainnet is past the v2 height.


Support Chinese in impressConsole

Why not all three?
case zh:
case zh-cn:
case zh-CN:
    ...

Cause it's just simplified Chinese,considering the existence of traditional Chinese,I think it's better like that.

Thanks. This is a cool addition of a major language!

My pleasure


Add Typescript definitions

Add into package.json
{
    . . .
    "scripts": {
        "build:dts": tsc index.js --outDir types --allowJs --declaration --emitDeclarationOnly
    }
    . . .
}

or something like this.
So, @playcanvas/editor-api could be used to create a Chrome extension with Typescript. Right now, it's hard to use the repo.

Hi @querielo - thanks for the suggestion. I have made a quick attempt to add support for generating the TS declarations. Would you be interested to test the generated .d.ts file and maybe let me know if it works OK? If it does, I'll do a new release of the NPM package that includes the declarations.

The only problem I see is:
C:\dev\editor-api>npx tsc --pretty false dist\index.d.ts
dist/index.d.ts(547,27): error TS2503: Cannot find namespace 'pc'.

If I edit pc.Entity to any, the types seem to compile ok. For now, I'm not sure what the 'correct' fix is. But yeah, relatively minor problem.

@willeastcott  ☝

So currently, classes like ComponentSchema are exported from the root index.js:
https://github.com/playcanvas/editor-api/blob/e169c179ed4bd37e80a286d60bac1598823ac9b7/index.js#L14
But that class (and several others) have the @category internal tag in the docs. So presumably, index.js can drop all the internal classes. This will prevent rollup-plugin-dts from including them in the built index.d.ts.
As for the pc.Entity problem, actually, it probably does work - I think I just need to compile the types with the PlayCanvas Engine types and presumably tsc will find pc.Entity.

Checked /** @typedef {import("playcanvas")} pc */ and it also works with pc.Entity.

@willeastcott
OH. I see. I didn't know that the api object in global space of Playcanvas Editor is the editor namespace in  editor-api
So, editor-api should be imported like this:
import { globals as editor } from "@playcanvas/editor-api"
import * as api from "@playcanvas/editor-api"

Hmmm, can we do that in a cleaner, less verbose way I wonder...

@willeastcott
We can try to replace this line by
footer: `export as namespace api;
declare global {
    const editor: typeof globals;
}`,

Then the library can be imported like this import "@playcanvas/editor-api";, and after that there are api and editor in global space (api is a namespace, editor is an object). It works for me. But, I am not sure that semantically it is correct.

So this looks better to me. But if I add that to the index.d.ts, can't you still do:
import api from "@playcanvas/editor-api"

Just committed this: https://github.com/playcanvas/editor-api/commit/0687f8e138da32f367d0a97e81d8b656c0569a3b


fix: export input component

Oversight, I'm assuming.

Coverage increased (+0.1%) to 89.477% when pulling 783f4e4eb7d7724dd426b9212d0c5802696d045b on djoy/export_input into 8c9c70222fbca9c0c9708aeb5263a4d8c7a54bc7 on master.

Coverage increased (+0.1%) to 89.477% when pulling 783f4e4eb7d7724dd426b9212d0c5802696d045b on djoy/export_input into 8c9c70222fbca9c0c9708aeb5263a4d8c7a54bc7 on master.

:tada: This PR is included in version 4.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


COCO training code

"Training code for MS-COCO" is on the TODOs.
Any plans to release this code soonish so as to include in ECCV2020 experiments ?

Hi @rodrigob,
Sorry for the late reply. Unfortunately, I cannot release the code until we publish the paper. :(

Is there a timeline for the paper publishing/Coco training release ?


Document generator bug with extended classes

Suppose you have these 2 classes:
abstract class AbstractUser
{
    /** @ODM\Id */
    protected $id;

    /** @ODM\Field(type="string") */
    protected $name;

    public function getId()
    {
        return $this->id;
    }

    public function getName()
    {
        return $this->name;
    }

    public function setName($name)
    {
        $this->name = $name;
    }
}

and:
class User extends AbstractUser
{
    /** @ODM\Field(type="string") */
    protected $lastname;
}

Then when generating documents, the fields, getters and setters from AbstractUser are duplicated to the User child class, which should not be the case.
A PR will be opened in the next couple of minutes.

Fixed in #1300 .

#1300 was merged manually in https://github.com/doctrine/mongodb-odm/commit/490ca30235f1bc2b1f85b15389a5ba43a47e7a05 and will be merged into master branch soon


"osm uninstall mesh" and "osm namespace ignore [ns]" should remove osm-related labels and annotations from monitored namespace + pods

Bug description: During osm uninstall mesh, all monitored namespaces (and monitored pods in these ns) should have their osm-related annotations and labels REMOVED. Another scenario is osm namespace ignore [ns] - language from osm docs indicate that once a mesh is set to be ignored, it should no longer participate in the mesh so osm-related labels/annotations have to be removed.
Labels that should be removed include osm's sidecar-injection, osm's monitored-by, openserviceh.io/metrics.
Additional candidates for removal include osm's prometheus scraping labels and osm's pod ip exclusion labels.
Labels that should NOT be removed include osm-ignore label, as the ignore label is designed to mark a namespace as being permanently excluded from osm-related operations (as long as the ignore label is in place and not explicitly removed by the user).
Affected area (please mark with X where applicable):

Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [X]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
Demo                       [ ]
CI System                  [ ]

Expected behavior: osm-related labels and annotations should be removed from monitored namespaces. After running osm uninstall mesh, osm namespace list should not list namespaces like in the scenario below.
Additionally, osm namespace list should show a list of "orphaned" ignored namespaces. These are namespaces where the monitored-by label has been removed but the namespace still has the ignored label left in place.
Steps to reproduce the bug (as precisely as possible):

How was OSM installed?:
Anything else we need to know?:
Bug report archive:

Environment:

OSM version (use osm version): v1.0.0-rc.3
Kubernetes version (use kubectl version):
Size of cluster (number of worker nodes in the cluster):
Others:

I would like to work on this


Redirect USB hard drives. /drive:auto,* throws error

Describe the bug
I am unable to redirect hotplugged USB drives to the RDP session (Windows 10).
To Reproduce
Steps to reproduce the behavior:

Add /drive:auto,* to xfreerdp call
Plug a USB drive
Nothing appears in the File Explorer in Windows

Expected behavior
I new letter in File Explorer will appear
Application details

FreeRDP version: This is FreeRDP version 3.6.3 (3.6.3)
Command line used: xfreerdp /u:<user> /p:<password> /v:localhost +fonts -grab-keyboard /dynamic-resolution /audio-mode:sys:pulse,format:1,quality:high +cl    ipboard /bpp:24 /gfx:AVC444 /drive:auto,*
Output of xfreerdp /buildconfig: This is FreeRDP version 3.6.3 (3.6.3) Build configuration: BUILD_TESTING=OFF WINPR_HAVE_AIO_H=1 WINPR_HAVE_EXECINFO_BACKTRACE=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 WINPR_HAVE_EXECINFO_HEADER=1 WINPR_HAVE_FCNTL_H=1 WINPR_HAVE_GETLOGIN_R=1 WINPR_HAVE_GETPWUID_R=1 WINPR_HAVE_INTTYPES_H=1 WINPR_HAVE_POLL_H=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 WINPR_HAVE_STDBOOL_H=1 WINPR_HAVE_STDINT_H=1 WINPR_HAVE_STRNDUP=1 WINPR_HAVE_SYSLOG_H=1 WINPR_HAVE_SYS_EVENTFD_H=1 WINPR_HAVE_SYS_FILIO_H= WINPR_HAVE_SYS_SELECT_H=1 WINPR_HAVE_SYS_SOCKIO_H= WINPR_HAVE_SYS_TIMERFD_H=1 WINPR_HAVE_TM_GMTOFF=1 WINPR_HAVE_UNISTD_H=1 WINPR_HAVE_UNWIND_H=1 WITH_AAD=ON WITH_ABSOLUTE_PLUGIN_LOAD_PATHS=ON WITH_ADD_PLUGIN_TO_RPATH=OFF WITH_ALSA=ON WITH_BINARY_VERSIONING=OFF WITH_CAIRO=OFF WITH_CCACHE=OFF WITH_CHANNELS=ON WITH_CJSON_REQUIRED=OFF WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CLIENT_SDL=OFF WITH_CLIENT_SDL_AVAILABLE=1 WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_CODECS=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_EVENTS=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SCHANNEL=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_DSP_FFMPEG_AVAILABLE=1 WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=ON WITH_FREERDP_DEPRECATED=OFF WITH_FREERDP_DEPRECATED_COMMANDLINE=ON WITH_FULL_CONFIG_PATH=OFF WITH_FUSE=ON WITH_GFX_FRAME_DUMP=OFF WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSTREAMER_1_0=OFF WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_INTERNAL_RC4=OFF WITH_JPEG=ON WITH_JSONC_REQUIRED=OFF WITH_JSON_DISABLED=OFF WITH_KRB5=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBRESSL=OFF WITH_LIBSYSTEMD=OFF WITH_LODEPNG=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_NATIVE_SSPI=OFF WITH_NEON=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSSL=ON WITH_OPUS=OFF WITH_OSS=OFF WITH_PCSC=OFF WITH_PKCS11=OFF WITH_POLL=ON WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=OFF WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_EMULATE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SMARTCARD_PCSC=ON WITH_SOXR=OFF WITH_SSE2=OFF WITH_SWSCALE=ON WITH_SYSTEMD=OFF WITH_THIRD_PARTY=OFF WITH_TIMEZONE_ICU=OFF WITH_UNICODE_BUILTIN=OFF WITH_URIPARSER=OFF WITH_VAAPI=OFF WITH_VAAPI_AVAILABLE=1 WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_VIDEO_FFMPEG=ON WITH_VIDEO_FFMPEG_AVAILABLE=1 WITH_WAYLAND=OFF WITH_WEBVIEW=OFF WITH_WINPR_DEPRECATED=OFF WITH_WINPR_JSON=ON WITH_WINPR_TOOLS=OFF WITH_X11=ON WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XV=OFF Build type:          RelWithDebInfo CFLAGS:              -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -floop-nest-optimize -march=znver2 -O2 -pipe -Wall -Wpedantic -Wno-padded -Wno-cast-align -Wno-declaration-after-statement -fPIC -Wall -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer Compiler:            GNU, 14.1.1 Target architecture: x64
OS version connecting to (server side): Windows 10

Environment (please complete the following information):

OS: Linux
Version/Distribution: Gentoo
Architecture: [amd64, arm]: Amd64

Additional context
When using the /drive:auto,* or /drive:hotplug,* I get an error in the console:
 [ERROR][com.freerdp.client.common.cmdline] - [freerdp_client_command_line_post_filter_int]: Command line parsing failed at 'drive' value 'auto,*' [1]
Nonetheless the connection continues and the hard-drives from the host are visible in the guest, but not the USB drives.
Al
** Please remove this text before submitting your issue!
Thank you for reporting a bug!

the message is a red herring, already fixed and you can ignore it. see https://github.com/FreeRDP/FreeRDP/issues/10438
can you add a log with /log-level:trace so we can see the hotplug event log messages from your client?

Hi,
With trace, it generates an enormous amount of log. What should I look for? Just in few seconds, I generate 125K lines of log....
Thanks

@DasHammett ok, did manage to reproduce. Already fixed on current master branch with commit  0755325f7735845dad7b0a4b0a7096114ae36f60


Override default execution timeout for data refresh DAG sensors

Description

We ran into an issue recently where the data refresh DAG was poking the ingestion server status successfully, but was cut short prior to reaching the sensor timeout. We realized that this was because we had reached the default execution timeout:
https://github.com/WordPress/openverse-catalog/blob/962f1c5d9bb17bd6ea1ed5cc0674bab76d638f0b/openverse_catalog/dags/common/constants.py#L17
While this is a sensible timeout for typical tasks (e.g. the HttpOperator that triggers the data refresh), it's not ideal for the tasks that we know will be longer running. We still believe that having some defined upper bound in general is a good policy - we'd rather add exceptions for longer tasks than never hear about a task that ran for days and days because we neglected to add an explicit timeout.
This timeout will only need to be added to the 2 sensor tasks in the data refresh DAGs.
We should also evaluate whether we should tune down the default sensor poke interval timeout, as it currently sits at one week.
Reproduction

Start a data refresh DAG
Let it run for over an hour
Observe that the execution timeout gets reached

Screenshots

Airflow exception alert

Execution timeout value under task instance details

Additional context

Resolution

[ ] 🙋 I would be interested in resolving this bug.

You can't argue with the results of experimentation, which shows that our data refresh is timing out after 1 hour. But, confusingly, the Airflow documentation seems to suggest this shouldn't be happening: https://airflow.apache.org/docs/apache-airflow/stable/concepts/tasks.html#timeouts
That suggests that execution_timeout gives a timeout for an individual poke, meaning in our case it should only fail if the Sensor takes more than an hour to poke the ingestion server and get a response. That should not be happening.
Meanwhile timeout should define the timeout for the entire task, from the start of the first execution until its eventual success. Meaning in our case that the Sensor would timeout if a week passes and the ingestion server still reports that the data refresh is active. (I agree that this could be tuned down some).

Oh you know what -- I bet it's because wait_for_completion isn't explicitly in reschedule mode! I think that should fix our problem 🤦♀

Oh you know what -- I bet it's because wait_for_completion isn't explicitly in reschedule mode! I think that should fix our problem woman_facepalming

That's right, but the reason we have it in poke mode is so that it holds the pool slot until the data refresh finishes :no_mouth: It's possible that the wait_for_data_refresh sensor will handle that case appropriately...but I'm not certain

Yep! When I was implementing the data refresh my thought process was "it doesn't matter if wait_for_data_refresh frees the slot, because we expect it to block anyway", so I didn't bother putting it in reschedule mode -- but I didn't fully understand how the timeouts work so I didn't realize that would cause a timeout problem 🤦♀
For others reading: it will continue to work because the wait_for_data_refresh sensor will correctly detect that the running data_refresh is "running" even if its wait_for_data_refresh is up_for_reschedule


Lazy load inline images

REDMINE-17687

Coverage remained the same at 99.208% when pulling 4ede1de5fb59eb1d684582720bfdd824ed8e3c50 on tf:lazy-inline-images into f784c0346399ec512e90c230a8934b09b3157e3f on codevise:master.


CLN: Remove log message that LIES.

This log message says you are connected to the database specified in the log file, even if you are not. That lost me about 2 hours, so consider this a vengeance PR. Better to report nothing that to report something that might be wrong.

Coverage decreased (-0.14%) to 60.14% when pulling c131b0109de7555a28338a33e28e96bb37bc6d78 on danielballan:liar-liar into a39f688f7bf80025f7224534f7e780d69fd81550 on NSLS-II:master.


Google Colab error

When I try running the Colab, step 2 setup throws this error
OSError                                   Traceback (most recent call last)
<ipython-input-3-8baae7857564> in <module>()
     21 from IPython import display; import note_seq; from scipy.io import wavfile
     22 import tensorflow.compat.v2 as tf
---> 23 import augment; import librosa; from matplotlib import cm; import matplotlib.pyplot as plt
     24
     25 # Import VoiceFixer!

6 frames
/usr/local/lib/python3.7/dist-packages/augment/__init__.py in <module>()
      4 # LICENSE file in the root directory of this source tree
      5
----> 6 from .effects import (
      7     EffectChain,
      8     shutdown_sox,

/usr/local/lib/python3.7/dist-packages/augment/effects.py in <module>()
      8 import torch
      9 import numpy as np
---> 10 import torchaudio
     11 from torchaudio.sox_effects.sox_effects import effect_names as get_effect_names
     12

/usr/local/lib/python3.7/dist-packages/torchaudio/__init__.py in <module>()
----> 1 from torchaudio import _extension  # noqa: F401
      2 from torchaudio import (
      3     compliance,
      4     datasets,
      5     functional,

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in <module>()
     25
     26
---> 27 _init_extension()

/usr/local/lib/python3.7/dist-packages/torchaudio/_extension.py in _init_extension()
     19     # which depends on `libtorchaudio` and dynamic loader will handle it for us.
     20     if path.exists():
---> 21         torch.ops.load_library(path)
     22         torch.classes.load_library(path)
     23     # This import is for initializing the methods registered via PyBind11

/usr/local/lib/python3.7/dist-packages/torch/_ops.py in load_library(self, path)
    108             # static (global) initialization code in order to register custom
    109             # operators with the JIT.
--> 110             ctypes.CDLL(path)
    111         self.loaded_libraries.add(path)
    112

/usr/lib/python3.7/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    362
    363         if handle is None:
--> 364             self._handle = _dlopen(self._name, mode)
    365         else:
    366             self._handle = handle

OSError: libcudart.so.10.2: cannot open shared object file: No such file or directory

Error doesn't show up for me anymore.


Custom Component

Hello, how do I use a custom component as grid item? I couldn't find anything  on the guide and I'm quite new in the react world.
Thank you in advance.

`const OcurrencesWidget = ({ ...rest }) => {
const styles = WidgetsStyle();
return (
<Paper {...rest} className={[styles.widget, styles.square].join(' ')}>

Ocorrências

21

);
};
//Add the component to an array, must have the wrapper div
content = [

]
`

Found the solution, you need to render the components children too, this allows the resize widget to render, like this:

    <Paper {...rest} className={[styles.widget, styles.square].join(' ')}>
      <Typography variant="h6" align="center">
        Ocorrências
      </Typography>

        <Typography variant="h5" align="center">
          21
        </Typography>

      {children}
    </Paper>

When calling the component you can do it like this:
<OcurrencesWidget key={i} data-grid={{ ...others }} className={styles.griditem}/>

I'm having similar difficulties.  I attempted to replicate dreukrag's solution but couldn't make it work.   I do get the app to render, but the grid is not functional.
Demo code;
function App() {
    const cols = 6;
    const items = ['one', 'two', 'three'];
    const layout = items.map((item, index) => {
        return {
            i: item,
            x: index % cols,
            y: Infinity,
            w: 1,
            h: 1
        }
    })

    return (

            <GridLayout className="layout"
                        layout={layout}
                        cols={cols}
                        rowHeight={100}
                        width={1200}>
                {
                    // TODO : This one works
                    // items.map((item, index) =>
{generateItem(item)}
)
                    // TODO : This one doesn't
                    items.map((item) => generateItem(item))
                    // TODO : This one also doesn't
                    // items.map((item) => <Evaporate key={item}>{generateItem(item)}</Evaporate>)
                }
            </GridLayout>

    );
}

function generateItem(val: string) {
    return <TestItem key={val} val={val}/>;
}

function Evaporate({children} : {children: React.ReactNode}) {
    return <>{children}</>;
}

function TestItem({val}: { val: string; }) {
    return
Test Item {val}
;
}

So after fiddling with it I think I found the solution.
There are 3 props you need to handle in your component: children, styles and classname
If your component already sets one of those props then you to merge them.
This won't work, it sets the style and className props to a fixed value and doesn't implements children
function TestItem({val}) {
  return (

this is a simple component

  );
}

This should work:
function TestItem({style, className, key, children, ...restOfProps}) {
  return (

this is a simple component

        {children}

  );
}

I also managed to make it work. Still I would like to the grid layout item to have the same height as the child container. Have you also solved this issue? The docs said to use react-size-me, so I think I'll have a look at it.
Basically I have this.

                         ×
                     {getWidget(l.i)}                    {/*<CustomHeader className="react-grid-item mobile react-draggable cssTransforms react-resizable"/>*/}

Let's suppose the widget resolve to something like this.
  let table;     if(data.length !== 0)         table = ;     else         table =
There are no tax claims.
;     return (

Tax Claims
             {table}
     )
Now, I can drag and resize the table or paragraph. However, resizing works only on the width. As for the height, I can resize it for parent div basically without any constraints, but I'd like to be set at the height of the widget.

I also managed to make it work. Still I would like to the grid layout item to have the same height as the child container. Have you also solved this issue? The docs said to use react-size-me, so I think I'll have a look at it.
Basically I have this.

                         ×
                     {getWidget(l.i)}

Let's suppose the widget is something like this.
 let table;     if(data.length !== 0)         table = ;     else         table =
There are no tax claims.
;     return (

Tax Claims
             {table}
     )
Now, I can drag and resize the table or paragraph. However, resizing works only on the width. As for the height, I can resize it for parent div basically without any constraints, but I'd like to be set at the height of the widget.

I think that's a css problem.
Have this style on the components outermost container, the one that is the parent to the resizing widgety icon
    display: flex;
    overflow: hidden;

Thanks druekrag!
For those interested, the TypeScript version that worked for me is:
function Component({val, className, style = {}, children, ...otherProps}: { val: string; className?: string, key?: string, style?: {[x:string] : string}, children?: React.ReactNode[]}) {
    return

        Test Item {val}
        {children}

;
}

This allows me to use the Component normally or in the Grid.

I want to render a grid of iframes for my app. I was able to render the app but resize and drag don't seem to work.
From the above, I wasn't able to figure out how to call the custom component from GridLayout i.e how to pass all the styles and className you mentioned above.
It would be helpful if you could clarify the same

Check if the classes for react draggable were added to the div containing "key"

Yes, classes for react-draggable and react-resizable were added to the div.

You might want do a test to see if event propagate from the iframe to the parent.  I suspect not.  You might need to stick a handle you can grab above the iframe and use that to move it.

But still, I have the iframe wrapped in a div. Shouldn't that work since I am not directly using an iframe @ProggerPete

@sadviramana I've been working on a HOC to wrap an element into a grid item.
I found that I needed to ensure that the following props end up applied:
{
key?: string;
"data-grid"?: Layout; // e.g. {x: 1, y: 2, minH: 3 etc...}
className?: any;
style?: React.CSSProperties;
children?: React.ReactNode[];
onMouseDown?: (e: React.MouseEvent) => {};
onMouseUp?: (e: React.MouseEvent) => {};
onTouchEnd?: (e: React.TouchEvent) => {};
};

So i did this, draggableHandle shows correctly but when trying to drag an item it shows this:
DraggableCore.js?fae5:158 Uncaught Error: <DraggableCore> not mounted on DragStart!

You have to use React.forwardRef() here.
const GridItem = React.forwardRef((props, ref) => {
  return (

      {props.l.static ? (

          Static - {props.i}

      ) : (
        {props.i}
      )}
      {props.children}

  );
});

I will make sure this gets added to the docs.

bab3c79

Still dont know how to customize the draggable handler...
I forward to the child, but it is not draggable.
Should I forward the ref both the root element of the child and the customized handler?

Ok I got it. You must pass ...restOfProps to the Child component for event handlers such as onMouseDown, onMouseUp

Hey, by using what's in the documentation and @STRML answer I am able to get this working for the most part however the resize handle in the corner is missing, any idea what may be causing this issue?  I also passed the ref down to ResponsiveGridLayout but yea I can't seem to get the resize working.

So I have the following component:
export const Widget = React.forwardRef(({style, className, key, children, ...props}, ref) => {
return

{children}

})
Adding data-grid on the div it didn't worked, but adding data-grid on the Component it did worked:
<Widget  data-grid={{ x: 0, y: 0, w: 6, h: 3 }}/>

codeandbox.io/s/eloquent-sammet-7bhfq?file=/src/ShowcaseLayout.js

I want to render a grid of iframes for my app. I was able to render the app but resize and drag don't seem to work on iframes.
I have wrapped my iframe with a custom component. Here is the code: <ResponsiveGridLayout className="gridLayout" layouts={{sm: this.props.layouts, md: this.props.layouts, lg: this.props.layouts, xs: this.props.layouts}} cols={{ lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 }} breakpoints={{lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0}} onLayoutChange={this.onLayoutChange} rowHeight={100} width={800}> {this.props.layouts.map((value, index) => { return(
 <ImmersiveIframe srcUri={src} miniappId={uuid()}/>
 ); })} </ResponsiveGridLayout>
From the above comments, I wasn't able to figure out how to call the custom component from GridLayout i.e how to pass all the styles and className you mentioned above.
It would be helpful if you could clarify the same

For me this question remains relevant. I need to retain the ability to drag an element with an iframe inside

I was trying to add role for the test but it is not accepting showing error
Error:
Type '{ children: any[]; role: string; key: string; className: string; layouts: { [x: string]: any; }; onLayoutChange: (lay1: any) => void; isDraggable: boolean; isDroppable: boolean; containerPadding: [number, number]; ... 8 more ...; style: { ...; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ResponsiveProps & WidthProviderProps, any, any>> & Readonly<...>'.
Property 'role' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<ResponsiveProps & WidthProviderProps, any, any>> & Readonly<...>'.ts(2322)
(property) role: string
<ResponsiveReactGridLayout
                role={`dashboardItem_${ci}`}
                onDrag={handleDrag}
                onDragStop={handleDragStop}
                onDrop={(event: any, tt: any, e: any) => handleDropWidget(event, tt, e, ci)}
                onBreakpointChange={onBreakpointChange}
              >
              <box></box>
              </ResponsiveReactGridLayout>

Can you guys please help me to resolve the issue.


provide nuget package

First of all I would like to thank you for the library! Really impressive and kept simple 👍
Finally, to use your code, I added the UsbCamera.cs to my project. It would be nice if you could also provide us with a nuget package (taking versioning into account; see https://github.com/GitTools/GitVersion).

Hi secile, I would like to help if you haven't worked on the nuget packging. 😄

Thank you.
This issue is currently stopped because I felt some difficulties when creating DLL.
The library change behavior if it is defined 'USBCAMERA_WPF' symbol that makes GetBitmap() returns image of BitmapSource.
To release the library as nuget package, I have to create DLL, but it is not able to do same behavior with DLL.
Maybe I have to create two kind of DLL like UsbCameraWinForms and UsbCameraWpf.
and I have to provide 2 kind of nuget package. (Is my idea correct?)
Could you give me more time to think it over.

Thank you. This issue is currently stopped because I felt some difficulties when creating DLL. The library change behavior if it is defined 'USBCAMERA_WPF' symbol that makes GetBitmap() returns image of BitmapSource. To release the library as nuget package, I have to create DLL, but it is not able to do same behavior with DLL.
Maybe I have to create two kind of DLL like UsbCameraWinForms and UsbCameraWpf. and I have to provide 2 kind of nuget package. (Is my idea correct?)
Could you give me more time to think it over.

Hi, thank you for the reply. I think we can have adapters for wpf and winforms that implement the GitBitmap() differently and resue the other codes. To use the dll(let's say it is named as Secile.UsbCamera), developers can use base methods by using Secile.UsbCamera, and import wpf related methods by using Secile.UsbCamera.Wpf and the same for the winforms using Secile.UsbCamera.Winforms. What do you think?


azkaban3.0 schedule flow bug

When I use azkaban3.0 and shedule a flow, I find a bug. The bug is as follow.
First shedule a flow with recurring period  1d.  Then I reSchedule the flow with recurring period 1h.
Then I restart webServer and I find the flow's period recover to 1d.
So I read azkaban source code and I find the cause is that updating table triggers is at the time when the flow is triggered to run. So if you change the schedule config and restart webserver before the flow's nextExecutionTime, the schedule config will recover to the old.

Hi @hitwangyu , thanks for reporting this bug!! You are correct. The azkaban server seems not updating new Trigger to DB immediately when the schedule changes. I'll look into this later.

Can be closed due to #708


Update https://github.com/mozilla/pdf.js/wiki/Benchmarking-your-changes

Following PRs https://github.com/mozilla/pdf.js/pull/11807 and https://github.com/mozilla/pdf.js/pull/11241, the "Benchmarking your changes" Wiki-page  needs to be updated to account for the recent changes/simplifications; I'd suggest the following changes for the respective sections (which I've successfully used in PR #11930):
$ git checkout master
$ gulp generic
$ cd test
$ node test.js --statsFile=stats/results/baseline.json --statsDelay=5000 --manifestFile=benchmark.json

$ cd ..
$ git checkout <feature-branch>
$ gulp generic
$ cd test
$ node test.js --statsFile=stats/results/current.json --statsDelay=5000 --manifestFile=benchmark.json

Finally, it's probably a good idea to also mention the --noChrome flag on that page as well.

Done. Thank you!


can't silence whatsapp beeps of incoming messages

ubuntu 18.4, Gnome 3

Thanks for this feedback, we'll work on this and push an update release within the next 3days.

Hi, an update has been pushed v1.2.5.
You now have two options;

Toggle desktop and notification sounds by clicking on "2 vertical dots" to open settings on your whatsapp, then Notifications, and check your preferences. Or

On the "Action" window menu, toggle it to Mute or Unmute the application sound completely.
NOTE: This will mute even audio messages and video sounds with notifications inclusively.

excellent - i'll try it.


Problem with left parallel_offset

Hi,
it seems like there is a problem with parallel offset on a left side.
For example:
import shapely
from shapely.geometry import LineString

shapely.__version__

'1.6.4.post1'

line = LineString([
    (0.702227727277449, 52.2684403575796),
    (0.702466731559753, 52.2682730142646),
    (0.702620641169389, 52.2681525832661),
    (0.703069913619352, 52.2678275454922),
    (0.703098095398922, 52.2678089143778),
])

line

line.parallel_offset(.003, side='left')

and then resulting buffer:
line.parallel_offset(.003, side='left').buffer(.003, cap_style=2)

This does not happen with parallel offset on a right side.
If I remove last (or penultimate) point, this also does not happen:
line = LineString([
    (0.702227727277449, 52.2684403575796),
    (0.702466731559753, 52.2682730142646),
    (0.702620641169389, 52.2681525832661),
    (0.703069913619352, 52.2678275454922),
#     (0.703098095398922, 52.2678089143778),
])

line.parallel_offset(.003, side='left').buffer(.003, cap_style=2)

Jupyter notebook: https://gist.github.com/debjan/7acd28aac065e5827bd8a17dae2b181f
Any ideas?

@debjan I've seen other reports of one sided buffer oddities. I think the algorithm is not very robust around the end of lines and that the nearness of the last two points is triggering some instability.
We're working on the next Shapely release (1.7) and won't be able to address this bug until after. It may need to be resolved in GEOS. Until then, I can only suggest work arounds like simplification of your line (with simplify()) to remove vertices that are too near.

Ok, thanks

AFAIU, you could try with using less points aka simplify the lines

@debjan Thanks, that's what I ended up doing per your/Sean's earlier postings. I just wanted to let it be known that others still have the issue.