Use format list from video metada

https://github.com/khansaad1275/Termux-YTD/blob/475b745ec68365f39c0db912f1ab49d302bc99e0/termux-url-opener#L21
A format list can be obtained via  youtube-dl -F <URL>, format identifier are fixed and can be matched to a internal list if needed or just list the raw list.

https://github.com/khansaad1275/Termux-YTD/blob/475b745ec68365f39c0db912f1ab49d302bc99e0/termux-url-opener#L21
A format list can be obtained via  youtube-dl -F <URL>, format identifier are fixed and can be matched to a internal list if needed or just list the raw list.

what do you exactly want? a list of all the codec available? won't it create more confusion for people who are beginner ?


add follow option to generate + sort accounts on list

Description
Presently, a call to generate command returns the current totp code and exits.
This PR is a proposal to add a follow parameter for the generate command so that the generate command continues generating totp code until stopped by the user.
The code is then generated every second and only printed on the console whenever it changes.
This PR also adds the sorting of accounts (by names) on the list command for convenience.

Looking into the linter check locally, somehow the linter output in the workflow is useless.

Looking into the linter check locally, somehow the linter output in the workflow is useless.

I'll check that right now.

@yitsushi Thank you very much!


md typo in getting-started link

Nice hearing from you, Luis! Have you taken some interest in generative AI?


Stop polling when Inverter off-line at night

When the inverter goes into standby at night the integration continues to poll and generates a large number of HA log messages.
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:746
First occurred: 4 June 2022, 22:02:32 (458 occurrences)
Last logged: 05:40:03
Update of sensor.solis_inverter_status is taking over 10 seconds
Update of sensor.electric_consumption_today is taking over 10 seconds
Update of sensor.electric_cost_today is taking over 10 seconds
This is summer when the nights are short and 458 log entries are made, it will be much worse in the winter. Simple fix would be to only log the message once but keep polling. Better fix would be to log the message once and then reduce the polling rate until a response is obtained.

I think its better to have config which entity is update and when because for example if you have hybrid system you want monitor other entittie like battery discharge and so on ...

As the daylight duration at my site decreases I'm steadily getting more warning messages so I have created a fix to only poll the Inverter from sunrise to sunset. I've added a check box onto the configuration form to enable/disable this mode for those who need it. Defaults to off so will not effect existing installs.
Before I submit as a push is this likely to be be accepted as a change? You can review the changes on my fork.
https://github.com/gedger/home_assistant_solarman
PS. This is my first go at modifying a HA integration so feel free to point out any issues....but it does work for me!

I have created a fix

@gedger : Isn't there a way, that you can merge your stuff to this branch?
The latest code from here has some useful invalidation rules and yours would keep the logs clean(er).
For me it looks like @StephanJoubert who created this great integration isn't maintaining this anymore?

In progress, I have merged my changes in with the latest code. This is not my forte so had a few issues merging with git but I think I'm there, there's a new branch in my fork that has the merged changes. Currently being tested on my system but I'm seeing some issues with the config screen....

I'm struggling to spend any time on this but there is an easier solution which is to disable polling and then set up an automation to poll the parameters you need at the rate you require. Here's my automation as an example. This polls every 30 seconds and starts 10 minutes after sunrise and stops 5 minutes before sunset.
alias: PV - Poll Inverter
description: "polls solarman only during daylight"
trigger:
  - platform: sun
    event: sunrise
    offset: "00:10:00"
condition: []
action:
  - repeat:
      while:
        - condition: sun
          before: sunset
          after: sunrise
          before_offset: "-00:05:00"
      sequence:
        - service: homeassistant.update_entity
          data: {}
          target:
            entity_id:
              - sensor.solis_operating_status
              - sensor.solis_status_lastupdate
              - sensor.solis_inverter_current
              - sensor.solis_inverter_voltage
              - sensor.solis_inverter_ac_power
              - sensor.solis_inverter_frequency
              - sensor.solis_inverter_temperature
              - sensor.solis_pv1_current
              - sensor.solis_pv1_voltage
              - sensor.solis_pv2_current
              - sensor.solis_pv2_voltage
              - sensor.solis_total_dc_power
              - sensor.solis_daily_generation
        - delay:
            hours: 0
            minutes: 0
            seconds: 30
            milliseconds: 0
mode: single

Hi @gedger could you please tell me how to disable polling. Set the scan_interval to 0 or how is it done?

Easy, go to the integrations page, click on the three dots on the solarman integration, then system options. note, you need HA 21.6 or later.
https://www.home-assistant.io/blog/2021/06/02/release-20216/

Thanks! Should switch off localization 😅
I try using the device_tracker of my fritz.box as trigger and condition, should also work :-)


[Task 5] Animate Popup

Continued to Task 4, Lets add animation to the Popup appearance.
When the Popup is shown, lets make it slide from bottom to center of the page.
Read about CSS animation property` -> https://www.w3schools.com/css/css3_animations.asp
Bonus
Try to Re-implement Task 4, But do not use the event.stopPropogatio method, rather find an alternative way (  not JS ) to achieve the same goal.
Hint: Relates to CSS

Speak to me softly @omriu


Develop #37 #38

Coverage increased (+1.92%) when pulling d9052ce01a877bb40370d1e0d7fe724f2a856521 on develop into 27fa1c8e76dad4255f5ea42a71cd7bfbce304d8c on master.


[Bug]The docker container can not run with the default dockerfile

Current Behavior

Expected Behavior

modify the backup.yaml file
2.go build success with DockerFile
3.docker run failed

Steps To Reproduce
1.go build success with DockerFile

DockerFile

From  golang:1.18 AS builder

ENV GOPROXY="https://goproxy.io"
ENV CGO_ENABLED=0
WORKDIR /app
COPY . .
RUN go mod tidy
RUN go build -o /app/milvus-backup

From alpine:3.17
WORKDIR /app
COPY --from=builder /app/milvus-backup .
COPY --from=builder /app/configs ./configs
EXPOSE 8080
ENTRYPOINT ["milvus-backup", "server"]

2.and the backup.yaml

# Configures the system log output.
log:
  level: info # Only supports debug, info, warn, error, panic, or fatal. Default 'info'.
  console: true
  file:
    rootPath: "logs/backup.log"

http:
  simpleResponse: true

# milvus proxy address, compatible to milvus.yaml
milvus:
  address: <IP_ADDRESS>
  port: 19530
  authorizationEnabled: false
  # tls mode values [0, 1, 2]
  # 0 is close, 1 is one-way authentication, 2 is two-way authentication.
  tlsMode: 0
  user: "root"
  password: "Milvus"

# Related configuration of minio, which is responsible for data persistence for Milvus.
minio:
  address: <IP_ADDRESS> # Address of MinIO/S3
  port: 9000   # Port of MinIO/S3
  accessKeyID: milvus-minio # accessKeyID of MinIO/S3
  secretAccessKey: milvus-minio # MinIO/S3 encryption string
  useSSL: false # Access to MinIO/S3 with SSL
  useIAM: false
  cloudProvider: ""
  iamEndpoint: ""

  bucketName: "milvus-bucket" # Milvus Bucket name in MinIO/S3, make it the same as your milvus instance
  rootPath: "/export/milvus-bucket/file" # Milvus storage root path in MinIO/S3, make it the same as your milvus instance

  backupBucketName: "milvus-bucket" # Bucket name to store backup data. Backup data will store to backupBucketName/backupRootPath
  backupRootPath: "/export/backup/file" # Rootpath to store backup data. Backup data will store to backupBucketName/backupRootPath

backup:
  maxSegmentGroupSize: 2G

Environment
K8s

Anything else?
No response

kubectl  describe pod milvus-backup-f5f4ff5c7-hczjq   -n ns-milvus-prod
Name:         milvus-backup-f5f4ff5c7-hczjq
Namespace:    ns-milvus-prod
Priority:     0
Node:         <IP_ADDRESS>/<IP_ADDRESS>
Start Time:   Thu, 27 Apr 2023 15:23:41 +0800
Labels:       k8s-app=milvus-backup
pod-template-hash=f5f4ff5c7
qcloud-app=milvus-backup
Annotations:  tke.cloud.tencent.com/networks-status:
[{
"name": "tke-route-eni",
"interface": "eth0",
"ips": [
"<IP_ADDRESS>"
],
"mac": "92:a3:f3:bc:ae:20",
"default": true,
"dns": {}
}]
Status:       Running
IP:           <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/milvus-backup-f5f4ff5c7
Containers:
milvus-backup:
Container ID:   docker://c6a0a1b76adf0e72de2e0b2cad0a38668723c888f2912f3086cefc9383b61e4f
Image:          cloud-sample.tencentcloudcr.com/ns-milvus-prod/milvus-backup:master_txy_162ba2e
Image ID:       docker-pullable://cloud-sample.tencentcloudcr.com/ns-milvus-prod/milvus-backup@sha256:27b972385abe297eda8429ac1e25ed8a2fe27e6bae61b41a4da31b596b72c8d0
Port:
Host Port:
State:          Waiting
Reason:       CrashLoopBackOff
Last State:     Terminated
Reason:       ContainerCannotRun
Message:      OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "milvus-backup": executable file not found in $PATH: unknown
Exit Code:    127
Started:      Thu, 27 Apr 2023 15:34:26 +0800
Finished:     Thu, 27 Apr 2023 15:34:26 +0800
Ready:          False
Restart Count:  7
Limits:
cpu:                           2
memory:                        4Gi
tke.cloud.tencent.com/eni-ip:  1
Requests:
cpu:                           2
memory:                        1Gi
tke.cloud.tencent.com/eni-ip:  1
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-w9xjj (ro)
Readiness Gates:
Type                                                 Status
cloud.tencent.com/load-balancer-backendgroup-ready   True
Conditions:
Type                                                 Status
cloud.tencent.com/load-balancer-backendgroup-ready   True
Initialized                                          True
Ready                                                False
ContainersReady                                      False
PodScheduled                                         True
Volumes:
default-token-w9xjj:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-w9xjj
Optional:    false
QoS Class:       Burstable
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type     Reason                 Age                From               Message

Normal   Scheduled              13m                default-scheduler  Successfully assigned ns-milvus-prod/milvus-backup-f5f4ff5c7-hczjq to <IP_ADDRESS>
Normal   SuccessfulOccupyENIIP  13m                tke-eni-ipamd      Succeed to occupy ip <IP_ADDRESS> of eni eni-1swjk5t6 on node <IP_ADDRESS>
Normal   SuccessfulAssignIP     13m                tke-eni-ipamd      Succeed to assign ip <IP_ADDRESS> to eni eni-1swjk5t6
Normal   Pulled                 11m (x5 over 13m)  kubelet            Container image "cloud-sample.tencentcloudcr.com/ns-milvus-prod/milvus-backup:master_txy_162ba2e" already present on machine
Normal   Created                11m (x5 over 13m)  kubelet            Created container milvus-backup
Warning  Failed                 11m (x5 over 13m)  kubelet            Error: failed to start container "milvus-backup": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "milvus-backup": executable file not found in $PATH: unknown
Warning  BackOff                3m (x44 over 12m)  kubelet            Back-off restarting failed container

Error: failed to start container "milvus-backup": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "milvus-backup": executable file not found in $PATH: unknown  @yinheli   please help me check it

Thank you for bringing this to our attention. We noticed that your issue contains sensitive information such as accessKeyID and secretAccessKey. We kindly remind you to reset these credentials to ensure the security of your account.
Deploying the Milvus backup server with docker or k8s is still experimental, and we will publish our official docker hub image after testing.


Simple cleanup: Get rid of withCorrectDatastore, we no longer need work-around for mac

The withCorrectDatastore workaround for MacOS is no longer needed since https://github.com/dart-lang/appengine/issues/63 (aka https://github.com/dart-lang/sdk/issues/29240) was fixed (i.e. we have proper ALPN support in the SSL implementation of the DartVM on MacOS).

Does this require 1.25 or should it work on 1.24.2 too? Either that, or the lack of local memcache, but it is not working for me yet.

Requires at least the first release of 1.25 -
https://github.com/dart-lang/sdk/commit/644862bf966e6c079460258807ab3364b7e3759a
On Thu, Sep 14, 2017 at 3:04 AM, István Soós<EMAIL_ADDRESS>wrote:

Does this require 1.25 or should it work on 1.24.2 too? Either that, or
the lack of local memcache, but it is not working for me yet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/pub-dartlang-dart/issues/350#issuecomment-329436023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCis0INphzuME8_lRIisoS2u9SH0Kmks5siPomgaJpZM4PXOZz
.

Fixed in a7442c048f610d7670320eda0ee9bcbd56a8d263


Get GKPK working

[ ] read the title
[ ] do what title says
[ ] check this box
[ ] clean up
[ ] make efficient
[ ] release
[ ] prepare for bug reports that take decades to appear

[ ] LOLOL POOTIS - [ ] here


Erlang/OTP version resolution does not work as expected

Problem
From README:

However, values like 22.x are also accepted, and we attempt to resolve them according to semantic versioning rules.

Erlang/OTP version does not conform to SemVer, into the format outlined in SemVer 2.0 schema (i.e., MAJOR.MINOR.PATCH), so 22.x will not resolve to <IP_ADDRESS> as expected.
More specifically, actions/setup-elixir v1.4.0 uses semantic version resolution for Erlang/OTP, but Erlang/OTP version scheme does not follow SemVer and "In general, versions can have more than three parts.", so otp: 19.x resolves to 19.3.6, not <IP_ADDRESS>, as expected.
Solution
Build a resolver that works with Erlang - Versions - 5.3 Version Scheme.
The following shell function, which uses asdf-erlang and sed, can be used as reference:
$ resolve_erlang_version () { asdf list-all erlang $(echo $1 | sed s/\.x/./) | tail -1; }
$ resolve_erlang_version 22.x
<IP_ADDRESS>
$ resolve_erlang_version 22.2.x
22.2.8
$ resolve_erlang_version 22.1.8.x
<IP_ADDRESS>

I think implementing the version scheme is out of scope for right now. The fact that OTP releases are not SemVer is noted in the "Usage" section of the project readme, and for that reason, we recommend specifying exact versions for Elixir and OTP, otherwise we just make a best effort to resolve the OTP version (which as you have seen does not always result in what the user expects).


Project with child project in subfolders fails

With
parent
child
renaming parent project fails.
Removing child project first succeeds.

Microsoft Visual Studio
Close all folders, text editors related to the project
Could not find a part of the path 'C:\Dropbox\2018\Intronis\BlueSky-5.7.x-QaAutomation\QaAutomation\Firebird\AOD.FirebirdHelpersNew\FireBirdHelpers.UnitTests\FireBirdHelpers.UnitTests.csproj'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at Core.ProjectRenamer.RenameInProjectReferences()
at Core.ProjectRenamer.FullRename()
at RenameProjectVs2015Extension.RenameCommand.MenuItemCallback(Object sender, EventArgs e) in D:\Downloads\RenameProjectVsExtension-master\RenameProjectVsExtension-master\src\RenameProjectVs2015Extension\RenameProjectVs2015Extension\RenameCommand.cs:line 144
OK

The extension tries to find references to selected(renamed) project in other solution projects and to rename it. But cannot to find FireBirdHelpers.UnitTests.csproj file.
@aodennison Is it correct path to FireBirdHelpers.UnitTests project?
C:\Dropbox\2018\Intronis\BlueSky-5.7.x-QaAutomation\QaAutomation\Firebird\AOD.FirebirdHelpersNew\FireBirdHelpers.UnitTests\FireBirdHelpers.UnitTests.csproj

Apologies, Looks like my error, but a formatted error message, instead of a stack trace would be clearer.
Thanks for replying.


Gyro

ignore this, this is mistake

File is currently not ready for merging, also gyro has been completed for a while now, please make clear what you are trying to pull req before creating one, there are a lot of outdated files in here... and it looks like you just copy pasted main code to update yours, make sure to use a merge next time, and again, write something to say what you're trying to commit.


Bug: Can't use backspace as a hotkey combination for quick-action shortcuts

Can't use backspace as a hotkey combination for quick-action shortcuts. Using backspace just clears out the "hotkey combination" field.
However, it's possible to still use backspace in a shortcut by manually editing the quickactions.json file and using the "Back" keyword e.g.:
...
{
    "Id": "02931645-0241-45c9-9520-c5d7ce9c10d9",
    "Domain": "Script",
    "Entity": "on_backspace_pressed",
    "Action": "On",
    "HotKeyEnabled": true,
    "HotKey": "Shift, Control, Alt + Back",
    "Description": "Backspace shortcut"
  },
...

This actually works, so the problem seems to be purely on the UI-side. This is how it looks in UI after manual modification:

Windows build:

HASS.Agent version: 2.1.0

[x] Installed via installer

[x] Problem occurs in HASS.Agent

Replicated, thanks for reporting :)
I'll look into if/how this can be fixed.

So, looks like the library that was chosen (and included as dll in the project for some reason?) explicitly treats both backspace and delete as keys to clear the input of potential hotkey.
I'll try to think about a clever solution for this but for now we might be looking at a documentation note in case someone wants to use backspace - @DrR0X-glitch FYi :D

So, looks like the library that was chosen (and included as dll in the project for some reason?) explicitly treats both backspace and delete as keys to clear the input of potential hotkey.
I'll try to think about a clever solution for this but for now we might be looking at a documentation note in case someone wants to use backspace - @DrR0X-glitch FYi :D

Will definitely add it to the list to add, maybe also needs a quick note in the UI that tells you how to escape? "Press backspace or delete to cancel" would fix that quickly.


ENet "peer_connected" & "connection_succeeded" signals fired on Client after failed Connection to Server with (RefuseNewConnections = true)

Very simple. Title explains.
Couldn't find duplicate, but I heard there might have been one (known issue on Discord).
Godot version:
3.2.3 Mono
Issue description:

"peer_connected" & "connection_succeeded" signals fired on Client when attempting to connect to a Server which is has RefuseNewConnections = true.
After some time, "server_disconnected" is then called.
Peer Connected & Connection Success should never be fired.
Steps to reproduce:
App1: CreateServer()
App1: RefuseNewConnections = true
App2: CreateClient()

As far as I understand this is related to ENet.
What refuse_new_connections does is resetting the peer as soon as it tries to connect.
It does not send a disconnect message to the client, but disconnects if forcefully via enet_peer_reset.
It seems that the response to the connect event is still sent to the client though.
Probably, the ENet CONNECT event where we forcibly disconnect the peer, is dispatched after the client has received the ACK.
I'm not sure we can easily solve this with the current ENet API.

As far as I understand this is related to ENet.
What refuse_new_connections does is resetting the peer as soon as it tries to connect.
It does not send a disconnect message to the client, but disconnects if forcefully via enet_peer_reset.
It seems that the response to the connect event is still sent to the client though.
Probably, the ENet CONNECT event where we forcibly disconnect the peer, is dispatched after the client has received the ACK.
I'm not sure we can easily solve this with the current ENet API.

Yes, this seems an ENet thing - this should be caught by whatever handling the specific game has for timeouts.
Otherwise, there is not much we can do on our side (without hacks). I tend towards not fixing this.

Closing as duplicate of https://github.com/godotengine/godot/issues/45276


Windows Phone 8 Splash Screen Flickers

After updating the splash screens to be defined in config.xml, we are seeing a flicker on Windows Phone. You can read more details under #344

I found this particular one today while wrestling with the splash screen for wp8:

Leaving this set to false causes the splash screen on wp8 to flicker (ie, opens app to black, switches to grey, then black, then to the loading screen). Quite annoying. I'm not even sure we need this for the other platforms either?

Duplicate of #349


'function' object has no attribute 'func_name' when declaring sampler

Hello there,
My system was working well, yet it had only one CV. When trying to add another CV (or even to replace the initial CV with the second), I get a
long error, ending somewhere in netcdfplus/dictify.py:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-a5abddc54c49> in <module>
      1 sampler = paths.PathSampling(storage=paths.Storage("ca_7_13_test.nc", "w", template),
      2                              move_scheme=scheme,
----> 3                              sample_set=initial_conditions)

/media/Home/Documents/openpathsampling/openpathsampling/pathsimulators/path_sampling.py in __init__(self, storage, move_scheme, sample_set, initialize)
     76             template_trajectory = self.sample_set.samples[0].trajectory
     77             self.storage.save(template_trajectory)
---> 78             self.save_current_step()
     79
     80     def to_dict(self):

----/removed 675 lines/----

/media/Home/Documents/openpathsampling/openpathsampling/netcdfplus/dictify.py in callable_to_dict(c)
    392                        ',\n'.join(
    393                            map(lambda x: ' ' * 20 + x + '=' + x, global_vars)
--> 394                        ) + ')' + '\n'
    395                 err += '\n    and change your function definition like this'
    396                 err += '\n\n        def ' + \

AttributeError: 'function' object has no attribute 'func_name'

I really don't know how this error comes to be. The two CV functions are remarkably similar and both return a np.float64 value. The only difference I noticed is that when running
initial_conditions = scheme.initial_conditions_from_trajectories(trajectory)
with the new (erroneous) CV this is outputted:
trying strategy #2 split: still missing 1 samples ?
After which the missing sample is found and the command completes successfully.
I have zipped a notebook and the necessary files if you want to take a look at what's happening. The code block below contains everything I think is relevant, perhaps the error is obvious:
engine = ops_gmx.Engine(gro="236600_7_15.gro",
                        mdp="Stock_100ns.mdp",
                        top="236600.top",
                        options=options,
                        base_dir=".",
                        prefix="T4L").named("T4L_test")

def mindistances(frame, grp1, grp2):
    mindist = min([np.sqrt(sum(
        (frame.xyz[a] - frame.xyz[b])**2))
           for a, b in itertools.product(grp1, grp2)])
    return mindist

mdist = paths.collectivevariable.FunctionCV(
    "Mouth_distance", mindistances, template.topology,
    grp1=(385, 386, 370, 373), grp2=(2171, 2174, 2177, 2253))

opened = paths.PeriodicCVDefinedVolume(mdist, 1.5, 2).named("Open_state")
closed = paths.PeriodicCVDefinedVolume(mdist, 0.15, 0.3).named("Closed_state")

network = paths.TPSNetwork(initial_states=opened, final_states=closed)
scheme = paths.OneWayShootingMoveScheme(network,
                                        selector=paths.UniformSelector(),
                                        engine=engine)

trajectory = tools.ops_load_trajectory('236600_7_15.trr', top='236600_7_15.gro')
initial_conditions = scheme.initial_conditions_from_trajectories(trajectory)

I'll try further debugging myself tomorrow, but for now i'm taking a break

The error about func_name is a Py2/3 incompatibility that was fixed in #830 (which will be in release 1.1). It actually only errors when we're in the middle of writing another error message: that error is that you need to import numpy and itertools inside the mindistances function. See http://openpathsampling.org/latest/topics/creating_collective_variables.html for details.

Amazing! This does indeed resolve the issue, and it is documented so clearly as well.. I'm sorry for missing it before.
Two questions if I may:

Although it is necessary to import itertools, the CV function works fine without importing numpy. Why is this?

In the creating collective variables page you linked it is recommended to use CoordinateFunctionCVrather than FunctionCV if the CV only depends on coordinates. I take it in this case I should use CoordinateFunctionCV, but I'm confused about the difference between the two. Is it purely performance-wise? Do they work exactly the same?

No worries on missing those docs; I'm the first to say that it can be hard to find the relevant information in the documentation. Most things are documented somewhere, but it isn't clear where to look.

Although it is necessary to import itertools, the CV function works fine without importing numpy. Why is this?

This is @jhprinz's part of the code, so he could say for sure, but my guess is that he allowed certain special cases to skip the import. NumPy is required for OPS, so we are sure that you have it installed on any computer where you run OPS. (itertools is Python std lib, so maybe it and other std lib things should be treated that way too....)
That said, the better practice is to import inside the function for these. Recently I've been working on how CVs will work in the new storage, slated for OPS 2.0, and I don't think that code allows un-imported numpy (in fact, I think that was the test case in the unit tests.) The general rule is that you need those in-function imports, and "special cases aren't special enough to break the rules."

In the creating collective variables page you linked it is recommended to use CoordinateFunctionCV rather than FunctionCV if the CV only depends on coordinates. I take it in this case I should use CoordinateFunctionCV, but I'm confused about the difference between the two. Is it purely performance-wise? Do they work exactly the same?

Minor performance difference. Frequently, we need to reverse time in path sampling (in TIS, for example, the path reversal move, which just flips the arrow of time in the trajectory, facilitates decorrelation and is necessary in interface constrained shooting). CoordinateFunctionCV promises that the time-reversal doesn't change the value of the CV, so you don't recalculate the CV when you reverse the path (a second reversal wouldn't calculate it anyway, thanks to some clever work by @jhprinz so that snapshots know their time-reversed versions.)
Note that it is really an IndependentOfTheArrowOfTimeFunctionCV, but that name is a little too long. For example, people have used kinetic energy as part of a CV (see the first TIS paper). That would also work for CoordinateFunctionCV. (Aside: I'm not entirely sure that OPS would sample correctly if you used a velocity-dependent CV, because I think it might do the backwards shot incorrectly -- that's a bug to fix someday if it actually causes a problem.)

Just checking in on this -- I assume this issue can be closed? (And that there haven't been any other problems with the Gromacs engine in the last week?)

Yes, i'm sorry for not doing so earlier!
As a final side note: I noticed that when calling a numpy function explicitly e.g. numpy.asarray(), it does need to be imported in the CV.
For separate problems, I'll make separate issues when they arise ;)


Make chai-webdriverio compatible with WebdriverIO v5

This pull request fixes issue https://github.com/marcodejongh/chai-webdriverio/issues/48 and makes chai-webdriverio compatible with the new version 5 of WebdriverIO. The changes introduced with WebdriverIO 5 can be found here.
The pull request introduces the following changes (as also stated in the change log):
Breaking changes

.visible() is renamed to .displayed() to be in line with new WebdriverIO wording

Added feature

Compatability with WebdriverIO v5
TypeScript types are now shipped directly with the chai-webdriverio package

Bug Fixes:

.focus(), .text(), .value() exssertions do now wait until [at least one] selected element matches the assertion, not only until [at least one] element with the given selector exists.

Great update!  I'm not sure about switching to a mirrored versioning scheme, since that would make it impossible to indicate breaking changes in this library before a new version of webdriverio comes out.  My instinct would be to just move it to 1.0.0 and update the Readme with a version compatibility section.  But then, I'm not really maintaining this library anymore so if you have had luck with mirrored version schemes and would like to restrict breaking updates of this library to the release cycle of webdriverio, then feel free to indicate the new versioning scheme concept in the README to clarify for other contributors and keep it at 5.0.0!  Also, could you add to the README that this new version (1.0.0 or 5.0.0, whichever it is) won't support Node versions < 8.x and update .travis.yml to indicate node_js version 8.15.1?  In fact, if you choose to stick with a mirrored versioning scheme (5.0.0) then I would be tempted to test with 10.x (since 8.x reaches EOL in December) and indicate that it may work with 8.x indefinitely, but 8.x compatibility going forward is not guaranteed for future updates of major version 5.

@mltsy
Thanks for your feedback!
I'm not sure about the versioning, but I see your point regarding breaking changes in this plugin, so maybe making this a 1.0.0 would be the better choice. I don't have any experiences with versioning - this is my first contribution to open source ever.
I already saw that the travis-build broke because of the npm version. Will definitely take a look at that and update .travis.yml and README.

First contribution to open source ever! 🎉  Wow, well nice work, this looks a lot better than my first open-source contribution, which I'm pretty sure was like 2 lines, or more likely a documentation update 😉  Ope Source has been missing OUT! ⭐

@marcodejongh - I think this is ready to merge and release as v1.0.0 if you have a moment sometime to make the release (or perhaps you want to release it as 1.0.0-rc.1 just in case there are issues that require more breaking changes).

Thanks for updating this package.
Is this going to be merged?  I have been waiting for this functionality.

@rpii - see https://github.com/marcodejongh/chai-webdriverio/issues/49 (perhaps you'd like to take over releases, or know someone who might be up to it?)

Joe,
I am just new to webdriverio and seeing if its suitable for us.  Need this technology bad  to port over many selenium java tests.
I am not comfortable taking over releases at this point.
Rich
From: Joe Marty<EMAIL_ADDRESS>Sent: Monday, March 18, 2019 2:05 PM
To: marcodejongh/chai-webdriverio<EMAIL_ADDRESS>Cc: Peters, Richard<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [marcodejongh/chai-webdriverio] Make chai-webdriverio compatible with WebdriverIO v5 (#50)
@rpiihttps://github.com/rpii - see #49https://github.com/marcodejongh/chai-webdriverio/issues/49 (perhaps you'd like to take over releases, or know someone who might be up to it?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/marcodejongh/chai-webdriverio/pull/50#issuecomment-474100666, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQAUEb9IeKGpFoHO7JKnLH5Unfnd3WVIks5vX_94gaJpZM4bYrbq.

No problem.  I don't do node development anymore so I have none of the tools installed.  I don't know how long it will be before Marco might deploy this.  I'd also hate to release a v1.0 indicating it's "production-ready" if there's nobody around to manage releases, so unfortunately you might have to wait for someone who is up for it.

@mltsy I thought I gave you access to the npm module?
Let me know if this is ready and I'll merge & publish it

Actually looked good to me, published! 🎉

Yay! 😄 (Yeah, sorry, I couldn't remember if you had or not, but when I went to look I realized that I didn't have npm or even Node installed, because I don't use either of them anymore - so I'm kind of out on implementation tasks for this one - just trying to help with communication when I can.  Glad you were able to get to it!)


Document what is a provider dependency

I've often seen this term but I don't know what it means and no mention in the docs.
Does it avoid to do a ref.watch when you don't need the returned value but still want to rebuild the provider when another changed ?

I've also found vague dependency stuff.
I would love to know how to use this feature.
I've been through some State Managers and because I respect Remi a lot, I'd like to stop at Riverpod and really understand how things work to develop good codes with Riverpod and be able to help other colleagues, like Remi does with us.

It's a general programming term. The meaning is the same as in DI (Dependency Injection).
If a provider uses something, that something is a dependency of the provider, no matter how the object is used.
watch vs listen vs read does not matter in this discussion. In fact, Riverpod doesn't matter either.
Widgets have dependencies too for example. Say you call Theme.of in a widget, then your widget has a dependency on ThemeData.

The IDE documentation covers this
https://pub.dev/documentation/riverpod_annotation/latest/riverpod_annotation/AutoDisposeFutureProviderFamily/dependencies.html
https://pub.dev/documentation/riverpod/latest/riverpod/AutoDisposeStateNotifierProviderFamily/dependencies.html

Sorry.
I understand the theory.
But let's go.
There is a simple and clear example of using dependency.


Added additional_trust_certs_file parameter

Added optional additional_trust_certs_file parameter to the provider for
referencing additional trusted certificates when accessing SOLIDServer.

Thank you very much for your contribution.

Thank you for merging this PR.


android: update version to 29

Description: actions infra is failing to start android 28. However, android 29 works fine. This PR updates CI to start the android emulator with android 29.
Risk Level: low
Testing: local and CI
Docs Changes: updated the docs to SDK version 29 for requirements
Fixes #841
Signed-off-by: Jose Nino<EMAIL_ADDRESS>

https://github.com/lyft/envoy-mobile/pull/843/commits/9a86d6917127a0e1316ba9ff5132c8f519152b69 was green, so going to merge now to unwedge the repo. The newer commit is just a docs change.


helm install --ca-file not working

Output of helm version:
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"dirty", GoVersion:"go1.14.3"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T20:55:23Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}

Issue:
$ helm install mychart k8s/chart --values k8s/values.yml --debug --dry-run --kube-token $K8S_DEV_TOKEN --kube-apiserver $K8S_DEV_SERVER --ca-file $K8S_DEV_CA
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /my/path/k8s/chart
Error: Kubernetes cluster unreachable: Get https://my.cluster.name:1234/version?timeout=32s: x509: certificate signed by unknown authority
helm.go:84: [debug] Get https://my.cluster.name:1234/version?timeout=32s: x509: certificate signed by unknown authority
Kubernetes cluster unreachable
helm.sh/helm/v3/pkg/kube.(*Client).IsReachable
	/home/circleci/helm.sh/helm/pkg/kube/client.go:101
helm.sh/helm/v3/pkg/action.(*Install).Run
	/home/circleci/helm.sh/helm/pkg/action/install.go:174
main.runInstall
	/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newInstallCmd.func1
	/home/circleci/helm.sh/helm/cmd/helm/install.go:117
github.com/spf13/cobra.(*Command).execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
	/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
	/usr/local/go/src/runtime/proc.go:203
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357

I tried this with multiple values for $K8S_DEV_CA (file name with certificate as content, filename with base64 encoded content, base64 string, certificate string) but none was working. I suspect helm just doesn' respect the --ca-file flag.
In other issues I was reading that this is related to --key-file and --cert-file, but I'm not after client cert authentication here. I just have a custom CA on my API server.

/kind bug
/assign

@Cweiping were you able to determine what might be the cause, if any?

@Cweiping were you able to determine what might be the cause, if any?

I also use custom CAS to test locally, but I can't repeat this issue. I think this problem is caused by certificate issues or SSL dependency of the client.
For this, I suggest that you use curl debugging to troubleshoot the problem.


vsc.int_t initial negative values

Tested with <IP_ADDRESS>10424.1
Does not seem related to https://github.com/fvutils/pyvsc/issues/69 because the solver is not called.
import random
from vsc import *

@randobj
class cl:
  def __init__(self):
    self.x = list_t(int_t(16), init=[random.randint(-2, -1) for _ in range(1)])

c = cl()
c.randomize()
if c.x[0] > 0:
  raise RuntimeError('Value greater than zero')

Hi @edcote,
Okay, I believe this is now working properly. Fixing this issue on its own was pretty simple, but I wanted to expand the testing a bit since coverage was a bit light for width-masking on signed and unsigned types.
Fixes are present in v0.3.5 and on GitHub.
-Matthew


Rm libcrypto

Coverage remained the same at 65.77% when pulling 89d326ec5fb11f1224efa8075c7a834be06b28c9 on trixirt:rm-libcrypto into da815b44a361ce03912e3ef8978e73be08b86284 on OPAE:master.

Sorry, the pr is for rpm building.  generally there are a lot of problems.
libcrypto.so was flagged in the rpm build as not having the correct rpath, but generally including a prebuilt binary in a library is a huge security problem.
The intent is not to remove any building, anything removed was a duplicate or should be a a duplicate of building via cmake.

With these changes, building with packaging/opae/rpm/create works on fedora 33
Cherry picked some commits from
https://github.com/OPAE/opae-sdk/pull/2031
Left behind are the opae.admin pacsign cmake changes

rpmlint errors resolved on fedora 33
Mostly permission problems on packaged files
Restored custom build of opae.admin and pacsign

Can you please change the title of this PR? I didn't notice that it was about building RPM's (which I need) because of it...

For the record: to make rpm packaging work on RHEL 8.2 the call to cmake needs "backporting":
diff --git a/packaging/opae/rpm/create b/packaging/opae/rpm/create
index c05115df769b..74cb44a12a4d 100755
--- a/packaging/opae/rpm/create
+++ b/packaging/opae/rpm/create
@@ -78,8 +78,9 @@ CMAKE_BUILD_DIR="${SDK_DIR}/_build"
 rm -rf ${CMAKE_BUILD_DIR}
 mkdir ${CMAKE_BUILD_DIR}

-cmake -S ${SDK_DIR} -B ${CMAKE_BUILD_DIR}  -DOPAE_BUILD_LEGACY=ON  -DOPAE_BUILD_TESTS=ON -DOPAE_BUILD_EXTRA_TOOLS_FPGABIST=ON
-
+pushd ${CMAKE_BUILD_DIR}
+cmake ${SDK_DIR} -DOPAE_BUILD_LEGACY=ON  -DOPAE_BUILD_TESTS=ON -DOPAE_BUILD_EXTRA_TOOLS_FPGABIST=ON
+popd

 # Create source tarball.
 cd "${SCRIPT_DIR}"

rhel building will happen after fedora, this is a large, old pr just for building on fedora.  i would rather not add anything more to it.

Some issues fixed.
New changes because of rpm breaking with libfpgaperf_counter

rebased to today's master
dropped libcrypto change
fixed missing libofs_cpeng.so in spec


Possible Race Condition on iPhone 11 Pro on Start Up

Bug Report
Problem
Our customers report random white screens on app launch on iOS devices. While almost all devices happen to launch the app successfully after some retries the iPhone 11 Pro always starts with a white screen. That got me (after long blackbox digging) to the assumption that fast iPhones have the Problem and that WKWebView maybe starts with a race condition.
On my iPhone 11 Pro simulator I luckily got a 50/50 chance of a white screen so I started debugging CDVWKWebKitViewEngine.m. I have absolutely no knowledge in Objective-C so I just restarted over and over again to spot randomly the differences in the call stack. While doing this I slowly got an understanding of how the plugin might be working under the hood. userContentController:didReceiveScriptMessage seems to play a role in the successful startup of the container and all scripts and assets being loaded.
After a long time I recognized that breaking the code at line 321 in CDVWKWebKitViewEngine.m got the app working constantly in the simulator which brought me adding a sleep timer in line 321:
- (id)forwardingTargetForSelector:(SEL)aSelector
{
    [NSThread sleepForTimeInterval:1.0];
    return _engineWebView;
}

That at least got the app starting without breakpoints in the simulator. However on the physical device it kept the white screen.
I will now go on debugging to spot another point. But any help or hints are highly appreciated.
What is expected to happen?
App should start correctly after splash screen.CDVWKWebKitViewEngine.m -> userContentController:didReceiveScriptMessage should be fired on every App start reliably.
What does actually happen?
userContentController:didReceiveScriptMessage is only fired on iPhone 11 Pro Simulator, iOS 13.3 when [NSThread sleepForTimeInterval:1.0]; is added in line 321 in CDVWKWebKitViewEngine.m:
- (id)forwardingTargetForSelector:(SEL)aSelector
{
    [NSThread sleepForTimeInterval:1.0];
    return _engineWebView;
}

Without adding the sleep line I encounter a white screen in 5 out of 10 cases in the simulator. userContentController:didReceiveScriptMessage is not fired in those cases.
On physical iPhone 11 Pro, iOS 13.3.1 the app launches constantly with a white screen after splash and
userContentController:didReceiveScriptMessage is not fired - even if I set the sleep to 5 seconds.
Information

Command or Code

Environment, Platform, Device

iPhone 11 Pro Simulator, iOS 13.3 (App starts after 1 sec sleep hack)
iPhone 11 Pro, iOS 13.3.1 (Still broken)

Version information
Cordova:

9.0.0<EMAIL_ADDRESS>cordova-plugin-camera: 4.1.0
cordova-plugin-device: 2.0.3
cordova-plugin-dialogs: 2.0.2
cordova-plugin-file: 6.0.2
cordova-plugin-media-capture: 3.0.3
cordova-plugin-statusbar: 2.4.3
cordova-plugin-wkkeyboardfix: 1.0.1
cordova-plugin-wkwebviewxhrfix: 0.1.0

React:

onsenui: 2.10.8
react: 16.8.6

XCode: 11.3.1
MacOS Catalina 10.15.4
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

Just wondering, are you missing the following in config.xml?
<preference name="SplashScreenDelay" value="1000"/>

Is the splashscreen plugin necessary for the application to load? However I migrated to capacitor due to the very low maintenance of cordova so I can close this issue.

Hi - Any update on this? I am having the same exact issue. It seems that the white screen appears for me only when <preference name="WKWebViewOnly" value="true" /> is included in my confix.xml. Once I remove it... the app works.

Do yourself a favour and migrate to ionic capacitor if possible. Its much easier to set up, its compatible with cordova plugins and its still maintained properly. That whitescreen of death will only get worse with each new iOS version.

Hi - Any update on this? I am having the same exact issue. It seems that the white screen appears for me only when <preference name="WKWebViewOnly" value="true" /> is included in my confix.xml. Once I remove it... the app works.

This means you are not using the proper config.xml settings or a plug you are using is causing the issue.
See: https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html  on proper configuartion.
If you are using Onsen, make sure you call:
ons.fastClick.destroy();

in oDeviceReady()
If using Monaca.io, see the following:
Select "Configure -> App Settings for iOS" from the IDE header menu and update the item "WebView Engine" to "WKWebView".
For the build environment, select the menu "Build-> Build Environment Settings..." and set "iOS 5.1.1" and "Xcode 11.3".
Select "Configure -> JS/CSS Components Settings..." and update Monaca Core Utility to version 2.1.0
Select the menu "Build-> Build App for iOS ..." and start building with the custom build debugger.
Source: https://monaca.io/headline/index.html

Is the splashscreen plugin necessary for the application to load? However I migrated to capacitor due to the very low maintenance of cordova so I can close this issue.

Not sure about your exact setup, but making a statement like that is not helpful when there is in fact lots going on in Cordova, see: https://cordova.apache.org/blog/

OK! then forgive me my passive agressive statement, it was due to days of long and frustrating trial and error. Including all combinations of fixes(yes also fastclick.destroy) from the few information that I found on those very specific problems.
My builds remained failing randomly on all the possible iOS devices, when I got it working on one it started something strange on another. In the end I reflected that this should not be the development experience and I switched to capacitor which does everything cordova did right but has leaner xcode and android studio projects (just as I always wished from cordova) and helps much better to get a foot into the native API and custom native code. And its true when critical plugins like this have about 10 issues from 2019 which haven't been answered yet and a JIRA board with half of the issues in "won't fix" state there is a clear lack of maintenance.
Thats only my personal opinion and I indeed wanted to help you with my recommendation to migrate.

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

Facing the same issue White Screen appears after upgrade UIWebView to WKWebView Plugin #141 . Please help to resolve this issue.

@timbru31 issue is with ios 13 version with WKWebView

That’s not what we’ve asked for.

3

Again, writing "I'm having the same problem" does not help to debug the issue. We need a reproducible example in a plain Cordova app.

I think we have a problem with time pressure here. People are forced to migrate and have no time to provide a minimum example. Can you maybe use my sleep hack as a hint where the unstable behaviour in the native bridge happens?

@timbru31 reproduction repository has been created, please fetch the below repository.
https://github.com/saqib-dev/Cordova-WKWebView-Upgrade

@timbru31 Issue reproduced repository is created. Can you get the checkout and assist to resolve the issue ?

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


add clean to catalog

Be sure to clean up the catalog assets once it has run

the 6.0.0 release has changed how clean functions and catalog has been included into the clean  mechanism.


Change how indexing is performed

Presently, a documentation build sends a request to the standard-search service, which then sends HTTP requests to each web page and indexes them. This is slow due to the network.
(Because of how OCDS documentation is staged, this also means that content on branches that need to be moved to production needs to be re-indexed after the move.)
Instead, the documentation build can install a standard-search CLI and run a command to "crawl" the local files, which will be fast. It then POSTs the indexed content to the standard-search service. This is fast.
(For OCDS documentation, it means production content is indexed before it's moved, but our process is to move immediately after build.)

(For OCDS documentation, it means production content is indexed before it's moved, but our process is to move immediately after build.)

With https://github.com/open-contracting/deploy/issues/183, there's a clear separation between staging and production (staging is under a /staging/ directory).

so we'll need to add a step during production deployment to re-index the site.

Already documented here: https://ocdsdeploy.readthedocs.io/en/latest/deploy/docs.html#copy-the-files-to-the-server


fastboot

Is your feature request related to a problem? Please describe
I am missing fastboot
Describe the solution you'd like
add fastboot
Describe alternatives you've considered
No response
Please specify the version of Windows Subsystem for Android
2304.40000.5.0

We currently don't have plans to support fastboot. Can you further detail what development scenarios this is blocking for you?

I want to install twrp for testing Magisk

Thanks for the details.
It appears your intention is to modify/replace the Android image provided with WSA. This is not something we currently plan to support.
The issue tracker is intended for developer issues/feedback related to development of Android applications on WSA.


fix: remove unneeded dependency

Coverage remained the same at 100.0% when pulling cfa9b72991aeaf8188637dacf1b49e522f32e973 on remove-dep into f3af94d6c8a56dcdfed14f085d07241b8c481179 on main.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Fixes #95: Reporting VM IP addresses

Please describe the change you are making
This PR adds support for querying the VM IP addresses and fixes #95. Thanks to @lveyde for the QCOW image making the automated tests possible.
Are you the owner of the code you are sending in, or do you have permission of the owner?
Yes
The code will be published under the BSD 3 clause license. Have you read and understood this license?
Yes

@eslutsky this one is mostly ready for review, the live tests may need some minor adjustments.

@eslutsky this PR is now working and tested against the engine too. We are also fixing a bug in creating the disk (related to the disk size).

/ost

can we also add test  for WaitForIPAddresses together with includedInterfacePatterns params


Remove Android from browser detection

Removes Android from the browser detection code and removes all related code based on these checks. This removes the following APIs:

L.Browser.android
L.Browser.android23
L.Browser.androidStock

I think if we are going to keep any browser detection then it should be around our supported browsers. Or even better, the browser engine. For example, L.Browser.chrome could become L.Browser.blink and L.Browser.firefox could be L.Browser.gecko.
This is mostly because there is no real difference between browsers such as Chrome, Chromium, Opera, Samsung Internet, Edge, etc. They are all just shipping different versions of the same engine.


schema update deletes fields

When updating a schema like this:
.\gam.exe update schema schemaname field fieldname type string restricted endfield
the field gets created, but will be the only schema field. Other field(s) are deleted, and any data contained will be lost.
To reproduce:
.\gam.exe create schema schemaname field fieldnameA type string indexed restricted endfield
.\gam.exe update schema schemaname field fieldnameB type string restricted endfield
.\gam.exe info schema schemaname
Schema: schemaname
schemaId: --edited--
Field: fieldnameB
fieldType: STRING
readAccessType: ADMINS_AND_SELF
fieldId: --edited--
tested with:
GAM 3.65 x64 version on Win2012R2
GAM 3.65 on OSX 10.10 python 2.7.10

👍 -- I just lost a bunch of data because of this. Luckily nothing was relying on this data yet.

This is the expected (though maybe not desirable) behavior. The Google API expects that you supply the entire field list on a create or update call. The documentation doesn't say it explicitly this but that's the way it works. Documentation here: https://developers.google.com/admin-sdk/directory/v1/guides/manage-schemas
Scroll down to the Create a custom user schema/Update a custom user schema
The example defines a schema with two fields and then updates it to have only one field. There is no add a field, delete a field functionality.
All of the Google APIs I'm aware of do this, you can't incrementally update a list, you have to specify the full list each time.

We could get existing fields for a schema and include them when adding new via update. We'd also need to add arguments to remove a specific field in that case.

Hiya @jay0lee,
I'm not arguing with whether this is expected or not on the Google API side; looking at the Directory API, it's pretty clear now. However, I'd offer that this is an inconsistent and poor user experience in GAM given the other similar update commands don't blow away other attributes on the same object. For example, when I run gam update user<EMAIL_ADDRESS>ou "/Employees" the other user attributes aren't blown away.
The update command doesn't suggest a destructive action (i.e., gam.py delete schema schemaname), so someone not familiar with the API wouldn't necessarily expect the update command to destroy data (or require all the previous field names to preserve that data).
I like your suggestion of getting existing fields from the schema and including them in the update (not sure whether this will preserve the data in the existing fields or just wipe them and create them again?); that would bring consistency to the UX. Otherwise, I might consider alternatives that don't signal the same kind of expectation of an update. Maybe recreate or replace?

OK, this should be fixed. "gam schema update" now gets the schema from Google in order to add fields without removing others. There's also now a deletefield argument:
gam update schema schemaname deletefield old_field
that will remove a field from the schema. You can also update fields in some ways. For example:
gam create schema field myfield type string endfield
gam update schema field myfield type string multivalued indexed restricted endfield
will work. Indexed and restricted can be added/removed as desired but once a field is multivalued, it can't be removed.
This should be out in 3.71 which I plan to release soon to fix some other bugs.

Jay,
I've got a couple of 3.7 fixes as well, as soon as the bear that is eating
my foot goes away, I'll generate a pull request.
Ross
On Fri, Aug 19, 2016 at 1:07 PM, Jay Lee<EMAIL_ADDRESS>wrote:

OK, this should be fixed. "gam schema update" now gets the schema from
Google in order to add fields without removing others. There's also now a
deletefield argument:
gam update schema schemaname deletefield old_field
that will remove a field from the schema. You can also update fields in
some ways. For example:
gam create schema field myfield type string endfield
gam update schema field myfield type string multivalued indexed restricted
endfield
will work. Indexed and restricted can be added/removed as desired but once
a field is multivalued, it can't be removed.
This should be out in 3.71 which I plan to release soon to fix some other
bugs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/229#issuecomment-241121630, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIU8L-vLkICKhRx5_PFtXUhk_BivQzLDks5qhg0SgaJpZM4I04_r
.

--
Ross Scroggs
<EMAIL_ADDRESS>


Broken compose checkbox filtering

When you try to filter records by checkbox, the filter is broken and you are receiving the error Could not load record list: pq: syntax error at or near "$3"

Related to previous bug report:
https://github.com/cortezaproject/corteza/issues/583

Ref branch for this fix# 2022.9.x-fix-checkbox-filtering

Tested and confirming that this now looks good. @vicpatel the only thing left now is the CL entry.

Fixed
What was fixed

Fixed filtering for bool type for equal and not equal operator.

How was it fixed

By adding custom val hanlder for bool type to convert it properly while parsing the query according to supported drivers.

Merged!

CL added, moving the card to Done.


kfp enhancement with new parameters

Why are these changes needed?
New parameters for doc-id and ededup need to be added to kfp for these transforms
Related issue number (if any).

please update kfp/superworkflows/ray/kfp_v1/superworkflow_code_sample_wf.py, kfp/superworkflows/ray/kfp_v1/superworkflow_dedups_sample_wf.py and kfp/superworkflows/ray/kfp_v2/superpipeline_noop_docId_v2_wf.py

The workflows are OK, but please update kfp/superworkflows/ray/kfp_v1/superworkflow_code_sample_wf.py, kfp/superworkflows/ray/kfp_v1/superworkflow_dedups_sample_wf.py and kfp/superworkflows/ray/kfp_v2/superpipeline_noop_docId_v2_wf.py

Done


Changed the type of SQS message's attribute

According to the AWS library of Java, SQS message's attributes should be String.
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/sqs/model/Message.html
For example, I cant' get "ApproximateReceiveCount" by the current implementation.

The AWS library for Java doesn't use enums, which is why they specified a String. We need to look into why ApproximateReceiveCount is not a member of the enum.

This was addressed in c00923192cc55a640394b8eebf08b0bb6c3a9a30


chore(ci): enable kafka in backwards compat test

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Wait for #10412 to merge first.

[ ] Checkout and build old risingwave on $TAG.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

Documentation

[ ] My PR contains user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

Just testing it on CI.


openvpn: Update to version 3.2.0

There is no new version available

There is the community version and the official client. they are both free but the community version is open sourced.

THen it cannot be added here when they are completely different clients maintained by different teams.


Add Japanese project structure page

Changes

Translated the project structure page into Japanese.

Testing

I have confirmed that all the links work in my local environment.

Sorry that all I can do is a quick Google Translate check for anything that might stand out, and verify the links. But on that basis, looks good to me! Thanks.  :)


How to build the WebRtc.NET.dll and WebRtcNative-x86.dll?

Hello,
How to build the WebRtc.NET.dll and WebRtcNative-x86.dll?
Is there any open source code can be downloaded?
Thanks

I got them from https://github.com/radioman/WebRtc.NET/tree/staging
You should be able to just clone that branch and build and it should work. Let me know if you have issues with that, I remember there was some annoying things it took me a while to get working right

Hi Phylliida,
Thanks for your reply.
I have success build the WebRtc.NET.dll and WebRtcNative.dll Release(x86/x64) version.
But I have some questions.

Did you ever modify the sample code?
I try to replace your WebRtc.NET.dll and WebRtcNative.dll with my files.
It will report compile error because it can't find the OnDataChannel function from my DLL.
After add and export this function by myself, it have build success.
But, I'm not sure my change is correct or not...I just pass this callback from Conductor::OnDataChannel().

How to run the WebRtc.NET.Demo application?

How to update the webRtc native dll files to latest version?

That is probably correct, yes
Honestly I'm not sure it always has issues for me
If you are using Unity, you'll need to replace them in the Plugins folder and delete the old .meta files. Make sure you have Unity closed while you do this or Unity might prevent you from changing it in a weird silent way that is hard to notice. If you aren't, just overwrite wherever you had the old dlls in with the new ones

Sorry, I should be describe more detail for question-3
I'm using Unity, but I'm not asking how to replace this dlls.
I'm talking about the webRtc native dlls(Build from Google).
Because WebRtc.NET is wrap webrtc native libraries, but their libraries is a little old(Build on 2017)
I want update these libraries to latest version.
Did you ever try it?

Oh see what you are saying. I would like to, in fact the reason this repo hasn't got any updates recently is because I've been trying for so long to get a more recent version of WebRTC building for a while now. I have probably hundreds of hours just spent trying to get WebRTC working reliably in Unity but this project is as close as I've got.
The problem is that WebRTC is super bloated, a PITA to build on Windows, and I kept running into obscure bugs/segfaults when trying to do simple examples. Recently I've been reading about ICE/STUN/TURN because I think I might just end up seeing if I can avoid WebRTC altogether if possible. I just uploaded a Websocket only unity package you could try using instead if you are running into reliability issues or anything. It's dependencies should be much easier to build.
Also, the other issue you may run into is that the more recent versions of WebRTC build using the Windows 10 C# .NET apis. Unity finally has .net 4.x support, but that's different than Windows 10 C# .NET in weird annoying ways.