Socket UDP: Low transmission efficiency

when i upgrade zephyr from v1.13 to v1.14 i found udp send data become low efficiency.the same data v1.13(not socket) use 93us, and v1.14(socket) use 200us. who can give me some advises.

If you have UDP sending using native API and then in newer version use BSD socket API, you will get different results. The reason is that the socket API is built on top of native networking API (net_context). The difference looks quite big thou, I would have imagined the difference being smaller.

The summary is a bit scarce on details: which target? what's the use-case? How has this been measured?

@jukkar , yes, i have use net_app API in 1.13, following udp client

@tbursztyka
1.target board is based on STM32F407
2.udp client send data to PC which from RF(radio frequency)
3.measured by
/* capture initial time stamp */
start_time = k_cycle_get_32();
/* do work for some (short) period of time */
...

/* capture final time stamp */
stop_time = k_cycle_get_32();

Could be also related to echo-client application which was rewritten using sockets for 1.14.

@jukkar  yeap, i have followed echo-client sample to edit my code.

can i use https://github.com/zephyrproject-rtos/zephyr/blob/v1.14-branch/tests/net/udp/src/main.c?

can i use https://github.com/zephyrproject-rtos/zephyr/blob/v1.14-branch/tests/net/udp/src/main.c?

You are of course free to use these lower APIs if you really want but we would like to people to use BSD socket interface as that will be a stable API for apps. Also please note that those low level APIs cannot be used from user mode as only BSD socket interface has syscall interface and memory protection implemented.
If you have offloading enabled then the very low level APIs will not utilize that, but I suppose this is not the case here if you seek maximum performance.

@jukkar i found if disabled gPTP, the send time from 200us to 170us. i want to know weather anyone have test the efficiency about socket udp.

We had earlier throughput sample app that could be used to measure some throughput values but it was removed when we removed net_app API. I have been planning to convert it to use sockets but so far I have had no time to do it.
There is also zperf network sample that can give you network timing values and throughput information.


Black screen when testing on iOS simulator

Hello, guys. Thank you for the great library. When testing on the device the video is working but on the iOS simulator it's showing black screen. Reading through the issues I didn't find similar issue. Can someone help me with that?
                   <Video
                        source={{ uri: 'url' }}   // Can be a URL or a local file.
                        ref={(ref) => { this.player = ref; }}                             // Store reference
                        rate={1.0}                     // 0 is paused, 1 is normal.
                        volume={1.0}                   // 0 is muted, 1 is normal.
                        muted={false}                  // Mutes the audio entirely.
                        paused={this.state.paused}                 // Pauses playback entirely.
                        resizeMode="cover"             // Fill the whole screen at aspect ratio.
                        repeat={false}                // Repeat forever.
                        playInBackground={false}       // Audio continues to play when app entering background.
                        playWhenInactive={false}       // [iOS] Video continues to play when control or notification center are shown.
                        progressUpdateInterval={250.0} // [iOS] Interval to fire onProgress (default to ~250ms)
                        onLoadStart={this.loadStart}   // Callback when video starts to load
                        onLoad={this.setDuration}      // Callback when video loads
                        onProgress={this.setTime}      // Callback every ~250ms with currentTime
                        onEnd={this.onEnd}             // Callback when playback finishes
                        onError={this.videoError}      // Callback when video cannot be loaded
                        onBuffer={this.onBuffer} // Callback when remote video is buffering
                        style={styles.backgroundVideo}
                    />

@zakster12 Thanks for the info. Would you mind moving your question to StackOverflow? Feel free to drop your link here in case others have a similar problem. Thanks!

https://snag.gy/SacBbg.jpg
I'm having the same issue. Just blank screen.


[FEATURE]  Cant Search by AssetID in dex

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Debian/Ubuntu/iOS]
Browser/JVM [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Still not working for me. Does it work fir you @cryptobrokersou?


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Version 5.0.0 not working on Android

I don't know why, but ionic-image-loader 5.0.0 is not working on Android. Switched back to 4.2.1 and there everything works as expected!

I confirm it is not working with 5.0.0. Tried 4.2.1 and this is not working either on Android for me. But working on iOS.

Ok so, It works with 5.0.0 with Android but you have to not use it in a browser or with live reload. I found that browsing through the code: check lines 81/82 image-loader.ts

hii @Stfb ,
can you please elaborate how did you configured it to work with 5.0.0? what do you mean by not use it in browser ?
i am using command ionic cordova run android

Hi @bhavincb ,
Si this is weird, I had problems making it working with android but after deleting the node_modules directory, it's working fine.

hii @Stfb ,
Thankx for quick response. i mine case removing platform and re-adding it solved the problem.
cordova-whitelist plugin was not added successfully which was causing the issue.

Ah ok. Thanks for your feedback!


liveness & readiness probe configurations are added

Fixes #10

Thanks! :) I'll merge it in, and publish a new version.


Handle IsingXY gate

As IsingXY gate is being added to PennyLane (https://github.com/PennyLaneAI/pennylane/pull/2649), we need to check it does not break forward/backward computation in Lightning. Otherwise, we need to add its implementation in Lightning.

Forward pass closed by https://github.com/PennyLaneAI/pennylane-lightning/pull/303
Backward pass a WIP

Forward pass closed by #303 Backward pass a WIP

Yes!


Parsing type option is ignored

As far as I can tell, the type option is totally ignored. The examples in the README indicate that it has not been implemented, but I think the deep/atomic options would be very useful. This issue is to track any progress of those features, or if they are implemented, update the examples in the README.
I also hope the demo would be updated to allow selecting between the three modes to see how it looks like. Amazing work though, it's very cool to be able to parse CSS in JS. It allows some pretty powerful tools to be built in the language that matters the most for web developers.

This issue is cleared since rewritten parser. Sorry too late. :)

Np, nice to see happening 😸


BUG: dendrogram's labels not displaying correctly after updating to 0.14

In Scipy 0.13 in scipy.cluster.hierarchy in the function _plot_dendrogram, to set the proprieties of the labels like rotation and font size, the function matplotlib.pylab.setp is used and the labels are displayed correctly.
Instead in Scipy 0.14, to set the proprieties of the labels like rotation and font size, it's used a map that simply calls for example just set_rotation or set_size but the labels are not rotated and not resized as you can see in the screenshot. I think matplotlib.pylab.setp does more than just calling set_rotation or set_size.

This bug is still in master.  @jamestwebber, if you are interested in continuing your contribution to scipy, could you take a look at this?  Did arguments such as leaf_rotation work for you after you added the ax keyword to dendrogram?

Sorry that I broke this, I'll take a look at this later today!

A couple notes while I'm working on this (I think I have it fixed at this point):
The reason we don't want to simply revert to the old version is because it used pylab. pylab is really designed for interactive work and not recommended for use in programs. I changed the code to only use pylab when needed, because I wanted to be able to generate dendrograms a) without starting an interactive instance and b) on an arbitrary axes instance that I supply, rather than the active one.
However there is no "setp" in the regular matplotlib API, so I tried to emulate the existing code as best I could. I didn't really analyze whether it was doing the right thing--in retrospect it's got some weird behavior.
As @alessioU noted, the four different orientations all do different things. "top" autoscales and rotates based on the number of labels. "bottom" is supposed to autoscale based on p, a "truncate mode" parameter. "left" and "right" don't autoscale or rotate the labels without being told to. That's how the code was when I started, so I left it that way, but it seems reasonable to fix that while I'm in there. The only question is: should I use the number of labels, or p? I chose the former for now but that's a simple decision to make before merging.

I guess another (in hindsight obvious) question is what the left/right orientations should do with their label rotation. The current auto-rotate stuff is geared toward the top/bottom orientations--it has horizontal labels unless you have a ton of leaves and then it rotates to vertical (first going to 45 degrees).
Seems like I should probably just keep the left/right orientations with horizontal labels--there's no downside as far as I can tell. If the user specifies a rotation then that wins, otherwise it's horizontal.

I guess another (in hindsight obvious) question is what the left/right orientations should do with their label rotation.

The conservative answer to questions of the form "What should it do?" is "Whatever it did in scipy 0.13."  That way we preserve backwards compatibility.
For that, though, you'll need to build scipy 0.13.  I tried building 0.13.3, but I got a cython error.    Perhaps someone else can take a look.

Well the answer was "nothing, unless the user specified", which is what I ended up doing. Which makes sense--y-axis labels don't need to be rotated for readability, so unless the users really wants that to happen they can stay the way they are.

Multiple new fixes in addition to the ones from @jamestwebber just went into gh-5164. Review of that PR would be much appreciated.
Also, some larger dendrograms for testing would be very welcome. Despite the open issues and the many stackoverflow posts about dendrogram, it's very difficult to find examples that (should) work.


Update index.html

fix #552
Replaced Google Analytics Tracking Code with Matomo Tracking Code

Hey @EcZX , it looks like you actually made changes in the development branch and are trying to merge them into the issue-552 branch instead of the opposite.

Thanks @HaSistrunk, should i close this pull request and create a new one?

Thanks @HaSistrunk, should i close this pull request and create a new one?

Yeah, I reverted that last commit so you can:

Edit the comment in this pull request (PR) to remove the text "fix # 552", so that when you close the PR it doesn't close the issue.
Close this PR
Make the necessary changes to the file in the Issue-552 branch
Reopen a PR with a request to merge Issue-552 into development


Upload BTEA

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Follow guidelines and reopen pull request


docs(tutorials/jokes): update Fly commands

Update Fly commands to reflect their new syntax
Hey thanks so much for making this awesome project, and especially for making it open source!
It's a great new way to work with React 🎉
It appears that Fly.io has changed their syntax for running commands from the terminal.
Instead of using fly <command>, they now use flyctl <command>.
Here is a link to the docs where they show this, Fly docs login page.
And here's a screenshot of it ⬇

I have changed all the terminal commands to reflect the new syntax in jokes.md
Feel free to ask me any questions you have on this, or if you want me to change anything 👌
Thanks,
Pete

If I remember correctly, @kentcdodds used the fly command on purpose instead of flyctl.

Thanks @petercr!


Increase multisign test coverage

@wilsonianb asked me a question about behavior of multisigning if a member of a signer list sets themselves up as exclusively multisigned.  I realized that I didn't have a unit test to cover this scenario.  So here's a unit test that covers exactly that scenario.
Reviewers: @wilsonianb and @mellery451.

Codecov Report

Merging #2247 into develop will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2247      +/-   ##
===========================================
- Coverage    70.12%   70.11%   -0.01%
===========================================
  Files          689      689
  Lines        50800    50800
===========================================
- Hits         35621    35620       -1
- Misses       15179    15180       +1

Impacted Files
Coverage Δ

src/ripple/server/impl/BaseHTTPPeer.h
86.95% <0%> (-3.11%)
:arrow_down:

src/ripple/protocol/impl/STVar.cpp
85.71% <0%> (-2.6%)
:arrow_down:

src/ripple/core/impl/JobQueue.cpp
86.85% <0%> (-0.47%)
:arrow_down:

src/ripple/app/main/Application.cpp
60.54% <0%> (+0.11%)
:arrow_up:

src/ripple/app/tx/impl/Transactor.cpp
82.42% <0%> (+0.95%)
:arrow_up:

src/ripple/basics/DecayingSample.h
86.11% <0%> (+8.33%)
: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 3e5490e...e4869bc. Read the comment docs.

@wilsonianb: Are these additional checks sort of what you had in mind?

Fixed typo and squashed.  Will mark as passed if CI passes (modulo Travis timeouts).  Thanks reviewers.

Rebased to 0.80.1.

In 0.90.0-b1


[BUG]Unable to create Job

Describe the bug
Unable to create job because of invalid projectUid even if the projectUid exists
memsource job create --filenames csv_example.csv virt-who.xml --project-id s0sRdE0aIvzxLQfhGUEU6e
Affected version
0.3.1
To Reproduce
memsource job create --filenames csv_example.csv virt-who.xml --project-id s0sRdE0aIvzxLQfhGUEU6e
Expected behavior
A job is created.
Screenshots or Traceback

Hi @jwestrmaier ,
you are reporting the issue for "memsource job create --filenames csv_example.csv virt-who.xml --project-id s0sRdE0aIvzxLQfhGUEU6e"
When I run this command I get the following error:
Starting new HTTPS connection (1): cloud.memsource.com
Memsource API Error
Error: InvalidArguments
Error description: The field "targetLangs" cannot be empty.
Response status: 400
Your command is missing the parameter "--target-langs", in your case it should be "--target-langs de"

The result is the same even if I use "--target-langs" param in request

Is it only this specific project that gives you error?

On 3 Dec 2019, at 14:47, jwestrmaier<EMAIL_ADDRESS>wrote:
The result is the same even if I use "--target-langs" param in request
https://user-images.githubusercontent.com/58473784/70056427-ba8c4f00-15db-11ea-84ca-5b81832bc406.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/unofficial-memsource/memsource-cli-client/issues/17?email_source=notifications&email_token=ANLA6VAEOIX3IVQ4YYBPKSTQWZPOHA5CNFSM4JUYACX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZNS2A#issuecomment-561174888, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLA6VCL3TVS3X3XOH7CCT3QWZPOHANCNFSM4JUYACXQ.

The thing is when I use post request it does work.
This is raw request for create job operation via api :
POST https://qa.memsource.com/web/api2/v1/projects/s0sRdE0aIvzxLQfhGUEU6e/jobs?token=7b5klzwZE49gcAB9SSQtweQQCspYJ25MMpItoKRDuBA1IVzl5bq0lrncRIRKrLEG2

POST data:
--Fj3SxJv_5mA0WprCd-O9pRdiLoqTZLDcXfREFb
Content-Disposition: form-data; name=" csv"; filename="csv_example.csv"
Content-Type:  csv
Content-Transfer-Encoding: binary

<actual file content, not shown here>
--Fj3SxJv_5mA0WprCd-O9pRdiLoqTZLDcXfREFb--

[no cookies]

Request Headers:
Connection: keep-alive
Memsource: { "targetLangs": [ "de" ] ,"useProjectFileImportSettings": "true"}
Content-Disposition: filename*=UTF-8''file.csv
Content-Type: application/octet-stream
Content-Length: 447
Host: qa.memsource.com
User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_231)

Is it only this specific project that gives you error?
…

I am going to try it on another project

Can you also run the memsource cli command with „--debug“ parameter and send us the output?
L

On 3 Dec 2019, at 14:54, jwestrmaier<EMAIL_ADDRESS>wrote:
The thing is when I use post request it does work.
This is raw request for create job operation via api :
POST https://qa.memsource.com/web/api2/v1/projects/s0sRdE0aIvzxLQfhGUEU6e/jobs?token=7b5klzwZE49gcAB9SSQtweQQCspYJ25MMpItoKRDuBA1IVzl5bq0lrncRIRKrLEG2
POST data:
--Fj3SxJv_5mA0WprCd-O9pRdiLoqTZLDcXfREFb
Content-Disposition: form-data; name=" csv"; filename="csv_example.csv"
Content-Type:  csv
Content-Transfer-Encoding: binary
<actual file content, not shown here>
--Fj3SxJv_5mA0WprCd-O9pRdiLoqTZLDcXfREFb--
[no cookies]
Request Headers:
Connection: keep-alive
Memsource: { "targetLangs": [ "de" ] ,"useProjectFileImportSettings": "true"}
Content-Disposition: filename*=UTF-8''file.csv
Content-Type: application/octet-stream
Content-Length: 447
Host: qa.memsource.com
User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_231)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/unofficial-memsource/memsource-cli-client/issues/17?email_source=notifications&email_token=ANLA6VE4AY7US5VPKJROVFDQWZQKLA5CNFSM4JUYACX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZOJXQ#issuecomment-561177822, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLA6VDFY2ARV3LVF4QJAKDQWZQKLANCNFSM4JUYACXQ.

jiri.westrmaier@jwestrmaiermac Downloads % memsource job create --filenames csv_example.csv --project-id s0sRdE0aIvzxLQfhGUEU6e --target-langs de --debug
2019-12-03 14:57:15,780 DEBUG Starting new HTTPS connection (1): cloud.memsource.com:443
send: b"POST /web/api2/v1/projects/s0sRdE0aIvzxLQfhGUEU6e/jobs?token=7b5klzwZE49gcAB9SSQtweQQCspYJ25MMpItoKRDuBA1IVzl5bq0lrncRIRKrLEG2 HTTP/1.1\r\nHost: cloud.memsource.com\r\nUser-Agent: python-requests/2.22.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: /\r\nConnection: keep-alive\r\nContent-Type: application/octet-stream\r\nContent-Disposition: filename=csv_example.csv\r\nMemsource: {'targetLangs': ['de'],'useProjectFileImportSettings': 'true'}\r\nContent-Length: 229\r\n\r\n"
sendIng a read()able
send: b'Second\r\nThird\r\nTEST 35\r\nChanged frquency\r\nContinuous job - frequency not changed\r\n? Export Continuous Job - Google Drive - One workflow step - Every 5 minutes\r\nAnother new translation file?\r\nPropagation in shared job\r\nAvalanche\r\n'
reply: 'HTTP/1.1 404 \r\n'
header: Memsource-Action-Id: d56695fae2a94390b60b2a38b51007f0
header: X-Frame-Options: DENY
header: Cache-Control: no-store, private, max-age=0
header: Expires: Tue, 03 Dec 2019 12:57:15 GMT
header: Last-Modified: Tue, 03 Dec 2019 13:57:15 GMT
header: Date: Tue, 03 Dec 2019 13:57:15 GMT
header: Vary: Accept-Encoding
header: Content-Encoding: gzip
header: Content-Type: application/json
header: Transfer-Encoding: chunked
header: Server:
header: Strict-Transport-Security: max-age=31536000; includeSubDomains
2019-12-03 14:57:15,928 DEBUG https://cloud.memsource.com:443 "POST /web/api2/v1/projects/s0sRdE0aIvzxLQfhGUEU6e/jobs?token=7b5klzwZE49gcAB9SSQtweQQCspYJ25MMpItoKRDuBA1IVzl5bq0lrncRIRKrLEG2 HTTP/1.1" 404 None
Memsource API Error
Error: Invalid parameters
Error description: The object referenced by the field "projectUid" and value "s0sRdE0aIvzxLQfhGUEU6e" was not found.
Response status: 404

I can see where is an issue >>> different site "https://cloud.memsource.com".  But I am logged in "https://qa.memsource.com"
# Default Base url   self.host = "https://qa.memsource.com/web"

Is there any place where to define Base Url for job creation ??

This is an interesting feature request at the end :-)
I can see cloud.memsource.com defined in 2 places:
utils.py
API_URL = 'https://cloud.memsource.com/web/api2/‚
configuration.py
self.host = "https://cloud.memsource.com/web“
May be something worth working on.

On 3 Dec 2019, at 15:06, jwestrmaier<EMAIL_ADDRESS>wrote:
I can see where is an issue >>> different site "https://cloud.memsource.com https://cloud.memsource.com/". But I am logged in "https://qa.memsource.com https://qa.memsource.com/"
Default Base url self.host = "https://qa.memsource.com/web"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/unofficial-memsource/memsource-cli-client/issues/17?email_source=notifications&email_token=ANLA6VGT7PYCSWW34XEFQGLQWZRUXA5CNFSM4JUYACX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZPNHQ#issuecomment-561182366, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLA6VDXTPXFEHOMBHM4R6LQWZRUXANCNFSM4JUYACXQ.

Nice job. API_URL edited and now it does work :)

I think the issue is resolved. 👍

I am reopening this issue. We think it's a good idea to have a way to use custom API URLs. We'll work on this feature.

@jwestrmaier
Command Line Option to use custom URL:
  --ms-auth-url <auth-url>
                        Authentication URL (Env: MEMSOURCE_URL)

or add to your memsourcerc file:
export MEMSOURCE_URL="https://cloud.memsource.com/web"

Added in https://github.com/unofficial-memsource/memsource-cli-client/commit/6eb8e4b1f9cabcf7135c89bed8b414c8b83ff1bb


startX, startY ignored when panOnlyWhenZoomed or disablePan set to true and startScale > 1

Describe the bug
This is similar to issue #573.
startX, startY are ignored when panOnlyWhenZoomed or disablePan set to true, even when the startScale > 1.
Your environment

Version of panzoom
4.4.3
Browser and browser version
Chrome Version 94.0.4606.71 (Official Build) (64-bit)

Expected behavior
startX, startY must be respected as initialization options even though panOnlyWhenZoomed or disablePan is true and startScale is not the default value (is > 1).
Steps to reproduce

https://jsfiddle.net/viseshrp/zjwuLfy8/16/

Another note on the fiddle: If you remove panOnlyWhenZoomed in the initialization options, you will see that startX and startY are set properly.

Oh, I just noticed that this is the case if disablePan is set as well so updated the issue.

Thanks for opening an issue. This was fixed in version 4.4.2. Your fiddle is using version 4.3.2. I switched it to 4.4.3 and it seems to be working.


Design a standard linked data format

Design a standard linked data format, like JSON-LD or CBOR-LD, to normalize data used in this project. This also helps the repo to fetch data. CBOR is preferred.
Required fields:

@content: a link to the schema of this object.
@id: the name of this object.

Required types:

Schema: defines the schema of an application, describing types of objects and their fields, as well as naming conventions.
Name: an NDN name linking to another object.

Current draft (WIP): https://docs.google.com/document/d/1jg-pKUFYcsn5tbskTlO7tr8ioTEXiSDtjmYpWrbQMK8/edit?usp=sharing


Google Drive Mount Doesn't Work in Remote Desktop

Problem
The drive mount provided in the Colab RDP notebook. It doesn't show or list any file when you open it using file explorer because the group, owner, and read/write permission belongs to the root user.
Tried every possible way to fix it but there is no other option than using sudo mode for opening drive folder.
Temp Fix
That's why we have added Nautilus to be installed in install.sh. Which can be used with sudo to open file explorer in sudo mode.
To use it type
sudo nautilus

If anyone has another fix then please provide it

Hello,
Thanks for your work.
This works for me to access Google Drive files via terminal:
sudo su
# then type password "root"

This Issue is fixed with v1.4 and It is now working.
Explanation of How it worked is simple.
What we have done is, make some changes in the mounting script.
Previously we used
from google.colab import drive
home='/home/'+username+'/drive'
drive.mount(home)`

Now we used
username = "user" #@param {type:"string"}
mountpoint = "/home/"+username+"/drive"

from os import environ as env
from os.path import join as path_join
from google.colab import drive

env['user'] = username
env['user_home'] = "/home/{}".format(username)
env['mount_script'] = path_join(env['user_home'], 'drive_mount.sh')

! runuser -l $user -c "yes | python3 -m pip install --user google-colab"  > /dev/null 2>&1

! cp -r /root/.config/Google /home/$user/.config/Google > /dev/null 2>&1
! mkdir -p /home/$user/.config/Google/DriveFS/Logs
! chown -R $user:$user /home/user/.config/Google/DriveFS/Logs
! mkdir -p $mountpoint > /dev/null 2>&1
! chown -R $user:$user /content/.config
! chown -R $user:$user /content > /dev/null 2>&1

mount = """
#!/bin/sh

from os import environ as env
from google.colab import drive

env['CLOUDSDK_CONFIG']  = '/content/.config'
drive.mount('{}')
""".format(mountpoint)

with open(path_join(env['user_home'], "drive_mount.sh"), "w") as script:
    script.write(mount)

! chown -R  $user $user_home
! chmod u+x $mount_script

! runuser -l $user -c "python3 /home/$user/drive_mount.sh"

! chown $user:$user $mountpoint > /dev/null 2>&1

This long script is very simple. We mount the google drive as a user instead of root using runuser command with help of a simple script. I think that chown command is doing nothing in this whole code. I will check it soon until then use it.
Will merge it soon with main branch

One more thing,
A great thanks to @tallero for their code of GNUCOLAB which helps me with this problem.

Changed Google Drive Mount code because chown commands aren't affecting it that much (Didn't see any effect), but it is sure that drive mount worked only for that user which is used to mount it.
Further Explaination See the code at v1.6 Colab RDP


Feature Request:  Select both left and right folders

Is it possible to add a feature where you select both the left and right folders to compare?  I work on large projects and often only want to compare one sub folder with another sub folder.  It would be nice to do this without having to open up one of the folders I want to compare in a new window first.

Thanks for the issue.
Actually I've started to implement it several times but couldn't find the time to finish. I hope I'll have some time for this soon

+1
I need that feature too.

I've started to implement it. See attached PR.
I'd love to get your feedback about that version. If everything goes fine, I'll implement the rest.

v0.9.0 released!
v0.10.0 is on the way - includes select 2 sub folders to compare.
Please review the attached file in the new PR

v0.10.0 released. You're more than welcome to test and give feedback :)
Thanks!

@moshfeu just did a quick test run and it looks like it is working!  Thanks!

Thanks for the update, I'm glad to hear!
If you have more ideas for features, well.. you know what to do :)


[WIP] configuring source link

Fix Issue #1760 .
See comment history on original PR: #1800
Changes

configuring source link based on https://github.com/dotnet/sourcelink

Checklist

[ ] I ran Unit Tests locally.
[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[ ] Design discussion issue #
[ ] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

@TimothyMothra , i created a branch inside the repository and it seens to work. Can you check using the package manager and the latest build?

WOOT!! Nupkgs from the build server include SourceLink!!!


Add helpful information to the SETUP.md

The contents of the SETUP.md file gets included in
the README.md that gets delivered when a user runs the exercism fetch
command from their terminal.
At the very minimum, it should contain a link to the relevant
language-specific documentation on
help.exercism.io.
It would also be useful to explain in a generic way how to run the tests.
Remember that this file will be included with all the problems, so it gets
confusing if we refer to specific problems or files.
Some languages have very particular needs in terms of the solution: nested
directories, specific files, etc. If this is the case here, then it would be
useful to explain what is expected.

Thanks, @tejasbubane for suggesting that we add this documentation everywhere.
See exercism.io#2198.

What's the relationship between SETUP.md and the files in the docs folder?
Should the helpful info be added to both?

Closed by #248


test: stabilize test_single_lock_manager

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #7659
Problem Summary:
Make the test more stable.
What is changed and how it works?
What's Changed:
Enlarge the error range.
Related changes
Check List
Tests

Unit test

Side effects
Release note

No release note

I'm fine with relaxing the ranges. But if the machine running the test is really busy, the test can still fail...
I think to reduce unstable tests, we have to adjust how CI runs.

Yes. But I remember the concurrency was 1 previously, and it's increased for test speed.

/merge

/merge


Sort options keys when saving to file

avoid unnecessary .skeema file changes when checking into git

Pull Request Test Coverage Report for Build 20

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 54.52%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

file.go
0
7
0.0%

Files with Coverage Reduction
New Missed Lines
%

file.go
1
52.88%

Totals

Change from base Build 19:
-0.3%

Covered Lines:
591

Relevant Lines:
1084

💛  - Coveralls

Makes sense and looks good. Thank you for the pull request! I'll aim to merge in the next day or two.
Longer-term, the entire File.Write() method should probably be written to preserve comments, whitespace, and whatever order the user previously used... but this is good for now 👍
Just to make sure I describe this change correctly in the eventual Skeema release notes, can you please give example(s) of which commands/situations were causing unnecessary reordering? (I am guessing perhaps when skeema pull detects changes to a server flavor or schema charset/collation? Any other situations too?) Thanks!

Thanks for your reply and the great project.  Yeah, one example is when running skeema pull after schema charset/collation changes. Another one (and the one for us) is that we sometimes use skeema init instead of skeema pull. This is because we need the ability to run pull/push/diff only on specific databases or tables, so we have to use a script now, which runs skeema init in a clean directory and then copy the specific schema dir or table sql files from or to the right place. Maybe it would be better for skeema to support this ;-)

This is because we need the ability to run pull/push/diff only on specific databases or tables

Ah, makes sense, thanks! There are some existing Skeema features that may help with this:

If you only want to pull/push/diff a specific database, cd to that database's subdirectory and run skeema from there. Skeema operates recursively from the working directory it is invoked from, so if you run it from a bottom-level subdir, it will just run against whatever database that subdir maps to. (Parent dir option files will still affect its behavior, though -- so if the parent dir's .skeema file defines the host, the option value will still be inherited by the subdir.)

If there's any pattern to the database names and/or table names that you want to skip, you can use --ignore-schema or --ignore-table ad-hoc on the command line.

Not sure if those help with your use-case though. Probably depends on what you're skipping and why :) I'd love to learn more about what would help most in your situation -- please open an issue in skeema/skeema if you'd like. Thanks!

This PR is now merged, and included in mybase v1.0.5. Thanks again!
Final step is to update the vendored dep of this package inside of skeema/skeema. I could do this on my end, or you can do it as a pull request on skeema/skeema; whichever you'd prefer is fine with me :)
If doing it as a pull request, you'll need the golang/dep tool tool to run the command dep ensure -update github.com/skeema/mybase. (I hope to switch away from dep to the newer Golang module support soon, but haven't quite yet.)

This is because we need the ability to run pull/push/diff only on specific databases or tables

Ah, makes sense, thanks! There are some existing Skeema features that may help with this:

If you only want to pull/push/diff a specific database, cd to that database's subdirectory and run skeema from there. Skeema operates recursively from the working directory it is invoked from, so if you run it from a bottom-level subdir, it will just run against whatever database that subdir maps to. (Parent dir option files will still affect its behavior, though -- so if the parent dir's .skeema file defines the host, the option value will still be inherited by the subdir.)
If there's any pattern to the database names and/or table names that you want to skip, you can use --ignore-schema or --ignore-table ad-hoc on the command line.

Not sure if those help with your use-case though. Probably depends on what you're skipping and why :) I'd love to learn more about what would help most in your situation -- please open an issue in skeema/skeema if you'd like. Thanks!

I'll reconsider my use case and open the issue later, and about the two features, I did try them before my final script~

cd to the database directory. This helps on mac/linux, and almost on Windows. I know skeema claims it cannot be compiled on Windows, but it can, and works ok in simple mode. There should be some fix for the cd feature to work on windows, most of which are path handling.  It's not a fix for full windows support, so not worth a pull request~

ignore feature. ignore is a blacklist, and what we need here is a whitelist. I tried to use a complicated everything but regex expression (negative lookahead is not supported in regex package in golang). Maybe a --only-schema and --only-table support would be better.

I'm not familiar with dep, so I prefer not to update skeema vendor on my end, thanks  ;-
patch for cd on windows
diff --git a/fs/dir.go b/fs/dir.go
index ba72e05..b9e929a 100644
--- a/fs/dir.go
+++ b/fs/dir.go
@@ -7,6 +7,7 @@ import (
 	"os"
 	"path"
 	"path/filepath"
+	"runtime"
 	"sort"
 	"strconv"
 	"strings"
@@ -514,17 +515,20 @@ func ParentOptionFiles(dirPath string, baseConfig *mybase.Config) ([]*mybase.Fil
 	if err != nil {
 		return nil, err
 	}
-	cleaned = strings.TrimRight(cleaned, "/") // Prevent strings.Split from spitting out 2 blank strings for root dir
+	cleaned = strings.TrimRight(cleaned, string(os.PathSeparator)) // Prevent strings.Split from spitting out 2 blank strings for root dir

 	components := strings.Split(cleaned, string(os.PathSeparator))
+	if runtime.GOOS == "windows" && len(components[0]) == 2 && components[0][1] == ':' {
+		components[0] = components[0] + string(os.PathSeparator)
+	}
 	files := make([]*mybase.File, 0, len(components)-1)

 	// Examine parent dirs, going up one level at a time, stopping early if we
 	// hit either the user's home directory or a directory containing a .git subdir.
-	home := filepath.Clean(os.Getenv("HOME"))
+	home := util.GetUserHome()
 	var atRepoRoot bool
 	for n := len(components) - 1; n >= 0 && !atRepoRoot; n-- {
-		curPath := "/" + path.Join(components[0:n+1]...)
+		curPath := filepath.Join(components[0:n+1]...)
 		if curPath == home {
 			// We already read ~/.skeema as a global file
 			break
diff --git a/util/config.go b/util/config.go
index ccb3c86..a4ee273 100644
--- a/util/config.go
+++ b/util/config.go
@@ -4,9 +4,9 @@ import (
 	"errors"
 	"fmt"
 	"os"
-	"path"
 	"path/filepath"
 	"regexp"
+	"runtime"
 	"strings"
 	"syscall"

@@ -41,6 +41,20 @@ func AddGlobalOptions(cmd *mybase.Command) {
 	cmd.AddOption(mybase.BoolOption("debug", 0, false, "Enable debug logging"))
 }

+// GetUserHome returns the home directory of current user
+func GetUserHome() string {
+	home := os.Getenv("HOME")
+
+	if home == "" && runtime.GOOS == "windows" {
+		home = os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH")
+		if home == "" {
+			home = os.Getenv("USERPROFILE")
+		}
+	}
+
+	return filepath.Clean(home)
+}
+
 // AddGlobalConfigFiles takes the mybase.Config generated from the CLI and adds
 // global option files as sources.
 func AddGlobalConfigFiles(cfg *mybase.Config) {
@@ -53,9 +67,9 @@ func AddGlobalConfigFiles(cfg *mybase.Config) {
 		globalFilePaths = append(globalFilePaths, "fake-etc/skeema", "fake-home/.my.cnf")
 	} else {
 		globalFilePaths = append(globalFilePaths, "/etc/skeema", "/usr/local/etc/skeema")
-		home := filepath.Clean(os.Getenv("HOME"))
+		home := GetUserHome()
 		if home != "" {
-			globalFilePaths = append(globalFilePaths, path.Join(home, ".my.cnf"), path.Join(home, ".skeema"))
+			globalFilePaths = append(globalFilePaths, filepath.Join(home, ".my.cnf"), filepath.Join(home, ".skeema"))
 		}
 	}

Great, thanks! I've updated the vendored dep in skeema/skeema.
Regarding Windows support, I'm definitely open to pull requests there, even if just incremental improvements. However, I don't have a Windows machine to test on my end. btw, I've also heard the Linux build of Skeema works fine in Windows Subsystem for Linux (WSL). There were apparently some occasional line-ending annoyances (CRLF vs LF) but those are hopefully fixed now as of Skeema v1.2.1.
I'd consider --only-table but it depends on the use-case -- i.e. what's the motivation for only wanting to push certain tables. (The assumed workflow in Skeema is that the entire schema repo should represent the desired state of the database at any given time; if more granular changes are desired, you can always just make each git commit only affect one table...)
If the desire is to approve each change individually, perhaps an --interactive mode would be useful, displaying each change and then prompting whether to proceed.
Meanwhile not sure if --only-schema would be needed, since cding to the desired schema directory should basically do the same thing, if I understand the requirement correctly.


[BUG]MissingMethodException is thrown when invoking Azure search SDK

An exception is thrown when invoking Azure search SDK.
MissingMethodException: Method not found: 'Newtonsoft.Json.SerializationBinder Newtonsoft.Json.JsonSerializerSettings.get_Binder()'.
Steps to reproduce the behavior:
var client = new SearchIndexClient("service name", "index name", new SearchCredentials("service key name"));
var response = await client.Documents.SearchWithHttpMessagesAsync(term, searchParameters, customHeaders: headers);
It should provide the search result upon the term.
The dependencies versions are:
Microsoft.Azure.Search(3.0.4)
Microsoft.Rest.ClientRuntime.Azure(3.3.10)
Newtonsoft.json(11.0.2)
This method works when I downgrade the Newtonsoft.json to 10.0.1.  But currently due to the new feature development,  I need to upgrade Newtonsoft.json from 10.0.1 to higher version like 11.0.2 or higher.  Then this exception was thrown.
If upgrading the version of Microsoft.Azure.Search to higher version, lot of code changes need to be made due to build failures and I am not sure if this issue can be resolved.
Is there anything I can do to get over it before making big code changes?

@brjohnstmsft could you take a look at this? Have you seen this before?

@angelwen1396 This is a known issue that was fixed in version 5.0.0 back in April 2018. You will need to upgrade to at least that version, but I strongly recommend you upgrade to the latest version.
We have provided a comprehensive set of guides to upgrading code that calls the .NET SDK. It should require minimal effort on your part, and the benefit is that you will get the latest features and bug fixes. We generally do not update old SDK versions unless a critical security issue is found.

Closing this issue since we do not plan to backport this fix to old SDK versions. @angelwen1396 If you have trouble upgrading to the new version, feel free to ask questions on Stack Overflow and tag them with azure-cognitive-search. Engineers from our team are automatically assigned to answer such questions.


Use mount propagation

Starting from now Virtlet will require MountPropagation feature gate enabled in Kubernetes cluster.

This change is

Can we add this note to deployment docs, including real-cluster.md?

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion.

build/cmd.sh, line 264 at r1 (raw file):

    docker exec "${virtlet_node}" mount --make-shared /dev
    docker exec "${virtlet_node}" mount --make-shared /boot
    docker exec "${virtlet_node}" mount --make-shared /sys/fs/cgroup

This is only done in cmd.sh but not demo.sh? why?

deploy/virtlet-ds.yaml, line 46 at r1 (raw file):
Previously, jellonek (Piotr Skamruk) wrote…
That's something new. Looks interesting!

Are we dropping 1.7 support at this point? (Can we? I'm not sure if this is supported in 1.7) In this case, we must document it

Comments from Reviewable

I will update docs

Review status: 0 of 2 files reviewed at latest revision, 2 unresolved discussions.

build/cmd.sh, line 264 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
This is only done in cmd.sh but not demo.sh? why?

I've never used demo.sh. I will add it there

deploy/virtlet-ds.yaml, line 46 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
Are we dropping 1.7 support at this point? (Can we? I'm not sure if this is supported in 1.7) In this case, we must document it

We need separate yaml for 1.7 I will add it

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

build/cmd.sh, line 264 at r1 (raw file):
Previously, lukaszo (Łukasz Oleś) wrote…
I've never used demo.sh. I will add it there

Done.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable

Reviewed 2 of 2 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable


Monitored services are showing as online even though they are unreachable

Interesting, I'm not able to reproduce this. I'll probably need some form of debug from the requests being made in monitor.py to figure out why they aren't returning bad responses.
I know the method for checking via http is returning up for anything under 400, so maybe I'll need to take a better look at that. I catch both None and False which are returned for bad pings, so not sure what is going on there.

I'll probably need some form of debug from the requests being made in monitor.py

Hmm, how do I give the logs?
Is it stored somewhere?

Hmm, how do I give the logs?
Is it stored somewhere?

There are no logs for this currently, so you'd need to add debug. Still looking like some kind of network or firewall issue to me.

Hmm, Yeah, it was indeed an firewall issue, fixed it up


[10.x] Make Route isControllerAction method public

Follow-up to https://github.com/laravel/framework/discussions/46332.
Currently isControllerAction is a protected method on the \Illuminate\Routing\Route class. This makes distinguishing between controller- and closure-based routes difficult and slightly cumbersome, as can be seen here:
https://github.com/laravel/framework/blob/38342ab7d7a4e52fe78109d37a145d8309641da1/src/Illuminate/Routing/RouteCollection.php#L86-L93
This PR makes this method public, to allow for more consistent checks on controller- vs. closure-based routes, both within the framework and in all applications using it.

I'm gonna lay this off for now, appearently my assumptions about the isControllerAction method were a bit too optimistic.


Add markup.strikethrough for double tilde syntax

Requested in microsoft/vscode#43504

Do we want checkbox support, or is GitHub Flavored Markdown out of this grammar's scope?


Revert "[Build] Free BuildPlan from BuildTriple"

Reverts swiftlang/swift-package-manager#7877

@swift-ci please test


[SPARK-27482][SQL][Web UI]: Show BroadcastHashJoinExec numOutputRows statistics info on SparkSQL UI page

What changes were proposed in this pull request?
Currently, the SparkSQL UI page shows only actual metric info in each SparkPlan node. However with statistics info may help us understand how the plan is designed and the reason it runs slowly. This PR is to show BroadcastHashJoinExec numOutputRows statistic info on SparkSQL UI page first when it's available.
The main changes:

Add stats field in SparkPlan
Initialize BroadcastHashJoinExec with the stats in Join LogicalPlan
Add stats field in SQLMetric and show it on UI page when it's available

How was this patch tested?
Regarding unit test has been added, manual UI test has been tested

Can one of the admins verify this patch?

CC  @cloud-fan @srowen @dongjoon-hyun

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I agree with the use case, but the implementation is too hacky. We need a general approach the propagate the statistics from logical plan to physical plan.

I agree with the use case, but the implementation is too hacky. We need a general approach to propagate the statistics from logical plan to physical plan.

How about:

Add stats field and getter/setter in SparkPlanStats (trait of SparkPlan)
Create a StatisticsPropagation SparkPlan strategy as the first strategy after extraPlanningStrategies that creates a PlanLater(loginPlan) with stats copied from LogicalPlan. To avoid infinity loop, one variable isStatsPropagated in LogicalPlan may be needed to indicate whether the LogicalPlan has been applied the strategy.
SparkPlan.makeCopy copy the stats as well

Your feedback will be appreciated. @cloud-fan

I agree with the use case, but the implementation is too hacky. We need a general approach to propagate the statistics from logical plan to physical plan.

Thanks for your comments.
How about:

Add stats field and getter/setter in SparkPlanStats (trait of SparkPlan)
Add setPlanProperty(plan, candidate) before collectPlaceholders in QueryPlanner.plan which is override by SparkPlanner to set the stats value in candidate: SparkPlan from plan: LogicalPlan

Your feedback is appreciated.  @cloud-fan @dongjoon-hyun

Propagate the statistics from logical plan to physical plan in Strategy.apply method instead

ok to test

Test build #105235 has started for PR 24389 at commit b3cd0b0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10517/
Test PASSed.

Test build #105235 has finished for PR 24389 at commit b3cd0b0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105235/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10555/
Test PASSed.

@dongjoon-hyun @cloud-fan
Back to use propagate template method in QueryPlanner.plan method, as the previous way may break the SparkStrategy Extension compatibility.

retest it please

Test build #105279 has started for PR 24389 at commit 83483b1.

Test build #105279 has finished for PR 24389 at commit 83483b1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/105279/
Test PASSed.

Thanks @cloud-fan has created a more general approach
https://github.com/apache/spark/pull/24626

Hi @pengbo, my PR just adds the foundation: physical plan knows the statistics of its corresponding logical plan. But we still need some work to make the statistics available in the SQL UI. We still need your PR after my PR is merged.

Hi @pengbo, my PR just adds the foundation: physical plan knows the statistics of its corresponding logical plan. But we still need some work to make the statistics available in the SQL UI. We still need your PR after my PR is merged.

Thanks for info, I will open another one when your PR is merged.


Change sample to use Shutdown, and add a unit test

Description
Fixes b/294608478
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[x] I have followed Contributing Guidelines from CONTRIBUTING.MD
[x] Tests pass:   go test -v ./.. (see Testing)
[x] Code formatted:   gofmt (see Formatting)
[x] Vetting pass:   go vet (see Formatting)
[x] These samples need a new API enabled in testing projects to pass: Cloud Trace API
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[x] Please merge this PR for me once it is approved

cc @tritone


[NEW] New SpeakerInfotiles Component , Add Speakers Data , Update speaker Schema and auto-update live ,ended status fields of  speaker

[x] I have read the Contributing Guide - https://github.com/RocketChat/Rocket.Chat/blob/develop/.github/CONTRIBUTING.md#contributing-to-rocketchat doc
[x] I have signed the CLA - https://cla-assistant.io/RocketChat/Rocket.Chat
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
[x] I have added necessary documentation (if applicable)
[x] Any dependent changes have been merged and published in downstream modules

Issues
Mentioned in the issue #101
Proposed changes (including videos or screenshots)

Add date_time and 'duration_minutes' fields to speaker schema.
Add updateSpeakerData() function to update the status of a particular speakers session depending on the time and date of the speaker session and its duration.
Add updateSpeakerData() as cron job to update the speakers session state automatically every minute.

https://user-images.githubusercontent.com/70485812/160302042-e5a18606-f83f-472e-8f0e-0fe94adac218.mp4

Add dateTime helper function in app/lib/dateTime.js to help other developers in parsing date/time information.
Add New SpeakerInfoTilesComponent to showcase more speaker information for any event.

https://user-images.githubusercontent.com/70485812/161330693-467a969e-8ec5-4438-8971-9489c6dbb194.mp4

Speaker info  tile to show Live and different colors title for live speakers

Update old speaker data and new speaker data which is to be initialized for the GSOC Alumni Summit 2022.

LGTM. Good Job Samad!

fixed speaker data finally


[Device Support Request] SASWELL SAS980SWT-7-Z01 Smart irrigation, water timer

Problem description
https://www.domadoo.fr/fr/jardin-connecte/5886-saswell-electrovanne-et-programmateur-d-arrosage-connecte-zigbee-mesure-de-consommation.html
https://www.saswell.com/smart-irrigation-wifi-water-timer-sas980swt-7-z01_p147.html
Wifi smart sprinkler controller
Smart irrigation,Wifi water timer SAS980SWT-7-Z01
same as S0601 - TZE200_81isopgh
"TS0601
by _TZE204_qtnjuoae
Zigbee info
IEEE: a4:c1:38:23:6c:b8:8c:ca
NWK: 0xc713
Device Type: EndDevice
LQI: 30
RSSI: Unknown
Last seen: 2024-08-02T14:26:52
Power source: Battery or Unknown"
Solution description
Could you please add the device to ZHA ?
TS0601
by _TZE204_qtnjuoae
Screenshots/Video
Screenshots/Video

Device signature
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0051",
"input_clusters": [
"0x0000",
"0x0004",
"0x0005",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE204_qtnjuoae",
"model": "TS0601",
"class": "zigpy.device.Device"
}
Diagnostic information
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.7.4",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Paris",
"os_name": "Linux",
"os_version": "6.6.33-haos",
"supervisor": "2024.08.0",
"host_os": "Home Assistant OS 12.4",
"docker_version": "26.1.4",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"smartlife": {
"documentation": "https://www.home-assistant.io/integrations/smartlife",
"version": "0.1.0",
"requirements": [
"tuya-device-sharing-sdk==0.2.0"
]
},
"meross_lan": {
"documentation": "https://github.com/krahabb/meross_lan",
"version": "5.3.0",
"requirements": []
},
"climate_group": {
"documentation": "https://github.com/daenny/climate_group",
"version": "0.4.2",
"requirements": []
},
"localtuya": {
"documentation": "https://github.com/rospogrigio/localtuya/",
"version": "5.2.1",
"requirements": []
},
"versatile_thermostat": {
"documentation": "https://github.com/jmcollin78/versatile_thermostat",
"version": "6.2.9",
"requirements": []
},
"nodered": {
"documentation": "https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/custom_integration/",
"version": "4.0.1",
"requirements": []
},
"myEnedis": {
"documentation": "https://github.com/saniho/apiEnedis/",
"version": "2.3.0",
"requirements": [
"packaging>=20.8"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"scheduler": {
"documentation": "https://github.com/nielsfaber/scheduler-component",
"version": "v0.0.0",
"requirements": []
},
"gazpar": {
"documentation": "https://github.com/ssenart/home-assistant-gazpar",
"version": "1.3.5",
"requirements": [
"pygazpar==1.2.2"
]
}
},
"integration_manifest": {
"domain": "zha",
"name": "Zigbee Home Automation",
"after_dependencies": [
"onboarding",
"usb"
],
"codeowners": [
"dmulcahey",
"adminiuga",
"puddly",
"TheJulianJES"
],
"config_flow": true,
"dependencies": [
"file_upload"
],
"documentation": "https://www.home-assistant.io/integrations/zha",
"iot_class": "local_polling",
"loggers": [
"aiosqlite",
"bellows",
"crccheck",
"pure_pcapy3",
"zhaquirks",
"zigpy",
"zigpy_deconz",
"zigpy_xbee",
"zigpy_zigate",
"zigpy_znp",
"universal_silabs_flasher"
],
"requirements": [
"bellows==0.39.1",
"pyserial==3.5",
"zha-quirks==0.0.117",
"zigpy-deconz==0.23.2",
"zigpy==0.64.1",
"zigpy-xbee==0.20.1",
"zigpy-zigate==0.12.1",
"zigpy-znp==0.12.2",
"universal-silabs-flasher==0.0.20",
"pyserial-asyncio-fast==0.11"
],
"usb": [
{
"vid": "10C4",
"pid": "EA60",
"description": "2652",
"known_devices": [
"slae.sh cc2652rb stick"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "slzb-07",
"known_devices": [
"smlight slzb-07"
]
},
{
"vid": "1A86",
"pid": "55D4",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus v2"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "sonoffplus*",
"known_devices": [
"sonoff zigbee dongle plus"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "tubeszb",
"known_devices": [
"TubesZB Coordinator"
]
},
{
"vid": "1A86",
"pid": "7523",
"description": "zigstar",
"known_devices": [
"ZigStar Coordinators"
]
},
{
"vid": "1CF1",
"pid": "0030",
"description": "conbee",
"known_devices": [
"Conbee II"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "conbee",
"known_devices": [
"Conbee III"
]
},
{
"vid": "10C4",
"pid": "8A2A",
"description": "zigbee",
"known_devices": [
"Nortek HUSBZB-1"
]
},
{
"vid": "0403",
"pid": "6015",
"description": "zigate",
"known_devices": [
"ZiGate+"
]
},
{
"vid": "10C4",
"pid": "EA60",
"description": "zigate",
"known_devices": [
"ZiGate"
]
},
{
"vid": "10C4",
"pid": "8B34",
"description": "bv 2010/10",
"known_devices": [
"Bitron Video AV2010/10"
]
}
],
"zeroconf": [
{
"type": "_esphomelib._tcp.local.",
"name": "tube*"
},
{
"type": "_zigate-zigbee-gateway._tcp.local.",
"name": "zigate"
},
{
"type": "_zigstar_gw._tcp.local.",
"name": "zigstar"
},
{
"type": "_uzg-01._tcp.local.",
"name": "uzg-01*"
},
{
"type": "_slzb-06._tcp.local.",
"name": "slzb-06*"
},
{
"type": "_xzg._tcp.local.",
"name": "xzg*"
},
{
"type": "_czc._tcp.local.",
"name": "czc*"
}
],
"is_built_in": true
},
"setup_times": {
"null": {
"setup": 3.785700027947314e-05
},
"7df7a6c44a97f740cdccda44e88296e0": {
"wait_import_platforms": -0.00010848599958990235,
"wait_base_component": -0.0009090060011658352,
"config_entry_setup": 3.4247984060002636
}
},
"data": {
"ieee": "REDACTED",
"nwk": 39451,
"manufacturer": "_TZE204_qtnjuoae",
"model": "TS0601",
"name": "_TZE204_qtnjuoae TS0601",
"quirk_applied": false,
"quirk_class": "zigpy.device.Device",
"quirk_id": null,
"manufacturer_code": 4417,
"power_source": "Battery or Unknown",
"lqi": 17,
"rssi": null,
"last_seen": "2024-08-06T14:56:56",
"available": true,
"device_type": "EndDevice",
"signature": {
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": "0x0104",
"device_type": "0x0051",
"input_clusters": [
"0x0000",
"0x0004",
"0x0005",
"0xef00"
],
"output_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE204_qtnjuoae",
"model": "TS0601"
},
"active_coordinator": false,
"entities": [
{
"entity_id": "update.tze204_qtnjuoae_ts0601_firmware",
"name": "_TZE204_qtnjuoae TS0601"
}
],
"neighbors": [],
"routes": [],
"endpoint_names": [
{
"name": "SMART_PLUG"
}
],
"user_given_name": null,
"device_reg_id": "8355b2ce49c0f1e14fd7695d3acc465a",
"area_id": "piscine",
"cluster_details": {
"1": {
"device_type": {
"name": "SMART_PLUG",
"id": 81
},
"profile_id": 260,
"in_clusters": {
"0x0004": {
"endpoint_attribute": "groups",
"attributes": {},
"unsupported_attributes": {}
},
"0x0005": {
"endpoint_attribute": "scenes",
"attributes": {},
"unsupported_attributes": {}
},
"0xef00": {
"endpoint_attribute": null,
"attributes": {},
"unsupported_attributes": {}
},
"0x0000": {
"endpoint_attribute": "basic",
"attributes": {
"0x0004": {
"attribute_name": "manufacturer",
"value": "_TZE204_qtnjuoae"
},
"0x0005": {
"attribute_name": "model",
"value": "TS0601"
}
},
"unsupported_attributes": {}
}
},
"out_clusters": {
"0x0019": {
"endpoint_attribute": "ota",
"attributes": {
"0x0002": {
"attribute_name": "current_file_version",
"value": 73
}
},
"unsupported_attributes": {}
},
"0x000a": {
"endpoint_attribute": "time",
"attributes": {},
"unsupported_attributes": {}
}
}
}
}
}
}
Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
No response

Seconded.  I guess this is basically the same as the similar valves with slightly different ids.
So hopefully just a case of adding to ZHA with the product name.
I'm not technically minded enough to get my head around these custom quirks.

Same on this one, see if this gives control, then we can add in the other DPs.
from zhaquirks.tuya import TuyaPowerConfigurationCluster4AA
from zhaquirks.tuya.builder import TuyaQuirkBuilder

TuyaQuirkBuilder("_TZE204_qtnjuoae", "TS0601")
.tuya_onoff(dp_id=1)
.tuya_battery(dp_id=7, power_cfg=TuyaPowerConfigurationCluster4AA)
.skip_configuration()
.add_to_registry()

Awesome this also works! I really appreciate the help with this.
The other dpids that would be useful would be:
"1 ( code: switch , value: False, cloud pull )",
"4 ( code: fault , value: 0, cloud pull )",
"5 ( code: water_once , value: 831, cloud pull )",
"6 ( code: water_total , value: 83, cloud pull )",
"8 ( code: battery_state , value: low, cloud pull )",
"9 ( code: time_use , value: 0, cloud pull )",
"11 ( code: countdown , value: 60, cloud pull )",
"12 ( code: work_state , value: idle, cloud pull )",
"15 ( code: use_time_one , value: 540, cloud pull )",
"17 ( code: timer , value: AA==, cloud pull )"

I used the same code as your helpful response in the other valve thread and its working great with the 4aa power setting, but not 2aa.
This one reports summation delivered but its always 86L, which is definitely not correct. And irrigation time also seems to have no affect on the watering time.


[FR]: Tag Torrents with Existing Tags

Is your feature request related to a problem? Please elaborate.
I usually add several tags when initially adding torrents and according to the description qbit-manage will only add tracker based tags to torrents without tags.  That greatly reduces qbit-manage's usability in my situation and for others with a similar workflow.
Describe the solution you'd like
It would be very helpful to have a configuration setting that would allow qbit-manage to add tags to torrents with already existing tags.
Does your solution involve any of the following?

[X] New config option
[ ] New command option

Describe alternatives you've considered
I've started looking into scripting a solution myself but having this ability in qbit-manage would be preferred.
Who will this benefit?
Anyone who likes to tag their torrents right away but still wants them tagged by qbit-manage.
Additional Information
No response

I was looking through the source code and I noticed that it's already setup to ignore certain hard coded tags.  I think a possible simpler and quicker solution that provides majority of the functionality of this request would be to allow configuring which tags to ignore.
The original request would be ideal but this might prove easier and faster to implement as the original request gets looked at.

Sure let me see what I can come up with

You can add a list of tags to update for each tracker now.
Examples:
tracker:
  avistaz:
    tag:
      - Avistaz
      - tag2
      - tag3
  beyond-hd:
    tag: [Beyond-HD, tag2, tag3]

Also you can add igonre tags in settings
settings:
  force_auto_tmm: true
  tracker_error_tag: issue
  ignoreTags_OnUpdate:
    - noHL
    - issue
    - cross-seed


Add contextual transitions to core.redirect, overlapping views work, add contextualTransition example, small fix

The new view is now added as soon as possible and set to visibility: hidden. The old view is removed when the .in transition resolves.
The contextual transition gets set up inside redirect(href, contextual) now, so both clicking a link and using core.redirect(href, transition) can use them. In both cases, pass in false to use the view transition.
I added a quick example and a hunk of JS code to show the core.redirect(href, transition) in action to the top of the examples page.

The one concern I have with relying on the done() in the .in transition to trigger the removal of the old view, is when that resolves, certain things are reset in the renderer. Specifically this.popping and this.running, in addition to the NAVIGATE_END being emitted. This is why I tried making a removeOldView() function, to separate the resolution of this.To.show from the triggering of the old view removal. We can discuss more on slack.

This is melting my mind right now, but I take back what I said. Everything is good to go, and I changed my contextualTransition example to reflect the way things need to be handled in the transition.
Do note that now it is necessary to use display: none; to manually hide the old view if you don't want overlapping transitions. You noted this in slack as well, so just confirming that.
Also note that if you want overlapping views, in the .in transition you have to hide the old view and show the new view (set visibility to visible), then proceed with your animation, and when everything is complete, fire done() to remove the old view.
This seems like an extra step in the transition code, but in essence it is providing the developer with the option to code their transition however they want and to control when the old and new views are swapped. I'm still open to thoughts here as well.

@joshkirk-zero I did the merge for the Core.js and Renderer.js manually by checking your commits so I'll close this pull request since your commits are now in the develop branch. I'll run some more tests and check if there are possible improvements :).


Avatar Rendering Improvements

Some avatar rendering improvements were left out due to time constraints. This request contemplates the non trivial ones (Impostors and LODs)
Describe the solution you'd like

[ ] Buffer pooling in Compute Shader: Both in ComputeSkinningBufferContainerSetData and ComputeSkinningBufferContainerWrite we are using buffers that are not being pooled nor sliced. Pooling them would save us some allocations
[ ] Reduce the amount of times we call Dispatch() for avatars that are far away: Since we control the Dispatch() call for the compute shader, we should be able to call it less frequently depending on distance; like we do with scenes.
[ ] Dont call Dispatch() for avatars that are not on screen: Currently all dispatch calls are being done even if avatars are not on screen. T
[ ] Calculate bind pose matrix outside compute shader: The bind pose matrix is calculated on every iteration. Its calculation could be moved out of the compute shader, use a job on instatiation and do it only once.
[ ] Material pool issues: Avatars get instantiated faster once the material pool starts to fill up. Prewarming this pool could help us save time when changing wearables/instantiatiang a new avatar. This could be as simple as increasing the prewarmed value. Needs a little bit of investigation
[ ] Visual glitch when defragmentating avatar buffer: If you have 100 avatars, and change wearables of all of them at the same time, you may see a visual glitch for a split-second. This is caused due to the de-fragmentation of the avatar vertex buffer.
[ ] Start the avatar matrix calculation earlier: StartAvatarMatricesCalculationSystem is updated in PresentationSystemGroup. If we can move it to PreLateUpdate.LegacyAnimationUpdate we could gain some ms.

@dalkia is this still relevant?

I'm not enough of a graphics programer to make meaningful progress on any of these before the music festival.


drivers: watchdog: wdt_dw: add missing header

Needs zephyr/irq.h to compile it.
Signed-off-by: Savent Gate<EMAIL_ADDRESS>

@katsuster Hi, could u please review it?


Custom bridge name

This would allow to have different names for HUE. This is useful when they are many emulated devices in the network.
To be merged after #89

Can you please resolve the merge conflicts?


setup cron

@RicSegundo, some room for improvement in this PR:

In the dockerfile, you'll see many instances of /coderbyte_ishango: maybe it should be assigned to a variable? (I also use /coderbyte_ishango in the crontab file). I have to specify the full path because the user is in a different directory.
I don't really know what the difference between CMD and ENTRYPOINT is, even after reading this
probably we should be using exec form instead of shell form in the dockerfile: https://stackoverflow.com/a/42808931/5392289


Added ghc-tags-plugin

ghc-tags-plugin is a GHC compiler plugin which inspects parsed tree and
writes tags file (currently only in vim-format, emacs format will come
soon).  It leaves the parsed tree unchanged.  The plugin is much better
in finding tags than let say hasktags (inspecting syntax try vs
pattern matching), especially for type level heavy code
(typed-protocols, ourobors-network protocol implementations or
ouroboros-consensus).
This patch adds tags cabal flag to all cabal files which enabled the
plugin.  Then one can configure each local package in
cabal.package.local to use it, e.g.
package typed-protocols
  flags: +tags
  ghc-options: -fplugin=Plugin.GhcTags

Disclaimer: I am the author of the plugin :)
https://hackage.haskell.org/package/ghc-tags-plugin-<IP_ADDRESS>
A better option would be to write a nix expression which does that
without modifying all the cabal files, but that's more complex.

Closing as there is a way to configure it in cabal.project.local file.


Setting strokeWeight on a circle throws an error and doesn't add the stroke

Issue description
If you add the strokeWeight property google maps throws an error:

Uncaught TypeError: f[r] is not a function

Steps to reproduce and a minimal demo of the problem
http://plnkr.co/edit/EjWE2hRU9q3DwQh90BCE?p=preview
What steps should we try in your demo to see the problem?
Run it and open the console.
Current behavior
An error is thrown.
Expected/desired behavior
The circle shows a stroke with the defined weight
angular2 & angular2-google-maps version
angular 2.2 and angular2-google-maps 0.16.0
Other information
This happens because you are passing the stroke position value as CENTER string but that is not valid for google maps since it is expecting google.maps.StrokePosition.CENTER (OUTSIDE or INSIDE) which behind the scenes is an enum with some numeric value not a string.

@cesarp thank you! Added one comment.

Any update or work-around? I've run into the same issue.

Any update with this issue? I've encounter the same issue also.

@santosmken
I added [strokePosition]="1" to my agm-circle tag.  That adds the circle.  However, now I have a different problem in that strokeColor and fillColor values are not being honored.  The stroke and the fill is black and cannot be changed.

@shuchow did you paste the code directly on your node_modules directory? Because mine is working properly and the behavior I want is correct. The code should be pasted on

<EMAIL_ADDRESS>LINE 46-51

@SebastianM any progress with that regarding information @cesarp provided? this issue is quite old...

Why this is still open? Please change it on docs or in code. I lost much time on this.

I run into same issue, a fix is needed, string doesn't work but number work 👍

This is still an issue (I'm using beta.5). It should stay open

#770 tried to fix it, but wasn't complete


[SPARK-15698][SQL][Streaming][Follw-up]Fix FileStream source and sink log get configuration issue

What changes were proposed in this pull request?
This issue was introduced in the previous commit of SPARK-15698. Mistakenly change the way to get configuration back to original one, so here with the follow up PR to revert them up.
How was this patch tested?
N/A
Ping @zsxwing , please review again, sorry to bring the inconvenience. Thanks a lot.

Test build #65697 has started for PR 15173 at commit 793ef77.

Test build #65697 has finished for PR 15173 at commit 793ef77.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65697/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Merging to master. Thanks!

@zsxwing Why was not this merge to 2.0?

@tdas this is is just following a cleanup PR #14678 which only exists in master. So I didn't merge it to 2.0.


[Feature Request] Encodable Default Value Handling

[x] I have read the documentation.

Is your feature request related to a problem? Please describe.
In my scenario, I need to assign default values during decoding if certain fields are missing (which is already supported), but I also want to avoid encoding a field if its value matches the same default.
Consider this Node struct:
@Codable
struct Node: Hashable {
    @Default("")
    var label: String = ""
    @Default(CGPoint.zero)
    var center: CGPoint = .zero
}

For example, if center isn't set, it should default to .zero during decoding. Similarly, for my use case, if it's already set to .zero, there's no need to encode it since it's the expected default.
Describe the solution you'd like
Introduce a new tag, perhaps something like @IgnoreEncodingIfDefault when set alongside @Default(CGPoint.zero) or a standalone @IgnoreEncodingDefault(CGPoint.zero) for this purpose. (I'm not certain what the best naming convention would be, I'd imagine you'd have better ideas.)
I feel this feature would be particularly useful for user-editable configuration files where we would want to omit any "optional" fields, or just keeping human-readable configurations minimal for git diffing.

@tatewake have you looked into the the HelperCoder functionality provided to implement what you want?

Ah, I have not, I'll look into it.


Correction for raw affiliation Institute of Research in Immunology and Cancer (IRIC), Department of Pathology and Cell Biology, Université de Montréal, Pavillon Marcelle-Coutu, 2950 Chemin de Polytechnique, Montreal, QC H3T 1J4, Canada

Correction needed for raw affiliation Institute of Research in Immunology and Cancer (IRIC), Department of Pathology and Cell Biology, Université de Montréal, Pavillon Marcelle-Coutu, 2950 Chemin de Polytechnique, Montreal, QC H3T 1J4, Canada
raw_affiliation_name: Institute of Research in Immunology and Cancer (IRIC), Department of Pathology and Cell Biology, Université de Montréal, Pavillon Marcelle-Coutu, 2950 Chemin de Polytechnique, Montreal, QC H3T 1J4, Canada
new_rors: 0161xgx34;00wj6x496
previous_rors: 0161xgx34;05f8d4e86;00wj6x496
works_examples: W2942544581
contact: def9cdd78b11cfdc40a0bf9dd4faed10:11ff2ee146434c1832ac74 @ polymtl.ca

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


Test CLI

We should test the CLI driver similar to:
https://github.com/partiql/partiql-lang-rust/pull/45

This was added by @camerondurham in #22. Closing this out; we can open other issues to track further desired enhancements to testing.


[SPARK-9719][ML] Clean up Naive Bayes doc

Small documentation cleanups, including:

Adds documentation for pi and theta
setParam to setModelType

Merged build triggered.

Merged build started.

Test build #40210 has started for   PR 8047 at commit b372438.

LGTM pending tests

Test build #40210 has finished for   PR 8047 at commit b372438.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

merging with master and branch-1.5


solved bug on cuppertino bottom navigation bar

Hi @putrautama007,
Thanks for fixing the bug, I really appreciate. And I have a request for the PR.


Incorrect NUMA Node and CPU Pinning During VM Migration

/!\ To report a security issue please follow this procedure:
[https://github.com/OpenNebula/one/wiki/Vulnerability-Management-Process]
Description
The current implementation for Huge Pages support, as per the enhancement "Support use of huge pages without CPU pinning #6185," selects a NUMA node based on free resources. The scheduling mechanism effectively balances load across NUMA nodes. However, issues arise during VM migration, leading to inconsistencies.
To Reproduce

Configure a VM to use Huge Pages and deploy it on a host.
Initiate a migration using the standard SAVE/Restore or Live migration method.
Observe that the VM continues to use the old NUMA node on the target host, even if the scheduler selects a different NUMA node based on the target host’s free resources.
If there is insufficient memory in the old NUMA node on the target, the migration may fail.
Deploy new VMs and note inconsistencies caused by incorrectly pinned VMs.

Expected behavior

When a VM is migrated using SAVE/Restore or Live migration methods, the NUMA node assignments should be updated based on the scheduler's decision.
The migration should update the VM’s configuration with the correct NUMA assignments, avoiding failures and maintaining scheduling consistency.

Details

Affected Component: Scheduler, Virtual Machine Manager (VMM)
Hypervisor: KVM
Version: All

Additional context

During SAVE and Live migration operations, we can use the --xml option to provide a new XML configuration file with the updated NUMA topology and CPU pinning information. This ensures that the VM's NUMA node and CPU assignments are correctly updated on the target host.

Progress Status

[x] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

@paczerny Hi, can you help me with my commit https://github.com/FELDSAM-INC/one/commit/47641337a6748e92d4cd774b88fba902f0d4efd0
It doesn't work, only what you did is working - classic migrate using save/restore - pinned CPUs are properly cleaned. I try to implement it for live migration and for migration with poweroff, but it doesn't work. What I did wrong? Thanks!

Hello @rsmontero @paczerny,
I just fixed my code about deleting capacity from previous host and tested it in lab environment. I tested all migration model:

[x] live
[x] save - suspend/restore
[x] poweroff
[x] poweroff hard

This is related to #6596, where only save - suspend/restore was implemented.
I also tested bigger VMs, which spans across more numa nodes and I see another bug - only first numa node CPUs are cleared. Should I report this as new issue?
Thanks!


Idiomatic 1.0 code

I see that there are quite a few constructions which are obsolete in Python 0.4+.
For example: Variable. Plus, it seems that .to(device) is the preferred method to keep transfer to GPU (or not, if not available).

Removed Variables and replaced .cuda() with .to(device) in example
scripts in e77ada9dd3d87da18ce73033b6fb8a25b6d3cd9e. Thanks for the
suggestion!
On Wed, Dec 26, 2018 at 2:49 PM Piotr Migdał<EMAIL_ADDRESS>wrote:

I see that there are quite a few constructions which are obsolete in
Python 0.4+.
For example: Variable. Plus, it seems that .to(device) is the preferred
method to keep transfer to GPU (or not, if not available).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/justinshenk/delve/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJy2ZE1dWOxrMSXVV4-WHgXddTaJMNdNks5u835qgaJpZM4ZhxLh
.

Awesome!
I tend to use .to always, without ifs. That way in makes code cleaner (at least to my eyes; yes, I now it can be subjective).

I agree that is cleaner. I unfortunately however get AssertionError: Torch not compiled with CUDA enabled on my CPU-only machine if I remove the
ifs.
On Wed, Dec 26, 2018 at 6:49 PM Piotr Migdał<EMAIL_ADDRESS>wrote:

Awesome!
I tend to use .to always, without ifs. That way in makes code cleaner
(at least to my eyes; yes, I now it can be subjective).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/justinshenk/delve/issues/8#issuecomment-450000330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJy2ZHjpWJZlfODbQgGNdLAV8MN7Hg1Kks5u87aSgaJpZM4ZhxLh
.

Try
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
model = models.resnet50(pretrained=True).to(device)```
vide https://deepsense.ai/keras-vs-pytorch-avp-transfer-learning/.

Of course `.cuda()` will fail of non-CUDA machine.

Thanks for the suggestion! Example files updated
in 320130c5f1c0212bc6c417087d353ce1b3a6ecce.
On Thu, Dec 27, 2018 at 2:33 PM Piotr Migdał<EMAIL_ADDRESS>wrote:

Try
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
model = models.resnet50(pretrained=True).to(device)```
vide https://deepsense.ai/keras-vs-pytorch-avp-transfer-learning/.
Of course .cuda() will fail of non-CUDA machine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/justinshenk/delve/issues/8#issuecomment-450151520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJy2ZNT-J0i-kD3E_vwDXi3BlV6MEHDDks5u9MxFgaJpZM4ZhxLh
.


IE11 compatibility failure v>1.13.5

Description
Breaking change in the latest patch releases
With the latest patch update if the library is imported, IE11 will throw an error.
v.13.5 still works as expected
Steps to Reproduce
Import the latest release in your project and open in IE11. IE11 will throw a syntax error on a anonymous function call.
(node modules are typically not babel transpiled)
Environment
OS: Windows, IE 11

Ah, there was an update to Webpack.
https://stackoverflow.com/questions/64478671/after-build-via-webpack-5-app-stoped-working-on-internet-explorer-ie11/64494479


onKeydown(event) requires deprecated attribute event.keyCode.

🐞 bug report
Affected Package
The issue is caused by package @angular/cdk/fesm2015/a11y.js
Is this a regression?
No, but the previous version supported the event.keyCode and event.which attributes, which were not deprecated before but are now
Description
The onKeydown(event) function
🔬 Minimal Reproduction

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ /  | | | | |/ _ | '__|   | |   | |    | |
/ ___ | | | | (| | || | | (| | |      | || | | |
//   __| ||_, |_,||_,||       _|||
|___/
Angular CLI: 9.1.9
Node: 12.3.0
OS: win32 x64
Angular: 9.1.9
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Ivy Workspace: Yes
Package                            Version
@angular-devkit/architect          0.901.9
@angular-devkit/build-angular      0.901.9
@angular-devkit/build-ng-packagr   0.901.9
@angular-devkit/build-optimizer    0.901.9
@angular-devkit/build-webpack      0.901.9
@angular-devkit/core               9.1.9
@angular-devkit/schematics         9.1.9
@angular-devkit/schematics-cli     0.901.9
@angular/cdk                       9.2.4
@angular/material                  9.2.4
@ngtools/webpack                   9.1.9
@schematics/angular                9.1.9
@schematics/schematics             0.901.9
@schematics/update                 0.901.9
ng-packagr                         9.1.5
rxjs                               6.5.5
typescript                         3.8.3
webpack                            4.42.0

Anything else relevant?
Attachments
Enironment.txt
a11y.zip

Hi @James-Vanguard, this question is related to Material Components, so I'm transferring this ticket to the Components repo for further investigation. Thank you.

Thanks for your help Andrew

This has come up in the past and the reasons we use it are that:

At the time when we wrote most components, KeyboardEvent.key wasn't widely available in all browsers.
Even if key is available, it isn't consistent across browsers (e.g. IE/Edge call the up arrow Up, whereas other browsers call it ArrowUp).
Even though keyCode is marked as deprecated, it likely isn't going anywhere, because of the amount of code out there that depends on it.

Hello Kristiyan,
Thank you for explaining the issue. We are currently updating our component logic automated testing to remove all deprecated values. As such some of our tests which create an event and add values to it are no longer working with this function, but the function is necessary to test the component. I understand your reasoning for keeping event.keyCode as an option. Since the value is deprecated, please add a conditional to allow for the use of either event.key, event.code, or both in the onKeydown(event) function. Please let me know when you will be able to push this. Thank you so much for your help.
--
James Kelly
Client Experience | Full Stack Developer
Defence Building
From: Kristiyan Kostadinov<EMAIL_ADDRESS>Sent: Tuesday, September 29, 2020 4:48 AM
To: angular/components<EMAIL_ADDRESS>Cc: Kelly,James<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [External] Re: [angular/components] onKeydown(event) requires deprecated attribute event.keyCode. (#20670)
This has come up in the past and the reasons we use it are that:

At the time when we wrote most components, KeyboardEvent.key wasn't widely available in all browsers.
Even if key is available, it isn't consistent across browsers (e.g. IE/Edge call the up arrow Up, whereas other browsers call it ArrowUp).
Even though keyCode is marked as deprecated, it likely isn't going anywhere, because of the amount of code out there that depends on it.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_angular_components_issues_20670-23issuecomment-2D700552364&d=DwMCaQ&c=MrQrGL4Bt1iC3sN_evS3dQ&r=EO6Prk9IhHSMwOgs7Imj1Dp_muibROzHTVQZag4z9wc&m=--LMjJL80feg0e6ngqU_3zOBMw6sGyPK90YV0byw7d8&s=USsllmmJT52SVPR-wQ1pbjpRbgdF-7_eHkT8UF-uJ7o&e=, or unsubscribe [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARFTODLQATWHP2MWVTBWUA3SIGNNNANCNFSM4R4ZFMNQ&d=DwMCaQ&c=MrQrGL4Bt1iC3sN_evS3dQ&r=EO6Prk9IhHSMwOgs7Imj1Dp_muibROzHTVQZag4z9wc&m=--LMjJL80feg0e6ngqU_3zOBMw6sGyPK90YV0byw7d8&s=gK6kzhVkExnqiOTk2OLfMIOsrDnfVfF-MaNKZhzjIOI&e=.

CONFIDENTIALITY STATEMENT. The information contained in this e-mail message, including attachments, is the confidential information of, and/or is the property of, Vanguard. The information is intended for use solely by the individual or entity named in the message. If you are not an intended recipient or you received this in error, then any review, printing, copying, or distribution of any such information is prohibited, and please notify the sender immediately by reply e-mail and then delete this e-mail from your system.

Switching to the key property is currently tracked under https://github.com/angular/components/issues/7374


Spam in the README

At https://github.com/spark/particle-setup-ios#support-for-swift-projects the read here link redirects to spam ads.

This should no longer be the case.


[Feature] Instance-store-backed AMIs

What would you like to be added:
The ability to create instance-store-backed AMIs.
Why is this needed:
We want to avoid the cost of EBS root volumes when using storage-optimized instance types for EKS nodes.

I think this has been released for AL2 & AL2023.

@stevehipwell this issue is about AMI's that are backed by an instance store (no EBS volume involved): https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html
Those are still pretty new and don't have great support in the tooling we use today (and they also take way longer to boot). We'll keep an eye on it.

I think there is some overlapping terminology at play here as Karpenter refers to NVMe drives as instance store volumes.


 Or you get a rune spear from the RDT?
A solution to this would be done by adding a calculation at the end of a rare drop
EX: https://gyazo.com/4bdc5f9c3eaff60ac67151cb80215e04
It would calculate your total KC to the drop rate and output a percentage, that would then display beside your "Valuable drop: Pegasian crystal (119,436 coin)(5.68% Chance)

Making the client know droprates would be difficult, see #7905

Making the client know droprates would be difficult, see #7905

It can pull the calculation off the wiki drop rates. Of course we don't know.
But that shouldn't hold you back from creating something semi-convenient and cool


feat: Add control panel config for the BigNumber charts

💔 Breaking Changes
🏆 Enhancements
Allows BigNumber to register its own controls, so that the control configs can be removed from superset.
📜 Documentation
🐛 Bug Fix
🏠 Internal

Addressed PR feedback


Updated example and fixed typos

Hi @semacu,
Can you approve this PR for our python course? Seems like I did something wrong with my AZ account and doesn't let me merge automatically...


Switching of video tracks is not smooth (video and audio freezed a very short moment during switching)

This is a follow up issue in #308.
To reproduce the issue, I am providing 1 sample content:

https://www.dropbox.com/s/9583c8pta4aow7r/iso_clear.tar.gz?dl=0
Content A: Clear DASH content with ISO profile

The Shaka Player which can reproduce the issue:

http://v1-6-5.shaka-player-demo.appspot.com/

Steps to reproduce the issue:

Host the content above
The content contains 3 different video qualities
480 x 270 (500K)
640 x 360 (1M)
1280 x 720 (1.5M)
Load the player
Put the mpd URL in "Stream Setup > Custom manifest URL:"
Leave the field "Stream Setup > Custom WV license server URL: [?]" empty
Disable the adaptation by unchecking "Stream Info > Enable adaptation?"
By observation, it loaded the lowest bitrate (480 x 270) by default with the above contents
Click "Load Stream"
Do switching across different qualities in "Stream Info > Available video tracks:"
Only trigger switch when "Stream Info > Buffered behind:" is larger than "Stream Info > Buffered ahead:"
If switching is successful, we should be able to observe resolution changed in "Stream Info > Active resolution:", and the playback should continue, and the playback freeze for a very short moment before it can switch to the desire video tracks.

For more clarification, please definitely let me know.
Ryan Chan

In v1, when switching tracks, the default is to clear the buffer.  So when explicitly switching to a new track: it will clear the buffer, enter a buffering state while it downloads the current segment, and then continue once it's downloaded.  In v2, it does not clear the buffer by default (you can still specify whether to do it in the API).

Yes, this is WAI: when you explicitly select a video track, the transition will not be seamless.

Thanks for your response. So, can I say this is a design limitation in v1, but has been fixed in v2?
Many thanks.
Best regards,
Ryan Chan

sent from my iPhone

On 23 Apr 2016, at 06:21, tdrews<EMAIL_ADDRESS>wrote:
Yes, this is WAI: when you explicitly select a video track, the transition will not be seamless.
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

This is a limitation of the demo app, which will always clear the buffer.  However, if you use the API, you can specify whether to clear the buffer.
v1: http://v1-6-5.shaka-player-demo.appspot.com/docs/shaka.player.Player.html#selectAudioTrack
http://v1-6-5.shaka-player-demo.appspot.com/docs/shaka.player.Player.html#selectVideoTrack
v2: http://shaka-player-demo.appspot.com/docs/api/shaka.Player.html#selectTrack

So, does that mean v1 demo app suffer this, because by default it clears it buffer; while v2 demo app does not suffer this, as by default it keeps the buffer?
Many thanks.
Best regards,
Ryan Chan

sent from my iPhone

On 23 Apr 2016, at 09:20, Jacob Trimble<EMAIL_ADDRESS>wrote:
This is a limitation of the demo app, which will always clear the buffer. However, if you use the API, you can specify whether to clear the buffer.
v1: http://v1-6-5.shaka-player-demo.appspot.com/docs/shaka.player.Player.html#selectAudioTrack
http://v1-6-5.shaka-player-demo.appspot.com/docs/shaka.player.Player.html#selectVideoTrack
v2: http://shaka-player-demo.appspot.com/docs/api/shaka.Player.html#selectTrack
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

No, both demo apps do this.

It is very clear, thanks for the clarification. I would consider this is the limitation of the demo app.
Many thanks.
Best regards,
Ryan Chan

sent from my iPhone

On 23 Apr 2016, at 09:38, Jacob Trimble<EMAIL_ADDRESS>wrote:
No, both demo apps do this.
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


Crash at Startup

Expected behavior:

Should load up without crashing.
Actual behavior:

Crashed fatally.
How often does this problem occur?

First time I have seen this occur.
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Turn on PC
Log into Windows
PC shuts down by itself (idk if this is related to Aurora)
PC reboots by itself without pressing any button (again idk if related to Aurora)
Log into Windows
All startup programs load
Aurora pops up with fatal crash
Click OK
Another fatal crash popup
Yet another crash popup
Guess what, last crash popup
Aurora shuts down
Open Aurora and it works fine.

What is the version of Aurora you are experiencing this issue with?

My version is v0.6.4b
Does the previous version of Aurora have this issue?
No clue, happened for the first time today
Please include any logs, screenshots, or files that are related to this issue:

Logs:

https://pastebin.com/krziwNvx
https://pastebin.com/J5W6Kr3B
https://pastebin.com/NjYZ7XbU

Screenshots:

https://imgur.com/a/nZnGn86
Didn't save it as it looked identical to the previous
https://imgur.com/a/GeIttbq
https://imgur.com/a/vKizWNB

Seems like the settings for one of more of the games is perhaps corrupt or missing. Strange.
I would suggest deleting the Aurora appdata at %appdata%\Aurora. This will be re-created when Aurora runs next. If you have any customised profiles that have been changed (if you've ever managed to get the program to work before), you will need to back them up else they will be lost. Each profile is stored as a JSON file in %appdata%\Aurora\Profiles\<gamename>.

Was going to open a thread about this, I have almost the same issue, except my computer doesn't reboot immediately.
I launch Aurora, and it immediately crashes. Doesn't matter how many times I launch it, it never starts properly.
I tried uninstalling it and reinstalling the latest version without success.
As soon as it starts, it crashes.
Here's the screen I made.
https://i.imgur.com/jyGtUBk.png


more docs abut akka support

Docs related to #108

@pawelpanasewicz will you be changing this PR according to @ktoso comments? If not I can merge it and make corrections later :)

Hey @adamw. Sorry for being not responsive - not to much free time in my "free time" last days.
I'll make an update today.

@adamw. The most important parts were adapted so now 'macwire akkasupport' doc is better than ever ;)

Thanks! :)


Error when request.META['REMOTE_ADDR'] is not defined

Hi, I got an error when using this module because for some reason or another request.META['REMOTE_ADDR'] was not set by my django instance.  I think this probably has to do with the way that the request is being proxied.  I don't think that REMOTE_ADDR is always something that can be depended on as being set all the time.  I made the following change which I think solves the issue.
Solution:
https://github.com/JoeJasinski/django-recaptcha/commit/5fdb9bc22dca944758285c0defc5560076213f81
Original Error:
File "/jaz/sites/jazstudios/lib/python2.6/site-packages/captcha/fields.py", line 53, in clean
remoteip=self.get_remote_ip(), use_ssl=self.use_ssl)
File "/jaz/sites/jazstudios/lib/python2.6/site-packages/captcha/fields.py", line 44, in get_remote_ip
return request.META['REMOTE_ADDR']
KeyError: 'REMOTE_ADDR'

I merged your pull request.