[L5.1] DB::transaction() does not trigger a reconnection

When a new db transaction is started with DB::transaction(), and the PDO connection has timed out, DB::reconnect() is not automatically called.
The first SQL statement inside the transaction does trigger a reconnection, which attempts to set the PDO object to NULL in the middle of the transaction. You can not change the PDO driver mid transaction, so this throws an exception that is not handled.
Suggest that starting a transaction should attempt to ensure the connection is still alive, and reconnect automatically, prior to starting the transaction.

Same issue https://github.com/laravel/framework/issues/10146 with closed PR https://github.com/laravel/framework/pull/10158


tcpdump error on ubuntu 20.04 x86_64 guest executed arm64 host

Hello,
Platform: Ubuntu 20.04 for arm64 (Graviton3)
Guest Image: ubuntu 20.04 for arm64
tcpdump returns the following error:
tcpdump: lo: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: Function not implemented
How to reproduce the issue :
$ docker run -it --platform=amd64 --entrypoint=bash ubuntu
$ apt update && apt install -y tcpdump
$ tcpdump -i lo

The native execution works as excpected:
$ docker run -it --entrypoint=bash ubuntu
$ apt update && apt install -y tcpdump
$ tcpdump -i lo

Results
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes

I believe I have the same networking problem. Trying to run rocketchat amd64 but the container can never reach mongodb or anything else outside of it.


Unify UI layout

The app currently has very different UI layouts for the three UI types.

Smaller iPhone devices that don't support landscape orientation (UITypePhonePortraitOnly)
Larger iPhone devices that do support landscape orientation (UITypePhone)
iPad devices that support landscape orientation (UITypePad)

A decision has been reached to unify the layouts of the three UI types as much as possible. These were the main decision drivers:

The effort to support three different UI layouts has become too much. This became apparent after some prototyping how to display SGF node and move annotations. Each of the three UI type has its own implementation how to display board positions. Since board positions now represent nodes, the changes that are necessary for displaying SGF node and move annotations would have to be made in three different places, proliferating the wild variety and making things even worse in the future. This is not sustainable, so the first unification goal is to have only one way of displaying board position: Using UICollectionView and BoardPositionCollectionViewCell. This means changing UITypePad (get rid of the table view based approach) and UITypePhonePortraitOnly (get rid of the alternative UICollectionView implementation that uses BoardPositionView as the cell type).
Once the displaying of board positions has been unified, it should be considered to also unify the way how board positions are navigated. Specifically, UITypePad and UITypePhonePortraitOnly currently have hacks that mangle UIToolBar into submission, so if possible these should start to use the custom ButtonBoxController view controller instead of a UIToolbar.
The layout for UITypePhone looks quite neat in my opinion, but the pain and workarounds it took to implement are pretty horrible, and not everything works 100% the way it should. Plus every time I upgrade to a new iOS version there is a new set of smaller or bigger issues that need to be fixed. Again, I am no longer willing to spend the time to support this, so I am going to switch to an UITabBarController based layout on UITypePhone. The drawback for the user is that in landscape orientation the board will have less vertical space and will therefore become smaller.
After switching the UITypePhone layout to use UITabBarController, it should be very similar to the UITypePad layout. There is a huge promise that the two layouts can be merged, with only minimal differences between them.
Layout unification provides a new chance to finally understand and support the extended layout concept introduced way back in iOS 7. This should get rid of various hacks that set edgesForExtendedLayout to UIRectEdgeNone and automaticallyAdjustsScrollViewInsets to NO.

A consequence of the unification effort is that in Portrait orientation the vertical space available for the board view is now slightly reduced.
For most iPhone devices this is not a problem, because for them the vertical space available is still larger than the screen width, so the screen width remains the limiting dimension for the square board view.
However, for the smallest iPhone devices that the app still supports - the iPhone 5S and the iPhone SE (640 points vertical screen size) - the reduction means that the vertical space available is now less than the screen width, so the vertical space available now becomes the limiting dimension. In practice on the affected iPhone devices for some board sizes coordinate labels and/or move numbers and label markup will no longer show up without zooming in.

Ready for next release, closing this issue.


Add restart,logs, start,stop to ovena admin tool

There are common things that need to get done periodically, like:

edit config file
restart ovena
look at logs or stream them

These are all settings that should go in the ovena shell script. They could be wrappers for commands like:
docker-compose -f /etc/ovena/docker-compose.yml restart
or, even better, any command that is not recognized, could be passed directly to docker-compose -f /etc/ovena/docker-compose.yml $@, and the script cold be setuid root. Although, if it is setuid root, maybe it's not a good idea to have it pass everything.

In the current develop, restart and logs have been implemented. Edit config file has not. However, the current config file has now been split in several parts, and the editing is therefore not as easy as it could be using visudo. Might be better leaving it the way it is until config can get done via web GUI.


Build the source

I have a question about building SDMobileDevice. On the Readme.me it mentions using the framework version of the project, however; I can not seem to build a framework version. I can only build a dylib or .a file. Am I doing something wrong or is the Readme just out of date and we should be using the dylib ?

correct; the read-me is out of date and it now will build a static library (.a) or dynamic library (.dylib).


print welcome message after pip install

Proposed changes:

print welcome message after install

Status:

[ ] ready for code review

thanks a lot. looks good :+1:

@tmbo you're welcome :smile:


new @Input "pixelSize" width in px

i was missing an option for setting a fixed pixel width to an area.

if there are e.g. three areas and one of them has [pixelSize] set to e.g. 500, the remaining space is used for the percentage based areas.
eg. [pixelSize]="500" sets the width for the area to 500px
resizing the areas also works

maybe you can somehow integrate my code?

Did this ever get merged? I really need a static pixel width for one of the panes but can't get this to work.

unfortunately not - my pull request remains open since may 2017.

That's not very reassuring.
@bertrandg, any chance we can get this implemented?

@bertrandg I think it's awesome you've reopened the project and that you're committed to including fixed pixel widths as a feature.  Do you have a timeline on that? Do you need any help in making it happen?

Version 2.0.0 will be released soon (one week max), it solves several bugs, and allow more flexibility about styles.
Then I will work on split area size options asked, I listed them:

Min & max sizes percent/pixel (#4 & #82)
Express sizes in pixel (#101)
Lock area size (#97)
Add wildcard size (#55)
Move gutter around steps

First I will find what can be done to allow more asked scenarios possible and then start coding it.
So thanks for you proposition but not best time for it unless you already have a working solution allowing all options.
And no, I don't have more info about when feature will be added.
I keeped this PR opened because it's an interesting way to have fixed pixel area size but it will not be merged due to lots of changes inside repository.

I'm happy if my code helps in any way and that the project continues. If you can't merge my PR it's no problem for me.
Good luck!

Thanks @mrothauer, glad you said this, even if not merged it will help! ;)


Add javadocs for version 1.0.0

Javadoc generated from dc83ba2d3229dcbe4d34e56b3de255b961ee12ed.

Closing this since outdated.


LGTM.com - false positive. Multiplication overflow not possible due to type width.

Finding is "Multiplication result may overflow 'int' before it is converted to 'unsigned long'." in the following line of code:
hosts_skipped = (last[1] + 1) * (last[2] + 1) * (last[3] + 1);

Where hosts_skipped is an unsigned long and last is an array of unsigned uint8_t. In the worst case, each last[n] would be 0xff, so the multiplication result would be 0x100 * 0x100 * 0x100, with the result 0x1000000, which easily fits inside a 4-byte int.

https://lgtm.com/projects/g/nmap/nmap/snapshot/4851ef45f3bb0373c350c09af3722905c6074a67/files/nping/common_modified.cc?sort=name&dir=ASC&mode=heatmap#x142b5d6d07ac37a2:1

@dmiller-nmap, thank you for the report. We'll probably be slow to investigate it because of the holidays.
@MathiasVP, can you take a look at this one? I expect that the SimpleRangeAnalysis.qll library can be used to exclude such false positives. That library has a predicate exprMightOverflowPositively, which should tell us whether overflow is possible at all.

@jbj Sure, I will take a look at this one!

This issue is fixed by https://github.com/Semmle/ql/pull/2577 (thanks @MathiasVP!).  Please allow two weeks for the fix to reach LGTM.


Install errors

Hi,
Thanks for developing such a useful tool. I would like to try it, but I encountered errors when intalling it.
First, there are some @ file:///home/ktietz/src/ci/alabaster_1611921544520/work in the requirements.txt, and pip will throw errors.
Second, I found there is a MATES in the requirements.txt. So, I tried to install it directly using pip install MATES. The installation was smooth, but it had issues when importing this module
>>> import MATES
>>> from MATES import bam_processor
>>> from MATES import data_processor

>>> from MATES import MATES_model
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/work/home/software/MATES/MATES/MATES_model.py", line 4, in <module>
    from MATES.scripts.make_prediction_locus import make_prediction_locus
ModuleNotFoundError: No module named 'MATES.scripts.make_prediction_locus'

Thanks in advance!

Hi,
Thanks for your feedback. We made some modifications a few days ago and probably failed to sync all codes to github. We will fix it ASAP.
Thanks!

Hi @YiweiNiu,
Sorry for the delayed response. The requirements.txt issue is fixed and we also have updated a version of MATES that you can use the following steps to install and use MATES.
git clone https://github.com/mcgilldinglab/MATES.git
cd MATES
pip3 install -r requirements.txt
python setup.py install```

Thanks,
Yumin

Hi, thanks for the update. I was wondering which Python version you're using for MATES, as I have some package conflicting issues when using python 3.11.3 to install the requirements.

I use python3.9, it looks alright.

Hi, thanks for your reply. I have managed to install MATES now, but when importing the modules there's an error:
>>> import MATES
>>> from MATES import bam_processor
>>> from MATES import data_processor

>>> from MATES import MATES_model
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/work/home/software/MATES/MATES/MATES_model.py", line 4, in <module>
    from MATES.scripts.make_prediction_locus import make_prediction_locus
ModuleNotFoundError: No module named 'MATES.scripts.make_prediction_locus'
>>> from MATES import TE_quantifier
>>>

will fix it today.
thanks.

Hi @YiweiNiu,
I have uploaded the missing script. Thank you very much for pointing the issue. We are working on the revision and don't have much time to test it thoroughly. But we will make sure it's bug free in the upcoming weeks. If you have any other issue while using MATES, please let us know.
Thank you,
Yumin


Add Windows platform support for string streams

See #7

Are you interested in this PR?

[ ] Sure, wait.
[ ] Sorry, don't bother me with that Win stuff.

I think if this is added, msgpack-c should also be part of the repository (Ubuntu still does not ship 1.0)

Yeah, simply add it. It is only a small number of C files and headers.

@dietmarw @mtiller how does impact handle git submodule? I assume you use github-generated zip-files, which do not contain these files?

Use KISS: Just copy the files.

It is sadly not that simple, because the includes in the msgpack-c repository do not work if you do #include "msgpack-c/include/msgpack.h". The reason is that msgpack internally uses:
#include <msgpack/predef.h> - this only works if a -I directive points to the directory containing msgpack...

Why does it not work like this https://github.com/tbeu/msgpack-modelica/tree/issue-12-binaries/MessagePack/Resources/Include for you?

https://github.com/msgpack/msgpack-c/issues/367 ... might be possible with some weird IncludeDirectory...


fix 363

See #363

This change is

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

preprocessor/preprocessor.go, line 41 at r2 (raw file):

				allItems[i].other == allItems[j].other &&
				len(allItems[i].lines) == len(allItems[j].lines) {
				indentical := true

"identical". Can you also explain a bit what this code is doing with a comment?

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

preprocessor/preprocessor.go, line 41 at r2 (raw file):
Previously, elliotchance (Elliot Chance) wrote…
"identical". Can you also explain a bit what this code is doing with a comment?

Yes, you are right . This part of code, is huge. So I separate to function isSame.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Weird issue when reloading the page

Not sure exactly what triggers this nor how to reproduce 100% of the time, but I got this error when doing the following:

Run server, public instanec
Access it on localhost
Connect to Freenode and another IRC network
Freenode is broken, got no channels open nor connection with it
Reload the page
Boom, error

The stack trace:
> node index "--port" "9001" "--home" "/tmp"

The Lounge is now running on http://<IP_ADDRESS>:9001/
Press ctrl-c to stop

Client#connect():
Error: connect ETIMEDOUT <IP_ADDRESS>:6697
.../lounge/src/client.js:337
	var room = sockets.adapter.rooms[this.id] || [];
	                          ^

TypeError: Cannot read property 'rooms' of undefined
    at Client.quit (.../lounge/src/client.js:337:28)
    at Socket.<anonymous> (.../lounge/src/server.js:189:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Socket.emit (.../lounge/node_modules/socket.io/lib/socket.js:129:10)
    at Socket.onclose (.../lounge/node_modules/socket.io/lib/socket.js:398:8)
    at Client.onclose (.../lounge/node_modules/socket.io/lib/client.js:204:12)
    at emitTwo (events.js:92:20)
    at Socket.emit (events.js:172:7)
    at Socket.onClose (.../lounge/node_modules/socket.io/node_modules/engine.io/lib/socket.js:240:10)

Let me know what additional info I can bring and I'll try to find that.

Actually, no need to do all that, just run it from master, access it on localhost (public instance) and refresh the page whenever you want.

@xPaw confirmed this bug, so let's not make a release until this gets fixed.
As a matter of fact, I am willing to re-purpose the priority badge and make it a sensible requirement for releases: can't release as long as there is a priority ticket (issue or PR) is open. At the moment the label is very opinion-based, everyone having preferences of things to be worked on. By re-purposing this, we make it so that important issue do get in the way of releasing and make it clear for everyone. Of course, I'll document that in the releasing process. That way, maintainers can mark a bug and make sure it doesn't get shipped by accident. Are @thelounge/maintainers OK with this? :-)

As a matter of fact, I am willing to re-purpose the priority badge and make it a sensible requirement for releases: can't release as long as there is a priority ticket (issue or PR) is open.

Happy with this, but not sure "priority" is the right word for it. "Blocker" or "release-critical" or something like that would probably be better.


Switch to 'Display' from 'Buildable'

Looks like display package provides more efficient conversion. Also, text-show is not maintained.
See this conversation for reference.

See https://github.com/aelve/fmt/issues/17#issuecomment-374794265

Also see #21.


fix: next.js pathname/query param workaround fix, fo real this time

Real fix this time, we have to work around how next.js works with URLs internally

Closing. This solves the issue with the URL in the browser address bar changing, but is a bit too hacky. The previous fix to use a URL object for replace is better than before, and paired with #310 which adds deep support for nextJS style URLs, allows us to fix the issue in Runbook that started this whole expedition 😆


Fix max-keep-run

We were getting the oldest one first and skipping when that should have
been the other way around.
Add test for it.
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>

Codecov Report

Merging #248 (f515f02) into main (47df7e6) will increase coverage by 1.35%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #248      +/-   ##
==========================================
+ Coverage   69.25%   70.60%   +1.35%
==========================================
  Files          28       28
  Lines        1701     1701
==========================================
+ Hits         1178     1201      +23
+ Misses        413      387      -26
- Partials      110      113       +3

Impacted Files
Coverage Δ

pkg/kubeinteraction/cleanups.go
75.00% <100.00%> (+75.00%)
:arrow_up:

pkg/kubeinteraction/namespace.go
71.42% <0.00%> (+71.42%)
: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 47df7e6...f515f02. Read the comment docs.

/retest

Example using this commit, before and after "screenshot", oldest one gets cleaned up..


swift demo?

any swift demos or sample code?  or bridging header file?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31994774-swift-demo?utm_campaign=plugin&utm_content=tracker%2F417589&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F417589&utm_medium=issues&utm_source=github).

I believe you should be able to use it by importing TEAChart.h in the bridging header. Let me know if you got issues.


Demo does not work

The demo at this url: http://mzabriskie.github.io/react-draggable/example/
The console is showing this:

Not sure what to tell you - is working fine in my testing. Try a hard refresh.

I'm stupid... That's all...


Proxy redirection to the wrong URL

Interceptor redirect to http://service:80/path instead of http://url.com/path
Expected Behavior
Redirect to http://url.com/path
Actual Behavior
Redirect from http://url.comto http://service:80/path
Steps to Reproduce the Problem

Create service and a deployment with HTTPScaledObject (in my case it was WordPress)
Create an Ingress
Go to the url (http://example.com) and it will redirect to http://service:80

Specifications

KEDA Version: v2.4.0
KEDA HTTP Add-on Version: v0.2.0
Platform & Version: M1 version v1.22.4
Kubernetes Version: v1.21.5-gke.1802

A way to fix it would be to specify the correct host on the forwardRequest function instead of giving the service host. I don't really get why you don't use the host instead of the service url? (here)
We are basically setting fake host, so that's why WordPress is not able to redirect correctly. As a workaround, we use HTTP_X_FORWARDED_HOST header to get the correct host.

@obito using the example.com host would send traffic back outside the cluster, rather than directly to the in-cluster service, wouldn't it? in your case with Wordpress, is it necessary to do that (maybe so Wordpress can serve up the right site)?
if is is necessary, we could add a field to the HTTPScaledObject to enable it.

I believe I am experiencing this same issue. We have a Ruby on Rails based web application and we are experimenting with the http-add-on to scale the pods. I believe we have configured everything properly, but redirects are getting mangled by the interceptor.
For example, when the user is logged in, the root path automatically redirects to /dashboard. However, when routing traffic through the interceptor, it is redirected like this:
https://app.example.com :arrow_right:  https://app-service:3000/dashboard
Using the http-add-on to scale a Rails (or Wordpress) app seems like a use case that should be supported. I'm unsure if it is related, but I also stumbled upon this issue which discusses redirects: #249.
@arschles is there a bug here? Or is this expected behavior? Or, do you believe @obito or I have misconfigured the http-add-on?

I believe I am experiencing this same issue. We have a Ruby on Rails based web application and we are experimenting with the http-add-on to scale the pods. I believe we have configured everything properly, but redirects are getting mangled by the interceptor.
For example, when the user is logged in, the root path automatically redirects to /dashboard. However, when routing traffic through the interceptor, it is redirected like this:
https://app.example.com ➡ https://app-service:3000/dashboard
Using the http-add-on to scale a Rails (or Wordpress) app seems like a use case that should be supported. I'm unsure if it is related, but I also stumbled upon this issue which discusses redirects: #249.
@arschles is there a bug here? Or is this expected behavior? Or, do you believe @obito or I have misconfigured the http-add-on?

Hi, do you have by any chance Apache/NGINX running in your Rails pod, or changing the "Host" in your app?
HTTP-Add-On seems to change the Host header to http://service:port, so you must use the X-Forwarded-Host header. WordPress was reading the Hostheader, and redirecting to http://service:port/path.
I fixed that by adding:
### value X-Forwarded-Host written in TempValue.
SetEnvIf X-Forwarded-Host ".+" TempValue=$0

### replace "Host" header by X-Forwarded-Host
RequestHeader set Host %{TempValue}e env=TempValue

Hope it helps you!

Hey @arschles - thanks for your reply and for re-opening this issue.

Are you looking for the interceptor to not change the Host header when it forwards the request, or are you looking for the interceptor to restore the original host header when sending a redirect back to the client (or something else)?

The former, I think! My expectation was that the interceptor would be completely transparent. The service/application on the other side of the interceptor should be completely unaware that the request was proxied by the interceptor. Preserving the original host is important to most web application frameworks, at least if the goal is to have the http-add-on work "out of the box".
Is there harm that could come from preserving the original host header? What's the purpose or value of changing it? All honest questions here, just trying to understand the situation better.

Is there harm that could come from preserving the original host header? What's the purpose or value of changing it?

@benjaminwood certainly not. I think this is a bug, and I'll go look into it now.
Thanks both for bringing this up, and for doing so in such a nice way 😄

Please see #404 for a proposed solution to this problem.


divide by zero warning

Hello,
I am testing and executing the code in Fedora, however during the fingerprinting of mp3 directory I receive these warnings:
dejavu/fingerprint.py:82: RuntimeWarning: divide by zero encountered in log10
arr2D = 10 * np.log10(arr2D)
I wonder if these warnings are normal and if they have impact on the finals results? I'd be grateful if you could help me to find out my answer.
Thanks,

Not sure how numpy's log10 function works here, but you probably have 0's in your spectrogram. no worries

yes, that's right the problem is in the fingerprint.py file, on fingerprint method, it applies np.log10 over an array with some 0s, that causes to return -np.Inf on those cases (and thus the warning you're seeing). If you check the code the developer later replace those negative np.Inf with 0s. A more fancy solution to avoid that would be to replace those lines with:
`
Apply log transform since specgram() returns linear array. 0s are excluded to avoid np warning.
arr2D = 10 * np.log10(arr2D, out=np.zeros_like(arr2D), where=(arr2D != 0))
`


fix: Correct serde for errors in event streams

Issue #
#1100
Description of changes
Fixes serializers / deserializers for errors that are embedded in event streams, by accounting for the custom error properties being namespaced under properties.
To show the effect of this change clearly, the model for SageMaker with the breaking change is included, and code has been regenerated for all AWS services.
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test


ffprobe after change drives windows

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Postprocessing: Unable to determine video duration: ffprobe not found. Please install or provide the path using --ffmpeg-location
D:>D:\yt-dlp.exe -f 313 https://www.youtube.com/playlist?list=UUHWbZM3BIGgZksvXegx_h3w --output "D:/Downloads/youtube-dl/" --sponsorblock-remove all -vU
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
D:\>"D:\yt-dlp (1).exe" -f 313 https://www.youtube.com/playlist?list=UUHWbZM3BIGgZksvXegx_h3w --output "D:/Downloads/youtube-dl/" --sponsorblock-remove all -vU
[debug] Command-line config: ['-f', '313', 'https://www.youtube.com/playlist?list=UUHWbZM3BIGgZksvXegx_h3w', '--output', 'D:/Downloads/youtube-dl/', '--sponsorblock-remove', 'all', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=UUHWbZM3BIGgZksvXegx_h3w
[youtube:tab] UUHWbZM3BIGgZksvXegx_h3w: Downloading webpage
[youtube:tab] UUHWbZM3BIGgZksvXegx_h3w: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: Uploads from Enes Yilmazer
[youtube:tab] UUHWbZM3BIGgZksvXegx_h3w page 1: Downloading API JSON
[youtube:tab] UUHWbZM3BIGgZksvXegx_h3w page 2: Downloading API JSON
[youtube:tab] Playlist Uploads from Enes Yilmazer: Downloading 229 items of 229
[download] Downloading item 1 of 229
[youtube] Extracting URL: https://www.youtube.com/watch?v=7qFClwGaFYc
[youtube] 7qFClwGaFYc: Downloading webpage
[youtube] 7qFClwGaFYc: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[SponsorBlock] Fetching SponsorBlock segments
[debug] SponsorBlock query: https://sponsor.ajay.app/api/skipSegments/939d?service=YouTube&categories=%5B%22intro%22%2C+%22interaction%22%2C+%22selfpromo%22%2C+%22filler%22%2C+%22sponsor%22%2C+%22outro%22%2C+%22music_offtopic%22%2C+%22preview%22%5D&actionTypes=%5B%22skip%22%2C+%22poi%22%2C+%22chapter%22%5D
[SponsorBlock] Found 19 segments in the SponsorBlock database
[info] 7qFClwGaFYc: Downloading 1 format(s): 313
[debug] Invoking dashsegments downloader on "https://rr3---sn-5go7ynlk.googlevideo.com/videoplayback?expire=1685676674&ei=Ig55ZIXLCsbFyAX57JeYCQ&ip=<IP_ADDRESS>&id=o-AASaArwVje7SgIrpsS9ybq6NT4PgpivG0aua93L-PBuR&itag=313&source=youtube&requiressl=yes&mh=Pz&mm=31%2C26&mn=sn-5go7ynlk%2Csn-i5heen7z&ms=au%2Conr&mv=m&mvi=3&pl=24&initcwndbps=603750&spc=qEK7B6djr6wixVVGrklDMb07CsJxz3o&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=4457592609&dur=2197.995&lmt=1685572738245841&mt=1685654975&fvip=1&keepalive=yes&fexp=24007246%2C51000012%2C51000022&c=ANDROID&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAK41mLAL8bs8SljHNnlSXlevJqeWGsxxl86BmVaEr_0qAiEA8V7aXU-noA1sVWvIAeuWnapS8A7JUWj6PhXu__ANPpo%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhANSYZ0esYUKkj_iL1DvK_-5kT6A4Qb0sulPkGRlXdfBEAiEAthMLNxcFzUvdAqiQyJ6-lj24L-6NJ-pqFZMAS9kIVHs%3D"
[download] D:\Downloads\youtube-dl has already been downloaded
[download] 100% of    4.15GiB
ERROR: Postprocessing: Unable to determine video duration: ffprobe not found. Please install or provide the path using --ffmpeg-location
Traceback (most recent call last):
  File "yt_dlp\postprocessor\ffmpeg.py", line 308, in _get_real_video_duration
  File "yt_dlp\postprocessor\ffmpeg.py", line 280, in get_metadata_object
yt_dlp.utils.PostProcessingError: ffprobe not found. Please install or provide the path using --ffmpeg-location

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3323, in process_info
  File "yt_dlp\YoutubeDL.py", line 3502, in post_process
  File "yt_dlp\YoutubeDL.py", line 3484, in run_all_pps
  File "yt_dlp\YoutubeDL.py", line 3462, in run_pp
  File "yt_dlp\postprocessor\common.py", line 24, in run
  File "yt_dlp\postprocessor\common.py", line 129, in wrapper
  File "yt_dlp\postprocessor\modify_chapters.py", line 33, in run
  File "yt_dlp\postprocessor\ffmpeg.py", line 314, in _get_real_video_duration
yt_dlp.utils.PostProcessingError: Unable to determine video duration: ffprobe not found. Please install or provide the path using --ffmpeg-location

[download] Downloading item 2 of 229
[youtube] Extracting URL: https://www.youtube.com/watch?v=jkndHmbN9mc
[youtube] jkndHmbN9mc: Downloading webpage
[youtube] jkndHmbN9mc: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[SponsorBlock] Fetching SponsorBlock segments
[debug] SponsorBlock query: https://sponsor.ajay.app/api/skipSegments/67f0?service=YouTube&categories=%5B%22intro%22%2C+%22interaction%22%2C+%22selfpromo%22%2C+%22filler%22%2C+%22sponsor%22%2C+%22outro%22%2C+%22music_offtopic%22%2C+%22preview%22%5D&actionTypes=%5B%22skip%22%2C+%22poi%22%2C+%22chapter%22%5D
[SponsorBlock] Found 11 segments in the SponsorBlock database
[info] jkndHmbN9mc: Downloading 1 format(s): 313
[debug] Invoking dashsegments downloader on "https://rr4---sn-5goeenes.googlevideo.com/videoplayback?expire=1685676677&ei=JQ55ZKDKGa2J8wLB-4a4CA&ip=<IP_ADDRESS>&id=o-AAjkqOGlVQiliBqh8uLWYpULDO_k2T_zIKLHen852yl5&itag=313&source=youtube&requiressl=yes&mh=6f&mm=31%2C26&mn=sn-5goeenes%2Csn-f5f7kn7z&ms=au%2Conr&mv=m&mvi=4&pl=24&initcwndbps=422500&spc=qEK7B15jSoVTjLgLbgTzoMZpEZPfd30&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=5099512296&dur=2661.258&lmt=1684670746036443&mt=1685654711&fvip=1&keepalive=yes&fexp=24007246&c=ANDROID&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAMg9JDAiVdB3zNb6lR-hJK9APaSxCbjn7Xty2P614HBsAiEA0Nr3a6w98UR4OXT-0Yb6tk9Wsc-gmPmU1qxQJtDY4pc%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgBDMvPZCPqoits_IDCbSGG44A76gjoHtn6jmc3ostXOACIGu1S7aCJIrOxO6yzucTtnUDp0sgnmgf2SPEm_csl5Zg"
[download] D:\Downloads\youtube-dl has already been downloaded
[download] 100% of    4.15GiB
ERROR: Postprocessing: Unable to determine video duration: ffprobe not found. Please install or provide the path using --ffmpeg-location
Traceback (most recent call last):
  File "yt_dlp\postprocessor\ffmpeg.py", line 308, in _get_real_video_duration
  File "yt_dlp\postprocessor\ffmpeg.py", line 280, in get_metadata_object
yt_dlp.utils.PostProcessingError: ffprobe not found. Please install or provide the path using --ffmpeg-location

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 3323, in process_info
  File "yt_dlp\YoutubeDL.py", line 3502, in post_process
  File "yt_dlp\YoutubeDL.py", line 3484, in run_all_pps
  File "yt_dlp\YoutubeDL.py", line 3462, in run_pp
  File "yt_dlp\postprocessor\common.py", line 24, in run
  File "yt_dlp\postprocessor\common.py", line 129, in wrapper
  File "yt_dlp\postprocessor\modify_chapters.py", line 33, in run
  File "yt_dlp\postprocessor\ffmpeg.py", line 314, in _get_real_video_duration
yt_dlp.utils.PostProcessingError: Unable to determine video duration: ffprobe not found. Please install or provide the path using --ffmpeg-location

[download] Downloading item 3 of 229
[youtube] Extracting URL: https://www.youtube.com/watch?v=aN9DH_GxqEo
[youtube] aN9DH_GxqEo: Downloading webpage
[youtube] aN9DH_GxqEo: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, v

i used this video https://www.youtube.com/watch?v=OZ6RZ9imWAg

if you already have ffmpeg and ffprobe on your computer, either:

move ffmpeg.exe and ffprobe.exe into the same folder as yt-dlp.exe
OR
pass the --ffmpeg-location option with the path to the ffmpeg/ffprobe exe's as the argument

if you need to install ffmpeg, follow this guide:

Download https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip
Extract the files and find ffmpeg.exe and ffprobe.exe inside the bin folder
Copy those two files to the same folder as yt-dlp.exe

Thank you couldn't find out what ffprove.exe exactly was and didn't know I could just put them in them same folder
Very new to all this programming


SNS Topic from Fn:ImportValue

I'm currently unable to configure a subscription to an existing SNS topic using ImportValue (see #3)
This gets it working it by updating the isArn method to look for Fn::ImportValue (instead of Fn::Import) and adding handling in convertSnsArnToLogicalId.
While this fixes the issue for my use case, I don't think this fix allows for an existing SQS queue to be referenced using ImportValue FYI

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add a simple Dockerfile

Why not?
I found it useful for demos in isolated environments

sounds a good idea!


Website blogs shall use relative links

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
Right now the blogs are using the absolute links references, there are two problems with it:

not aware of localization context
not aware of version context

For example, the link like this https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/ in blog /blog/2017/08/Kubernetes-Meets-High-Performance
Proposed Solution:
We should use relative path for all blogs.
Page to Update:
https://kubernetes.io/...

cc @zacharysarah

This issue should be addressed in the following PRs:

PR
base branch

Fix relative links issue in English content #13307
master

Fix relative links issue in ko content #13308
master

Fix relative links issue in ja content #13309
master

Fix relative links issue in fr content #13311
master

Fix relative links issue in zh content #13312
release-1.12

All PRs in this issue have been merged, close the issue now.
/close


feat(cli): options via LICENSE_* env vars

Allows users to specify options as LICENSE_* environment variables, leveraging the built-in .env(prefix) from yargs.
$ LICENSE_NAME="John Doe"<EMAIL_ADDRESS>license MIT

Explicitly specified CLI options take precedence over environment variables.
$ LICENSE_NAME="John Doe"<EMAIL_ADDRESS>license --email<EMAIL_ADDRESS>MIT

This is very useful, when combined with tools like direnv to manage defaults per directory.

Neat, didn't know that was a thing supported by yargs. Thanks for the PR!


Print file path report as link file

Base on this discussion. This commit will print report path as a link file. So we can click on the report path on our terminal, and will open directly browser / text editor / etc.
Before:

After

Here it is screenshot after update to toUri(). Still print as file://


We need cdo=1.9.7+ that currently can not be installed in our environment

This is a condensed issue fully approached and described in #1227 and the highlights are:

our current environment installs cdo=1.9.6 that is built against hdf5=1.10.4;
the current stable version of hdf5 in our environment is hdf5=1.10.5 (and needs to be at this version or higher since a lot of the packages have it as requirement);
cdo=1.9.6 will throw a hdf5 version mismatch warning and stop unless declaring export HDF5_DISABLE_VERSION_CHECK=1 (or higher orders) because, despite the message from cdo -V that mentions a build against 1.10.5, it still thinks the build version is 1.10.4;
therefore, we will have to install cdo>=<IP_ADDRESS> that I checked and works fully with hdf5=1.10.5;
installation of cdo=<IP_ADDRESS> is currently (at the time of opening this issue) impossible due to the fact that version has a dependency on fftw built against mpi_openmpi, whereas we need mpi_mpich; the pointer is in the conda pkg: cdo-<IP_ADDRESS>-BUILD-HASH/info/repodata_record.json
I contacted the cdo devs and pointed this out https://code.mpimet.mpg.de/boards/1/topics/7830

similar issue as pointed out by Ralf at CDO: https://github.com/conda-forge/cdo-feedstock/issues/62

Update from 15 August 2019
cdo has a new conda-forge package that now has removed the dpendency of openmpi via fftw, but it still causes environment  insolubility:
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Package proj4 conflicts for:
ncl[version='>=6.5.0'] -> libgdal[version='>=2.4.0,<2.5.0a0'] -> proj4=5.2.0
cdo==<IP_ADDRESS>=h7d1db5e_1 -> proj4[version='>=6.1.1,<<IP_ADDRESS>a0']
iris[version='>=2.2'] -> cartopy[version='>=0.14'] -> owslib -> pyproj -> proj4[version='6.0.0.*|>=4.9.3,<<IP_ADDRESS>a0|>=5.2,<6|>=6.0.0,<<IP_ADDRESS>a0|>=6.1.1,<<IP_ADDRESS>a0']
ncl[version='>=6.5.0'] -> proj4[version='>=5.2.0,<<IP_ADDRESS>a0|>=6.1.0,<<IP_ADDRESS>a0']
iris[version='>=2.2'] -> cartopy[version='>=0.14'] -> proj4[version='5.2.0.*|>=5.2.0,<<IP_ADDRESS>a0|>=6.1.0,<<IP_ADDRESS>a0']
proj4=6.1.1
esmvalcore[version='>=2.0.0b0,<2.1'] -> iris[version='>=2.2'] -> cartopy[version='>=0.14'] -> proj4[version='5.2.0.*|>=5.2.0,<<IP_ADDRESS>a0|>=6.1.0,<<IP_ADDRESS>a0']
esmvalcore[version='>=2.0.0b0,<2.1'] -> iris[version='>=2.2'] -> cartopy[version='>=0.14'] -> owslib -> pyproj -> proj4[version='6.0.0.*|>=4.9.3,<<IP_ADDRESS>a0|>=5.2,<6|>=6.0.0,<<IP_ADDRESS>a0|>=6.1.1,<<IP_ADDRESS>a0']
Note that strict channel priority may have removed packages required for satisfiability.

I am currently working towards solving this

yet another issue opened this time around on the conda cdo-feedstock https://github.com/conda-forge/cdo-feedstock/issues/65

@valeriupredoi thanks for this. @jhardenberg, any ideas?

@valeriupredoi indeed this seems a versioning nightmare! Probably the issue should be "consider dropping conda" ....
Non an ideal solution (particularly after all the effort you already put in!), but did you consider really going back to cdo 1.9.6 for now adding a HDF5_DISABLE_VERSION_CHECK=1 before calling diagnostics?

@valeriupredoi indeed this seems a versioning nightmare! Probably the issue should be "consider dropping conda" ....

Cheers, man, that is something we've been on about for a while now (@bouweandela @jvegasbsc and myself) but unfortunately not a viable solution in the very near future :sob:
One thing I can try is to come back to my previous trials to get much more stuff off the anaconda channel that is way more stable than conda-forge

but did you consider really going back to cdo 1.9.6 for now adding a HDF5_DISABLE_VERSION_CHECK=1 before calling diagnostics?

yesh, see my comment at the top of the PR, that seems like the only viable solution for now :beer:

#1255 addresses this issue in the most elegant possible way at the moment (w/o having to decalre system variables and using the latest cdo and all the other packages bar ncl) - so if you want to use and run diags with cdo and don't care about ncl, use the environment-cdo.yml to build your environment :beer:

OK I have re-addressed the problem and I came up with a safe environment (one that builds 100% as long as the packages are not removed from conda) in https://github.com/ESMValGroup/ESMValTool/pull/1255
Instructions in CONTRIBUTING.md:
Using the safe environment
In some cases, ESMValTool/Core dependencies and their own respective dependencies evolve differentially resulting in temporary failure to solve
the environment (due to conda's incapacity to solve the environment due to version mismatch; the temporary nature may vary from a few hours to weeks, unfortunately). In this case, the user should report the problem immediately by opening a gitHub issue; in the meantime, they can still build the environment and install the tool by using the fallback (safe) environment file environment-safe.yml. The procedure to install ESMValTool using the safe environment is slightly different:

create the ESMValTool environment as before but using the safe environment file: conda env create -n esmvaltool-safe -f environment-safe.yml
activate it: conda activate esmvaltool-safe
get the ESMValCore package: git clone https://github.com/ESMValGroup/ESMValCore.git esmvalcore
install esmvalcore in the new environment: cd esmvalcore && pip install -e '.[develop]' && cd ..
optionally install the R packages: Rscript esmvaltool/install/R/setup.R
install yaml and lintr for R: Rscript esmvaltool/install/R/setup_devutils.R
test the new installation: python setup.py test --installation

Note that once esmvalcore will be added to PyPi, manually downloading and installing the package (steps 3 and 4) will not be necessary anymore since esmvalcore will be installed in safe mode via pip as part of the environment-safe.yml file.

closed via #1462


Linux Support

What would it take to look at supporting linux?  I would like to slowly contribute something but I am a bit unsure about where to start.
Assume nvidia hardware on a machine that already runs steam.

Hi! In the main repo I got a bridge https://github.com/vulkan-go/vulkan/blob/master/vulkan_wrapper.c
That obtains pointers like this:
void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);

This should work fine in linux, so no changes here.
Next, in the manifest for automatic generation https://github.com/vulkan-go/vulkan/blob/master/vulkan.yml I enabled android KHR only, VK_USE_PLATFORM_ANDROID_KHR.  the list of other platforms and their requirements is there: https://github.com/vulkan-go/vulkan/blob/master/vulkan/vk_platform.h I'm not sure what is your platform specifically in Linux, there is plenty of them.
So, given that you have Wayland, simply throw in wayland headers and re-generate the code of vulkan bindings. vk.WaylandSurfaceCreateInfo should appear accepting 2 handles of wayland display and surface.  And finally write your own version of NewVulkanDeviceAndroid as seen here https://github.com/vulkan-go/demos/blob/master/vulkandraw/vulkan.go#L260 to call vk.WaylandSurfaceCreateInfo and discover supported layers and extensions.

I implemented support for Windows and OS X,
stay tuned — on the next weekend Linux is coming.
GLFW is the best way to handle desktop OSes though.


apt-get is hanging indefinitely causing the benchmarker to stall

It looks like there is a case where and "apt-get update" is never completing ... and the bug is that the command is never canceled and my read of the code it is there is no timeout set.
My proposal is we add a timeout to "apt-get update" which is known to hang.
This is on the v0.17.0 version of the code
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/blob/v0.17.0/perfkitbenchmarker/vm_util.py
Code the trace points to at line 395:
try:
stdout, stderr = process.communicate()
finally:
timer.cancel()
(gdb) py-bt
...
#15 Frame 0x7f1698000d00, for file google3/third_party/py/perfkitbenchmarker/vm_util.py, line 395, in IssueCommand (cmd=['ssh', '-A', '-p', '22'<EMAIL_ADDRESS>'-2', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentitiesOnly=yes', '-o', 'PreferredAuthentications=publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=5', '-o', 'GSSAPIAuthentication=no', '-o', 'ServerAliveInterval=30', '-o', 'ServerAliveCountMax=10', '-i', '/tmp/perfkitbenchmarker/run_72fc3dd1/perfkitbenchmarker_keyfile', '-v', 'sudo apt-get update'], force_info_log=False, suppress_warning=False, env=None, timeout=None, shell_value=False, _KillProcess=<function at remote 0x7f169d13db18>, timer=<_Timer(function=<function at remote 0x7f169d13db18>, kwargs={}, _Thread__ident=139735014037248, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f169d8df790>, acquire=<built-in method acquire of thread.lock object at remote 0x7f169d8df790>, Condition...(truncated)
Python Exception <class 'FileNotFoundError'> [Errno 2] No such file or directory: 'google3/third_party/py/perfkitbenchmarker/vm_util.py':
Error occurred in Python command: [Errno 2] No such file or directory: 'google3/third_party/py/perfkitbenchmarker/vm_util.py'

I'm going to set the timeout to 5 minutes.  Generally this completes in under 30seconds.

Done
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/391


Add a host using systemd / libvirt > 5.6 will stop libvirt and cloudstack-agent

ISSUE TYPE

Bug Report
Enhancement Request

COMPONENT NAME

Cloudstack Agent

CLOUDSTACK VERSION

4.15

CONFIGURATION
Host to add: CentOS8
OS / ENVIRONMENT
CentOS8 / Hypervisor KVM / libvirt 6.0.0
SUMMARY
When adding a Host to a cluster, during the process a "configuration" of the libvirtd takes place.
management server log: 2021-03-05 01:38:37,166 DEBUG [c.c.u.s.SSHCmdHelper] (qtp2012330741-326:ctx-969e2771 ctx-a592cc3c) (logid:55839319) SSH command: cloudstack-setup-agent  -m <IP_ADDRESS> -z 5 -p 4 -c 4 -g 902eefa4-f4bc-3c75-8a1c-c57bc3798f18 -a -s  --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 --hypervisor=kvm SSH command output:Starting to configure your system: Configure SElinux ...         [OK] Configure Network ...         [OK] Configure Libvirt ...         [Failed] Configuration failed for service Libvirt Try to restore your system: Restore SElinux ...           [OK] Restore Network ...           [OK] Restore Libvirt ...           [Failed]
The problem is, that during this configuration the parameter LIBVIRTD_ARGS=-l is written into /etc/sysconfig/libvirtd.
At least for me, this breaks the whole set-up as the libvirtd will stop after relaoding.
Also therer are several other parameter, witch aren't needed when configuring libvirt usind systemd. These seem at least having not this effect on the libvirtd.
STEPS TO REPRODUCE
1. Configure a CentOS 8 machine according to the guides, besides the libvirt-configuration. Theseare configured accordingly to the official libvirt docs  [https://libvirt.org/daemons.html](url)

Add the CentOS8 Host to a cluster

EXPECTED RESULTS

Host would be added to the cluster.
ACTUAL RESULTS

Host wasn't added to the cluster; libvirtd won't come up anymore so the cloud-stack agent is also down as long as libvirtd is repaired.

Is CentOS8 libvirtd configuration different from Ubuntu 20.04's? cc @weizhouapache @shwstppr

@rhtyd yes, masking socket was not needed at the time for CentOS8 with libvirt version 4.5

So just for my understanding (and further contribiution for the offical docs):
Basically the cloudstack-agent takes care of the libvirtd configuration during the "onboarding" to an cluster? (Taking a look into /python/lib/cloudutils/serviceConfig.py basically the whole config for the hostst seems to be there :-) )
Would be nice to know and quiet interesting to integrate it in to the install guides, as this speeds up things from a users point of view.

Fixed in https://github.com/apache/cloudstack/pull/4756 for 4.15.1


[iFrame package] dispose method for controller?

YoutubePlayerController has no .dispose() method

It does have a dispose method, FWIW

There is a .close()  method, but I don't see a .dispose()?

Here is the source to confirm no dispose:
https://github.com/sarbagyastha/youtube_player_flutter/blob/master/packages/youtube_player_iframe/lib/src/controller.dart
I think close() is in place of dispose(), but it breaks the usual flutter convention.

Ah! My mistake: I was looking at the youtube_player_flutter package, for which the controller does have a dispose method. You're looking at the youtube_player_iframe dependency.


libcudnn (R5) not found in library path

Sign, looks like cuda issues are not letting me go.
I have cuda7.5 installed.
ldconfig -p | grep cuda
	libicudata.so.55 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so.55
	libicudata.so.55 (libc6) => /usr/lib/i386-linux-gnu/libicudata.so.55
	libicudata.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libicudata.so
	libcudart.so.7.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5
	libcudart.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcudart.so
	libcuda.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so.1
	libcuda.so.1 (libc6) => /usr/lib/i386-linux-gnu/libcuda.so.1
	libcuda.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcuda.so
	libcuda.so (libc6) => /usr/lib/i386-linux-gnu/libcuda.so

LD_LIBRARY_PATH looks ok to me
echo $LD_LIBRARY_PATH
/usr/lib/x86_64-linux-gnu/:/usr/lib/:/lib

However, when I attempt to run lstm network training, I get the following.
./torch/install/bin/th /local/pavels/lstm-char-cnn/main.lua -data_dir data/ru -savefile -ru-char-large -use_chars 1 -cudnn 1 -gpuid 1 -EOS ''
using CUDA on GPU 1...
using cudnn...
/local/pavels/torch/install/bin/luajit: /local/pavels/torch/install/share/lua/5.1/trepl/init.lua:384: /local/pavels/torch/install/share/lua/5.1/trepl/init.lua:384: /local/pavels/torch/install/share/lua/5.1/cudnn/ffi.lua:1599: 'libcudnn (R5) not found in library path.
Please install CuDNN from https://developer.nvidia.com/cuDNN
Then make sure files named as libcudnn.so.5 or libcudnn.5.dylib are placed in your library load path (for example /usr/local/lib , or manually add a path to LD_LIBRARY_PATH)

stack traceback:
	[C]: in function 'error'
	/local/pavels/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
	/local/pavels/lstm-char-cnn/main.lua:98: in main chunk
	[C]: in function 'dofile'
	...vels/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
	[C]: at 0x00405d70

Indeed my system does not have libcudnn.so.5, but what package installs this file? I thought luarocks install cudnn should be enough.

Hey you need to create an account here (its free!) and download the main library to use these bindings. Follow the instructions given depending on the version you download (recommend downloading cuDNN 5.1 for CUDA 7.5).
The instructions should include something like this after you extract the library file:
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64

I don't have a sudo access unfortunately.

If you dont have sudo access,  just add the path to libcudnn.so to your $LD_LIBRARY_PATH

Uncompressed and copied the file to cuda5 dir.
[pavels@jones-1 pavels]$ ls /local/pavels/cuda5/lib/
libcudnn.so@  libcudnn.so.5@  libcudnn.so.5.0.5*  libcudnn_static.a

Added the path to $LD_LIBRARY_PATH , sourced ~/.bashrc and still getting the same error :(
[pavels@jones-1 pavels]$ echo $LD_LIBRARY_PATH
/usr/lib/x86_64-linux-gnu/:/usr/lib/:/local/pavels/cuda5/lib/:/lib

Ok, maybe something is wrong with my config. I dropped -cudnn 1 parameter and it started working without it.

hello everyone,
I have tried almost all the comments said here but still getting same error.
/home/ubuntu/torch/install/bin/luajit: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: /home/ubuntu/torch/install/share/lua/5.1/cudnn/ffi.lua:1599: 'libcudnn (R5) not found in library path.
Please install CuDNN from https://developer.nvidia.com/cuDNN
Then make sure files named as libcudnn.so.5 or libcudnn.5.dylib are placed in your library load path (for example /usr/local/lib , or manually add a path to LD_LIBRARY_PATH)
stack traceback:
[C]: in function 'error'
/home/ubuntu/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
eval.lua:48: in main chunk
[C]: in function 'dofile'
...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

hello, every one.
In @SeanNaren 's comment, we can get libcudnn.so.5.
I installed cuDNN7 & CUDA9.0 before, so libcudnn.so.7(?) should be in /usr/local/cuda/lib64. But I can't find.
Before, I have trained CNNs with chainer,
at that time, I tried these in iPython:
import chainer
print(chainer.cuda.available)
returns True, (this should mean I can use CUDA.)
print(chained.cuda.cudnn_enabled
returns True. (this should mean I have installed cuDNN and it's set enable.)
These seems to mean I can use cuDNN, but error message told me that there is no libcudnn.so.X.
what makes it wrong??
(I'm studying English, so sentences above may be somehow wrong. Sorry.)


Upgrade to new Karpenter custom resources: Nodes are not joining the cluster

I'm currently working on this branch but for now I can see the nodes starting but they are not added to the cluster.

Fixed with https://github.com/Smana/demo-cloud-native-ref/pull/117


Nginx config for insight.bitpay.com

Could you share the nginx config used at insight.bitpay.com? I can't figure out how to make my insight instance run on a subdomain without a trailing /insight/

It's actually not an nginx configuration option, you can change bitcore-node.json to adjust the URLs. Here is more information: https://github.com/bitpay/insight-api/issues/430


🐛 Coordinate system starts from top right position

What's happening?
I've tried to run the example from docs and coordinate system is incorrect, it starts from top right instead of top left as it says here

Reproduceable Code
Image №1 with 0 0 position:
const frameProcessor = useSkiaFrameProcessor((frame) => {
    'worklet'
    frame.render()
    const rect = Skia.XYWHRect(0, 0, 400, 400) // {"__typename__": "\"Rect\"", "dispose": [Function dispose], "height": 400, "setLTRB": [Function setLTRB], "setXYWH": [Function setXYWH], "width": 400, "x": 0, "y": 0}
    const paint = Skia.Paint()
    paint.setColor(Skia.Color('red'))
    frame.drawRect(rect, paint)
}, [])

<Camera
  device={device}
  style={StyleSheet.absoluteFill}
  isActive={true}
  frameProcessor={frameProcessor}
  enableFpsGraph
  format={format}
/>

Image №2 with "center" position:
const frameProcessor = useSkiaFrameProcessor((frame) => {
  'worklet'
  frame.render()

  const centerX = frame.width / 2
  const centerY = frame.height / 2
  const rect = Skia.XYWHRect(centerX, centerY, 400, 400)
  const paint = Skia.Paint()
  paint.setColor(Skia.Color('red'))
  frame.drawRect(rect, paint)
}, [])

Relevant log output
11:30:17.203 PM: [info] 📸 VisionCamera.didSetProps(_:): Updating 24 props: [onInitialized, cameraId, position, enableBufferCompression, preview, onOutputOrientationChanged, onStarted, onCodeScanned, top, right, isActive, isMirrored, onViewReady, onError, onStopped, onPreviewOrientationChanged, onPreviewStopped, enableFrameProcessor, onPreviewStarted, format, left, bottom, onAverageFpsChanged, onShutter]
11:30:17.205 PM: [info] 📸 VisionCamera.configurePreviewOrientation(_:): Updating Preview rotation: portrait...
11:30:17.206 PM: [info] 📸 VisionCamera.configureOutputOrientation(_:): Updating Outputs rotation: portrait...
11:30:17.206 PM: [info] 📸 VisionCamera.configure(_:): configure { ... }: Waiting for lock...
11:30:17.211 PM: [info] 📸 VisionCamera.configure(_:): configure { ... }: Updating CameraSession Configuration...

Camera Device
{
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:0",
  "sensorOrientation": "portrait",
  "hardwareLevel": "full",
  "minZoom": 1,
  "minFocusDistance": 12,
  "maxZoom": 123.75,
  "hasFlash": true,
  "name": "Back Camera",
  "minExposure": -8,
  "maxExposure": 8,
  "supportsLowLightBoost": false,
  "hasTorch": true,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "formats": [],
  "position": "back",
  "isMultiCam": false
}

Device
iPhone 12 (iOS 18.0)
VisionCamera Version
4.5.2
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

@mrousavy please have a look if you have free time

I don't have free time.

@exzos28 Do you solve this problem? I have the same.

@j0na1han I don't. Try using an older version, like 4.0 - 4.1

4.0.0 working as expected. Thanks for the hint.

I think the docs need to be updated to reflect these changes from this update.
For instance what i did here to center the text vertically when in portrait mode:
    frame.save()

    const text = 'Centered Text'
    const marginTop = 400

    frame.translate(frame.width / 2, frame.height / 2)

    frame.rotate(270, 0, 0)

    frame.translate(-frame.height / 2, -frame.width / 2)

    frame.drawText(text, frame.height / 2 - font.measureText(text).width / 2, font.measureText(text).height + marginTop, paint, font)

    frame.restore()

Result:

As effectively the top left corner is the corner on the top right when looking at it vertically making the top left corner when looking at it vertically 270 degrees clockwise. The update info sums it up better with the images.
My code could also maybe still be improved.
Also not the frame.orientation is now fixed meaning it won't change. The preview orientation does though.


start cron in docker for faststart.sh

Cron must be started manually inside of Docker.

Thanks, @selfcommit


Let figure update dynamically with slider

Add an updatemenu option to the sliders
dcc.Slider(
            ....
            updatemode='drag')

This will enable live updating (I haven't checked whether that option exist for daq sliders)

#52 Created dynamic slider and removed slider's handle label


ZEVA - Initiative Agreement - different users shown for the same action

In production an initiative agreement has been recommended to the Director for them to issue the credits to the supplier. For the analyst role the correct user is shown as having made the action to recommend the agreement (see image Recommended by JADONALD) but for the Director role the screen shows a different user which is wrong (see image Recommended by CIANNICI).
In addition the correct users name should be shown, not their IDIR.  James Donald should be shown, not JADONALD, for example.
Expected Behaviour
When a user recommends an agreement to the Director their name should be shown in the page status banner. The name of the recommender should not change when the agreement is viewed by the Director or any other users.
Actual Behaviour
The analyst and the Director are seeing different IDIR's instead of the name of the person who has recommended the agreement to the Director in the status banner.
Implications
It is inaccurate and unclear to the Director who has recommended the agreement to them,
Steps To Reproduce
Steps to reproduce the behaviour: - (See attached screenshots)
User/Role:

Log in as a government analyst and Go to https://zeroemissionvehicles.gov.bc.ca/credit-agreements/2
Click on Recommend
Log in as a government director and Go to https://zeroemissionvehicles.gov.bc.ca/credit-agreements/2
See error

Private Zenhub Image
Private Zenhub Image
Dev Checklist

[ ] Update logic to use the user's first and last name instead of their username
[ ] Check to see if there is another function happening on this page (comment save maybe) that updates the recommended status or adds another one unintentionally.

Hey team! Please add your planning poker estimate with Zenhub @JulianForeman @tim738745


feat(prettier): add comments before expressions

Current dependencies on/for this PR:

main

PR #1375   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 17, 6:38 AM: @Boshen merged this pull request with Graphite.


CUDA8.0 + cuDnn6.0 + GPU Volta architecture + torch7 build error

Hi all, I tried to install torch7 on Tesla V100, but met some problems. For some reasons, I have to use CUDA8.0(although for Volta architecture, it's better to use CUDA9.0).
Building on 32 cores
-- Found Torch7 in /home/torch/install
-- Found CUDA: /usr/local/cuda-8.0 (found suitable version "8.0", minimum required is "6.5")
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s): 7.0 7.0 7.0 7.0
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_70,code=sm_70;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Performing Test HAS_LUAL_SETFUNCS
-- Performing Test HAS_LUAL_SETFUNCS - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/torch/extra/cutorch
make: *** No rule to make target 'install'.  Stop.

I think the problem is the gpu architecture dismatch cuda version. (for Volta architecture, it officially needs CUDA9.0, it also works with CUDA8.0). How could I disable the auto-detection, and manually set it to other runnable version, such as "compute_60" or somehow? Thank you.

I am having this exact issue. Is there any fix you have found for this yet?


migrating from lxc-docker package to docker.io breaks docker

(on a just installed 14.04)
curl https://get.docker.io | sh
sudo apt-get install docker.io
(the second removes our package, and installs the ubuntu one)
leaves us with service --status-all listing 2 services: docker and docker.io
which makes me think our lxc-docker package is not cleaning up quite well enough.
rebooting at this point leaves us with a happily working Docker 0.9.1
then ln -s /usr/bin/docker.io /usr/bin/docker and rebooting causes things to go bad.
on my system, there is only one docker daemon running, but its un-contactable.
service docker stop does nothing, as its not running
service docker.io stop stops the rogue daemon, and then
service docker.io start makes everything happy again.
similarly, after stopping which ever service is  running,
service docker start works.
so its probably just something that happens if you start 2 daemons at almost the same time.

@SvenDowideit so is this a docs problem where we need to explain it better or...

have you tried this recently I can not reproduce an issue so closing

JFTR, since docker.io v1.3.1~dfsg1-2 in Debian the docker.io symlink no longer exists.

debian folks are smart hehe


script to email network passwords stored in another computer

Aim

To retrieve  network  passwords stored in a computer

Details

This python script emails the network passwords stored in the victims computer

Do I want to work on this:

[x]  Yes
[ ] No

@aaadddiii another computer will be a remote system or you will run the script directly into the computer??

Script should be run on the remote system from which the passwords are sent through mail .

Script should be run on the remote system from which the passwords are sent through mail .

okh! give it a shot then, I want to see that working. Along with that do give proper readme with working code snap.
@aaadddiii good luck!


Added clean up code after test case

This is a fix for issue:
https://github.com/Azure/mmlspark/issues/90
One of the test cases was not removing a temporary directory.

@imatiach-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Redirect "Contact GitHub" footer link to Support site

This PR updates the redirect in place for "Contact GitHub" to minimize end-user redirects to have a positive impact on SEO.
Why:
https://github.com/github/SEO/issues/64
What's being changed:

Old: https://support.github.com/contact
New: https://support.github.com

Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Thanks @SMicheal + @SMAKSS! I’ll notify the core team ^—^

Thanks for opening a PR @skullface! This was discussed in Slack and can be merged in once the engineering team takes a look and gives approval 💖


Tags should be exclusive instead of inclusive

let me give you a quick example.
lets say i have the following tags: like, landscape, character
if i wanted to see landscapes i liked i wouldn´t be able to do it because it would be showing characters l liked as well. (i know you can get around it with ratings etc. but you get the idea).

was added (not sure about this one though, may have spoken to soon, dynamic tags are probably a better solution)


Error redeem codes

I am a Taiwanese player
I find out it will throw -1071 Error (Please log in to your account first)
If i dont manually set 'account_id' and ''cookie_token'' in my cookie from https://genshin.mihoyo.com/en/gift
While redeeming codes
genshinstats.errors.GenshinStatsException: -1071 Error (Please log in to your account first)

Is that only me?

Yeah, I'm trying to figure that one out on the dev branch. Around a months ago Mihoyo has started using ltuid and ltoken for their API but they are still using account_id and cookie_token on their official site. Since code redeems are on the official site they require the old authentication.
I have made it possible to automatically turn the old authentication into the new one, so I can just change the api so both options are avalible.
@overload
def set_cookies(*, ltuid: int, ltoken: str): ...
@overload
def set_cookies(*, account_id: int, cookie_token: str): ...

This will however make it pretty complicated for new users to understand what they need to do since having unique authentication for a single endpoint will just cause confusion.
I'm open to any ideas on how to solve the issue or any workarounds I could implement.


update request stub

https://github.com/YouTeacher/PJCseitai/commit/c2f230c8fde0cb2bd73b63b0d70c26be60ac9572

Git Commit: docs(stubs): request


add data attribute in config files template

As we took the habit a while ago to separate concerns and group all the data we want to pass to a component in a data object, it would be useful to have it by default in the template.
Example of usage in component:

	{% include "heading" with { data: data.title } %}

{{ data.text }}

Example of data in config file:
module.exports = {
	status: 'wip',
	label: 'Card',
	display: {
		padding: '30px',
	},
	context: {
		modifiers: [],
		html_attrs: [],
		data: {
			title: 'Hey I just met you',
			text: '…and this is crazy.'
		}
	},
};

templates moved out by #5


Bugfix: issue in grid finding period (Issue #1301). The number of day…

Description
Bugfix: issue in grid finding period (Issue #1301). The number of days to assign all SMOS grids to the LIS grids changes from 30 to 150
Resolves #1301
Testcase
I do not have a test case for this issue. I can create a test case if needed. But, Yonghwan confirmed that he did not fix the bug in the code prior to his departure.
See the following email exchange
Hi Mahdi,
Yes. You are right.
Thanks,
Yonghwan
From: "Navari, Mahdi (GSFC-617.0)[UNIV OF MARYLAND COLLEGE PARK]"<EMAIL_ADDRESS>Date: Friday, March 24, 2023 at 12:20 PM
To: LIS-557WW<EMAIL_ADDRESS>Yonghwan Kwon<EMAIL_ADDRESS>Subject: Re: [update] SMOS DA
Hi Yonghwan,
We were discussing the SMOS NRT DA and I just remembered an old conversation between us (see previous emails below).
Do we need to change the “grid finding period” from 30 days to 150 days?
https://github.com/NASA-LIS/LISF/blob/48a8c51aa15c49031be45342ed8b441cc27e18c0/ldt/DAobs/SMOS_NRTNN_L2sm/readSMOSNRTNNL2smObs.F90#L281
If that is the case, is this the right and only places we need to change?
Thanks
Mahdi

Hi Mahdi,
Your bug fix compiles with the gnu and intel compilers.  I accept.
Colin


Update open source list

I added jszip and updated the bootstrap dependencies so I need to update the html page with all the dependencies.

and this one needs to be added manually https://github.com/swevans/unmute


Dump KEB stack traces

Description
Changes proposed in this pull request:

Dump KEB stack traces

Related issue(s)

/retest

/retest


Create a node to build URLs. v2

Changes since v1:

Initializing encoded_key and encoded_value variables outside the loop.
Replacing param value with a key is already present in the params array.

Some applications may need to construct an URL before a request may be performed.
This new node will make it easier to construct an URL.
Signed-off-by: Guilherme Iscaro<EMAIL_ADDRESS>

Taking a base URI is okay as it's the common case, but how to create that base given protocol, server, path, port, fragment? We should offer a more complete version that takes all of these in separate and create an URI. And of course one C API and node that splits.
We can have two nodes or just a take a base_uri and split it internally, overriding individual values.
As for the name, JSON used "create-" prefix, this one is "build-" (and a CREATE port). The C API is usually "new", this one is "build". Review and make it uniform, check against the other source files and if they have different names, choose one and make them all the same.
Last, why two DECLARE statements with the same composed type signature?

@barbieri I will create the "complex" node that you mention it.
I will also sync with json nodes and keep name spaces equal
About the DECLARE: My bad, It is not necessary indeed.

As I said, you may opt to do it in one single node. You can do something like:
Options:

protocol: the protocol name to be used, such "http" or "ftp", defaults to "http"
port: the port number to be used, defaults to 80
server: the server to be used, defaults to null
path: the path at server, defaults to "/"
fragment: the fragment inside the given path, defaults to null.
query: the encoded query. As an example 2 parameters a=1 and b=My String would be encoded as a=1&b=My+String. Defaults to null.
base_uri: if provided, it will be parsed and values will override protocol, port, server, path and fragment. As an example, the base_uri="http://myserver.com:8080/docs/x.html#anchor?a=1&b=My+String" will split as protocol=http, port=8080, server=myserver.com, path=/docs.x.html,  fragment=anchor and query=a=1&b=My+String. Defaults to null.

Ports would be the same, a port BASE_URI would be split and replace other values.
Be aware that query is special as one may have multiple parameters of the same name. Like in HTML forms you may get selected=a&selected=b for select with multiple values. If user wants to reset, then use the CLEAR port before.

@barbieri ack.

@barbieri Should we add user and password as well?

the user:password in the URL is not a standard and is dangerous, so I'd say no. It's an extension some user agent support, but it should be in the header. We support that in our C API.

@barbieri commented on Oct 27, 2015, 7:10 PM GMT-2:

the user:password in the URL is not a standard and is dangerous, so I'd say no. It's an extension some user agent support, but it should be in the header. We support that in our C API.

Username and passwords are already supported by the C API. It had a bug, but I believe @otaviobp found and fixed it already.

Yeah, he fixed it.

Closing in favor of #1004


build_targets: Remove --whole-archive flag

Since --whole-archive flag is applied to libembedding_cpp,
order dependency occurs in other libs (libflutter_tize).
Even if this flag does not currently exist, there is no problem with linking,
so the flag is deleted.

https://github.com/flutter-tizen/flutter-tizen/pull/385


Complete copy edit pass

@rotycenh

OPS Build status updates of commit aaaea35:
:clock10: Preparing: average preparing time is 45 sec(s)

OPS Build status updates of commit aaaea35:
:clock10: Incremental building: average incremental building time is 23 sec(s)

OPS Build status updates of commit aaaea35:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/cloud-adoption/infrastructure/virtual-datacenter/overview.md
:warning:Warning
View
Details

bread/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

docs/cloud-adoption/infrastructure/identity/vdc-identity.md
:white_check_mark:Succeeded
View

docs/cloud-adoption/infrastructure/virtual-datacenter/overview.md

Line 72: [Warning] Illegal link: three primary roles -- missing bookmark. The file cloud-adoption/infrastructure/identity/vdc-identity.md doesn't contain a bookmark named roles-and-rbac.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\0b1w\bread\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\0b1w\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\0b1w\building-blocks\extending-templates\toc.json'.

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

 Details: Could not find file 'T:\rxum\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\rxum\building-blocks\extending-templates\toc.json'.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\rxum\bread\toc.json'.

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


Choose option recognize only two fingers

Xiaomi redmi note 7
Android pie

Hi, I'm sorry I was having some issues and had left personal projects behind.
Would you still like this feature to be implemented?

Hi, don't worry. I had uninstalled the app because I was using it to select the first player and switched to another non-opensource app. I just reinstalled and tried the app again (now I'm on android 10 with custom rom) and everything seems to work. For me you can close the issue, I don't know if it was an android version problem or what else. Thanks, I'm glad to be able to use your app again since it's open source and is on f-droid.


Fix X-Frame-Options header for Whitehall assets served from Asset Manager

Ref: https://github.com/alphagov/asset-manager/issues/220
This extra header is appears in the response from Whitehall. There is code in govuk-puppet/modules/govuk/manifests/apps/whitehall.pp to "Respect X-Frame-Options from Rails application". Rails sets this header to SAMEORIGIN by default and the default value is not overridden using config.action_dispatch.default_headers.
As explained in this asset-manager issue we made these changes to govuk-puppet PR to ensure this header was set to DENY for all assets serve by Asset Manager. However, for some reason I'm not seeing X-Frame-Options: DENY in the response from Asset Manager; neither for a Whitehall asset nor a Mainstream asset. I'm a bit confused by this, but have decided not to investigate any further for now.

I've worked out why we're not seeing the X-Frame-Options header in responses from Asset Manager.

This has been resolved in the following PRs:

https://github.com/alphagov/asset-manager/pull/246
https://github.com/alphagov/govuk-puppet/pull/6602
https://github.com/alphagov/govuk-puppet/pull/6639

All these changes have been deployed to integration, staging & production and the puppet changes have been applied. Closing.


Need a way to get the root span's duration

In opentelemetry js, we can get the spanContext and the corresponding trace Id. But with the given trace Id, we are not able to perform operations like getting the duration from the root span to current span.
If we get the duration present in currentSpan, it only prints the current span's duration and not from the root span.
Can anyone please help me on this?

What do you mean "duration from root span to current span"? Are you trying to figure out the duration between the root span start and the current span start? You are correct that is not possible to get timing information using API methods. Can you explain what use case you are trying to solve here?

Yes, I am trying to figure out the time between start and current span start. I have a use case where there is a need to calculate the time taken by all the spans from the start to the current span when the application gets a request.

The root span may be on a different process which runs on a different machine. So really hard to get via OTel API.
Even if the root span is in the same process in some app it may be already ended, exported and removed from memory.
Calculations like that ones you propose are not intended for the traced process, they should be done in the backend which has the full picture and does the correlation of all spans participating in a trace.

We also don't keep a "registry" of spans locally. There is no mechanism in the SDK to look up even local spans by ID since storing all spans would leak memory

Closing as this is impossible with the current architecture and spec


sap_ha_pacemaker_cluster and sap_swpm: prepare for distributed ha installations

sap_ha_pacemaker_cluster and sap_swpm: prepare for distributed ha installations
This PR contains a first (non-working) suggestion for SAP NetWeaver HA code structure, and discovered bugs within the Ansible Role sap_swpm when preparing an SAP System for HA tests.

The pacemaker for Netweaver code won't work. Could you split the request and submit the SWPM fixes in a separate PR, and store the pacemaker role code in a different branch in your fork?


dot product in autograd

Hi all,
Is dot product not yet supported by autograd. I am calling torch.dot(h1,h2) in gradient function. It gives me error 'dot product not yet supported by autograd'. If not, is there any workaround for this ?

you can probably reshape your tensors to be 1xM and Mx1 and call torch.mm instead

The torch.dot function does extremely weird things with matrices that are 2D, which is why we don't support it. For instance, it will unravel a 2D matrix to a 1D matrix silently, without telling you.
Use the * operator for matrix multiplies and dot products, or torch.mm explicitly.


Verify Contract of Deployments displayed in Readme on Etherscan

For the addresses displayed in the Readme, the contract display in Etherscan is marked as unverified.
https://etherscan.io/address/0xa7135d0a62939501b5304a04bf00d1a9a22f6623#code

Hey Edson, I've gone ahead and verified it. Thank you for bringing this to our attention! 👍


Configure JCommander to accept unparsed flags.

Need this for a hermetic deployment in which we bundle a JRE.

Please rebase from master

Done


License header missing / ill written

Each java program should have header like this
https://gist.github.com/chiaweilim/c4c468d6a3f9112a12ac1461ec13d3a7
The formatting of this is bad from copy and pasting it.
https://github.com/CertifaiAI/TrainingLabs/blob/master/dl4j-labs/src/main/java/global/skymind/solution/convolution/objectdetection/WebCamObjectDetection.java
This file is missing license header
https://github.com/CertifaiAI/TrainingLabs/blob/master/dl4j-labs/src/main/java/global/skymind/solution/convolution/objectdetection/ImageObjectDetection.java
Go through all the files and make sure the header is added correctly.

fixed in https://github.com/CertifaiAI/TrainingLabs/pull/86 by @alvin9964


payload

where i get payload for bypass Facebook package

Generate your own payload by apps like http custom and add into cfgs/settings.ini


Update: Microsoft.Git version <IP_ADDRESS>.0

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


Cross currency

The fix have been down. Should we merge?

Sorry for my lack rigor. I fixed the comments.


updated InstallAssistant.pkg

first link from https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/
@MatthewCroughan what do you think about nixfmt-rfc-style ?

@kirillrdy I don't really care about automated formatting, but if you prefer a certain kind of formatting when you make the PR, just make it a separate commit and I'll accept it.
How do you think they get the latest URL? I want to automate this.

i'll ignore auto-formatting for now.
re URLs, if you have uptodate macos ? https://gist.github.com/b0gdanw/26f528dda5abea7ce6fe633ca2ef1063

Just to be clear, by automated formatting, I mean enforcement at a CI/commit-hook level.

Maybe some of these InstallAssistant packages are available on archive.org as a backup, or may eventually be. We could use those if they are.

Maybe some of these InstallAssistant packages are available on archive.org as a backup, or may eventually be. We could use those if they are.

an other ( more painful alternative ) is to boot into RecoveryImage and download latest installer using their GUI :-)

The CI machine is having hardware issues, and I'm not at home to fix it. So I'm having a bit of trouble verifying this the way I'd like to. Is it possible you could verify it and tell me if it works as expected up to 5 times with nix build --rebuild ? @kirillrdy

The CI machine is having hardware issues, and I'm not at home to fix it. So I'm having a bit of trouble verifying this the way I'd like to. Is it possible you could verify it and tell me if it works as expected up to 5 times with nix build --rebuild ? @kirillrdy

I've built this at least twice on two different machines, but will do more and will report

ok i've done 5 rebuilds
[kirillvr@tsutenkaku:~/NixThePlanet]$ nix build .#macos-ventura-image --rebuild
error: derivation '/nix/store/cy0cmdbkw3zdki5ksdlrjx8jfl3hk61i-mac_hdd_ng.qcow2.drv' may not be deterministic: output '/nix/store/0z2pwrvpxi3j8gvscfdnmmkbi59bxdf4-mac_hdd_ng.qcow2' differs

I assume old image was also non deterministic.
no urgency to merge this, take your time

Yeah derivations aren't deterministic, and don't need to be. One of Nix's strengths is allowing you to model multiple kinds of reproducible models, and cache non-deterministic behavior, whilst also having the option of using content-addressed models as well. In this case all that matter is whether the derivations succeed and produce $out or not, and if that worked for you then I'm happy to merge it here.


netif: add diff encoding/nyquist filtering attributes

Signed-off-by: Wataru Ishida<EMAIL_ADDRESS>

@scott-emery Could you take a look?

The differential encoding attribute make sense. Thanks for adding this.
But I'm not clear on the nyquist filter attribute. That is not something which is present in the AC400 transponder I am familiar with, nor does it show up anywhere in the CFP MSA. Should this be an attribute included for all TAI network interface objects, or should it be a custom attribute?

@scott-emery Thanks. merged only differential encoding attribute


standby/screensaver message battery percentage not getting updated?

settings -> screen -> screensaver -> add message to screensaver[settings] -> screensaver message; if I put %b, which is the battery level, it gets displayed fine in the message when my kobo is in standby, but it does not get updated; say the battery drops by 5%, the message does not get update. is this intentional?

Um, what? Nickel doesn't have a screensaver message.
@NiLuJe, I think this is koreader.

Yup, wrong repo ;).
Also: the device is alseep, so, no the screen will not update. It's a feature, not a bug.

sorry again! I thought I was in the koreader repo :/ my apologies


Use anaconda environment file for travis CONDA env

Currently, our conda test dependencies are not pinned, and pyup isn't managing them. This is how xarray's print format update slipped into our tests (e.g. https://travis-ci.org/ClimateImpactLab/DataFS/builds/219518925)

solved by #250


Discussion on InfiCoder-Eval Evaluation Framework

Please feel free to discuss in this thread anything about the InfiCoder-Eval evaluation framework. We welcome any feedback and comments!

请问能提供评测的Docker镜像吗？

Could you provide more information about blank filling and keyword matching metric? How are they calculated?

Could you provide more information about blank filling and keyword matching metric? How are they calculated?

Thanks for your interest in our benchmark! Generally, for blank filling and keyword matching, domain experts provide a customized list of goal blank answers / goal keywords for each question.

For blank filling, the model responses at each given blank are matched to a fixed list of keywords / regex expressions, and the corresponding sub-scores are given for that blank once matched.

For keywords, a list of keywords / regex expressions is provided. Each keyword / regex expression is globally searched in the model response and scores are given once matched.

Note that there are multiple blanks / keywords for each problem. By default, the problem score (1.0 point) is allocated evenly for each blank or keyword. But customized weighting may exist. You can browse the concrete evaluation criteria by browsing all eval_*.yaml in https://github.com/infi-coder/inficoder-eval-framework/tree/main/cases_dev. Feel free to let me know if you have further questions or comments!

请问能提供评测的Docker镜像吗？

(Question translation: Could you provide the Docker image for evaluation?)
谢谢你对我们评测框架的关注！我们正在准备发布公开的Docker镜像，在我们内部评测时，使用的Dockerfile配置如下，暂时可以使用此配置来复现评测结果：
Thanks for your interest in our evaluation benchmark! We are preparing to release the public Docker image. Before the release, you can use the following Dockerfile (which we have deployed internally) to reproduce our evaluation results:
# Use any other Ubuntu 20.04 base image should also be fine --- actually pytorch or gpu is not needed unless you run inference in the same instance
FROM hunterddm/nvidia_pytorch

# Set the timezone
ARG TZ=Etc/UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Update the package index and install necessary packages
RUN apt-get update && \
    apt-get install -y \
        wget

# install lsof
RUN apt-get update install lsof

# Install mono for C# environment
RUN apt-get update && \
    apt-get install -y mono-complete

# Install Go
RUN apt-get install -y golang-go

# Install R and dependencies
# Update the package index and install necessary packages
RUN apt-get install -y software-properties-common && \
    apt-get update && \
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9 && \
    add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/" && \
    apt-get update
RUN apt-get upgrade -y
RUN apt install -t focal-cran40 -y r-base r-base-dev
RUN apt-get install -y libssl-dev libfontconfig1-dev \
    libcurl4-openssl-dev libxml2-dev libharfbuzz-dev libfribidi-dev \
    libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev

# Install R packages
RUN Rscript -e 'install.packages(c("assert", "stringr", "tidyverse", "dplyr", "data.table"), repos="https://cloud.r-project.org/")'

# install and link node.js
RUN apt-get update && apt-get install -y npm
# use nvm to install node.js to get higher version
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
ENV NVM_DIR="/root/.nvm"
RUN [ -s "/root/.nvm/nvm.sh" ] && \. "/root/.nvm/nvm.sh" && nvm install v16.15.1 && which node
RUN ln -s /usr/local/nvm/versions/node/v16.15.1/bin/node /usr/bin/node &&
    ln -s /usr/local/nvm/versions/node/v16.15.1/bin/npm /usr/bin/npm &&
    ln -s /usr/local/nvm/versions/node/v16.15.1/bin/npx /usr/bin/npx

# Set up NPM global directory and add it to PATH
RUN mkdir ~/.npm-global && \
    npm config set prefix '~/.npm-global' && \
    echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.profile && \
    . ~/.profile

# Install global NPM packages
RUN npm install -g<EMAIL_ADDRESS>typescript && \
    export NODE_PATH=$(npm root --quiet -g)

# Install Java and C++ environments
RUN apt-get install -y libboost-all-dev default-jdk python3-setuptools

然后，在运行主模块前，在同一个shell里我们先执行以下命令：
Then, before running the main module, in the same command shell, we execute the following prepend commands:
sudo chmod -R 777 /root/
export PATH=/root/.npm-global/bin:$PATH
npm config set prefix '/root/.npm-global'
export NODE_PATH="/root/.npm-global/lib/node_modules"
pip install -U pip setuptools
pip install -r requirements.txt

我们正在测试以上的配置文件及命令在公开环境的可用性。如果你有任何反馈和建议，或者有意向参与，欢迎联系我们。
We are testing the compatibility of the above configuration files and commands in the public domain. If you have some feedback for us or would like to contribute, please feel free to let us know.

@llylly Does this benchmark really include C coding problems? In the readme page, it's stated that "Featuring the execution runtime for 8 languages (Python, Javascript, Java, C, C++, Go, R, C#), given model responses, the framework can directly evaluate and output the scores along with subscores in a nice table." The data from MultiPL-E doesn't contains C problems


React 18 support

Are there plans to implement support for React version 18, released in March 2022? It'd be great to be able to use the latest version of React with vite-ssr.

Any update on this? React 18 has been out for 8 months now.

PRs welcome 👍 . Stuff that need to be updated (afaik):

Use createRoot and hydrateRoot instead of create/hydrate in entry-client.
Remove react-ssr-prepass if possible and rely on new suspense capabilities. Is this compatible with renderToString?
Add an optional mode to use renderToReadableStream instead of renderToString.

@NoremacNergfol any update on this effort?


Combining several bodymovin animations bogs down browser/plays very slowly on mobile devices

Hi,
I am attempting to combine several bodymovin animations on the homepage of a website.
You can see it here:
http://theadventureschool.com/new-site/
It plays ok on a desktop browser for a bit, and then my laptop fan starts to run.
On iPad/iPhone devices it really chugs and plays 1/10th the speed.
I am wondering if there is anything can be done to improve performance (how I'm calling the json files, etc.) or if this is just the nature of combining several complex animations.
Any help would be appreciated.
Thanks,
Jenny

Hi, it's probably a combination some things:

don't animate the left property of the cloud elements. That triggers a new layout every time that is an expensive task. Try using transform instead.
clouds are getting clipped with masks instead of clip paths and I'm guessing it's because you're using strokes as masks. That is very expensive as well.
bird wings are also being masked instead of clipped. Is there another way you can reproduce that animation?

Thanks, will definitely do all those suggestions.
Even if I comment out all those elements (the birds & clouds), it still plays very slowly on the phone. Is it because the .json files for the other 3 elements are around 200kb? Is there anything that can be done to optimize the .json files after they've been exported?
Thanks again,
Jenny

no, the filesize of the json shouldn't affect at all.
I don't see anything too expensive on the other animation, but I might be missing something.
Are you using rubberhose?

Yep, using rubberhose.

@jvolvovski Just a heads up: outside of the animation drag, on Android, there's fractal/odd rendering on the dog and person on the left, so you may have more issues at hand outside of Bodymovin.


Add contributing guidelines and how to run this project

There is no details on how to run this project and how to do the changes. Also there are no contributing guidelines. Please add them.

Basic things added which should be enough.


deployment calculator cost currency formatting

it says 270. TFTs or should be 270 TFTs without the dot

Verified, Devnet.


I follow coreml readme to convert mobilenet throw error

Platform (like ubuntu 16.04/win10):ubuntu 16.04
Python version:3.5
Source framework with version (like Tensorflow 1.4.1 with GPU):Tensorflow 1.9
Destination framework with version (like CNTK 2.3 with GPU):
Pre-trained model path (webpath or webdisk path):
https://github.com/Microsoft/MMdnn/blob/master/mmdnn/conversion/coreml/README.md
Running scripts:
1.mmdownload -f coreml -n mobilenet
2.mmtoir -f coreml -d mobilenet -n MobileNet.mlmodel --dstNodeName MMdnn_Output
I follow coreml readme to convert mobilenet throw error:
TypeError: Expected model to be a .mlmodel file or a Model_pb2 object
mmtoir -f coreml -d mobilenet -n MobileNet.mlmodel --dstNodeName MMdnn_Output
/home/ljg/anaconda2/envs/py35/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
WARNING:root:Keras version 2.1.4 detected. Last version known to be fully compatible of Keras is 2.1.3 .
WARNING:root:TensorFlow version 1.8.0 detected. Last version known to be fully compatible is 1.5.0 .
Traceback (most recent call last):
File "/home/ljg/anaconda2/envs/py35/bin/mmtoir", line 11, in
load_entry_point('mmdnn==0.2.3', 'console_scripts', 'mmtoir')()
File "/home/ljg/anaconda2/envs/py35/lib/python3.5/site-packages/mmdnn/conversion/_script/convertToIR.py", line 192, in _main
ret = _convert(args)
File "/home/ljg/anaconda2/envs/py35/lib/python3.5/site-packages/mmdnn/conversion/_script/convertToIR.py", line 110, in _convert
parser = CoremlParser(args.network)
File "/home/ljg/anaconda2/envs/py35/lib/python3.5/site-packages/mmdnn/conversion/coreml/coreml_parser.py", line 54, in init
model = _MLModel(model.encode())
File "/home/ljg/anaconda2/envs/py35/lib/python3.5/site-packages/coremltools/models/model.py", line 155, in init
raise TypeError("Expected model to be a .mlmodel file or a Model_pb2 object")
TypeError: Expected model to be a .mlmodel file or a Model_pb2 object

@JiahaoYao  Can you help me solve this ?